@charset "utf-8";

.u-mv {
    background: url(../img/inquiry/pc/mv.jpg) no-repeat center;
    background-size: cover;
}

/********* section ********/
.topBox h3,
.form h3 {
    margin: 70px auto 0;
    padding-bottom: 30px;
    text-align: center;
    letter-spacing: 3;
    font-weight: bold;
    font-size: 24px;
    color: #5d6da0;
}

.topBox p,
.form p {
    text-align: center;
}
.form p {
    margin-bottom: 1em;
}

.topBox .tel {
    margin-bottom: 20px;
    text-align: center;
}

.form {
    margin-top: 70px;
    margin-bottom: 70px;
    /* border-top: 1px dotted #ccc; */
}

/********* form layout ********/
.formRow {
  padding: 48px 0;
}
.formRow + .formRow {
  border-top: 1px dotted #ccc;
}
.formItem {
  float: left;
}
.formItem + .formItem {
  margin-left: 48px;
}

.formItem dt p {
    display: inline;
}

.formItem dd {
    margin-top: 10px;
}

.formItem dd p {
    display: inline;
}

.formItem span:not(.required) {
  vertical-align: -12px;
}

.formItem input,
.formItem select,
.formItem textarea {
  vertical-align: top;
}
.formItem select[multiple="multiple"] {
    height: 45px;
}

/* タブ */
ul.tab {
    display: block;
    border-bottom: 1px solid #998675;
}
ul.tab li {
  float: left;
  box-sizing: border-box;
  margin: 0;
  background: #cfeaf1;
  width: 33.333%;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #0f96b8;
  letter-spacing: 1;
  cursor: pointer;
}
ul.tab li.active {
  background: #0f96b8;
  color: #fff;
}
ul.tab li + li {
  border-left: 1px solid #fff;
}
section.hide {
  display:none;
}

/* フォーム選択ラジオのタブデザイン化 */
span.select-form {
    display: block;
    border-bottom: 1px solid #998675;
}
.select-form .wpcf7-list-item {
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  background: #cfeaf1;
  width: 33.333%;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #0f96b8;
  letter-spacing: 1;
}
.select-form .wpcf7-list-item.active {
  background: #0f96b8;
  color: #fff;
}
.select-form .wpcf7-list-item + .wpcf7-list-item {
  border-left: 1px solid #fff;
}
.select-form label {
    display: block;
    text-indent: -20px;
}
input[name="select-form"] {
    visibility: hidden;
}

