/*
 * SHK トップページ専用CSS（T11・完成版spec §1・LT-1）
 * 正: planning/20260706-site-complete-spec.md §1 ／ 部品: 20260706-design-system.md・shk-components.css
 * 前提: shk-tokens.css → common.css → shk-components.css の後に読み込む（front-pageのみ）。
 * 命名: .shk-hero / .shk-trust / .shk-topsec 系。既存 index.css の旧クラスは使わない。
 */

/* ============ LT-1 セクション共通（py SP64/PC96・交互背景） ============ */
/* 白は明示指定（旧common.cssのbodyテクスチャを透過させず、白/--bg-alt/--navyの交互を成立させる） */
.shk-topsec { padding: 64px 0; background: var(--bg); }
@media (min-width: 768px) { .shk-topsec { padding: 96px 0; } }
.shk-topsec--alt { background: var(--bg-alt); }
.shk-topsec--navy { background: var(--navy); color: rgba(255,255,255,.9); }

/* C-05 セクション見出し（中央揃え・アクセントバー中央） */
.shk-top-h2 { font-size: 24px; color: var(--navy); font-weight: 700; line-height: 1.4; text-align: center; }
@media (min-width: 768px) { .shk-top-h2 { font-size: 30px; } }
.shk-top-h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--accent); border-radius: 9999px; margin: 12px auto 0; }
.shk-topsec--navy .shk-top-h2 { color: #fff; }
.shk-top-lead { font-size: 16px; line-height: 1.8; max-width: 896px; margin: 32px auto 0; text-align: center; }
@media (max-width: 639.98px) { .shk-top-lead { text-align: left; } }

/* セクション末尾の中央寄せCTA（電話CTA大／従CTA） */
.shk-top-cta { margin-top: 40px; text-align: center; }
.shk-top-cta .cf-quickcta { justify-content: center; }
.shk-top-cta .shk-cta-assure { width: 100%; }
.shk-top-close { font-size: 18px; font-weight: 700; color: var(--navy); text-align: center; margin-top: 40px; }
.shk-topsec--navy .shk-top-close { color: #fff; }

/* 濃色セクション用 quickcta（安心行の可読色。ボタン白はPHP側で --sub を出し分け） */
.cf-quickcta--dark .shk-cta-assure { color: rgba(255,255,255,.85); }

/* 濃色セクションの注記（C-12: 濃色背景上は白55%） */
.shk-topsec--navy .shk-note { color: rgba(255,255,255,.65); }

/* ============ 1. ヒーロー（--navy・py SP56/PC80・PC 7:5） ============ */
.shk-hero { background: var(--navy); color: rgba(255,255,255,.9); padding: 56px 0; }
@media (min-width: 768px) { .shk-hero { padding: 80px 0; } }
.shk-hero__in { max-width: 1152px; margin: 0 auto; padding: 0 20px; display: grid; gap: 40px; }
@media (min-width: 1024px) { .shk-hero__in { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; } }
.shk-hero__badge { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 9999px; padding: 4px 14px; }
.shk-hero h1 { font-size: 27px; font-weight: 700; line-height: 1.4; color: #fff; margin: 16px 0 0; }
@media (min-width: 768px) { .shk-hero h1 { font-size: 36px; line-height: 1.35; } }
.shk-hero h1 .em { color: var(--accent-on-dark); }
.shk-hero h1 .nw { white-space: nowrap; }
.shk-hero__lead { font-size: 16px; line-height: 1.8; margin-top: 16px; }
@media (min-width: 768px) { .shk-hero__lead { font-size: 18px; } }
.shk-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; }
.shk-hero__pills li { list-style: none; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 9999px; padding: 3px 12px; }
.shk-hero__note { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.6; margin-top: 8px; }
.shk-hero .cf-quickcta { margin-top: 24px; }
.shk-hero__photo { max-width: 440px; margin: 0 auto; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-cta); }
.shk-hero__photo img { display: block; width: 100%; height: auto; }
.shk-hero__cap { background: var(--navy-dark); color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.5; padding: 10px 16px; }

/* ============ 2. 信頼バー（--navy-light） ============ */
.shk-trust { background: var(--navy-light); color: #fff; padding: 14px 0; }
.shk-trust__in { max-width: 1024px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.shk-trust__item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.shk-trust__item svg { flex-shrink: 0; }

/* ============ 3. 悩みチェック8項目（C-06リンク版・sm2列） ============ */
.shk-worry { margin-top: 40px; }
.shk-worrycard { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.shk-worrycard__txt { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.shk-worrycard__txt .mk { color: var(--accent); flex-shrink: 0; font-weight: 700; }
.shk-worrycard .shk-card__more { margin-top: auto; }

/* ============ 4. 早期相談の論理（状態色は上帯・枠・アイコンのみ） ============ */
.shk-timegrid { margin-top: 40px; }
.shk-timecard { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ok); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 24px; }
.shk-timecard--warn { border-top-color: var(--warn); }
.shk-timecard--late { border-top-color: var(--danger); }
/* 状態色は上帯・枠線・アイコンのみ（spec §1-4）。ラベル文字は --ink-sub のまま */
.shk-timecard__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-sub); }
.shk-timecard__label svg { color: var(--ok); }
.shk-timecard--warn .shk-timecard__label svg { color: var(--warn); }
.shk-timecard--late .shk-timecard__label svg { color: var(--danger); }
.shk-timecard__title { font-size: 18px; font-weight: 700; color: var(--navy); margin-top: 8px; }
.shk-timecard__desc { font-size: 14px; line-height: 1.8; margin-top: 8px; }

/* ============ 5. 支援の全体像（C-08 濃色4ステップ） ============ */
.shk-steps { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .shk-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .shk-steps { grid-template-columns: repeat(4, 1fr); } }
.shk-step--dark { background: var(--navy-light); border-radius: var(--radius-card); padding: 24px; }
.shk-step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.shk-step--dark h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 12px 0 8px; line-height: 1.5; }
.shk-step--dark p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.85); }

