/* ==========================================================================
   CONTACT / MATERIALS / PRIVACY ページ専用スタイル
   (base.css のデザイントークン・共通コンポーネントを利用。base.css は編集しない)
   ========================================================================== */

/* ---------- ページ共通: 固定ヘッダー分のオフセット ---------- */
.page-main {
  padding-top: 0;
}

/* ---------- ページタイトルブロック (見出し + リード文) ---------- */
.page-title-block {
  padding-top: calc(var(--header-h) + 56px);
}
@media (max-width: 900px) {
  .page-title-block {
    padding-top: calc(var(--header-h) + 32px);
  }
}

.page-title-block .kicker {
  font-size: clamp(40px, 5vw, 56px);
}

.page-title-block .page-lead {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .page-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ---------- フォームセクション ---------- */
.contact-section {
  padding-top: 0;
}

.form-row .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 13px;
  margin-left: 4px;
}

/* ラジオ・チェックボックスのフォーカス時のふわっとした視覚フィードバック */
.radio-item input:focus-visible,
.consent-row input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  transition: outline-color var(--dur) var(--ease);
}

/* テキスト系入力欄: box-shadow に加えてわずかな浮き上がりを追加 */
.field-text,
.field-textarea {
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.field-text:focus,
.field-textarea:focus {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .radio-group {
    gap: 14px 24px;
  }
}

/* ---------- reCAPTCHA (同意チェックと送信ボタンの間) ---------- */
.recaptcha-row {
  margin-bottom: 28px;
}
/* ウィジェットは304px固定。狭い端末でははみ出すため縮小して左寄せする */
.recaptcha-row .g-recaptcha {
  transform-origin: 0 0;
}
@media (max-width: 360px) {
  .recaptcha-row .g-recaptcha {
    transform: scale(0.85);
    height: 66px;
  }
}

.recaptcha-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #D93025;
}
.recaptcha-error:empty {
  display: none;
}

/* ---------- 送信ボタン ---------- */
.js-submit-btn {
  margin-top: 4px;
}
.js-submit-btn svg {
  transition: transform var(--dur) var(--ease);
}
.js-submit-btn:hover:not(:disabled) svg {
  transform: translateX(3px);
}
.js-submit-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- 送信完了メッセージ ---------- */
.form-thanks {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.form-thanks.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- MATERIALS: 準備中パネル ---------- */
.coming-soon {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 40px;
  text-align: center;
  background: var(--bg-gray2);
  border-radius: 24px;
  overflow: hidden;
}
.coming-soon__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.coming-soon__kicker {
  margin-top: 24px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.coming-soon__title {
  margin-top: 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--ink);
}
.coming-soon__lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}
.coming-soon .btn-pill {
  margin-top: 32px;
}
@media (max-width: 600px) {
  .coming-soon { padding: 56px 24px; }
}

/* ---------- PRIVACY: 本文 ---------- */
.legal-body {
  max-width: 840px;
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}
.legal-body > p {
  margin-bottom: 1.6em;
}
.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 16px;
}
.legal-body h2:first-of-type {
  margin-top: 40px;
}
.legal-body ul {
  margin: 0 0 1.6em;
  padding-left: 4px;
}
.legal-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.legal-body .legal-date {
  margin-top: 56px;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .legal-body { font-size: 14px; }
  .legal-body h2 { margin: 36px 0 12px; }
}
