@charset "UTF-8";
/* contact 系ページ専用 */

.contact-lead {
  padding-top: var(--sec-pad-s);
  text-align: center;
}
.contact-wrap { margin-top: clamp(48px, 4.7vw, 90px); margin-bottom: var(--sec-pad); }
.contact-card {
  background: var(--bg-light);
  padding: var(--sec-pad-s) clamp(20px, 5.2vw, 100px);
}

/* 通知 */
.form-notice {
  margin-bottom: 40px;
  padding: 16px 20px;
  background: #fff;
  border-left: 3px solid var(--gold);
  line-height: 1.8;
}
.form-notice--error { border-left-color: #b3261e; color: #b3261e; }

/* フィールド */
fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
fieldset.field legend { padding: 0; }
.field { margin-bottom: clamp(32px, 2.6vw, 50px); }
.field__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1;
  margin-bottom: 20px;
}
.badge {
  display: inline-block;
  padding: 5px 6px;
  background: var(--gold);
  color: var(--white);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 60px;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--line-form);
  border-radius: 0;
  font: inherit;
  line-height: 1.7;
  color: var(--text);
}
.field textarea { min-height: 300px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field__error { display: none; margin-top: 10px; color: #b3261e; font-size: .9375rem; line-height: 1.6; }
.field.has-error .field__error, .field__error.is-server { display: block; }

/* ラジオ(見た目は正方形チェック=Figma準拠) / チェックボックス */
.choice-group { display: flex; flex-wrap: wrap; gap: 18px 56px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choice__box {
  display: inline-grid;
  place-content: center;
  width: 20px; height: 20px;
  background: var(--white);
  border: 1px solid var(--line-form);
  border-radius: 3px;
  flex-shrink: 0;
  transition: border-color .2s ease;
}
.choice__box svg {
  width: 14px; height: 14px;
  fill: var(--gold);
  opacity: 0;
  transition: opacity .15s ease;
}
.choice input:checked + .choice__box { border-color: var(--gold); }
.choice input:checked + .choice__box svg { opacity: 1; }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--gold); outline-offset: 2px; }

/* 同意 + 送信 */
.form-consent { text-align: center; margin-top: clamp(40px, 3.6vw, 70px); }
.form-consent .choice { font-size: 1.125rem; }
.form-consent a { text-decoration: underline; text-underline-offset: 4px; }
.form-consent a:hover { color: var(--gold); }
.form-consent.has-error .choice__box { border-color: #b3261e; }
.form-submit { text-align: center; margin-top: 30px; }
.form-submit .btn { min-width: min(360px, 100%); min-height: 70px; font-size: 1.125rem; }
.btn.is-busy { opacity: .6; pointer-events: none; }

/* 確認画面 */
.confirm-note { margin-bottom: 40px; text-align: center; line-height: 1.9; }
.confirm-list { border-top: 1px solid var(--line); }
.confirm-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.confirm-list dt { font-weight: 500; line-height: 1.8; }
.confirm-list dd { line-height: 1.8; white-space: pre-wrap; }
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: clamp(40px, 3.6vw, 60px);
}
.confirm-actions .btn { min-width: min(300px, 100%); min-height: 70px; }

/* 完了 */
.thanks { text-align: center; padding-block: clamp(48px, 4.7vw, 90px) 0; }
.thanks__title { font-size: var(--fs-h3); font-weight: 500; line-height: 1.6; }
.thanks__body { margin-top: 28px; }
.thanks .btn { margin-top: 44px; }

@media (max-width: 767px) {
  .choice-group { flex-direction: column; gap: 16px; }
  .confirm-list > div { grid-template-columns: 1fr; gap: 4px; padding-block: 18px; }
  .confirm-list dt { color: var(--gold); font-size: .9375rem; }
  .confirm-actions { flex-direction: column-reverse; align-items: center; }
  .confirm-actions .btn { width: 100%; }
}
