/* =============================================================
 * お問い合わせページ（/contact/） — リード獲得型
 *
 * ヘッダー・ボタン・セクション骨格は lp.css、記事カード・col-box などは
 * column.css、フォーム部品（.form-panel / .field / .input / .consent-row
 * / .btn-submit / .thanks-* など）は onbx.css を流用する。
 * ここには contact ページ固有のレイアウトだけを置く。
 * 元は docs/superpowers/specs/2026-09-21-contact-lead-form-design.md の
 * モックアップ（mockups/contact/index.html）内の <style> をそのまま移設したもの。
 * ============================================================= */
body { background: #fff; }
.ct-hero { background: var(--lp-orange-tint); border-bottom: 1px solid var(--lp-orange-line); padding: 56px var(--lp-pad-x) 44px; }
.ct-hero-inner { max-width: var(--col-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: end; }
.ct-hero h1 { margin: 10px 0 12px; font-size: 38px; line-height: 1.35; font-weight: 800; color: var(--lp-navy); letter-spacing: .01em; }
.ct-hero p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--lp-body); }
.ct-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ct-hero-meta span { font-size: 13px; font-weight: 600; color: var(--lp-navy); background: #fff; border: 1px solid var(--lp-orange-line); border-radius: 100px; padding: 6px 14px; }
.ct-hero-meta span::before { content: '✓ '; color: var(--lp-orange); font-weight: 800; }
.ct-hero-side { font-size: 13px; color: var(--lp-body); line-height: 1.8; }
.ct-hero-side b { display: block; font-size: 12px; letter-spacing: 1px; color: var(--lp-orange); margin-bottom: 6px; }

.ct-layout { max-width: var(--col-max); margin: 0 auto; padding: 48px var(--lp-pad-x) 80px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.ct-form .form-panel { padding: 36px 40px 32px; }
.ct-form .form-panel-title { font-size: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ct-time { font-size: 12px; font-weight: 600; color: var(--lp-orange); background: var(--lp-orange-bg); border-radius: 100px; padding: 4px 12px; }

/* ① 困りごとチップ（②「ご用件」の切替もこの見た目を流用） */
.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-chip { position: relative; }
.ct-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ct-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--lp-border); border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--lp-navy); background: #fff; cursor: pointer; transition: .15s; }
.ct-chip span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--lp-grey); background: #fff; transition: .15s; }
.ct-chip span:hover { border-color: var(--lp-orange-light); }
.ct-chip input:checked + span { border-color: var(--lp-orange); background: var(--lp-orange-bg); color: var(--lp-orange); font-weight: 700; }
.ct-chip input:checked + span::before { background: var(--lp-orange); border-color: var(--lp-orange); box-shadow: inset 0 0 0 3px #fff; }
.ct-chip input:focus-visible + span { outline: 2px solid var(--lp-orange); outline-offset: 2px; }

/* 「詳しく書く」 */
.ct-more { margin-top: 8px; }
.ct-more summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--lp-body); display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.ct-more summary::-webkit-details-marker { display: none; }
.ct-more summary::before { content: '＋'; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--lp-border); display: grid; place-items: center; font-size: 13px; color: var(--lp-orange); }
.ct-more[open] summary::before { content: '－'; }
.ct-more-body { margin-top: 14px; display: grid; gap: 18px; }

/* ② 送信後 */
.ct-done { display: none; }
.ct-done.is-on { display: block; }
.ct-done-head { text-align: center; padding: 8px 0 24px; }
.ct-done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--lp-orange); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 28px; font-weight: 800; }
.ct-done-head h2 { margin: 0 0 8px; font-size: 24px; color: var(--lp-navy); }
.ct-done-head p { margin: 0; font-size: 15px; color: var(--lp-body); line-height: 1.8; }
.ct-next { border-top: 1px solid var(--lp-border); padding-top: 24px; }
.ct-next h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--lp-navy); letter-spacing: .5px; }
.ct-next .col-cards { grid-template-columns: repeat(3, 1fr); }

.consent-row { position: relative; }
.consent-row .consent-checkbox { width: 22px; height: 22px; border-width: 2px; }
.consent-row.checked .consent-checkbox::after { width: 7px; height: 12px; }
/* 同意チェックのエラー表示（onbx.css には無いため download.css と同じ内容をここでも定義） */
.consent-row.error { border-color: #e53e3e; background: #fef5f5; }
/* キーボードフォーカス時の可視化（チェックボックス自体はvisually-hiddenのため、隣接するチェックの見た目に outline を出す） */
.consent-row:has(input:focus-visible) .consent-checkbox { outline: 2px solid var(--lp-orange); outline-offset: 2px; }

/* エラーメッセージ用に空の field-hint を仕込んでいる項目は、
   通常時（テキストなし）は高さを持たせない */
.ct-form .field-hint:empty { display: none; }
.ct-submit-error { color: #e53e3e; font-size: 13px; line-height: 1.7; margin-top: 12px; text-align: center; }

/* 右カラム */
.ct-side { display: grid; gap: 24px; position: sticky; top: 88px; }
.ct-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.ct-steps li { counter-increment: st; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--lp-border); font-size: 14px; color: var(--lp-navy); line-height: 1.6; }
.ct-steps li:first-child { border-top: 0; padding-top: 0; }
.ct-steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; background: var(--lp-orange); color: #fff; font-family: Manrope, sans-serif; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.ct-steps small { display: block; color: var(--lp-muted); font-size: 12px; margin-top: 2px; }
.ct-faq details { border-top: 1px solid var(--lp-border); }
.ct-faq details:first-of-type { border-top: 0; }
.ct-faq summary { list-style: none; cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--lp-navy); display: flex; gap: 10px; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary::before { content: 'Q'; color: var(--lp-orange); font-family: Manrope, sans-serif; font-weight: 800; }
.ct-faq p { margin: 0 0 12px 22px; font-size: 13px; line-height: 1.8; color: var(--lp-body); }
.ct-other { text-align: center; font-size: 13px; color: var(--lp-muted); margin-top: 28px; }
.ct-other a { color: var(--lp-orange); font-weight: 600; }

@media (max-width: 1080px) {
  .ct-hero-inner, .ct-layout { grid-template-columns: 1fr; gap: 32px; }
  .ct-side { position: static; grid-template-columns: 1fr 1fr; }
  .ct-next .col-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .ct-hero { padding: 36px 20px 28px; }
  .ct-hero h1 { font-size: 28px; }
  .ct-layout { padding: 28px 20px 60px; }
  .ct-form .form-panel { padding: 24px 20px 22px; }
  .ct-side { grid-template-columns: 1fr; }
  .ct-next .col-cards { grid-template-columns: 1fr; }
}
