@charset "UTF-8";
/* =====================
	お問い合わせ
 ======================= */
main {
  background-color: #edf1f7;
  padding-bottom: 10.21%;
}

.page-ttl {
  margin-bottom: 8.44%;
}

/*確認画面と完了画面を非表示*/
.wpcf7-form .confirm-area {
  display: none;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-form .wpcf7-response-output {
  display: none;
}

.form-list {
  display: grid;
  grid-template-columns: 27.67% 1fr;
  margin-bottom: 8.75%;
}

.form-list > dt {
  padding: 2em 1em 2em 0;
  display: flex;
  align-items: flex-start;
}

.form-list > dt::before {
  content: "●";
}

.form-list dt .req {
  color: #d81d1d;
}

.form-list > dd {
  padding: 2em 0;
}

.form-list > dt:first-of-type,
.form-list > dd:first-of-type {
  padding-top: 0;
}

.form-list > dt:last-of-type,
.form-list > dd:last-of-type {
  padding-bottom: 0;
}

.form-list > dt:nth-of-type(n + 2),
.form-list > dd:nth-of-type(n + 2) {
  border-top: 1px solid #707070;
}

.form-btn-area {
  display: flex;
  justify-content: center;
  gap: 3em;
  position: relative;
}

.form-btn-area .btn-white {
  width: 15em;
  padding: 1em 1em 0.92em;
}

.form-btn-area .btn-confirm:disabled {
  pointer-events: none;
}

.form-btn-area .wpcf7-spinner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

/** ------------------------ input-area ------------------------ **/
.input-area .lead-txt {
  text-align: center;
  margin-bottom: 13.25%;
}

.input-area .form-list label {
  cursor: pointer;
}

.input-area input[type="text"],
.input-area input[type="tel"],
.input-area input[type="email"],
.input-area textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid #707070;
  background-color: #fff;
  border-radius: 5px;
  padding: 1.1em 0.85em;
}

.input-area #which input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 1em;
  height: 1em;
  border: 1px solid var(--c_text);
  border-radius: 50%;
  vertical-align: -0.2em;
}

.input-area #which input[type="checkbox"]:checked:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  content: "";
  width: 0.4em;
  height: 0.4em;
  background-color: var(--c_text);
  border-radius: 50%;
}

.input-area input[type="checkbox"]#your-acceptance {
  appearance: none;
  position: relative;
  width: 1em;
  height: 1em;
  border: 1px solid var(--c_text);
  vertical-align: -0.1em;
}

.input-area input[type="checkbox"]#your-acceptance:checked:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84.9333%;
  height: 65.7%;
  background-image: url(../img/common/checkmark.svg);
  background-size: contain;
  background-position: center;
}

.input-area textarea {
  aspect-ratio: 828 / 520;
}

.input-area input::placeholder,
.input-area textarea::placeholder {
  font-size: 80%;
  color: #707070;
}

.input-area .form-list dd .wpcf7-list-item {
  margin: 0;
}

.input-area .form-list dd #which {
  display: flex;
  column-gap: 2em;
}

.input-area .form-list dd.dd-name {
  display: flex;
  column-gap: 1.2em;
}

.input-area .form-list dd.dd-name > span {
  width: 22.7%;
}

.input-area .form-list dd.dd-company span,
.input-area .form-list dd.dd-department span,
.input-area .form-list dd.dd-tel span,
.input-area .form-list dd.dd-email span,
.input-area .form-list dd.dd-email-confirm span,
.input-area .form-list dd.dd-message span {
  display: inline-block;
  width: 95.4%;
}

.input-area .form-list dd .address-list {
  width: 95.4%;
  display: grid;
  grid-template-columns: 19.13% 1fr;
  align-items: center;
  row-gap: 1em;
}

.input-area .form-list dd .address-list dt {
  padding-right: 1em;
}

.input-area .form-list dd .address-list dd.dd-postal-code,
.input-area .form-list dd .address-list dd.dd-prefecture,
.input-area .form-list dd .address-list dd.dd-locality {
  width: 41.21%;
}

.input-area .form-list dd.dd-email-confirm .email-mismatch-error {
  display: none;
  color: #dc3232;
}

.input-area .form-list dd a {
  text-decoration: underline;
}

/** ------------------------ thanks-area ------------------------ **/
.thanks-area .thanks-ttl {
  font-size: 200%;
  text-align: center;
  margin-bottom: 1em;
}

.thanks-area .thanks-txt {
  text-align: center;
  margin-bottom: 1em;
}

.thanks-area .btn-more {
  width: 13em;
  margin: 3em auto 0;
}

/** ------------------------ 下層ページフッター ------------------------ **/
.footer-sub {
  background-color: #edf1f7;
}

/** -------------------- スマホ -------------------- **/
@media (max-width: 699px) {
  main {
    padding-bottom: 50px;
  }
  
  .page-ttl {
    margin-bottom: 25px;
  }

  .form-list {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .form-list > dt {
    padding: 2em 0 0;
  }

  .form-list > dd {
    padding: 1em 0 2em;
  }

  .form-list > dd:nth-of-type(n + 2) {
    border: none;
  }

  .form-list > dt:first-of-type {
    padding-bottom: 1em;
  }

  /** ------------------------ input-area ------------------------ **/
  .input-area .lead-txt {
    text-align: left;
    margin-bottom: 50px;
  }

  .input-area .form-list dd.dd-company span, .input-area .form-list dd.dd-department span, .input-area .form-list dd.dd-tel span, .input-area .form-list dd.dd-email span, .input-area .form-list dd.dd-email-confirm span, .input-area .form-list dd.dd-message span {
    width: 100%;
  }

  .input-area .form-list dd #which {
    flex-direction: column;
    row-gap: 0.5em;
  }

  .input-area .form-list dd.dd-name > span {
    width: 45%;
    max-width: 300px;
  }

  .input-area .form-list dd .address-list {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .input-area .form-list dd .address-list dt {
    padding: 0;
  }

  .input-area .form-list dd .address-list dd.dd-postal-code, .input-area .form-list dd .address-list dd.dd-prefecture, .input-area .form-list dd .address-list dd.dd-locality {
    width: 80%;
    max-width: 300px;
  }

  /** ------------------------ thanks-area ------------------------ **/
  .thanks-area .thanks-ttl {
    font-size: 20px;
  }

  .thanks-area .thanks-txt {
    text-align: left;
  }
}