/* セキュミルの部品。値は tokens.json のトークン（var(--…)）から読み、トークンが読めないときだけ同じ値の予備を使う。 */

/* ---------- 土台 ---------- */
.sm-root {
  font-family: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700, #2E3747);
  background: var(--white, #FFFFFF);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  word-break: auto-phrase;
  text-rendering: optimizeLegibility;
}
.sm-root *, .sm-root *::before, .sm-root *::after { box-sizing: border-box; }
.sm-root :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.sm-root :where(ul, ol) { padding: 0; list-style: none; }
.sm-root :where(a) { color: var(--blue-700, #1E5A85); text-underline-offset: 3px; }
.sm-root :where(a:hover) { color: var(--blue-800, #16466A); }
.sm-root :where(img) { display: block; max-width: 100%; }
.sm-root :where(p, dd, li) { text-wrap: pretty; }
.sm-root :where(a, button, input):focus-visible { outline: 2px solid var(--blue-700, #1E5A85); outline-offset: 2px; }
.sm-on-navy :where(a, button, input):focus-visible { outline-color: var(--yellow-400, #F2C14E); }

.sm-container { max-width: 1184px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* 背景の帯。白とグレーを交互に。紺は最初の画面・無料診断・フッター。 */
.sm-band { position: relative; padding-top: 88px; padding-bottom: 88px; }
.sm-band--white { background: var(--white, #FFFFFF); }
.sm-band--grey { background: var(--grey-50, #F4F6F8); }
.sm-band--tint { background: var(--blue-50, #EEF3F8); }
.sm-band--navy { background: var(--navy-900, #1B2233); }
.sm-section { display: flex; flex-direction: column; gap: 48px; }
.sm-stack { display: flex; flex-direction: column; gap: 24px; }

.sm-on-navy { color: var(--on-navy-700, #D5DCE4); }

/* 紺の帯の地模様（点の格子と、右上の淡い光）。飾りで、意味は持たせない。 */
.sm-pattern { position: relative; overflow: hidden; isolation: isolate; }
.sm-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(143, 180, 210, 0.26) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 78% 45%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 90% at 78% 45%, #000 0%, transparent 78%);
}
.sm-pattern::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  right: -10%; top: -40%; width: 70%; height: 180%;
  background: radial-gradient(closest-side, rgba(30, 90, 133, 0.5), rgba(30, 90, 133, 0));
}

/* ---------- 見出し ---------- */
.sm-h1 {
  font-size: 52px; line-height: 1.3; font-weight: 700; letter-spacing: 0.02em;
  color: var(--navy-900, #1B2233); text-wrap: balance;
}
.sm-heading { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.sm-heading--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.sm-h2 {
  font-size: 32px; line-height: 1.45; font-weight: 700; letter-spacing: 0.03em;
  color: var(--navy-900, #1B2233); text-wrap: balance;
}
.sm-h1, .sm-h2, .sm-h3, .sm-lead, .sm-step__title, .sm-faq__q, .sm-grade__examples, .sm-choice__statement, .sm-bridge__text { word-break: auto-phrase; }
.sm-h1, .sm-h2, .sm-h3, .sm-btn, .sm-voice__bubble, .sm-bridge__text, .sm-step__title, .sm-faq__q, .sm-choice__statement, .sm-doc__title { font-feature-settings: "palt"; }
.sm-h3 { font-size: 18px; line-height: 1.5; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-900, #1B2233); }
.sm-lead { font-size: 17px; line-height: 1.8; color: var(--ink-700, #2E3747); text-wrap: pretty; }
.sm-on-navy .sm-h1, .sm-on-navy .sm-h2, .sm-on-navy .sm-h3 { color: var(--white, #FFFFFF); }
.sm-on-navy .sm-lead { color: var(--on-navy-700, #D5DCE4); }

/* 見出しの印（ロゴの「走査線の S」と同じ、線と黄色の点）。h2 の上に 1 つ。 */
.sm-mark { display: inline-flex; align-items: center; gap: 5px; height: 8px; }
.sm-mark::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-400, #F2C14E); }
.sm-mark::after { content: ""; width: 32px; height: 8px; border-radius: 4px; background: var(--navy-900, #1B2233); }
.sm-on-navy .sm-mark::after { background: var(--blue-300, #8FB4D2); }

/* ---------- 成果のボタン（主と副の 2 種類だけ） ---------- */
.sm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 8px;
  font-family: inherit; font-size: 16px; line-height: 1.2; font-weight: 700; letter-spacing: 0.04em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.sm-btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sm-btn--primary {
  background: var(--yellow-400, #F2C14E); border-color: var(--yellow-400, #F2C14E); color: var(--navy-900, #1B2233);
  box-shadow: 0 2px 0 var(--yellow-600, #C9962A), 0 8px 20px -8px rgba(201, 150, 42, 0.7);
}
.sm-btn--primary:hover { background: var(--yellow-500, #E3AE34); border-color: var(--yellow-500, #E3AE34); color: var(--navy-900, #1B2233); transform: translateY(1px); box-shadow: 0 1px 0 var(--yellow-600, #C9962A), 0 6px 16px -8px rgba(201, 150, 42, 0.7); }
.sm-btn--secondary { background: var(--white, #FFFFFF); border-color: var(--blue-700, #1E5A85); color: var(--blue-700, #1E5A85); }
.sm-btn--secondary:hover { background: var(--blue-100, #E6EEF5); border-color: var(--blue-800, #16466A); color: var(--blue-800, #16466A); }
.sm-on-navy .sm-btn--secondary { border-color: var(--white, #FFFFFF); }
.sm-btn--compact { min-height: 44px; padding: 0 20px; font-size: 14px; }
.sm-btn--compact svg { width: 18px; height: 18px; }
.sm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sm-actions--center { justify-content: center; }
/* 商談のボタンのまとまりと、その下の負担を下げる一言（.sm-note）。一言は、まとまりごとに 1 回だけ、下に置く。
   間は、結果のページの終わりの誘い（.sm-next--end）と同じ 14px。--center は、中央ぞろえの所（最後の選択・商談のフォームの送るボタン）。 */
.sm-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.sm-cta--center { align-items: center; text-align: center; }
.sm-cta > .sm-choices { align-self: stretch; }

/* ---------- 深刻度の段階（色と形が P1〜P4 の重さを表す。レポートと同じ色） ---------- */
.sm-severity { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.sm-severity > span {
  display: inline-flex; align-items: center; height: 20px; padding: 0 5px; border-radius: 4px;
  font-size: 11px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; font-feature-settings: normal;
}
.sm-severity__p1 { background: var(--sev-p1-bg, #FBE9E7); color: var(--sev-p1, #B3261E); }
.sm-severity__p2 { background: var(--sev-p2-bg, #FDEEE2); color: var(--sev-p2, #B4470B); }
.sm-severity__p3 { background: var(--sev-p3-bg, #FBF3D6); color: var(--sev-p3, #8A6200); }
.sm-severity__p4 { background: var(--sev-p4-bg, #E8EEF6); color: var(--sev-p4, #3F5A7D); }

/* ---------- アイコン（Lucide） ---------- */
.sm-icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  color: var(--blue-700, #1E5A85);
}
.sm-on-navy .sm-icon { color: var(--blue-300, #8FB4D2); }
.sm-icon-tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: 14px; background: var(--blue-100, #E6EEF5);
}
.sm-icon-tile .sm-icon { width: 26px; height: 26px; }
.sm-icon-tile--blue { background: var(--blue-700, #1E5A85); }
.sm-icon-tile--navy { background: var(--navy-900, #1B2233); }
.sm-icon-tile--yellow { background: var(--yellow-400, #F2C14E); }
.sm-icon-tile--blue .sm-icon, .sm-icon-tile--navy .sm-icon { color: var(--white, #FFFFFF); }
.sm-icon-tile--yellow .sm-icon { color: var(--navy-900, #1B2233); }
.sm-on-navy .sm-icon-tile { background: var(--navy-800, #2B3854); }

/* ---------- 補足・未入力 ---------- */
.sm-note { font-size: 13px; line-height: 1.7; font-weight: 400; color: var(--ink-500, #5B6573); }
.sm-on-navy .sm-note { color: var(--on-navy-500, #AEBBCB); }
.sm-notes { display: flex; flex-direction: column; gap: 2px; }
.sm-placeholder {
  display: inline-block; padding: 4px 10px; border: 1px dashed var(--placeholder-600, #B9892A); border-radius: 4px;
  background: var(--placeholder-50, #FFF6DD); color: var(--placeholder-900, #6B4E0E); font-size: 13px; line-height: 1.6;
}
.sm-image-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px;
  background: var(--white, #FFFFFF); border: 2px dashed var(--line-500, #7D8898); border-radius: 8px; text-align: center;
}
.sm-image-slot strong { font-size: 14px; font-weight: 700; color: var(--ink-700, #2E3747); }
.sm-image-slot span { font-size: 12px; color: var(--ink-500, #5B6573); }

/* ---------- 幅で出し分ける中身（図は 900px を境に、横長と縦長を出し分ける） ---------- */
.sm-only-narrow { display: none; }

/* ---------- 無料診断の帯（左に見出し・数・ボタン、右に比べる表。スマホは 1 列で、ボタンを最後に置く） ---------- */
.sm-free { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "intro table" "actions table"; gap: 28px 64px; align-items: center; }
.sm-free__intro { grid-area: intro; align-self: end; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sm-free__actions { grid-area: actions; align-self: start; }
.sm-free__table { grid-area: table; display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* ---------- 点検表の節（左に表紙の見本、右に見出しとフォーム。スマホは 1 列） ---------- */
.sm-checklist { display: flex; align-items: center; gap: 72px; max-width: 1040px; }
.sm-checklist__body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sm-checklist form { max-width: 600px; }
/* ダウンロードを始めた後の「A4 横でダウンロード」は、下の「無料診断を申し込む」と同じく、中身の幅にする（スマホでも幅いっぱいにしない） */
.sm-checklist__body > .sm-actions { align-self: flex-start; }

/* ---------- 最初の画面（ヒーロー） ---------- */
.sm-hero { background: var(--navy-900, #1B2233); padding-top: 72px; padding-bottom: 88px; }
.sm-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 48px; align-items: center; }
.sm-hero__copy { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.sm-hero__text { display: flex; flex-direction: column; gap: 20px; }
.sm-hero .sm-lead { font-size: 18px; max-width: 520px; }

/* 走査（スキャン）の絵。診断レポートの見本を、黄色の枠と走査線で囲む。ヒーローだけ。 */
.sm-scan { position: relative; width: 100%; max-width: 580px; aspect-ratio: 580 / 480; margin-left: auto; }
.sm-scan__sheet {
  position: absolute; overflow: hidden; background: var(--white, #FFFFFF); border-radius: 6px;
  box-shadow: 0 2px 6px rgba(8, 12, 22, 0.3), 0 28px 56px -12px rgba(8, 12, 22, 0.55);
}
.sm-scan__sheet img { width: 100%; height: auto; }
.sm-scan__sheet--back { left: 6%; top: 7%; width: 54%; height: 80%; transform: rotate(-3deg); }
.sm-scan__sheet--front { right: 5%; top: 15%; width: 58%; height: 78%; transform: rotate(2deg); }
.sm-scan__corner { position: absolute; width: 40px; height: 40px; border: 3px solid var(--yellow-400, #F2C14E); }
.sm-scan__corner--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.sm-scan__corner--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.sm-scan__corner--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.sm-scan__corner--br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.sm-scan__line {
  position: absolute; left: 1.5%; right: 1.5%; top: 61%; height: 2px; border-radius: 1px;
  background: var(--yellow-400, #F2C14E); box-shadow: 0 0 14px 1px rgba(242, 193, 78, 0.75);
  animation: sm-scan-sweep 2.4s cubic-bezier(0.45, 0, 0.2, 1) 0.4s both;
}
.sm-scan__line::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 72px;
  background: linear-gradient(to top, rgba(242, 193, 78, 0.2), rgba(242, 193, 78, 0));
}
@keyframes sm-scan-sweep { 0% { top: 3%; opacity: 0; } 12% { opacity: 1; } 100% { top: 61%; opacity: 1; } }
.sm-scan__caption {
  position: absolute; right: 52px; bottom: -4px; font-size: 12px; line-height: 1.5; letter-spacing: 0.04em;
  color: var(--on-navy-500, #AEBBCB);
}

/* ---------- 数の並び（問題数・日数など。数で示せることは文にしない） ---------- */
.sm-figures { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.sm-figure { display: flex; flex-direction: column; gap: 2px; }
.sm-figure + .sm-figure { padding-left: 28px; border-left: 1px solid var(--line-200, #D5DCE4); }
.sm-figure__label { font-size: 13px; line-height: 1.5; font-weight: 700; color: var(--ink-700, #2E3747); }
.sm-figure__amount {
  font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: 0.01em; font-feature-settings: normal;
  color: var(--navy-900, #1B2233); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sm-figure__unit { font-size: 16px; font-weight: 700; margin-left: 4px; }
.sm-on-navy .sm-figure + .sm-figure { border-color: var(--navy-700, #3A4763); }
.sm-on-navy .sm-figure__label { color: var(--on-navy-700, #D5DCE4); }
.sm-on-navy .sm-figure__amount { color: var(--white, #FFFFFF); }
.sm-on-navy .sm-figure__amount > .sm-figure__num { color: var(--yellow-400, #F2C14E); }

/* ---------- 並列の柱（2〜4 個の同じ階層の項目） ---------- */
.sm-features { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); }
.sm-features > li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 4px 32px; border-left: 1px solid var(--line-200, #D5DCE4); min-width: 0; }
.sm-features > li:first-child { padding-left: 0; border-left: 0; }
.sm-features > li:last-child { padding-right: 0; }
.sm-features__head { display: flex; align-items: center; gap: 14px; }
.sm-features__text { font-size: 15px; line-height: 1.75; color: var(--ink-700, #2E3747); }
.sm-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* ---------- ぼやきの吹き出し（悩みを、読み手の口ぶりで見せる。悩みの節だけ） ---------- */
.sm-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sm-voice { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.sm-voice__bubble {
  position: relative; align-self: stretch; flex: 1 1 auto; display: flex; align-items: center; justify-content: center;
  padding: 24px 24px; border-radius: 18px; background: var(--blue-50, #EEF3F8); text-align: center;
  font-size: 17px; line-height: 1.7; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-900, #1B2233); word-break: auto-phrase;
}
.sm-voice__bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 20px; height: 20px; margin-left: -10px;
  background: inherit; border-radius: 3px; transform: rotate(45deg);
}
.sm-voice__person { width: 168px; height: 168px; flex: none; }

/* 悩みから答えへの橋渡し（下向きの矢印と 1 文）。悩みの節の終わりだけ。 */
.sm-bridge { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.sm-bridge__arrow { width: 28px; height: 28px; color: var(--yellow-600, #C9962A); fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sm-bridge__text { font-size: 24px; line-height: 1.5; font-weight: 700; letter-spacing: 0.03em; color: var(--navy-900, #1B2233); }
.sm-bridge__text > em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow-300, #F8DC92) 62%); }

/* ---------- 診断する範囲の図（紺の製図の面。図の中から引き出し線を出し、範囲の名前と説明を書く） ---------- */
.sm-figure-diagram {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 4px; padding: 40px 32px 20px; border-radius: 20px;
  background-color: var(--navy-900, #1B2233);
  background-image: radial-gradient(circle at 1px 1px, rgba(143, 180, 210, 0.16) 1px, transparent 0);
  background-size: 20px 20px;
  box-shadow: 0 1px 2px rgba(27, 34, 51, 0.1), 0 24px 48px -20px rgba(27, 34, 51, 0.45);
}
.sm-figure-diagram svg { display: block; }
.sm-figure-diagram > figcaption { text-align: right; }

/* ---------- 網羅を示す盤（上にゲージ、下に観点の格子。1 つの枠にまとめる） ---------- */
.sm-board { border: 1px solid var(--line-200, #D5DCE4); border-radius: 16px; overflow: hidden; background: var(--white, #FFFFFF); box-shadow: 0 1px 2px rgba(27, 34, 51, 0.06), 0 12px 32px -16px rgba(27, 34, 51, 0.18); }
.sm-gauge { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 40px; padding: 28px 36px; background: var(--navy-900, #1B2233); }
.sm-gauge__summary { display: flex; flex-direction: column; gap: 2px; }
.sm-gauge__label { font-size: 14px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; color: var(--on-navy-700, #D5DCE4); }
.sm-gauge__value { font-size: 48px; line-height: 1.1; font-weight: 600; color: var(--white, #FFFFFF); font-variant-numeric: tabular-nums; font-feature-settings: normal; letter-spacing: 0.01em; white-space: nowrap; }
.sm-gauge__value > small { font-size: 24px; font-weight: 600; color: var(--on-navy-500, #AEBBCB); margin-left: 6px; }
.sm-gauge__bar { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 5px; }
.sm-gauge__bar > span { display: flex; flex-direction: column; gap: 6px; font-size: 11px; line-height: 1; font-weight: 500; color: var(--on-navy-500, #AEBBCB); text-align: center; font-feature-settings: normal; }
.sm-gauge__bar > span::before { content: ""; height: 20px; border-radius: 4px; background: var(--yellow-400, #F2C14E); }
.sm-gauge__bar > span.is-off::before { background: var(--navy-700, #3A4763); }
.sm-coverage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-200, #D5DCE4); }
.sm-coverage > li {
  display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px 16px; min-width: 0;
  background: var(--white, #FFFFFF); font-size: 14px; line-height: 1.5; font-weight: 500;
  color: var(--navy-900, #1B2233); word-break: auto-phrase;
}

/* ---------- 番号付きの流れ（順番のある手順だけ） ---------- */
.sm-steps { display: grid; grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr)); }
.sm-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; padding: 0 8px; text-align: center; }
.sm-step__marker { position: relative; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--blue-100, #E6EEF5); }
.sm-step__marker .sm-icon { width: 30px; height: 30px; }
.sm-step__num {
  position: absolute; left: -6px; top: -6px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-900, #1B2233); color: var(--white, #FFFFFF); border: 2px solid var(--white, #FFFFFF);
  font-size: 13px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; font-feature-settings: normal;
}
.sm-step::after {
  content: ""; position: absolute; top: 35px; left: calc(50% + 48px); right: calc(-50% + 48px); height: 2px;
  background-image: linear-gradient(to right, var(--line-400, #A9B4C2) 50%, transparent 50%); background-size: 8px 2px;
}
.sm-step:last-child::after { display: none; }
.sm-step__body { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sm-step__title { font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-step__text { font-size: 14px; line-height: 1.7; color: var(--ink-700, #2E3747); word-break: auto-phrase; }

/* ---------- 比べる表（2 つの選択肢で何がわかるかを、行と列で比べる） ---------- */
.sm-compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.sm-compare th, .sm-compare td { padding: 14px 8px; border-bottom: 1px solid var(--line-200, #D5DCE4); text-align: center; vertical-align: middle; }
.sm-compare tbody tr:last-child th, .sm-compare tbody tr:last-child td { border-bottom: 0; }
.sm-compare thead th { font-size: 14px; font-weight: 700; color: var(--navy-900, #1B2233); width: 28%; white-space: nowrap; }
.sm-compare tbody th { text-align: left; font-weight: 500; color: var(--ink-700, #2E3747); padding-left: 0; word-break: auto-phrase; }
.sm-compare td .sm-icon { display: inline-block; vertical-align: middle; width: 22px; height: 22px; }
.sm-compare td .sm-icon--yes { color: var(--blue-700, #1E5A85); stroke-width: 2.5; }
.sm-compare td .sm-icon--no { color: var(--line-500, #7D8898); }
.sm-on-navy .sm-compare th, .sm-on-navy .sm-compare td { border-color: var(--navy-700, #3A4763); }
.sm-on-navy .sm-compare thead th { color: var(--white, #FFFFFF); }
.sm-on-navy .sm-compare tbody th { color: var(--on-navy-700, #D5DCE4); }
.sm-on-navy .sm-compare td .sm-icon--yes { color: var(--yellow-400, #F2C14E); }
.sm-on-navy .sm-compare td .sm-icon--no { color: var(--on-navy-500, #AEBBCB); }
.sm-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sm-panel-navy { padding: 12px 28px 16px; border-radius: 16px; background: var(--navy-800, #2B3854); }

/* ---------- 属性の一覧（見出しと値の組。2 列に並べる） ---------- */
.sm-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line-200, #D5DCE4); }
.sm-spec > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; align-content: start; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-spec .sm-icon-tile { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
.sm-spec .sm-icon-tile .sm-icon { width: 22px; height: 22px; }
.sm-spec dt { font-size: 15px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-spec dd { font-size: 15px; line-height: 1.75; color: var(--ink-700, #2E3747); }

/* ---------- 費用の表（1 枚の面。上の階段が、グレードごとの複雑さを表す。グレードごとのカードには分けない） ---------- */
.sm-pricing { background: var(--white, #FFFFFF); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(27, 34, 51, 0.06), 0 12px 32px -16px rgba(27, 34, 51, 0.18); }
.sm-pricing__axis { display: flex; align-items: center; gap: 14px; padding: 24px 28px 0; font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-500, #5B6573); }
.sm-pricing__line { position: relative; flex: 1 1 auto; height: 1.5px; background: var(--line-400, #A9B4C2); }
.sm-pricing__line::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4.5px; border-top: 1.5px solid var(--line-400, #A9B4C2); border-right: 1.5px solid var(--line-400, #A9B4C2); transform: rotate(45deg); }
.sm-grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; }
.sm-grade { grid-row: span 4; display: grid; grid-template-rows: subgrid; min-width: 0; }
.sm-grade__head { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 148px; }
.sm-grade__name { padding: 0 28px; font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-900, #1B2233); font-feature-settings: normal; }
.sm-grade__step { display: block; height: var(--step, 28px); background: var(--tone, #8FB4D2); }
.sm-grade__examples { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 22px 28px 8px; font-size: 14px; line-height: 1.7; color: var(--ink-700, #2E3747); }
.sm-grade__examples-label { margin-top: 2px; padding: 0 6px; border-radius: 4px; background: var(--grey-50, #F4F6F8); font-size: 12px; line-height: 20px; font-weight: 700; color: var(--ink-500, #5B6573); }
.sm-grade__examples > ul { display: flex; flex-direction: column; gap: 2px; }
.sm-grade__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 18px 28px; }
.sm-grade__price + .sm-grade__price { border-top: 1px solid var(--line-200, #D5DCE4); }
.sm-grade + .sm-grade > :not(.sm-grade__head) { border-left: 1px solid var(--line-200, #D5DCE4); }
.sm-grade__label { font-size: 14px; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-grade__amount { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 26px; line-height: 1.2; font-weight: 600; color: var(--navy-900, #1B2233); font-variant-numeric: tabular-nums; font-feature-settings: normal; white-space: nowrap; }
.sm-price__unit { font-size: 14px; font-weight: 700; margin-left: 2px; }
.sm-price__terms { font-size: 12px; line-height: 1.5; font-weight: 400; color: var(--ink-500, #5B6573); }

/* ---------- 資料の表紙の見本（点検表） ---------- */
/* 実物（deliverables/checklist/html/index.html）の A4 縦の表紙と、3 ページ（点検項目の一覧）を縮めて重ねた絵。紙は A4 の縦横比（1:1.414）。 */
.sm-doc { position: relative; width: 300px; height: 340px; flex: none; }
.sm-doc__page, .sm-doc__cover { position: absolute; width: 216px; height: 305px; border-radius: 4px; box-shadow: 0 2px 6px rgba(27, 34, 51, 0.12), 0 20px 40px -12px rgba(27, 34, 51, 0.3); }
.sm-doc__page { right: 4px; top: 28px; overflow: hidden; padding: 22px 16px; background: var(--white, #FFFFFF); transform: rotate(5deg); display: flex; flex-direction: column; }
/* 見出し: 印（黄の点と紺の線）と、題名の太い線 */
.sm-doc__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sm-doc__head::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--yellow-400, #F2C14E) 0 3px, transparent 3px 5px, var(--navy-900, #1B2233) 5px); }
.sm-doc__head::after { content: ""; width: 50%; height: 8px; border-radius: 2px; background: var(--navy-900, #1B2233); }
/* 点検項目の行: 項目の文の線と、チェックの枠 3 つ（はい・いいえ・分からない） */
.sm-doc__page > span { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 9px); align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-doc__page > span:first-of-type { border-top: 1.5px solid var(--navy-900, #1B2233); }
.sm-doc__page > span::before { content: ""; width: var(--w, 80%); height: 5px; border-radius: 3px; background: var(--line-200, #D5DCE4); }
.sm-doc__page > span > i { width: 9px; height: 9px; border: 1px solid var(--line-500, #7D8898); border-radius: 2px; }
.sm-doc__cover { left: 0; top: 0; padding: 22px 20px 20px; background: var(--navy-900, #1B2233); transform: rotate(-3deg); display: flex; flex-direction: column; overflow: hidden; }
.sm-doc__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-doc__title { position: relative; margin: auto 0; padding-bottom: 48px; font-size: 16.5px; line-height: 1.35; font-weight: 700; letter-spacing: 0.04em; color: var(--white, #FFFFFF); }
.sm-doc__logo { position: relative; display: block; width: 55px; height: 13px; }

/* ---------- 運営者 ---------- */
.sm-docinfo { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.sm-docinfo__facts { display: flex; flex-wrap: wrap; align-items: baseline; font-size: 14px; line-height: 1.6; font-weight: 500; color: var(--ink-700, #2E3747); }
.sm-docinfo__facts > span + span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-300, #C3CCD7); }
.sm-docinfo__facts b { margin-right: 2px; font-size: 22px; line-height: 1; font-weight: 700; color: var(--navy-900, #1B2233); font-feature-settings: normal; }
.sm-docinfo__items { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line-200, #D5DCE4); border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-docinfo__label { font-size: 13px; line-height: 1.6; font-weight: 700; color: var(--ink-500, #5B6573); }
.sm-docinfo__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sm-docinfo__list > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.7; color: var(--ink-700, #2E3747); }
.sm-docinfo__list .sm-icon { margin-top: 4px; color: var(--blue-700, #1E5A85); stroke-width: 2.5; }
.sm-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; max-width: 820px; margin: 0 auto; }
.sm-profile__photo { position: relative; width: 176px; height: 176px; }
.sm-profile__photo img { position: relative; width: 176px; height: 176px; object-fit: cover; border-radius: 20px; }
.sm-profile__photo::before { content: ""; position: absolute; left: -12px; bottom: -12px; width: 100%; height: 100%; border-radius: 20px; background: var(--blue-100, #E6EEF5); }
.sm-profile__photo::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow-400, #F2C14E); }
.sm-profile__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.sm-profile__name { font-size: 24px; line-height: 1.4; font-weight: 700; letter-spacing: 0.08em; color: var(--navy-900, #1B2233); }
.sm-profile__role { font-size: 14px; line-height: 1.6; color: var(--ink-500, #5B6573); }
.sm-profile__text { font-size: 16px; line-height: 1.9; color: var(--ink-700, #2E3747); }
.sm-profile__text > strong { font-weight: 700; color: var(--navy-900, #1B2233); background: linear-gradient(transparent 62%, var(--yellow-300, #F8DC92) 62%); }
.sm-career { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin: 8px auto 0; padding: 0; list-style: none; border-top: 1px solid var(--line-200, #D5DCE4); }
.sm-career > li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 10px; align-content: start; padding: 28px 28px 4px; border-left: 1px solid var(--line-200, #D5DCE4); }
.sm-career > li:first-child { padding-left: 0; border-left: 0; }
.sm-career > li:last-child { padding-right: 0; }
.sm-career__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50, #EEF3F8); color: var(--blue-700, #1E5A85); }
.sm-career__label { align-self: center; margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-career__text { grid-column: 1 / -1; font-size: 15px; line-height: 1.85; color: var(--ink-700, #2E3747); }

/* ---------- よくある質問 ---------- */
.sm-faq { max-width: 880px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.sm-faq > div { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; row-gap: 12px; align-items: start; padding: 24px 28px; border-radius: 12px; background: var(--white, #FFFFFF); }
.sm-faq__mark { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; font-size: 16px; line-height: 1; font-weight: 700; font-feature-settings: normal; }
.sm-faq__mark--q { background: var(--navy-900, #1B2233); color: var(--white, #FFFFFF); }
.sm-faq__mark--a { background: var(--yellow-400, #F2C14E); color: var(--navy-900, #1B2233); }
.sm-faq__q { padding-top: 2px; font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-faq__a { padding-top: 2px; font-size: 15px; line-height: 1.85; color: var(--ink-700, #2E3747); }

/* ---------- 最後の選択（知りたいことの段階ごとに、1 つずつ行動を示す） ---------- */
.sm-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm-choice { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 8px 32px; border-left: 1px solid var(--line-300, #C3CDD9); text-align: center; min-width: 0; }
.sm-choice:first-child { border-left: 0; }
.sm-choice__statement { font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-choice .sm-btn { margin-top: 4px; }

/* ---------- フォーム ---------- */
.sm-field { display: flex; flex-direction: column; gap: 8px; }
.sm-label { font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-field__row { display: flex; flex-wrap: wrap; gap: 12px; }
/* 姓と名の 2 つの欄。どの幅でも横に並べる。 */
.sm-namefields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sm-namefields .sm-input { flex: none; width: 100%; }
/* 点検表のように、欄の囲み（.sm-field）の中で下にラベルが続くときは、間を 20px にする。 */
.sm-field > .sm-namefields { margin-bottom: 12px; }
/* 役職の欄。選択肢は質問の選択肢（.sm-option）と同じ形。「そのほか」を選んだときだけ、下に自由入力の欄を出す。 */
.sm-jobtitle { margin: 0; padding: 0; border: 0; min-width: 0; }
.sm-jobtitle > legend { padding: 0; margin-bottom: 8px; }
.sm-jobtitle > .sm-options { padding-left: 0; }
.sm-jobtitle__other { max-width: calc((100% - 10px) / 2); margin-top: 12px; }
.sm-jobtitle__other[hidden] { display: none; }
.sm-jobtitle__other .sm-input { flex: none; width: 100%; }
.sm-field > .sm-jobtitle { margin-bottom: 12px; }
/* 複数行の入力欄（商談のご相談の内容）。枠と文字は .sm-input と同じ。 */
.sm-textarea { display: block; width: 100%; min-height: 148px; padding: 12px 16px; line-height: 1.75; resize: vertical; }
.sm-input {
  flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 0 16px;
  font-family: inherit; font-size: 16px; color: var(--navy-900, #1B2233);
  background: var(--white, #FFFFFF); border: 1px solid var(--line-500, #7D8898); border-radius: 8px;
}
.sm-input::placeholder { color: var(--ink-500, #5B6573); }

/* ---------- 無料診断のフォーム（1 枚の面に 10 問を並べる。選択肢は押せる行。分からないときの選択肢は下に分ける） ---------- */
.sm-formhero { background: var(--navy-900, #1B2233); padding-top: 56px; padding-bottom: 56px; }
.sm-formhero__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.sm-formhero .sm-h1 { font-size: 40px; }
.sm-formhero .sm-lead { max-width: 640px; }
.sm-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 8px; }
.sm-facts > li { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.6; font-weight: 700; color: var(--white, #FFFFFF); }
.sm-facts .sm-icon { color: var(--yellow-400, #F2C14E); stroke-width: 2.5; }
.sm-progress { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-progress__inner { display: flex; align-items: center; gap: 16px; max-width: 904px; margin: 0 auto; padding: 14px 32px; }
.sm-progress__text { flex: none; font-size: 13px; line-height: 1; font-weight: 700; color: var(--ink-700, #2E3747); font-feature-settings: normal; }
.sm-progress__text > b { font-size: 20px; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-progress__bar { flex: 1 1 auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.sm-progress__bar > span { height: 8px; border-radius: 4px; background: var(--line-200, #D5DCE4); }
.sm-progress__bar > span.is-on { background: var(--blue-700, #1E5A85); }
.sm-formband { padding-top: 48px; }
.sm-form { max-width: 840px; margin: 0 auto; background: var(--white, #FFFFFF); border-radius: 16px; box-shadow: 0 1px 2px rgba(27, 34, 51, 0.06), 0 12px 32px -16px rgba(27, 34, 51, 0.18); }
.sm-formsection__title { display: flex; flex-direction: column; gap: 10px; padding: 36px 40px 0; font-size: 20px; line-height: 1.5; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-form__intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 20px 40px; border-bottom: 1px solid var(--line-200, #D5DCE4); font-size: 14px; line-height: 1.75; color: var(--ink-700, #2E3747); }
.sm-form__intro .sm-icon { margin-top: 3px; color: var(--blue-700, #1E5A85); }
.sm-formsection__note { padding: 8px 40px 0; font-size: 14px; line-height: 1.75; color: var(--ink-700, #2E3747); }
.sm-q__sub .sm-q__help { padding-left: 0; margin-top: 4px; }
.sm-q__sub .sm-q__help + .sm-options { margin-top: 12px; }
.sm-formsection__title::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: var(--yellow-400, #F2C14E); }
.sm-questions { margin: 0; padding: 0; list-style: none; }
.sm-q { padding: 36px 40px; border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-q > fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sm-q__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 0; width: 100%; }
.sm-q__num { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900, #1B2233); color: var(--white, #FFFFFF); font-size: 16px; line-height: 1; font-weight: 700; font-feature-settings: normal; }
.sm-q__title { padding-top: 4px; font-size: 18px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-q__hint { font-size: 13px; line-height: 1.6; font-weight: 500; color: var(--ink-500, #5B6573); }
.sm-q__head + .sm-options { margin-top: 12px; }
.sm-q__sub { margin-left: 50px; padding: 20px 24px 24px; border-radius: 12px; background: var(--grey-50, #F4F6F8); }
.sm-q__sub > fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sm-q__subhead { display: flex; flex-direction: column; gap: 2px; padding: 0; width: 100%; }
.sm-q__cond { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; line-height: 1.6; font-weight: 700; color: var(--blue-700, #1E5A85); }
.sm-q__sub .sm-q__title { padding-top: 0; font-size: 16px; }
.sm-q__sub .sm-options { margin-top: 12px; padding-left: 0; }
.sm-q__head + .sm-q__help { margin-top: 4px; }
.sm-q__help { padding-left: 50px; font-size: 14px; line-height: 1.75; color: var(--ink-700, #2E3747); }
.sm-optgroups { display: flex; flex-direction: column; gap: 18px; padding-left: 50px; }
.sm-optgroups .sm-options { padding-left: 0; }
.sm-q__head + .sm-optgroups { margin-top: 12px; }
.sm-optgroup { display: flex; flex-direction: column; gap: 8px; }
.sm-optgroup__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 14px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-optgroup__note { font-size: 13px; font-weight: 400; color: var(--ink-500, #5B6573); }
.sm-options { display: grid; grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr)); gap: 10px; padding-left: 50px; }
.sm-option { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line-200, #D5DCE4); border-radius: 10px; background: var(--white, #FFFFFF); font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--navy-900, #1B2233); cursor: pointer; }
.sm-option > input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--line-500, #7D8898); border-radius: 4px; background: var(--white, #FFFFFF); cursor: pointer; }
.sm-option > input[type="radio"] { border-radius: 50%; }
.sm-option > input:checked { border-color: var(--navy-900, #1B2233); background-color: var(--navy-900, #1B2233); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C14E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 16px 16px; background-position: center; background-repeat: no-repeat; }
/* 丸いボタン（1 つだけ選ぶ）の選んだ状態は、チェック印でなく、中に点。 */
.sm-option > input[type="radio"]:checked { background-image: radial-gradient(circle, var(--yellow-400, #F2C14E) 0 4px, transparent 4.5px); background-size: 100% 100%; }
.sm-option:has(input:checked) { border-color: var(--navy-900, #1B2233); background: var(--blue-50, #EEF3F8); font-weight: 700; }
.sm-option:has(input:focus-visible) { outline: 2px solid var(--blue-700, #1E5A85); outline-offset: 2px; }
/* 「どれもない」「分からない」の行。PC でも縦に積む（左）。幅は、その質問のふつうの選択肢 1 つぶん（--apart-columns）。
   文字が 1 行に収まらないときは、収まる列の数まで広げる（--apart-span）。 */
.sm-options--apart { grid-template-columns: repeat(var(--apart-columns, 2), minmax(0, 1fr)); }
.sm-options--apart > .sm-option { grid-column: 1 / span var(--apart-span, 1); }
/* まとまりのある質問では、この行の上を「18px（まとまりの間隔）+ 細い線 + 18px」にする。線は、質問どうしを区切る線と同じ。 */
.sm-optgroups > .sm-options--apart { padding-top: 18px; border-top: 1px solid var(--line-200, #D5DCE4); }
/* 「どれもない」「分からない」の行と、上の格子の間は 18px（fieldset の gap 16px + 2px。続きの質問は gap が無いので 18px）。 */
.sm-q > fieldset > .sm-options + .sm-options--apart { margin-top: 2px; }
.sm-q__sub .sm-options + .sm-options--apart { margin-top: 18px; }
/* 点線の枠は「選ぶとほかの選択が外れる」選択肢（「どれもない」）だけ。 */
.sm-option--exclusive { border-style: dashed; border-color: var(--line-500, #7D8898); }
.sm-form__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 36px 40px; border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-form__heading { grid-column: 1 / -1; font-size: 18px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-form__contact .sm-input { flex: none; width: 100%; }
.sm-form__contact > .sm-note { grid-column: 1 / -1; margin-top: -8px; }
/* 姓と名は 1 行にまたがって置き、列を、下の 2 つの欄の列とそろえる。 */
.sm-form__contact > .sm-namefields { grid-column: 1 / -1; column-gap: 20px; }
/* 役職は 1 行にまたがって置く。選択肢の列の間も 20px にして、上の 2 つの欄の列とそろえる。 */
.sm-form__contact > .sm-jobtitle { grid-column: 1 / -1; }
.sm-form__contact > .sm-jobtitle > .sm-options { column-gap: 20px; }
.sm-form__contact > .sm-jobtitle > .sm-jobtitle__other { max-width: calc((100% - 20px) / 2); }
.sm-form__submit { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 36px 40px 40px; }
.sm-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--navy-900, #1B2233); cursor: pointer; }
.sm-consent > input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--line-500, #7D8898); border-radius: 4px; background: var(--white, #FFFFFF); cursor: pointer; }
/* 同意のチェックを入れた状態は、選択肢のチェックと同じ見た目。 */
.sm-consent > input:checked { border-color: var(--navy-900, #1B2233); background-color: var(--navy-900, #1B2233); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C14E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 16px 16px; background-position: center; background-repeat: no-repeat; }
/* 同意の行を、選択肢と同じ枠付きの行にする（行のどこを押してもチェックが入る。PC でも左寄せ）。無料診断のフォームと商談の予約で使う。 */
.sm-consent--row { align-self: stretch; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line-200, #D5DCE4); border-radius: 10px; background: var(--white, #FFFFFF); font-weight: 500; }
.sm-consent--row:has(input:checked) { border-color: var(--navy-900, #1B2233); background: var(--blue-50, #EEF3F8); font-weight: 700; }
.sm-consent--row:has(input:focus-visible) { outline: 2px solid var(--blue-700, #1E5A85); outline-offset: 2px; }
.sm-form__submit .sm-btn { min-width: 280px; }
.sm-form__submit .sm-notes { align-self: stretch; text-align: center; }
/* 押せない送るボタン（フォームに足りない所がある間）。地と枠を薄いグレーにし、影・動き・押せる印を付けない。
   本番は <button disabled>、デザインのキャンバスは再生で次の画面へ移れるように <a class="is-disabled" aria-disabled="true">。 */
.sm-btn:disabled, .sm-btn.is-disabled, .sm-btn:disabled:hover, .sm-btn.is-disabled:hover {
  background: var(--grey-50, #F4F6F8); border-color: var(--line-300, #C3CCD7); color: var(--ink-500, #5B6573);
  box-shadow: none; transform: none; cursor: not-allowed;
}
/* 足りない所（送るボタンのすぐ上）。グレーの地の囲みに、種類ごとの行を並べる。各所は、その欄へ飛ぶ文字のリンク。赤は使わない（まだ触っていない欄も並ぶため）。 */
.sm-missing {
  align-self: stretch; display: flex; flex-direction: column; gap: 6px; padding: 14px 18px;
  border: 1px solid var(--line-200, #D5DCE4); border-radius: 10px; background: var(--grey-50, #F4F6F8);
  font-size: 14px; line-height: 1.7; color: var(--ink-700, #2E3747); text-align: left;
}
.sm-missing[hidden] { display: none; }
.sm-missing:focus { outline: none; }
.sm-missing__title { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-missing__title .sm-icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue-700, #1E5A85); }
.sm-missing__list { display: flex; flex-direction: column; gap: 2px; padding-left: 26px; }
.sm-missing__list > li { display: grid; grid-template-columns: 5em minmax(0, 1fr); column-gap: 8px; }
.sm-missing__kind { font-weight: 700; color: var(--ink-500, #5B6573); white-space: nowrap; }
.sm-missing__items a { color: var(--blue-700, #1E5A85); }

/* ---------- 商談の申し込み（希望の日時を、第 3 希望まで聞く。まとまりは、見出しの文字と細い線だけで分ける） ---------- */
.sm-slots { padding: 4px 40px 12px; border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-slot { padding: 24px 0; }
.sm-slot + .sm-slot { border-top: 1px solid var(--line-200, #D5DCE4); }
.sm-slot > fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sm-slot__title { padding: 0; width: 100%; font-size: 16px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
.sm-slot__optional { font-weight: 400; color: var(--ink-700, #2E3747); }
/* ご相談の内容（任意）。見出しの後ろの「（任意）」は、希望の見出しと同じ形。 */
.sm-formsection__optional { font-weight: 400; color: var(--ink-700, #2E3747); }
.sm-consultation { padding: 16px 40px 36px; border-bottom: 1px solid var(--line-200, #D5DCE4); }
/* 「消す」（任意の希望に 1 つでも入っているときだけ出す）。見出しの行の右端に置く、文字だけのボタン。
   押せる範囲は 44px 四方以上。色・太さ・下線は、リンクの文字と同じ。文は「この希望を消す」（行を消す × と紛れないように）。 */
/* 位置の基準は外側の .sm-slot（fieldset を基準にすると、legend の下からの位置になる）。
   上の余白 24px + 見出しの行の中心 12.8px − ボタンの半分 22px = 15px。 */
.sm-slot { position: relative; }
.sm-slot__clear {
  position: absolute; top: 15px; right: 0; display: inline-flex; align-items: center; justify-content: flex-end;
  min-width: 44px; min-height: 44px; padding: 0 0 0 8px; border: 0; background: none;
  font-family: inherit; font-size: 14px; line-height: 1.6; font-weight: 400; color: var(--blue-700, #1E5A85);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sm-slot__clear:hover { color: var(--blue-800, #16466A); }
/* hidden を付けたボタンは出さない（display を決めているので、hidden だけでは消えない）。 */
.sm-slot__clear[hidden], .sm-timerange__remove[hidden], .sm-slot__add[hidden] { display: none; }
/* 日付と時間帯を横に並べる。列は「ご連絡先」の 2 つの欄と同じ幅にそろえる。 */
.sm-slot__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 12px; }
/* 時間帯の行を縦に積む。行は「開始 〜 終了」。2 行以上あるときは、行の右に、その行を消す × を置く。 */
.sm-timeranges { display: flex; flex-direction: column; gap: 10px; }
.sm-timerange { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.sm-timerange--removable { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; }
/* 行を消す ×。押せる範囲は 44px 四方。× の線の右端を、欄の右端にそろえる（右へ 17px はみ出させる。
   絵は 20px で 44px の真ん中にあり、× の線は絵の端から 5px 内側にある）。枠は付けない。 */
.sm-timerange__remove {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -17px; padding: 0;
  border: 0; border-radius: 8px; background: none; color: var(--ink-700, #2E3747); cursor: pointer;
}
.sm-timerange__remove > .sm-icon { color: inherit; }
.sm-timerange__remove:hover { color: var(--navy-900, #1B2233); }
/* 「時間帯を足す」。文字だけの副のボタン（「この希望を消す」と同じ系統）。押せる範囲は高さ 44px。左寄せ
   （プラスの線の左端を、欄の左端にそろえるため、左へ 4px 出す）。下は、次の線との間が空きすぎないように 10px 詰める。 */
.sm-slot__add {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0 0 -10px -4px; padding: 0 8px 0 0;
  border: 0; background: none; font-family: inherit; font-size: 14px; line-height: 1.6; font-weight: 400; color: var(--blue-700, #1E5A85); cursor: pointer;
}
.sm-slot__add > span { text-decoration: underline; text-underline-offset: 3px; }
.sm-slot__add > .sm-icon { width: 18px; height: 18px; color: inherit; }
.sm-slot__add:hover { color: var(--blue-800, #16466A); }
.sm-timerange__separator { font-size: 16px; line-height: 1; color: var(--ink-700, #2E3747); }
/* 日付を選ぶ欄（カレンダーの絵つき）と、時刻を選ぶ欄（下向きの印つき）。枠・角・高さ・文字は .sm-input のまま。 */
.sm-datefield, .sm-select { position: relative; }
.sm-datefield > .sm-input, .sm-select > .sm-input { flex: none; width: 100%; cursor: pointer; }
.sm-datefield > .sm-input { padding-left: 46px; }
.sm-select > .sm-input { appearance: none; -webkit-appearance: none; padding-right: 42px; }
.sm-datefield > .sm-icon, .sm-select > .sm-icon { position: absolute; top: 50%; margin-top: -10px; color: var(--ink-500, #5B6573); pointer-events: none; }
.sm-datefield > .sm-icon { left: 16px; }
.sm-select > .sm-icon { right: 14px; }
/* 何も選んでいない時刻の欄は、入力欄の案内（placeholder）と同じ色にする。 */
.sm-select > .sm-input:has(option[value=""]:checked) { color: var(--ink-500, #5B6573); }
.sm-select > .sm-input:focus-visible { outline: 2px solid var(--blue-700, #1E5A85); outline-offset: 2px; }

/* 申し込んだ後の画面の、送った希望の控え。枠や色の帯は付けない（点検表の項目の並びと同じ、上下の細い線だけ）。 */
.sm-summary { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 400px; padding: 16px 0; border-top: 1px solid var(--line-200, #D5DCE4); border-bottom: 1px solid var(--line-200, #D5DCE4); text-align: left; }
.sm-summary__label { font-size: 13px; line-height: 1.6; font-weight: 700; color: var(--ink-500, #5B6573); }
.sm-summary__list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 15px; line-height: 1.7; color: var(--ink-700, #2E3747); }
.sm-summary__list > div { display: contents; }
.sm-summary__list dt { font-weight: 700; color: var(--navy-900, #1B2233); }

/* 中身が短いページ（送った後・申し込んだ後・ダウンロードした後）は、窓が中身より高いときも、ページを窓いっぱいにする。
   フッターを下に付け、グレーの帯を伸ばして、下に白い帯を出さない。 */
.sm-root--fill { display: flex; flex-direction: column; min-height: 100vh; }
.sm-root--fill > main { flex: 1 0 auto; display: flex; flex-direction: column; }
.sm-root--fill > main > section, .sm-root--fill > section { flex: 1 0 auto; }

/* 送信した後・ダウンロードした後 */
.sm-done__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 720px; text-align: center; }
.sm-done__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy-900, #1B2233); }
.sm-done__icon .sm-icon { width: 34px; height: 34px; color: var(--yellow-400, #F2C14E); stroke-width: 3; }
.sm-next { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-200, #D5DCE4); }
.sm-next__text { font-size: 18px; line-height: 1.6; font-weight: 700; color: var(--navy-900, #1B2233); }
/* ロゴだけのヘッダーは固定しない（進み具合の帯と重なるため）。後ろの .sm-header の規則に勝つように、クラスを 2 つ重ねる。 */
.sm-header.sm-header--plain { position: static; }
/* 進み具合の帯（上に固定）に、飛んだ先が隠れないようにする。帯のあるページだけ。 */
html:has(.sm-progress) { scroll-padding-top: 64px; }

/* ---------- 無料診断の結果のページ ---------- */
/* 読む文が長いので、節の中身の幅を 880px までにする。見出しは左にそろえる。 */
.sm-result { display: flex; flex-direction: column; gap: 28px; max-width: 880px; }
.sm-band.sm-resultband { padding-top: 64px; padding-bottom: 64px; }
.sm-result__text { font-size: 16px; line-height: 1.8; color: var(--ink-700, #2E3747); }
/* 概算のグレードと費用。左にグレード（LP の費用の表のスマホの形の、4 段階の帯）、右に診断と修正の金額。 */
.sm-estimate {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); background: var(--white, #FFFFFF); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(27, 34, 51, 0.06), 0 12px 32px -16px rgba(27, 34, 51, 0.18);
}
.sm-estimate__head { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px 28px; background: var(--blue-50, #EEF3F8); }
.sm-estimate__grade { font-size: 24px; line-height: 1.4; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-900, #1B2233); font-feature-settings: normal; word-break: auto-phrase; }
.sm-estimate__bar { display: block; height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--tone, #8FB4D2) var(--fill, 50%), var(--line-200, #D5DCE4) var(--fill, 50%)); }
.sm-estimate__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.sm-estimate__price { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 24px 28px; }
.sm-estimate__price + .sm-estimate__price { border-left: 1px solid var(--line-200, #D5DCE4); }
.sm-estimate .sm-grade__amount { align-items: flex-start; font-size: 26px; }
.sm-estimate__text { grid-column: 1 / -1; align-self: center; padding: 24px 28px; font-size: 16px; line-height: 1.8; font-weight: 500; color: var(--navy-900, #1B2233); }
/* 潜んでいる可能性がある脆弱性の種類ごとの枠。番号と名前の下に、3 つの行（いただいた回答・潜んでいる可能性がある脆弱性・対策）。 */
.sm-findings { display: flex; flex-direction: column; gap: 16px; }
.sm-finding { display: flex; flex-direction: column; gap: 14px; padding: 24px 28px 10px; background: var(--white, #FFFFFF); border: 1px solid var(--line-200, #D5DCE4); border-radius: 12px; }
.sm-finding__title { display: flex; align-items: center; gap: 12px; font-size: 19px; line-height: 1.5; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-900, #1B2233); font-feature-settings: "palt"; }
.sm-finding__num { display: flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900, #1B2233); color: var(--white, #FFFFFF); font-size: 15px; line-height: 1; font-weight: 700; font-feature-settings: normal; }
.sm-finding__rows > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line-200, #D5DCE4); }
.sm-finding__rows dt { font-size: 14px; line-height: 1.75; font-weight: 700; color: var(--navy-900, #1B2233); word-break: auto-phrase; }
.sm-finding__rows dd { font-size: 15px; line-height: 1.8; color: var(--ink-700, #2E3747); }
/* ページの終わりの節（無料診断で分かる範囲）。4 つのまとまり（無料診断で見た範囲・ご依頼の後の診断で分かること・事例・直す順番の決め方）を、
   それぞれ 1 枚のスライドの形（白い面）にして積む。1 枚は、上から、まとまりの名前と枚の番号、結論の見出し、図、短い補足。
   名前の上の短い黄色の線は、無料診断のフォームのまとまりの見出しと同じ印。図は LP の部品（観点の盤・比べる表・番号付きの流れ）と事例の壁。 */
.sm-slides { display: flex; flex-direction: column; gap: 28px; }
.sm-slide { display: flex; flex-direction: column; gap: 28px; padding: 36px 44px 28px; background: var(--white, #FFFFFF); border: 1px solid var(--line-200, #D5DCE4); border-radius: 16px; }
.sm-slide__head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-slide__kicker { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-700, #2E3747); }
/* 名前は、中の折らない語（.sm-nowrap）を分けないよう、flex にしない。 */
.sm-slide__name { display: block; min-width: 0; word-break: auto-phrase; }
.sm-slide__name::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 10px; border-radius: 2px; background: var(--yellow-400, #F2C14E); }
.sm-slide__page { flex: none; font-weight: 500; color: var(--ink-500, #5B6573); font-variant-numeric: tabular-nums; font-feature-settings: normal; }
.sm-slide__title { font-size: 26px; line-height: 1.5; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-900, #1B2233); font-feature-settings: "palt"; word-break: auto-phrase; text-wrap: balance; }
.sm-slide__body { min-width: 0; }
/* スライドの中の観点の盤は、影を付けない（影のある面は増やさない）。 */
.sm-slide .sm-board { box-shadow: none; }
/* 観点の盤: ゲージの区画は 18（観点の数）。区画の下の番号は付けない。このページで示していない観点は、薄くする（地 grey-50、文字 ink-500、アイコン line-500）。 */
.sm-gauge__bar.sm-gauge__bar--points { grid-template-columns: repeat(18, minmax(0, 1fr)); }
.sm-gauge__bar--points > span { font-size: 0; gap: 0; }
.sm-coverage > li.is-off { background: var(--grey-50, #F4F6F8); color: var(--ink-500, #5B6573); font-weight: 400; }
.sm-coverage > li.is-off .sm-icon { color: var(--line-500, #7D8898); }
/* 本文の幅（880px）では、格子を 3 列にする（6 列では名前が入りきらない）。 */
.sm-limits__board .sm-coverage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 番号付きの流れは、スライドの中で上に余白を取る。 */
.sm-steps.sm-limits__steps { padding: 8px 0 4px; }
/* 事例の壁。図解の画像 15 枚を、隙間なく敷き詰める（説明の文は置かない。見出し・数字・脆弱性の名前は画像の中にある）。
   列の幅を 6 単位、行の高さを 1 単位とした格子。PC は 3 列、640px 以下は 2 列。置き場所（grid-area）は、build.py が
   各タイルの --case-pc と --case-sp に入れる。行の高さは、間（--case-gap）を引いて、1:1 の画像が列の幅と同じ高さになるように決める
   （そのため 1:1 のほかは、縦横比が数 px ずれる。画像は object-fit: contain で切らず、ずれは画像と同じ白い地で埋める）。 */
.sm-cases { --case-gap: 12px; container-type: inline-size; }
.sm-cases__wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--case-gap); margin: 0; padding: 0; list-style: none;
  grid-auto-rows: calc(((100cqw - 2 * var(--case-gap)) / 3 - 5 * var(--case-gap)) / 6);
}
.sm-case { position: relative; grid-area: var(--case-pc); min-width: 0; overflow: hidden; background: var(--white, #FFFFFF); border: 1px solid var(--line-200, #D5DCE4); border-radius: 8px; }
.sm-root .sm-case__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* ページの終わりの、商談のお申し込みへの案内。上の線は付けない（直す順番の決め方の面で区切る）。 */
.sm-next.sm-next--end { align-items: center; padding-top: 8px; border-top: 0; text-align: center; }
@media (max-width: 760px) {
  .sm-estimate { grid-template-columns: minmax(0, 1fr); }
  .sm-estimate__head { padding: 18px 20px; }
  .sm-estimate__grade { font-size: 20px; }
  .sm-estimate__price { padding: 16px 20px 20px; }
  .sm-estimate .sm-grade__amount { font-size: 24px; }
  .sm-estimate__text { padding: 16px 20px 20px; font-size: 15px; }
}
@media (max-width: 640px) {
  .sm-band.sm-resultband { padding-top: 44px; padding-bottom: 44px; }
  .sm-result { gap: 20px; }
  .sm-result__text { font-size: 15px; }
  .sm-finding { gap: 10px; padding: 20px 18px 6px; }
  .sm-finding__title { gap: 10px; font-size: 17px; }
  .sm-finding__num { width: 28px; height: 28px; font-size: 14px; }
  .sm-finding__rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
  .sm-finding__rows dt { font-size: 13px; }
  .sm-next.sm-next--end { align-items: stretch; text-align: left; }
  .sm-slides { gap: 20px; }
  .sm-slide { gap: 20px; padding: 24px 18px 20px; border-radius: 12px; }
  .sm-slide__head { gap: 10px; padding-bottom: 18px; }
  .sm-slide__title { font-size: 20px; }
  .sm-limits__board .sm-coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-slide .sm-compare { table-layout: fixed; }
  .sm-slide .sm-compare thead th { width: 25%; padding-left: 2px; padding-right: 2px; word-break: keep-all; }
  .sm-steps.sm-limits__steps { padding: 4px 0 0; }
  .sm-cases { --case-gap: 6px; }
  .sm-cases__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc(((100cqw - var(--case-gap)) / 2 - 5 * var(--case-gap)) / 6); }
  .sm-case { grid-area: var(--case-sp); border-radius: 6px; }
}
/* せまいスマホでは、診断と修正の金額を縦に積む（横に 2 つ並べると、金額が欄に入らない）。 */
/* せまいスマホ（340px 以下）では、観点の格子を 1 列にする（2 列では「依存ライブラリ」などの名前が入りきらない）。スライドの左右の余白も詰める。 */
@media (max-width: 340px) {
  .sm-slide { padding-left: 12px; padding-right: 12px; }
  .sm-limits__board .sm-coverage { grid-template-columns: minmax(0, 1fr); }
  .sm-limits__board .sm-coverage > li { min-height: 44px; padding: 8px 16px; }
  .sm-slide .sm-compare thead th { width: 23%; }
  .sm-slide .sm-compare tbody th { font-size: 13px; }
  .sm-slide .sm-compare td { padding-left: 2px; padding-right: 2px; }
}
@media (max-width: 360px) {
  .sm-estimate__body { grid-template-columns: minmax(0, 1fr); }
  .sm-estimate__price + .sm-estimate__price { border-left: 0; border-top: 1px solid var(--line-200, #D5DCE4); }
}

/* ---------- ヘッダー・フッター・スマホの下のバー ---------- */
.sm-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-200, #D5DCE4); }
.sm-header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sm-header__logo { display: flex; }
.sm-header__logo img { width: 147px; height: 36px; }
.sm-nav { display: flex; align-items: center; gap: 32px; }
.sm-nav__link { font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-700, #2E3747); text-decoration: none; }
.sm-root a.sm-nav__link { color: var(--ink-700, #2E3747); }
.sm-root a.sm-nav__link:hover { color: var(--blue-700, #1E5A85); }
.sm-root :where(section[id]) { scroll-margin-top: 80px; }

/* 節の帯（スマホとタブレットで、いつでも節へ飛べるようにする。画面の上に固定する。ハンバーガーメニューは使わない） */
.sm-subnav { display: none; }
.sm-subnav__inner { display: flex; align-items: stretch; max-width: 560px; margin: 0 auto; padding: 0 8px; }
.sm-root .sm-subnav a {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 56px; padding: 6px 0 8px; text-decoration: none; white-space: nowrap;
}
.sm-subnav__lead { font-size: min(11px, 2.9vw); line-height: 1; font-weight: 500; color: var(--ink-700, #2E3747); }
.sm-subnav__word { font-size: 15px; line-height: 1.1; font-weight: 700; letter-spacing: 0.06em; color: var(--navy-900, #1B2233); }
.sm-root .sm-subnav a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 24px; margin-top: -12px; background: var(--line-200, #D5DCE4); }
.sm-root .sm-subnav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 28px; height: 4px; margin-left: -14px; border-radius: 2px 2px 0 0; background: var(--yellow-400, #F2C14E); }
.sm-footer { padding-top: 56px; padding-bottom: 40px; background: var(--navy-900, #1B2233); }
.sm-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.sm-footer__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px; }
.sm-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.sm-footer__copy { align-self: stretch; padding-top: 24px; border-top: 1px solid var(--navy-700, #3A4763); }
.sm-footer p { font-size: 14px; line-height: 1.7; color: var(--on-navy-700, #D5DCE4); }
.sm-footer p.sm-note { font-size: 13px; color: var(--on-navy-500, #AEBBCB); }
.sm-root .sm-footer a { color: var(--on-navy-700, #D5DCE4); font-size: 14px; }
.sm-ctabar {
  display: none; position: sticky; bottom: 0; z-index: 10; padding: 8px 16px;
  background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line-200, #D5DCE4);
}
.sm-ctabar .sm-btn { width: 100%; }

/* ---------- 中くらいの幅（タブレット） ---------- */
@media (max-width: 1040px) {
  .sm-h1 { font-size: 44px; }
  .sm-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .sm-scan { margin: 0 auto; }
  .sm-coverage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-grade__name, .sm-grade__examples, .sm-grade__price { padding-left: 18px; padding-right: 18px; }
  .sm-grade__amount { font-size: 22px; }
  .sm-grade__examples { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sm-grade__examples-label { justify-self: start; }
  .sm-nav { gap: 22px; }
}
@media (max-width: 960px) {
  .sm-header { position: static; border-bottom: 0; }
  .sm-header .sm-nav { display: none; }
  .sm-header__inner { justify-content: center; height: 64px; }
  .sm-subnav {
    display: block; position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line-200, #D5DCE4); border-bottom: 1px solid var(--line-200, #D5DCE4);
  }
  .sm-root :where(section[id]) { scroll-margin-top: 64px; }
  .sm-ctabar { display: block; }
}
@media (max-width: 760px) {
  .sm-pricing__axis { padding: 20px 20px 4px; }
  .sm-grades { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sm-grade { grid-row: auto; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; padding: 18px 20px 20px; }
  .sm-grade + .sm-grade { border-top: 1px solid var(--line-200, #D5DCE4); }
  .sm-grade + .sm-grade > :not(.sm-grade__head) { border-left: 0; }
  .sm-grade__head { grid-column: 1 / -1; height: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .sm-grade__name { flex: none; padding: 0; font-size: 18px; }
  .sm-grade__step { flex: 1 1 auto; height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--tone, #8FB4D2) var(--fill, 50%), var(--line-200, #D5DCE4) var(--fill, 50%)); }
  .sm-grade__examples { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px 0 16px; }
  .sm-grade__price { flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 16px 0 0; }
  .sm-grades .sm-grade__price + .sm-grade__price { border-top: 0; border-left: 1px solid var(--line-200, #D5DCE4); padding: 4px 0 0 20px; }
  .sm-grade__amount { align-items: flex-start; font-size: 24px; }
}
@media (max-width: 900px) {
  .sm-career { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .sm-career > li, .sm-career > li:first-child, .sm-career > li:last-child { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line-200, #D5DCE4); }
  .sm-career > li:first-child { border-top: 0; }
  .sm-only-wide { display: none; }
  .sm-only-narrow { display: block; }
  .sm-free { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "table" "actions"; gap: 28px; }
  .sm-free__intro { align-self: auto; }
  .sm-checklist { flex-direction: column; align-items: stretch; gap: 40px; }
  .sm-checklist__body { flex: none; }
  .sm-checklist .sm-doc { margin: 0 auto; }
  .sm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .sm-step:nth-child(3n)::after { display: none; }
  .sm-voice__bubble { font-size: 16px; padding: 20px 16px; }
  .sm-spec { grid-template-columns: minmax(0, 1fr); }
  .sm-choices { grid-template-columns: minmax(0, 1fr); max-width: 480px; width: 100%; margin: 0 auto; }
  .sm-choice { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-300, #C3CDD9); align-items: stretch; }
  .sm-choice:first-child { padding-top: 0; border-top: 0; }
  .sm-choice:last-child { padding-bottom: 0; }
}

/* 選択肢を 3 列以上に並べるのは、幅 841px 以上。幅 641〜840px は、HTML の --tablet-columns で決める（2 列まで）。 */
@media (min-width: 641px) and (max-width: 840px) {
  .sm-options { grid-template-columns: repeat(var(--tablet-columns, 2), minmax(0, 1fr)); }
  .sm-options--apart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-options--apart > .sm-option { grid-column: 1; }
}

/* ---------- スマホ（幅 640px 以下） ---------- */
@media (max-width: 640px) {
  .sm-formhero { padding-top: 36px; padding-bottom: 40px; }
  .sm-formhero .sm-h1 { font-size: 28px; }
  .sm-facts { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sm-formhero__inner { align-items: flex-start; text-align: left; }
  .sm-progress__inner { padding: 12px 20px; gap: 12px; }
  .sm-band.sm-formband { padding-top: 0; padding-bottom: 0; }
  .sm-formband > .sm-container { padding-left: 0; padding-right: 0; }
  .sm-form { border-radius: 0; box-shadow: none; }
  .sm-q { padding: 28px 20px; }
  .sm-formsection__title { padding: 28px 20px 0; font-size: 18px; }
  .sm-form__intro { padding: 16px 20px; }
  .sm-formsection__note { padding: 8px 20px 0; }
  .sm-q__num { width: 30px; height: 30px; font-size: 14px; }
  .sm-q__head { column-gap: 12px; }
  .sm-q__title { padding-top: 1px; font-size: 17px; }
  .sm-q__help { padding-left: 0; }
  .sm-q__sub { margin-left: 0; padding: 16px 14px 18px; }
  /* スマホの列の数は、HTML の --mobile-columns で決める（無ければ 1 列）。 */
  .sm-options, .sm-options--apart { grid-template-columns: repeat(var(--mobile-columns, 1), minmax(0, 1fr)); padding-left: 0; gap: 8px; }
  .sm-options--apart > .sm-option { grid-column: 1; }
  html:has(.sm-progress) { scroll-padding-top: 56px; }
  .sm-optgroups { padding-left: 0; }
  .sm-form__contact { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; }
  .sm-slots { padding: 0 20px 4px; }
  .sm-consultation { padding: 16px 20px 28px; }
  .sm-jobtitle > .sm-jobtitle__other, .sm-form__contact > .sm-jobtitle > .sm-jobtitle__other { max-width: none; }
  .sm-slot { padding: 20px 0; }
  .sm-slot__clear { top: 11px; }
  .sm-slot__fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sm-form__submit { padding: 28px 20px 36px; align-items: stretch; }
  .sm-form__submit .sm-btn { min-width: 0; width: 100%; }
  .sm-form__submit .sm-notes { text-align: left; }
  .sm-container { padding-left: 20px; padding-right: 20px; }
  .sm-band { padding-top: 56px; padding-bottom: 56px; }
  .sm-section { gap: 32px; }
  .sm-h1 { font-size: 32px; line-height: 1.4; }
  .sm-h2 { font-size: 24px; line-height: 1.5; }
  .sm-lead { font-size: 16px; }
  .sm-heading { gap: 12px; }
  .sm-header__inner { height: 60px; }
  .sm-header__logo img { width: 131px; height: 32px; }
  .sm-actions { flex-direction: column; align-items: stretch; }
  .sm-actions .sm-btn { width: 100%; }
  .sm-cta { align-items: stretch; }
  .sm-cta--center { text-align: left; }
  .sm-split { flex-direction: column; align-items: stretch; }
  .sm-field__row { flex-direction: column; }
  .sm-field__row .sm-input { flex: none; width: 100%; }
  .sm-field__row .sm-btn { width: 100%; }
  .sm-hero { padding-top: 40px; padding-bottom: 56px; }
  .sm-hero__inner { gap: 40px; }
  .sm-hero__copy { gap: 28px; }
  .sm-hero .sm-lead { font-size: 16px; }
  .sm-scan__corner { width: 28px; height: 28px; border-width: 2.5px; }
  .sm-scan__caption { right: 36px; bottom: -6px; font-size: 11px; }
  .sm-figure__amount { font-size: 36px; }
  .sm-figure + .sm-figure { padding-left: 20px; }
  .sm-features { grid-template-columns: minmax(0, 1fr); }
  .sm-features > li, .sm-features > li:first-child, .sm-features > li:last-child { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line-200, #D5DCE4); }
  .sm-features > li:first-child { padding-top: 0; border-top: 0; }
  .sm-features > li:last-child { padding-bottom: 0; }
  .sm-compare { font-size: 14px; }
  .sm-compare thead th { font-size: 13px; width: 27%; white-space: normal; }
  .sm-panel-navy { padding: 8px 16px 12px; }
  .sm-voices { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sm-voice { flex-direction: row-reverse; align-items: center; gap: 12px; }
  .sm-voice__bubble { padding: 16px 18px; font-size: 16px; text-align: left; justify-content: flex-start; }
  .sm-voice__bubble::after { left: -7px; bottom: 50%; margin-left: 0; margin-bottom: -9px; width: 18px; height: 18px; }
  .sm-voice__person { width: 96px; height: 96px; }
  .sm-bridge__text { font-size: 20px; }
  .sm-figure-diagram { padding: 24px 16px 14px; border-radius: 16px; }
  .sm-gauge { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 14px; }
  .sm-gauge__summary { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .sm-gauge__value { font-size: 36px; }
  .sm-gauge__value > small { font-size: 18px; }
  .sm-gauge__bar { gap: 3px; }
  .sm-gauge__bar > span { font-size: 0; gap: 0; }
  .sm-gauge__bar > span::before { height: 16px; border-radius: 3px; }
  .sm-coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-coverage > li { min-height: 60px; padding: 10px 12px; gap: 8px; font-size: 13px; }
  .sm-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .sm-step:nth-child(3n)::after { display: block; }
  .sm-step:last-child::after { display: none; }
  .sm-step { flex-direction: row; align-items: flex-start; gap: 20px; padding: 0 0 28px; text-align: left; }
  .sm-step:last-child { padding-bottom: 0; }
  .sm-step__marker { width: 56px; height: 56px; flex: none; }
  .sm-step__marker .sm-icon { width: 24px; height: 24px; }
  .sm-step__num { width: 24px; height: 24px; font-size: 12px; }
  .sm-step::after { top: 62px; bottom: 6px; left: 27px; right: auto; width: 2px; height: auto; background-image: linear-gradient(to bottom, var(--line-400, #A9B4C2) 50%, transparent 50%); background-size: 2px 8px; }
  .sm-step__body { align-items: flex-start; padding-top: 4px; }
  .sm-spec { grid-template-columns: minmax(0, 1fr); }
  .sm-spec > div { padding: 18px 0; }
  .sm-doc { width: 230px; height: 280px; margin: 0 auto; }
  .sm-doc__page, .sm-doc__cover { width: 176px; height: 249px; }
  .sm-doc__page { padding: 18px 13px; }
  .sm-doc__page > span { gap: 6px; padding: 5px 0; grid-template-columns: minmax(0, 1fr) repeat(3, 8px); }
  .sm-doc__page > span > i { width: 8px; height: 8px; }
  .sm-doc__cover { padding: 18px 16px 16px; }
  .sm-doc__title { font-size: 13.5px; padding-bottom: 40px; }
  .sm-doc__logo { width: 45px; height: 11px; }
  .sm-profile { grid-template-columns: minmax(0, 1fr); gap: 32px; justify-items: center; text-align: center; }
  .sm-profile__body { align-items: center; }
  .sm-profile__text { text-align: left; font-size: 15px; }
  .sm-profile__photo, .sm-profile__photo img { width: 136px; height: 136px; }
  .sm-profile__photo { transform: translateX(6px); }
  .sm-faq > div { padding: 20px; column-gap: 12px; grid-template-columns: 28px minmax(0, 1fr); }
  .sm-faq__mark { width: 28px; height: 28px; font-size: 14px; }
  .sm-faq__q { font-size: 16px; padding-top: 1px; }
  .sm-footer { padding-top: 40px; padding-bottom: 32px; }
}
/* ---------- せまいスマホ（幅 360px 以下）: どの質問の選択肢も 1 列 ---------- */
@media (max-width: 360px) {
  .sm-options { grid-template-columns: minmax(0, 1fr); }
  /* × のある時間帯の行は欄が狭いので、時刻と下向きの印が重ならないように、欄の中の余白を詰める。 */
  .sm-timerange--removable .sm-select > .sm-input { padding-left: 12px; padding-right: 34px; }
  .sm-timerange--removable .sm-select > .sm-icon { right: 10px; }
}
/* 強制カラーでは、自前の印（地の色と画像）が消えるので、チェックと丸をブラウザの見た目に戻す。 */
@media (forced-colors: active) {
  .sm-option > input, .sm-consent > input { appearance: auto; -webkit-appearance: auto; }
  .sm-btn:disabled, .sm-btn.is-disabled { color: GrayText; border-color: GrayText; }
}
/* ---------- 折れ方 ---------- */
/* 途中で折れないようにする言葉の組（build.py の mark_unbreakable_phrases が付ける）。 */
.sm-nowrap { white-space: nowrap; }
/* 文ごとに、行のかたまりを分ける（次の文は、新しい行から始まる）。 */
.sm-sentence { display: block; }
/* 短い文が 2 行以上になるときに、行の長さをそろえる（最後の行に数文字だけ残さない）。
   text-wrap: balance が効かないブラウザーでは、この宣言が無視されて、前と同じ折れ方になる。
   質問の補足（.sm-q__help）とグレードの例（.sm-grade__examples li）には当てない（当てると、前より悪い所で折れる）。 */
.sm-root .sm-note,
.sm-root .sm-q__title, .sm-root .sm-form__intro > span, .sm-root .sm-formsection__note,
.sm-root .sm-consent > span,
.sm-root .sm-compare th, .sm-root .sm-faq__q, .sm-root .sm-coverage > li, .sm-root .sm-docinfo__list > li,
.sm-root .sm-done__inner .sm-lead,
.sm-root .sm-h1, .sm-root .sm-h2, .sm-root .sm-next__text { text-wrap: balance; }
@media (prefers-reduced-motion: reduce) {
  .sm-root * { transition: none !important; }
  .sm-scan__line { animation: none; }
}
