/* B案だけのスタイル。共通は ../shared/base.css */

/* 固定ヘッダー（約70px）の下に見出しが隠れないように */
#step1, #form { scroll-margin-top: 76px; }

/* ヘッダーのボタンも48px以上に（base.css は44px） */
.sb-header .sb-btn { min-height: 48px; padding: 6px 16px; }

/* ---------- 1 FV ---------- */
.b-fv { padding: 14px 20px 12px; background: var(--pale); }
.b-fv__title { margin: 0; font-weight: 700; line-height: 1.4; word-break: auto-phrase; }
.b-fv__who { display: block; font-size: 20px; color: var(--sb-blue); }
.b-fv__q { display: block; font-size: 25px; color: var(--text); text-wrap: balance; }
.b-fv__sub { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--sb-sub); }
.b-fv__price { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; font-weight: 700; font-size: 14px; color: var(--text); }
.b-fv__price b { font-size: 24px; color: var(--coral); margin: 0 1px; }
.b-fv__img { min-height: 0; height: 112px; margin-top: 10px; }

/* ---------- 2・7 フォームのステップ ---------- */
.b-step { padding: 14px 20px 24px; }
.b-step1 { background: #fff; border-top: 4px solid var(--coral); display: grid; gap: 10px; }
.b-step2 { background: var(--sb-pale); padding-bottom: 32px; }
.b-step__no { margin: 0; font-size: 12px; font-weight: 700; color: var(--sb-sub); letter-spacing: .04em; }
.b-step__no b { color: var(--sb-blue); font-size: 14px; }
.b-step__title { margin: 2px 0 0; font-weight: 700; font-size: 22px; line-height: 1.4; }
.b-step2 .b-step__title { margin-bottom: 16px; }
.b-step [hidden] { display: none !important; } /* .sb-field の display:grid に hidden が負けないように */
.b-step2 .sb-form { background: #fff; border-radius: var(--sb-radius); padding: 18px 16px; }

/* お悩みチップは2列で大きく */
.b-step1 .b-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.b-step1 .b-chips .sb-chip span { justify-content: center; text-align: center; height: 100%; min-height: 54px; padding: 8px 10px; font-size: 14px; line-height: 1.35; border-radius: 12px; font-weight: 700; }
.b-step1 .sb-chip input:checked + span::before { content: "✓"; margin-right: 4px; }
.b-step1 .sb-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.b-skip { min-height: 48px; padding: 0 4px; border: 0; background: none; color: var(--blue-dark); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* 役職：お悩みを選ぶと出てくる（JSが無いときは最初から見える） */
.b-role { padding-top: 12px; border-top: 1px dashed var(--sb-line); }
.b-role .sb-label { font-size: 18px; }
.b-role.is-collapsed { display: none; }
.b-role.is-revealed { animation: b-in .35s ease-out; }
@keyframes b-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .b-role.is-revealed { animation: none; } }

/* ---------- 3 届かない理由 ---------- */
.b-panels { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-panel { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--sb-line); border-radius: var(--sb-radius); background: #fff; }
.b-panel--on { border: 2px solid var(--sb-blue); background: var(--sb-pale); }
.b-panel__fig { width: 88px; height: 88px; }
.b-panel__no { margin: 0; font-weight: 700; font-size: 13px; color: var(--sb-blue); }
.b-panel__text { margin: 0; font-size: 16px; line-height: 1.55; }
.b-why__foot { margin: 18px 0 0; text-align: center; font-size: 15px; }

/* ---------- 4 事例 ---------- */
.b-case .sb-case__img { aspect-ratio: 16 / 9; }
.b-case__title { font-size: 24px; line-height: 1.35; }
.b-case .sb-case dl { font-size: 15px; gap: 4px 14px; }
.b-case__more { margin: 18px 0 10px; text-align: center; font-weight: 700; }

/* ---------- 5 始め方 ---------- */
.b-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.b-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.b-steps__n { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-blue); color: #fff; font-weight: 700; font-size: 18px; display: grid; place-items: center; }
.b-steps p { margin: 0; font-size: 14px; color: var(--sb-sub); }
.b-steps .sb-h3 { margin: 6px 0 4px; color: var(--sb-text); font-size: 18px; }

/* ---------- 6 料金 ---------- */
.b-price { text-align: center; }
.b-price__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--blue-dark); letter-spacing: .1em; }
.b-price__main { margin: 4px 0 18px; font-weight: 700; font-size: 20px; }
.b-price__main b { font-size: 46px; color: var(--blue); margin: 0 2px; letter-spacing: -.01em; }
.b-price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.b-price__list li { display: grid; gap: 2px; padding: 12px 14px 12px 44px; position: relative; border-radius: var(--sb-radius); background: var(--pale); }
.b-price__list li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-blue); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.b-price__list b { font-size: 17px; }
.b-price__list small { font-size: 12px; color: var(--sub); }
.b-price__note { margin: 14px 0 0; font-size: 12px; color: var(--sub); text-align: left; }

/* ---------- 固定フッター ---------- */
.b-sticky { transition: transform .25s ease, opacity .25s ease; }
.b-sticky.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .b-sticky { transition: none; } }

/* 画像 */
.b-fv__img { display: block; width: 100%; height: auto; border-radius: 12px; }
.sb-case__img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== v2（2026-11-10）テンプレ感を減らす上書き ===== */
.b-fv { background: #fff; }
.b-fv__img { border-radius: 4px; }
.b-fv__cap { margin: 4px 0 0; font-size: 10px; color: var(--sub); text-align: right; }
.b-step1 { border-top-width: 3px; }
.b-step1 .b-chips .sb-chip span { border-radius: 8px; }
.b-panels { gap: 0; border-top: 2px solid var(--text); }
.b-panel { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; grid-template-columns: 72px 1fr; }
.b-panel__fig { width: 72px; height: 72px; }
.b-panel--on { border: 0; border-bottom: 1px solid var(--line); background: none; }
.b-panel--on .b-panel__text { font-weight: 700; }
.b-why__foot { text-align: left; }
.b-case__more { text-align: left; }
.b-steps { gap: 0; border-top: 2px solid var(--text); }
.b-steps li { grid-template-columns: 2.2em 1fr; gap: 0 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.b-steps__n { width: auto; height: auto; background: none; color: var(--blue-dark); font-size: 15px; display: block; line-height: 1.9; }
.b-steps__n::before { content: "0"; }
.b-steps .sb-h3 { margin: 0 0 2px; font-size: 16px; }
.b-shot { margin-top: 12px; }
.b-price { text-align: left; }
.b-price__list { gap: 0; border-top: 1px solid var(--line); }
.b-price__list li { padding: 12px 0 12px 28px; background: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.b-price__list li::before { content: ""; left: 4px; top: 19px; width: 12px; height: 7px; border-radius: 0; background: none; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.b-step2 .sb-form { border: 1px solid var(--line); border-radius: 6px; }
.b-case .sb-case__img { aspect-ratio: auto; }

/* 11/11 夜：管理画面（DMM提供）を縦長の詳細画面に */
.b-shot img { max-width: 300px; margin: 0 auto; display: block; }
