@charset "UTF-8";

.main{
  min-height: var(--min-hight-PC-main);
  margin: 120px auto 240px;
  padding: 0 var(--margin-h-pc);
}
@media screen and (max-width: 1024px) {
  .main{
    min-height: var(--min-hight-PC-main);
    margin: 96px auto 120px;
    padding: 0 16px;
  }
}

/*お問い合わせ画面、確認画面共通*/
.contact{
  max-width: var(--max-width-pc);
  margin: 0 auto;
}
.contact__title-space{
  margin-bottom: 64px;
}
.contact__title{
  color: var(--color-indigoblue);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 2.56px;
}
.contact__title-caption{
  color: var(--color-black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.64px;
}
.contact__inner{
  max-width: 736px;
  margin: 0 auto;
}
.contact__top-caption{
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.8px;
  text-align: center;
  margin: 0 auto 64px;
}
@media screen and (max-width: 1024px) {
  .contact{
    max-width: none;
  }
  .contact__title-space{
    margin-bottom: 54px;
  }
  .contact__title{
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.28px;
  }
  .contact__title-caption{
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.48px;
  }
  .contact__inner{
    max-width: none;
  }
  .contact__top-caption{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.64px;
    text-align: left;
  }
}

.contact__form-space{
  width: 100%;
}
.contact__form-inner{
  margin: 0 auto;
}
.form{
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 0.64px;
  padding: 0 0 24px;
}
.form label{
  font-weight: 700;
}
.form:not(.form-textarea){
  align-items: first baseline;
}
.form :nth-child(1){
  flex: 0 0 192px;
}
.form :nth-child(2){
  flex: 0 0 calc(100% - 192px - 30px);
  margin-left: 30px;
}
.form > .error{
  display: block;
  flex: 0 0 100%;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.48px;
}
@media screen and (max-width: 1024px) {
  .form{
    display: block;
    padding: 0 0 24px;
  }
  .form :nth-child(1){
    width: 100%;
  }
  .form :nth-child(2){
    width: 100%;
    margin-left: 0;
  }
}

.form input,
.form select,
.form textarea{
  width: 100%;
  padding: 0.2em 0.2em;
}
.form input,
.form select{
  height: 42px;
}

.form-privacy{
  border-top: solid 1px var(--color-form-border);
  text-align: center;
  margin-top: 86px;
  padding: 50px 0;
}
.form-privacy > p{
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.contact__conrifm .form-privacy > p{
  display: none;  /*確認画面では非表示*/
}
@media screen and (max-width: 1024px) {
  .form-privacy{
    border-top: none;
    text-align: left;
    margin-top: 0;
    padding: 40px 0 96px;
  }
  .form-privacy .wpcf7-list-item{
    margin: 0;
    padding: 0;
  }
}



.form-privacy > p > a{
  color: var(--color-lightblue);
  text-decoration: underline;
}
.form-btn{
  text-align: center;
}
.form-btn .button-indigoblue{
  display: inline-block;
  width: 344px;
  margin: 0;
  padding: 9px;
}
.wpcf7-spinner{
  display: none;  /*プラグインで自動出力されるspan*/
}

/**/
.wpcf7-form .wpcf7-not-valid-tip{
  display: none;
}
.wpcf7-form.is-show .wpcf7-not-valid-tip{
  display: block;
}


/*確認画面*/
.form-confirm{
  display: flex;
  font-size: 17px;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 0.68px;
  margin-bottom: 24px;
}
.form-confirm.privacy{
  margin-bottom: 70px;
}
.form-confirm > label{
  display: inline-block;
  width: 280px;
  font-weight: 700;
}
.form-confirm > span{
  display: inline-block;
  width: calc(100% - 280px);
  word-wrap: break-word;
  font-weight: 500;
}
#btn-return{
  margin-right: 1em;
}
@media screen and (max-width: 1024px) {
  .form-confirm{
    display: block;
  }
  .form-confirm.privacy{
    margin-bottom: 96px;
  }
  .form-confirm > label{
    display: block;
    width: 100%;
    font-weight: 500;
  }
  .form-confirm > span{
    display: block;
    width: 100%;
    word-wrap: break-word;
  }
  #btn-return{
    margin-right: 0;
    margin-bottom: 1em;
  }
  
}

/* ボタン押下時の警告 */
.wpcf7 .form-btn .wpcf7-response-output{
  border: none;
  font-weight: 500;
}
/* ボタン押下時の個々の警告 */
.wpcf7 .wpcf7-not-valid-tip{
  font-weight: 500;
}