/*
Theme Name: genken
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@charset "UTF-8";

* {
  box-sizing: border-box;
} /*全ての要素をborder-boxにするーーコンテンツ、border、paddingの合計がwidthと解釈される*/

html {
  font-size: 100%;
}
/*設定した文字サイズを正しく反映*/

body {
  background-color: white;
  position: relative;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  cursor: pointer;
}

.back-blue {
  text-align: center;
  color: white;
  height: 140px;
  background-color: #336b94;
  line-height: 140px; /*見出し垂直方向のセンタリング*/
  margin-top: 0;
}

.lead {
  margin-bottom: 50px;
  text-align: center;
  line-height: 2;
  margin-bottom: 50px;
  font-size: 20px;
  line-height: 1.45;
}


.contact {
  width: 60%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  border: none;
}

tbody {
  border: none;
}

.contact th {
  width: 30%;
  font-size: 20px;
  text-align: left;
  vertical-align: top;
  border: none;
}

.contact td {
  border: none;
  width: 100%;
}

.required {
  color: rgb(255, 0, 144);
}

.wpcf7 {
  margin-top: 90px;
  text-align: left;
}

.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='tel'] {
  width: 100%;
  height: 50px;
}

.wpcf7 textarea[type='your-message'] {
  width: 70%;
  height: 360px;
}

.action_box {
  text-align: center;
}

.wpcf7 input[type='submit'] {
  text-align: center;
  background-color: #336b94;
  width: 20%;
  height: 70px;
  font-size: 28px bold;
  display: block;
  text-align: center;
  margin: 0 auto;
}

/*====================メディアクエリーcss=======*/

@media (max-width: 678px) {

  h1.back-blue {
    font-size: 22px;
    font-weight: 700;
    height: 80px;
    line-height: 80px; /*見出し垂直方向のセンタリング*/
  }

  .lead {
    width: 100%;
    font-size: 18px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
  }

  p.lead {
    font-size: 15px;
  }

  .wpcf7 {
    width: 82.4%;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify; /*文章両端揃え*/
  }
  
  .contactform-wrap {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .contact {
    width: 100%;
   margin-top: 30px;
  }

  .contact p{
   margin-bottom: 10px;
  }

  .contact th,
  .contact td {
    display: block;
    font-size: 16px;
    width: 100%;
  }

  .wpcf7 input[type='submit'] {
    width: 60%;
  }
}