/* その他フォーム部品 */
.text-name {
  width: 38.5%;
  max-width: 385px;
}
.text-kana {
  width: 38.5%;
  max-width: 385px;
}
.select-gender {
  width: 13.3%;
  max-width: 133px;
  white-space: nowrap;
}
.zip {
  width: 15.6%;
  max-width: 156px;
}
.text-addr {
  width: 79.5%;
  max-width: 795px;
}
.email {
  width: 42.5%;
  max-width: 425px;
}
.tel-cntnr {
  width: 52.5%;
  max-width: 525px;
}
  .text-tel input {
    width: 74.3%;
    max-width: 390px;
  }
  select.menu-teltime {
    width: 14.9%;
    max-width: 120px;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  select.menu-teltime.active {
    position: absolute;
    z-index: 1;
    background: #fff;
    height: 12em;
    max-width: none;
  }

.datetime .formItem {
    background: #f4f4f4;
    padding: 4.8%;
    padding-right: 3%;
    float: none;
}
  .datetime dd {
      float: left;
      white-space: nowrap;
      width: 31%;
  }
  .datetime dd + dd {
    margin-left: 3%;
  }
  .datetime dd h5 {
      font-family: "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
      font-size: 12px;
      color: #666;
  }
  .datetime dd h5 + p {
      margin-top: 5px;
      text-align: left;
  }
  .datetime select {
      width: 5%;
      max-width: 50px;
  }

.textarea-inquiry .formItem {
  float: none;
}
.textarea-inquiry textarea {
    height: 10em;
}



.formItem small {
    color: #d54b81;
    letter-spacing: -.4;
    display: inline-block;
    margin-top: 10px;
}



.required,
.free {
  position: relative
}
.required::after,
.free::after {
  margin: 0 0 0 10px;
  display: inline-block;
  padding: 0 5px;
  line-height: 1.6;
  font-size: 12px;
  font-weight: normal;
  color: #FFF;
}
.required::after {
  content: '必須';
  background: #d54b81;
}
.free::after {
  content: '任意';
  background: #999999;
}




/********* form custom ********/


span.wpcf7-form-control.wpcf7-radio {
    line-height: 46px;
}

select.wpcf7c-conf {
    background-image: none;
}

/* 確認画面でマルチプルのhiddenを表示 */
select.menu-teltime.wpcf7c-conf {
  display: none;
}

.contactBtn {
  margin: 50px auto;
  background: #f4f4f4;
  padding: 50px;
}
  .contactBtn h5 {
      float: left;
      background: #fff;
      color: #666666;
      width: 280px;
      text-align: center;
  }
  .contactBtn ul {
    float: right;
    width: 576px;
  }
  .contactBtn ul li {
    list-style-type: disc;
    line-height: 1.8;
    font-weight: normal;
    font-size: 13px;
  }
  .contactBtn ul li + li {
      margin-top: 7px;
  }
  .contactBtn em {
    font-style: normal;
    color: #d54b81;
  }

.privacyText {
  display: table;
  margin: 30px auto;
}
  .privacyText h4 {
    display: table;
    margin: auto;
      margin-bottom: 30px;
    border-bottom: 3px solid #333;
    padding: 15px 0;
    text-align: center;
    font-family: "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
  }
  .privacyText p {
    text-align: left;
    font-size: 12px;
    margin: 7px 0;
    position: relative;
  }
  .privacyText p::before {
    content: '※ ';
    position: absolute;
    left: -2em;
}
  .privacyText p a {
    color: #0f96b8;
  }
  .agreeCheck {
    text-align: center;
    margin: 3em auto 1em;
    font-size: 14px;
    color: #d54b81;
  }

.btnList {
    padding: 10px;
    text-align: center;
}
.btnList input,
.btnList .btn {
    border-radius: 0;
    border: 1px solid;
    background: #0f96b8;
    width: 300px;
    height: 60px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
.btnList input[disabled] {
    background-color: #fff;
    color: #0f96b8;
}
.btnList .btn {
    display: inline-block;
    line-height: 60px;
    font-size: 18px;
    font-weight: bold;
}
input#send {
    margin-left: 30px;
}

/* .form .btn.btn-arrow {
  background: #ec98c0 url(../images/common/btn-arrow-next.gif) 262px center no-repeat;
  background-size: 12px 18px;
} */



/********* CF7 ********/
/* valid-tip */
form span.wpcf7-not-valid-tip {
  background: #d54b81;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  position: absolute;
  top: -20px;
  right: 20px;
  padding: 0 10px;
}
select + span.wpcf7-not-valid-tip,
.confirm input + span.wpcf7-not-valid-tip,
.select-datetime input + span.wpcf7-not-valid-tip {
  right: auto;
  left: 40%;
}
.wpcf7-checkbox + span.wpcf7-not-valid-tip {
    top: -6px;
    right: auto;
    left: 200px;
}

/* error */
form div.wpcf7-validation-errors {
  margin: 20px;
  border: 1px solid #d54b81;
  background: #fff;
  padding: 12px;
  text-align: center;
  font-size: 129%;
  color: #d54b81;
}

/* confirm */
.formItem .wpcf7c-conf,
.formItem .wpcf7c-conf-hidden {
    color: black;
    border: 1px solid #fff;
}
.formItem input.wpcf7c-conf:-webkit-autofill,
.formItem textarea.wpcf7c-conf:-webkit-autofill,
.formItem input.wpcf7c-conf,
.formItem textarea.wpcf7c-conf,
.formItem .wpcf7c-conf-hidden {
  background-color: #f4f4f4;
}
.formItem .wpcf7c-conf-hidden {
    width: auto;
}

/* saccess */
.form .sent p,
.sent .tab,
.sent .formRow,
.sent .privacyBox {
  display: none;
}
.sent div.wpcf7-mail-sent-ok {
  margin: 20px auto 100px;
  border: 1px solid;
  padding: 50px;
  background: #f4f4f4;
  text-align: center;
  font-size: 129%;
}

.complete-display {
  display: none;
}
.sent .complete-display {
  display: block;
  padding: 100px 0;
}




/* =============================================================================
   Responsive Structure
   ========================================================================== */

@media screen and (max-width: 768px) {
  .u-mv {
    background:url(../img/inquiry/sp/mv.jpg) no-repeat center;
    background-size: cover;
  }

  .form .inner {
      width: 100%;
      max-width: none;
      padding: 0;
  }
  .topBox h3,
  .form h3 {
      margin: 30px auto 0;
      padding-bottom: 20px;
      letter-spacing: inherit;
      font-size: 22px;
  }
  .topBox .tel {
      margin-bottom: 10px;
  }

  /* タブ */
  ul.tab li {
      line-height: 1;
      font-size: 4.2vw;
      letter-spacing: inherit;
      padding: 1em 0;
      height: auto;
  }

  span.select-form {
  }
  .select-form .wpcf7-list-item {
      line-height: 9px;
      font-size: 11px;
      height: auto;
      letter-spacing: inherit;
  }
  .select-form .wpcf7-list-item-label {
      line-height: 9px;
  }

  .formRow {
      padding: 48px 10% 0;
  }
  .formItem {
      float: none;
  }
  .formItem + .formItem {
      margin-left: auto;
  }
  .formItem dd {
      margin-top: 6px;
      margin-bottom: 30px;
  }
  .formItem small {
    line-height: 1.8;
      font-size: 10px;
  }

  .formRow.datetime {
      padding: 10% 0;
  }



  .text-name,
  .text-kana,
  .select-gender,
  .zip,
  .text-addr,
  .email ,
  .tel-cntnr,
  .text-tel input,
  .datetime dd {
    width: 100%;
    max-width: none;
  }
  .select-gender {
    white-space: nowrap;
  }
    select.menu-teltime {
      margin-left: 0;
      margin-top: 15px;
    }
    select.menu-teltime.active {
      position: static;
      background: #fff;
      height: auto;
      max-width: none;
    }

  .datetime .formItem {
      background: #f4f4f4;
      padding: 9% 10%;
      /* padding-right: 5%; */
      float: none;
  }
  .datetime dd {
      float: none;
      width: 100%;
  }
  .datetime dd + dd {
    margin-left: 0;
  }
  .datetime dd h5 {
      font-size: 12px;
  }
  .datetime dd h5 + p {
      margin-top: 5px;
  }
  .datetime select {
      width: 5%;
      max-width: 50px;
  }


  .textarea-inquiry textarea {
      height: 35vh;
  }




  /********* form styling ********/

  .lead {
    text-align: left;
    font-size: initial;
    line-height: 2;
  }
  .form dl {
    width: auto;
    max-width: none;
  }
  .form dt {
    font-size: 115%;
  }


  .required:before,
  .free:before {
    padding: 0 10px;
  }

  .contactBtn {
    margin: 30px auto;
    padding: 25px;
  }
  .contactBtn h5 {
    float: none;
    width: auto;
    padding: 5px 0;
    margin-bottom: 1em;
  }
  .contactBtn ul {
      float: none;
      width: auto;
  }
  .contactBtn ul li {
      margin-left: 18px;
      text-align: justify;
  }
  .contactBtn ul li br {
      display: none;
  }

  .privacyText {
      margin-top: 0;
    padding: 0 10%;
  }
  .privacyText p {
    margin: 7px 0 7px 10%;
  }
  .privacyText p br {
      display: none;
  }


  input#send {
      margin-left: auto;
  }

  /********* CF7 ********/
  /* valid-tip */
form span.wpcf7-not-valid-tip {
    top: -10px;
}

  .sent .complete-display {
    padding: 0;
  }
  .sent div.wpcf7-mail-sent-ok {
      margin: 1em 3%;
  }

}