@charset "utf-8";

.sub_header_area .logo{
  background-image: url(../img/logo-87cyabou-white.svg);
}
.sub_header_area .nav > ul li a{
  color: #fff;
}

.obi_bg{
  background-color: #628675;
  min-height: 260px;
  height: 30vh;
}
.obi_container{
  position: relative;
  max-width: 1100px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
.obi_container > .wrapper {
  margin: 0 15px;
  height: 100%;
  width: calc(100% - 100px);
}
.obi{
  position: relative;
  width: calc(100% - 70px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 25px;
}
.obi .title_h1{
  font-family: "Open Sans", sans-serif;
  font-size: 44px;
  color: #fff;
  line-height: 1;
  font-weight: 700;
}
.obi .title_h1::first-letter {
  text-transform: capitalize;
}
.obi .sub_title_h1{
  font-size: 12px;
  line-height: 12px;
  margin-top: 5px;
  color: #fff;
}
.sub{
  margin-top: 60px;
}
.lead{
  font-size: 16px;
  line-height: 32px;
}
.lead.center{
  text-align: center;
}
.lead a:hover{
  color: #2D523F;
}

.form{
  margin-top: 60px;
}
.form .title{
  border-bottom: 1px solid #628675;
}
.form .title span{
  display: inline-block;
  line-height: 1;
  font-size: 24px;
  font-weight: 400;
  list-style: none;
  color: #f8f8f8;
  background-color: #628675;
  border-radius: 10px 10px 0 0;
  padding: 8px 40px;
}
.form p{
  margin-top: 0;
  font-size: 14px;
  line-height: 24px;
}

.form .input_areaS input{  width: 200px;}
.form .input_areaM input{  width: 50%;}
.form .input_areaL input{  width: 100%;}
.form .txt_value{
  display: inline-block;
  margin-left: 10px;
}

.form .form_itme_flex{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.form .form_itme_flex .box_lable{
  width: 180px;
}
.form .order_tel span.required{
  margin-right: 10px;
}



.form .supplement_txt{
  font-size: 14px;
  line-height: 24px;
}
.form .supplement_txt.icon{
  position: relative;
  padding-left: 25px;
}
.form .supplement_txt.icon:before{
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}

.form .contact_area{
  max-width: 800px;
  margin: 0 auto;
}
.form span.required{
  display: inline-block;
  background-color: #D94A4A;
  color: #f8f8f8;
  font-size: 12px;
  line-height: 1;
  padding: 3px 8px;
  margin-bottom: 5px;
}
.form .item_name{
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}



.form table{
  width: 100%;
  border-collapse: collapse;
}
.form table th{
  vertical-align: top;
  border-bottom: 1px solid #628675;
  min-width: 200px;
  text-align: left;
  padding: 30px 15px;
}
.form table td{
  border-bottom: 1px solid #628675;
  padding: 30px 15px;
  font-weight: 300;
  line-height: 26px;
}

.form .item_flex{
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #628675;
}
.form .item_flex .item_head{
  width: 200px;
  padding: 30px 15px;
}
.form .item_flex .item_input{
  width: calc(100% - 200px);
  padding: 30px 15px;
}

.form .attention_txt{
  color: #D94A4A;
  text-align: center;
  margin-top: 30px;
}
.form .submit_area{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form .submit_area input[type=submit] {
  height: auto;
  font-size: 18px;
  line-height: 1;
  background-color: #123524;
  border-radius: 9999px;
  padding: 12px 40px;
  color: #f8f8f8;
}
.form .recaptcha_txt{
  margin-top: 40px;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}

.form label{
  display: inline-block;
  font-weight: 400;
  cursor: pointer;
  margin-right: 15px;
  transition: 0.3s;
}
.btn_detail span{
  font-size: 14px;
  font-weight: 500;
  color: #f8f8f8;
  background-color: #628675;
  border-radius: 9999px;
  text-align: center;
  display: inline-block;
  padding: 5px 40px;
  cursor: pointer;
  transition: 0.3s;
}
.btn_detail span:hover{
  opacity: 0.7;
}

.cf7_agreebox{
  max-width: 800px;
  background-color: #f8f8f8;
  margin: 60px auto  40px;
  text-align: center;
  padding: 20px 15px;
}
.cf7_agreebox a{
  font-size: 14px;
}


.form input[type="submit"]:disabled {
  cursor: not-allowed;
  box-shadow: none!important;
  border: 1px solid #f8f8f8!important;
  background-color: #f8f8f8!important;
  color: #929292!important;
}
.form  input[type="submit"]:focus {
  outline: 0;
  border: 1px #6c5d2f solid;
  box-shadow: 0 0 2px 2px rgb(78 140 123 / 50%);
}

@media only screen and (max-width: 767px) {
  .form .title span {
    font-size: 18px;
    padding: 8px 20px;
  }
  .form table th{
    display: block;
    border-bottom: none;
    min-width: unset;
    padding: 20px 15px 0;
  }
  .form table td{
    display: block;
  }
  .form .item_flex .item_head{
    width: 100%;
    padding: 30px 15px 0;
  }
  .form .item_flex .item_input{
    width: 100%;
    padding: 20px 15px 30px;
  }
  .form .input_areaS input{  width: 50%;}
  .form .input_areaM input{  width: 80%;}
  .form label{
    padding: 10px 0;
  }
  .cf7_agreebox{
    text-align: left;
  }

}