/* ----------------------------ページタイトルエリア-------------------------------- */
.ct-hero {
  background: #f6f3ec;
  margin-top: 70px;
  padding: clamp(40px, 6vw, 72px) 24px;
  text-align: center;
}

.ct-hero__title {
  font-family: serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #422d00;
  letter-spacing: 0.08em;
  margin: 0;
}

/* ----------------------------リード文-------------------------------- */
.ct-lead {
  background: #fff;
  padding: clamp(40px, 5vw, 64px) 24px 0;
  text-align: center;
}

.ct-lead__text {
  font-size: 15px;
  line-height: 2;
  color: #333;
  margin: 0;
}

/* ----------------------------フォームセクション-------------------------------- */
.ct-form {
  background: #fff;
  padding: clamp(40px, 5vw, 64px) 24px clamp(64px, 8vw, 112px);
}

.ct-form__inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ----------------------------テーブルレイアウト-------------------------------- */
.ct-form__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.ct-form__table th,
.ct-form__table td {
  padding: 20px 16px;
  border-bottom: 1px solid #e8e0d0;
  vertical-align: top;
  text-align: left;
}

.ct-form__table th {
  width: 220px;
  font-weight: 600;
  color: #422d00;
  white-space: nowrap;
  padding-top: 24px;
}

/* 必須バッジ */
.ct-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  background: #b08a3b;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  vertical-align: middle;
  line-height: 1.6;
}

/* ----------------------------インプット共通-------------------------------- */
.ct-form__table input[type="text"],
.ct-form__table input[type="email"],
.ct-form__table input[type="tel"],
.ct-form__table textarea,
.ct-form__table select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.ct-form__table input[type="text"]:focus,
.ct-form__table input[type="email"]:focus,
.ct-form__table input[type="tel"]:focus,
.ct-form__table textarea:focus,
.ct-form__table select:focus {
  outline: none;
  border-color: #b08a3b;
  background: #fff;
}

.ct-form__table textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

/* ----------------------------郵便番号・住所-------------------------------- */
.ct-zip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.ct-zip__mark {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

.ct-zip__input {
  width: 80px !important;
}

.ct-zip__input--wide {
  width: 120px !important;
}

.ct-zip__btn {
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  max-width: 250px;
  padding: 10px 16px;
  background: #f0ece4;
  border: 1px solid #c8b88a;
  color: #422d00;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
  margin-top: 0;
}

.ct-zip__btn:hover {
  background: #e4ddd0;
}

.ct-address__row {
  margin-top: 10px;
}

.ct-address__row + .ct-address__row {
  margin-top: 8px;
}

.ct-address__label {
  display: block;
  font-size: 12px;
  color: #7a6040;
  margin-bottom: 4px;
}

.ct-address__select {
  max-width: 200px !important;
}

/* ----------------------------電話番号-------------------------------- */
.ct-tel {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ct-tel__input {
  width: 80px !important;
}

.ct-tel__sep {
  color: #666;
  font-size: 14px;
}

/* ----------------------------送信ボタン-------------------------------- */
.ct-form__submit {
  margin-top: 48px;
  text-align: center;
}

.ct-submit__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 56px;
  background: #422d00;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 2px;
  transition:
    background 0.25s ease,
    opacity 0.25s ease;
  font-family: inherit;
}

.ct-submit__btn:hover {
  background: #5a3e00;
  opacity: 0.9;
}

/* ----------------------------responsive-------------------------------- */
@media (max-width: 840px) {
  .ct-hero {
    margin-top: 0;
    padding: 72px 24px 40px;
  }

  .ct-form__table,
  .ct-form__table tbody,
  .ct-form__table tr,
  .ct-form__table th,
  .ct-form__table td {
    display: block;
    width: 100%;
  }

  .ct-form__table th {
    padding: 16px 0 4px;
    border-bottom: none;
  }

  .ct-form__table td {
    padding: 0 0 16px;
  }

  .ct-zip__input {
    width: 72px !important;
  }

  .ct-zip__input--wide {
    width: 100px !important;
  }

  .ct-tel__input {
    width: 72px !important;
  }

  .ct-submit__btn {
    width: 100%;
    margin-top: 0;
  }
}
