/*******************************
*　お問い合わせ
********************************/

.contact_info_wrap{
  background: #EEE;
  color: #FFF;
  padding: 30px 25px 20px;
  margin-bottom: 45px;
}
.contact_info_tt{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 15px;
  color: #111;
}
.contact_info_box{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: #FFF;
  color: #181818;
  padding: 25px 10px 25px 30px;
}
.contact_info_tel{
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact_info_tel_icon{
  background: #b1c274;
  color: #FFF;
  border-radius: 5px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 16px;
  margin-right: 20px;
}
.contact_info_tel_link{
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.contact_info_txt{
  font-weight: 700;
  margin-left: 0;
  letter-spacing: 0.16em;
}

 .form_sec.first{
   padding-top:0;
  }
.form_sec.last{
  padding-top:120px;
padding-bottom:203px;
}

.section.thanks{
  padding:100px 0 200px;
}
@media (max-width:1023px){

  .contact_info_box{
    flex-wrap: wrap;
  }
  .contact_info_tel{
    width: 100%;
  }
  .contact_info_tt {
    font-size: 18px;
  }
  .contact_info_tel_link{
    font-size: 30px;
  }
  
 .form_sec.first{
   padding-top:0;
  }
.form_sec.last{
  padding-top:120px;
padding-bottom:100px;
}
  
  .section.thanks{
  padding:100px 0;
}
}
@media (max-width:767px){

  .contact_info_wrap{
    margin-bottom: 50px;
    padding: 15px 10px;
  }
  .contact_info_box{
    padding: 20px 10px;
  }
  .contact_info_tt {
    font-size: 16px;
  }
  .contact_info_tel_icon{
    font-size: 14px;
    margin-right:5px;
  }
  .contact_info_tel_link{
    font-size: 24px;
  }
  .contact_info_txt{
    margin-left:0;
    margin-top: 5px;
    font-size: 10px;
  }

  .contact_info_box{
    flex-wrap: wrap;
  }
  .contact_info_tel{
    width: 100%;
  }
  
    .form_sec{

}
  .form_sec.first{
   padding-top:0;
  }
.form_sec.last{
  padding-top:60px;
padding-bottom:80px;
}
  
    .section.thanks{
  padding:60px  0 80px;
}
  
}


.contact_tt {
  font-size: 26px;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 0.16em;
}
.contact_tt.privacy{
  font-family: "Noto Sans JP";
  font-weight: 500;
}

/* フォーム */
.formTbl{
  border: 1px solid #7e7e7e;
  background: #ffffff;
}
.form.formWrap {
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}
.formRow + .formRow{
  border-top: 1px solid #7e7e7e;
}
.formTh {
  padding: 16px 15px 16px 20px;
  background: #f2f2f2;
  letter-spacing: 0.08em;

}
.formTh label{
  margin: 0;

}
.d-inline-block.requiredText {
  font-size: 13px;
  padding: 2px 12px;
  margin-top: 3px;
  float: right;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  background: #b80000;
  color: #ffffff;
}
.d-inline-block.requiredText.nini{
  background: #fff;
  color: #b80000;
  border: 1px solid #b80000;
}
.formTd {
  font-size: 15px;
  line-height: 2.07em;
  padding: 15px 16px;
}
.formTd input[type="text"],
.formTd input[type="tel"],
.formTd input[type="email"]{
  max-width: 461px;
  height: 39px;
  width: 100%;
  font-size: 15px;
  padding: 5px 10px;
  border: 1px solid #d6d8d8;
  border-radius: 0;
  letter-spacing: 0.16em;
}
.formTd select{
  border-radius: 0;
}
.formTd input[name="zip1"]{
  max-width: 120px;
}
.formTd input[name="zip2"]{
  max-width: 150px;
}
.formTd select[name="pref"]{
  max-width: 225px;
  width: 100%;
  font-size: 16px;
  padding: 7px 10px;
  border: 1px solid #d6d8d8;
}
.formTd input[name="city"]{
  max-width: 425px;
}
.formTd .addArea + .addArea{
  margin-top: 8px;
}
.formTd .addArea .labelText02{
  width: 75px;
}
.formTd textarea{
  width: 100%;
  height: 280px;
  font-size: 15px;
  padding: 5px 10px;
  border: 1px solid #d6d8d8;
  border-radius: 0;
  letter-spacing: 0.16em;
}
.formWrap .text-center{
  padding-top: 53px;
}
.formWrap input[name="privacy"]{
  margin-right: 7px;
}
.formWrap .privacyLabel{
  font-size: 17px;
  font-weight: 600;
  display: inline;
}
.formWrap .privacyLabel a{
  color: var(--main-color);
}
.text-center.formBtn{
  padding-top: 45px;
}
.formBtn.formSend {
  display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 255px;
    max-width: 100%;
    height: 50px;
    padding-top: 3px;
    border: 1px solid var(--text-color-dark);
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--text-color-dark);
    overflow: hidden;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  background:#efefef;
}
.formBtn.formSend:before{
     content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-color-dark);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.formBtn.formSend:hover:before {
    transform: scaleX(1);
    transform-origin: left center;
}
.formBtn.formSend:after{
 content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 0;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: width 0.3s;
}
.formBtn.formSend:hover{
  background: var(--gra1);
  transition: 0.2s all;
  color:#fff;
}
.formBtn.formSend:hover:after{
  color: #fff;
  width: 30px;
}
.formWrap label {
  display: inline-block;
  margin-bottom: 0;
}
.radioArea{
  padding: 0;
}
.radioArea .d-inline-block .label{
  margin-left: 9px;
  letter-spacing: 0.08em;
  font-size: 15px;
  line-height: 2em;
}
.radioArea .d-inline-block{
  margin-right: 26px;
}
.radioArea .d-inline-block:last-child{
  margin-right: 0;
}
label.label.zipcode_i {
  padding: 5px;
  background: #cccccc;
  margin: 0;
  display: inline-block;
  border: 1px solid #d6d8d8;
  border-right: 0;
  vertical-align: top;
  line-height: 1.8em;
}
.pg_contact .section.sec1 {
  padding: 0 0 0;
}

.formTd.caution{
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.fileArea:nth-child(n+2){
  margin-top: 9px;
}
@media only screen and (min-width: 1024px){
  .formTh {
    -ms-flex: 0 0 28%;
    -webkit-box-flex: 0;
    -webkit-flex: 28%;
    flex: 0 0 28%;
    max-width: 28%;
  }
  .formTd {
    -ms-flex: 0 0 72%;
    -webkit-box-flex: 0;
    -webkit-flex: 72;
    flex: 0 0 72%;
    max-width: 72%;
  }

  .thanks_text{
    text-align: center;
  }
}


/* プライバシー */
.pg_contact .section.sec2{
  padding: 150px 0 20px;
}
.pg_contact .section.sec2 .contact_tt{
  margin-bottom: 60px;
  padding-left: 10px;
}
.privacy_item {
  margin-top: 28px;
}
.privacy_ttl {
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  margin-bottom: 12px;
  border-left: 6px solid var(--main-color);
  letter-spacing: 0.04em;
}
.estimate_form .privacy_ttl{
  border-color: var(--sub-color);
}
.privacy_txt{
  letter-spacing: 0.04em;
  line-height: 1.875;
  text-align: justify;
}

.privacy_txt_type1{
  text-indent: -1.5em;
  padding-left: 1.5em;
}
.privacy_txt_type1_b{
  text-indent: -1em;
  padding-left: 1em;
}
.privacy_txt_type1_c{
  text-indent: -3em;
  padding-left: 3em;
}
.privacy_txt_type2{

}
.privacy_txt_type2 p{
  text-indent: -1em;
  padding-left: 1em;
}

.privacy_txt ol li{
  padding-left: 1.6em;
  text-indent: -1.6em;
}
.privacy_txt ul li{
  padding-left: 1em;
  text-indent: -1em;
}

.contact_tt.privacy {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 48px;
}
.contact_tt.privacy br{
  display: none;
}
.formWrap .d-inline{
  display: inline-block!important;
}
.formWrap .d-inline-block {
  vertical-align: middle;
}

.privacy_box {
  padding: 30px 50px 30px 28px;
  height: 397px;
  overflow: auto;
  background: #fff;
  border: 1px solid #bfbfbf;
  margin-top: 0;
  color: #000000;
  margin-top: 75px;
}
@media only screen and (max-width: 1023px){
  .radioArea {
    padding: 0 5px;
  }
  .radioArea .d-inline-block .label {
    margin-left: 11px;
  }


  .privacy_ttl{
    font-size: 18px;
  }

}

@media only screen and (max-width: 767px){
  .contact_info {
    padding: 18px 15px 10px;
  }
  .contact_info_txt_1 br{
    display: block;
  }
  .contact_info_txt_2 {
    padding: 0 6px 0 10px;
    margin-right: 10px;
  }
  .contact_tt {
    margin-bottom: 25px;
    font-size:18px;
  }
  .formTh {
    padding: 5px 10px;
  }
  .formTd {
    font-size: 13px;
    padding: 10px;
  }
  .formTd input[name="zip1"] {
    width: 80px;
  }
  .formTd input[name="zip2"] {
    width: 100px;
  }
  .formTd select[name="pref"] {
    width: 155px;
  }
  .formTd input[type="text"]::placeholder,
  .formTd input[type="tel"]::placeholder,
  .formTd input[type="email"]::placeholder{
    font-size: 14px;
    letter-spacing: 0.01em;
  }
  .formWrap .text-center {
    padding-top: 25px;
  }
  .formWrap .privacyLabel {
    font-size: 15px;
  }

  .privacyformError{
    margin-top:-40px !important;
  }

  .contact_tt.privacy br{
    display: block;
  }
  .contact_tt.privacy {
    font-size: 19px;
    margin-bottom: 0;
  }
  .privacy_item {
    margin-top: 26px;
  }
  .contact_info_txt_1 {
    margin-bottom: 10px;
    padding-left: 0;
  }
  .formWrap .d-inline {
    display: block!important;
  }
  .formTd .addArea .labelText02 {
    display: block;
  }
  label.label.zipcode_i {
    padding: 7px 4px;
  }
  a.contact_info_txt_3 {
    width: 200px;
    margin: 10px 0;
  }

  .radioArea .d-inline-block {
    margin-right: 10px;
  }
  .pg_contact .section.sec2 .contact_tt {
    margin-bottom: 20px;
  }


  .pg_contact .section.sec1 {
    padding: 0 0 25px;
  }
  .contact_info_bg {
    padding: 18px 10px;
  }

  .pg_contact .section.sec2{
    padding: 65px 0 30px;
  }

  .privacy_ttl {
    font-size: 18px;
    padding-left: 10px;
  }
}
@media (min-width:1024px){
  .formTbl {
    margin-top: 45px;
  }
}
@media (min-width:1470px){
  .formTbl {
    margin-top: 72px;
  }
}
/*******************************
*　お問い合わせ送信完了
********************************/
.pg_thanks .link_3{
  margin-top: 50px;
}
.thanks_text{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media only screen and (max-width: 767px){
  .thanks_text{
    /*display: block;*/
    letter-spacing: -0.08em;
    margin-top: 30px;
  }

  .privacy_box{
    padding: 30px 10px;
  }
}