/* ============ 6. 支援内容グリッド（C-07×9・lg3列） ============ */
.shk-svcgrid { margin-top: 40px; }
.shk-svccard__icon { color: var(--navy); }
.shk-svccard__icon svg { width: 40px; height: 40px; }
.shk-svccard .shk-card__title { margin-top: 12px; }

/* ============ 9. 代表・実績 ============ */
.shk-daihyo { display: grid; gap: 32px; margin-top: 40px; align-items: start; }
@media (min-width: 768px) { .shk-daihyo { grid-template-columns: 1fr 2fr; } }
.shk-daihyo__photo { max-width: 320px; margin: 0 auto; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.shk-daihyo__photo img { display: block; width: 100%; height: auto; }
.shk-daihyo__name { font-size: 14px; color: var(--ink-sub); text-align: center; margin-top: 8px; }
.shk-daihyo__txt { font-size: 16px; line-height: 1.9; }
.shk-stats { margin-top: 40px; }

/* ============ 10. 解決事例（C-11） ============ */
.shk-casecard__ttl { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shk-casecard__txt { font-size: 14px; line-height: 1.8; margin-top: 8px; }

/* ============ 12. 最終CTA（--navy） ============ */
.shk-final__msg { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 28px 24px; max-width: 768px; margin: 40px auto 0; color: var(--ink); font-size: 16px; line-height: 1.9; }
@media (min-width: 768px) { .shk-final__msg { padding: 40px; } }
.shk-final__sig { text-align: right; margin-top: 20px; font-size: 14px; color: var(--ink-sub); }
.shk-final__sig img { display: inline-block; max-width: 180px; height: auto; margin-top: 8px; }

/* ============ 旧テーマとの共存調整 ============ */
/* common.css の main.main_contents はヘッダー分の上余白のみ利用。旧 .top 系paddingは使わない */
body.home .shk-hero { margin-top: 0; }
/* 旧フォント指定の継承を明示（YuGo系クラスは新マークアップでは使わない） */
.shk-hero, .shk-trust, .shk-topsec { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif; }
