@charset "UTF-8";
/* ===============================================================================
Contact(お問合せページ / Contact Form 7)
page-contact.php でこのページだけ読み込む
=============================================================================== */

/* contact-secs-1 */
.contact-secs-1 {
  padding-bottom: 200px;
}

/* contact-sec-1(ページ見出し) */
.contact-sec-1 {
  margin-bottom: 56px;
}
.contact-ph-en {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

/* contact-sec-2(フォーム) */
.contact-sec-2 .blks-1 {
  background: #fff;
  padding: 72px 40px;
  border-radius: 20px;
}
.contact-sec-2 .blks-1__inr {
  max-width: 800px;
  margin: 0 auto;
}
.contact-sec-2 .lead {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 48px;
  text-align: center;
}
.contact-sec-2 .lead__tel {
  margin-top: 8px;
  font-weight: 700;
}
.contact-sec-2 .lead__tel a {
  text-decoration: underline;
}

/* フォームの各行 */
.zc-form__row {
  padding: 24px 0;
  border-bottom: solid 1px #e6e6e6;
}
.zc-form__row:first-child {
  padding-top: 0;
}
.zc-form__label {
  display: block;
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 700;
  margin-bottom: 10px;
}
.zc-form__req,
.zc-form__opt {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 700;
  padding: 4px 8px;
  margin-left: 10px;
  border-radius: 4px;
  vertical-align: 2px;
}
.zc-form__req {
  background: #000;
  color: #fff;
}
.zc-form__opt {
  background: #e4e4e4;
  color: #000;
}
.zc-form__note {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #555;
  margin-top: 8px;
}

/* 入力欄 */
.zc-form input[type="text"],
.zc-form input[type="email"],
.zc-form input[type="tel"],
.zc-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.75;
  padding: 12px 16px;
  border: solid 1px #ccc;
  border-radius: 8px;
  background: #f8f8f8;
  color: #000;
  -webkit-appearance: none;
          appearance: none;
}
.zc-form input[type="text"]:focus,
.zc-form input[type="email"]:focus,
.zc-form input[type="tel"]:focus,
.zc-form textarea:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}
.zc-form textarea {
  min-height: 220px;
  resize: vertical;
}
.zc-form input._short {
  max-width: 220px;
}
.zc-form input[type="file"] {
  display: block;
  font-size: 0.875rem;
  margin-top: 8px;
}

/* プルダウン(お問い合わせ先) */
.zc-form select {
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.75;
  padding: 12px 44px 12px 16px;
  border: solid 1px #ccc;
  border-radius: 8px;
  background: #f8f8f8 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: #000;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}
.zc-form select:focus {
  outline: none;
  border-color: #000;
  background-color: #fff;
}

/* ラジオボタン(今は未使用。選択式の項目を足すとき用) */
.zc-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.zc-form .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}
.zc-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.75;
}
.zc-form input[type="radio"],
.zc-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #000;
}

/* 個人情報の取り扱い */
.zc-form__privacy {
  padding: 32px 0 0;
  text-align: center;
}
.zc-form__privacy-txt {
  font-size: 0.875rem;
  line-height: 1.85;
  text-align: left;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.zc-form__privacy .wpcf7-list-item {
  margin: 0;
}

/* 送信ボタン(m-btn-1 と同じ見た目) */
.zc-form__submit {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  position: relative;
}
.zc-form input[type="submit"] {
  min-width: 260px;
  min-height: 60px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 60px;
  font-size: 1.0625rem;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}
.zc-form input[type="submit"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media screen and (min-width: 769px) {
  .zc-form input[type="submit"]:not(:disabled):hover {
    opacity: 0.8;
  }
}
.zc-form .wpcf7-spinner {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

/* Contact Form 7 のエラー・完了メッセージ */
.zc-form .wpcf7-not-valid-tip {
  font-size: 0.875rem;
  margin-top: 6px;
  color: #c62828;
}
.zc-form .wpcf7-not-valid {
  border-color: #c62828 !important;
}
.contact-sec-2 .wpcf7 form .wpcf7-response-output {
  margin: 32px 0 0;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .contact-secs-1 {
    padding-bottom: 21.33vw;
  }
  .contact-sec-1 {
    margin-bottom: 13.33vw;
  }
  .contact-ph-en {
    font-size: 6.4vw;
    margin-bottom: 3.2vw;
  }
  .contact-sec-2 .blks-1 {
    padding: 8.53vw 4vw;
    border-radius: 4vw;
  }
  .contact-sec-2 .lead {
    font-size: 3.73vw;
    line-height: 1.85;
    margin-bottom: 8vw;
    text-align: left;
  }
  .zc-form__row {
    padding: 5.33vw 0;
  }
  .zc-form__label {
    font-size: 4.27vw;
    margin-bottom: 2.13vw;
  }
  .zc-form__note,
  .zc-form__privacy-txt {
    font-size: 3.47vw;
  }
  .zc-form input[type="text"],
  .zc-form input[type="email"],
  .zc-form input[type="tel"],
  .zc-form textarea,
  .zc-form select {
    font-size: 16px; /* iPhone で拡大されないように 16px 以上 */
  }
  .zc-form select {
    max-width: none;
  }
  .zc-form .wpcf7-radio {
    flex-direction: column;
    gap: 2.13vw;
  }
  .zc-form input[type="submit"] {
    min-width: 70vw;
    min-height: 13.33vw;
    font-size: 4.27vw;
  }
}
