/* SEOページの共通の見た目。正本は docs/SEO_PAGE_DESIGN.md（§5 文字・§6 色・§7 余白と囲み・§8 表・§9 道具）。
   色は style.css のトークンを使い、値は変えない。SEOページだけの追加は2つ:
   --field-line（入力欄の枠。白に3.52:1）と、文中のリンクを --sky-deep にすること。本体の画面（style.css）には当てない。
   文字の大きさ（スマホ）: 12・13（図の目盛りとフッター）14・15・16・17・18・21・26・34px だけ。
   余白の段階: 8・16・24・40・64px（PCのh2の上は80px）。
   v1（旧い並び）のページも同じ文字・色・表の決まりで表示する。v2（body.seo-v2）は新しい並び（答え→図→できること→道具）。 */
body.seo {
  --field-line: #948866;
  --fs-body: 16px; --fs-sub: 14px; --fs-tbl: 15px; --fs-th: 14px; --fs-time: 17px;
  --fs-h1: 26px; --fs-h2: 21px; --fs-h3: 17px; --fs-eye: 15px; --fs-ans: 18px; --fs-num: 34px;
  font-size: var(--fs-body); line-height: 1.75; letter-spacing: .02em;
}
@media (min-width: 768px) {
  body.seo { --fs-body: 17px; --fs-sub: 15px; --fs-tbl: 16px; --fs-th: 15px; --fs-time: 18px; --fs-h1: 34px; --fs-h2: 24px; --fs-h3: 18px; --fs-eye: 16px; --fs-ans: 20px; --fs-num: 40px; }
}
.seo-sheet { max-width: 680px; }
:where(body.seo) a:where(:not(.btn, .brand)) { color: var(--sky-deep); }
:where(body.seo) .small, :where(body.seo) small { font-size: var(--fs-sub); color: var(--ink-2); line-height: 1.65; }
:where(body.seo) p { margin: 16px 0; }
:where(:where(body.seo) .seo-sheet) :is(p, li) { max-width: 37em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ヘッダー（高さ56px） */
:where(body.seo) .hdr { min-height: 56px; padding: 6px 0; }
:where(body.seo) .hdr nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }

/* 見出し（語の途中で折らない。改行の候補はビルド時に <wbr> で入れる） */
.seo-sheet h1, .seo-sheet h2, .seo-sheet h3 { word-break: normal; overflow-wrap: anywhere; text-wrap: balance; }
@supports (word-break: auto-phrase) { .seo-sheet h1, .seo-sheet h2, .seo-sheet h3, .seo-ans-t, .work-cond p, .seo-leadtext, .sg-t { word-break: auto-phrase; } }
.seo-eyebrow { margin: 16px 0 8px; font-size: var(--fs-eye); font-weight: 700; line-height: 1.5; color: var(--ink-2); }
.seo-h1 { font-size: var(--fs-h1); font-weight: 900; line-height: 1.35; letter-spacing: .01em; margin: 16px 0 16px; }
.seo-eyebrow + .seo-h1 { margin-top: 0; }
:where(body.seo) h2 { font-size: var(--fs-h2); line-height: 1.4; letter-spacing: .01em; margin: 64px 0 12px; align-items: flex-start; }
:where(body.seo) h2::before { margin-top: .14em; }
:where(body.seo) h3 { font-size: var(--fs-h3); line-height: 1.5; letter-spacing: .02em; margin: 24px 0 8px; }
@media (min-width: 768px) { :where(body.seo) .seo-body h2 { margin-top: 80px; } }

/* 答えの帯（1ページ1つ）: 1文＋数字3つまで。数字は縦線で区切る */
.seo-ans { margin: 16px 0 24px; padding: 16px; background: var(--yellow-soft); border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; }
.seo-ans-t { word-break: normal; overflow-wrap: anywhere; margin: 0; font-size: var(--fs-ans); font-weight: 700; line-height: 1.6; }
.seo-ans-t b { font-weight: 900; }
.seo-ans-n { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 8px 0 0; }
.seo-ans-n > div { display: flex; flex-direction: column-reverse; padding: 0 8px; border-left: 1px solid var(--line-2); }
.seo-ans-n > div:first-child { padding-left: 0; border-left: 0; }
.seo-ans-n dd { margin: 0; line-height: 1.1; white-space: nowrap; }
.seo-ans-n dd b { font-size: var(--fs-num); font-weight: 800; letter-spacing: 0; }
.seo-ans-n dd small { font-size: var(--fs-ans); font-weight: 800; color: var(--ink); margin-left: 2px; }
.seo-ans-n dt { font-size: var(--fs-sub); color: var(--ink-2); line-height: 1.4; margin-top: 4px; }

/* ページの下の小さな1行（パンくず・更新日）。構造化データは head のまま */
.seo-pageinfo { margin: 40px 0 16px; display: flex; flex-wrap: wrap; gap: 0 16px; align-items: baseline; font-size: 14px; color: var(--ink-2); }
.seo-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.seo-crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--ink-3); }
:where(body.seo) .seo-crumbs a { color: var(--ink-2); }
.seo-meta { margin: 0; font-size: 14px; color: var(--ink-2); }

/* v1 の導入（中身は各ページ。文字の大きさだけそろえる） */
.seo-lead p { font-size: var(--fs-body); }

/* 目次・このページでできること（囲まない。区切り線と余白だけ。各行48px以上） */
.seo-toc { margin: 40px 0; }
.seo-toc > b, .seo-toc-h { display: block; margin: 0 0 8px; font-size: var(--fs-sub); font-weight: 800; color: var(--ink-2); }
.seo-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-top: 1px solid var(--line); }
.seo-toc li { counter-increment: toc; border-bottom: 1px solid var(--line); max-width: none !important; }
.seo-toc a { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 8px 24px 8px 0; position: relative; font-weight: 700; text-decoration: none; line-height: 1.5; }
.seo-toc a::before { content: counter(toc); flex: none; width: 1.6em; font-family: var(--num); font-weight: 800; color: var(--ink-2); }
.seo-toc a::after { content: "↓"; position: absolute; right: 4px; color: var(--ink-3); font-weight: 400; }
.seo-intro p { margin: 0 0 16px; }

/* ---------- 道具（v1: .seo-tool／v2: .seo-work）---------- */
.seo-tool { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 4px 16px 24px; margin: 40px 0; border: 1px solid rgba(20, 40, 75, .05); }
.seo-tool > h2 { margin-top: 24px; }
.seo-ctrl { display: none; }
html.js .seo-ctrl { display: block; }
.seo-ctrl select, .seo-ctrl input, .seo-ctrl textarea, .seo-work select, .seo-work input, .seo-work textarea { background-color: #fff; }
:where(body.seo) input[type=text], :where(body.seo) input[type=time], :where(body.seo) input[type=number], :where(body.seo) input:not([type]), :where(body.seo) select, :where(body.seo) textarea { border-color: var(--field-line); }
:where(body.seo) input:not([type]) { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; min-height: 52px; border: 1.5px solid var(--field-line); border-radius: 12px; background: #fff; color: var(--ink); }
:where(body.seo) label { font-size: 16px; margin: 16px 0 8px; }
:where(body.seo) label .hint { display: block; margin: 2px 0 0; font-size: var(--fs-sub); }
.seo-ctrl { margin: 16px 0 8px; padding: 8px 16px 16px; background: var(--sky-soft); border-radius: 12px; }
.seo-ctrl-h { margin: 8px 0 0; }
.seo-ctrl-h b { display: block; font-size: var(--fs-h3); }
.seo-ctrl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.seo-ctrl textarea { min-height: 120px; }
.seo-formats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.choice.sm, .choice.seg { position: relative; min-height: 48px; padding: 8px; justify-content: center; align-items: center; text-align: center; border-color: var(--field-line); }
.choice.sm b, .choice.seg span { font-size: 16px; font-weight: 800; white-space: nowrap; }
.choice.sm input, .choice.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice.sm:has(input:focus-visible), .choice.seg:has(input:focus-visible) { outline: 3px solid #8cc0f2; outline-offset: 2px; }
.choice.sm:has(input:checked), .choice.seg:has(input:checked) { background: var(--sky); border-color: var(--sky); color: #fff; box-shadow: none; }
.sched-h { margin-top: 24px; }
.seo-note { margin: 8px 0 16px; }
.seo-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.seo-actions .btn { flex: 1 1 140px; }
:where(body.seo) .btn.sm { font-size: 16px; min-height: 48px; }
:where(body.seo) .btn.big { font-size: 18px; min-height: 56px; }
:where(body.seo) .btn.xs { min-height: 44px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
html:not(.js) .seo-actions, html:not(.js) .js-only { display: none; }

/* v2 の道具 */
.seo-work { margin: 0 0 40px; }
.work-cond { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.work-cond p { word-break: normal; overflow-wrap: anywhere; margin: 0; font-size: var(--fs-sub); color: var(--ink-2); line-height: 1.5; }
.work-cond .btn { flex: none; }
.work-board { border-radius: 12px; }
.work-board .seo-note { margin: 8px 0 0; }
.work-board .bk-wrap { margin: 0; }
.work-quick { display: flex; gap: 8px; margin: 16px 0 0; }
.work-quick .btn { flex: 1 1 auto; padding: 8px 12px; word-break: keep-all; }
.work-quick .btn:first-child { flex-grow: 1.4; }
:where(body.seo) .btn { word-break: keep-all; overflow-wrap: anywhere; }
.work-can { margin: 40px 0; }
.work-can .seo-toc { margin: 0; }
.work-ctrl { margin: 40px 0 0; padding: 8px 16px 16px; background: var(--sky-soft); border-radius: 16px; }
.work-ctrl .work-h { margin: 16px 0 8px; }
.step { display: flex; align-items: center; gap: 8px; margin: 24px 0 8px; }
.step-no { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 15px/1 var(--num); }
.step-d { margin: 0 0 8px; font-size: var(--fs-sub); color: var(--ink-2); line-height: 1.65; }
.step-c { margin: 8px 0 0; font-size: var(--fs-sub); color: var(--ink-2); }
.work-ctrl textarea { min-height: 168px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.work-grid label { margin-top: 8px; }
.work-hint { grid-column: 1 / -1; margin: 8px 0 0; font-size: var(--fs-sub); color: var(--ink-2); }
.work-more { margin: 24px 0 0; background: none; box-shadow: none; border-radius: 0; padding: 0; border-top: 1px solid var(--field-line); }
.work-more summary { min-height: 48px; padding: 8px 0; font-size: 16px; }
.work-more summary::before { display: none; }
.work-more-in { padding: 0 0 8px; }
.work-more-in > label:first-child { margin-top: 0; }
.work-seg { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
.work-seg legend { padding: 0; margin: 0 0 8px; font-weight: 800; }
:where(body.seo) label.work-check { display: flex; gap: 8px; align-items: center; min-height: 48px; margin: 16px 0 0; padding: 8px 16px; background: #fff; border: 1.5px solid var(--field-line); border-radius: 12px; cursor: pointer; }
.work-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--sky); }
.work-check .hint { display: block; margin: 2px 0 0; font-weight: 400; font-size: var(--fs-sub); color: var(--ink-2); }
.work-status { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--field-line); font-size: 15px; font-weight: 700; line-height: 1.6; }
.work-status:empty, .work-msg:empty { display: none; }
.work-out { margin: 24px 0 0; }
.work-out .sched-h { margin-top: 40px; }
.work-step .step { margin-top: 40px; }
.work-msg { margin: 8px 0 0; font-size: 15px; font-weight: 700; }
.is-flash { animation: seo-flash .8s ease-out; }
@keyframes seo-flash { from { background-color: var(--yellow-soft); box-shadow: 0 0 0 6px var(--yellow-soft); } to { background-color: transparent; box-shadow: 0 0 0 6px transparent; } }
@media (prefers-reduced-motion: reduce) { .is-flash { animation: none; } }

/* PC（1024px以上）: 道具だけ960pxに広げ、左340px＝入力（ついてくる）、右＝図と試合順 */
@media (min-width: 1024px) {
  .seo-work { position: relative; width: 960px; margin-left: calc(50% - 480px); padding: 24px; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
    display: grid; grid-template-columns: 340px minmax(0, 1fr); grid-template-areas: "ctrl fig" "ctrl can" "ctrl out"; gap: 0 32px; align-items: start; }
  .work-fig { grid-area: fig; }
  .work-can { grid-area: can; margin: 40px 0 0; }
  .work-ctrl { grid-area: ctrl; margin: 0; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
  .work-ctrl .work-h { margin-top: 8px; }
  .work-ctrl .work-grid { grid-template-columns: 1fr; }
  .work-out { grid-area: out; }
}

/* トーナメントの山（SVG）。文字の大きさはSVGの単位。表示の倍率は図の幅で変わる */
.bk-wrap { margin: 8px 0 0; padding: 8px 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.bk-wrap.zoom { overflow-x: auto; }
.bk-wrap.zoom svg { max-width: none !important; }
.bk-svg { display: block; width: 100%; height: auto; max-width: 100%; margin: 0 auto; }
.bk-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: square; }
.bk-name { font: 700 17px var(--font); fill: var(--ink); }
.bk-seed { font: 700 13px var(--num); fill: var(--ink-3); }
.bk-bye { font: 700 13px var(--font); fill: var(--ink-3); }
.bk-champ { font: 900 14px var(--font); fill: var(--sky-deep); }
.bk-rn { font: 700 13px var(--font); fill: var(--ink-3); }
.bk-no circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.5; }
.bk-no text { font: 800 12px var(--num); fill: var(--ink); text-anchor: middle; }

/* 表: 罫線は横線だけ（星取表は格子）。見出し行は --ink の文字＋ --sky-soft の地で固定（白文字に薄い地は使わない） */
.seo-scroll { overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
.seo-tbl { margin: 16px 0; }
:where(body.seo) .seo-table { border-collapse: collapse; width: 100%; font-size: var(--fs-tbl); background: transparent; letter-spacing: .01em; }
:where(body.seo) .seo-table th, :where(body.seo) .seo-table td { border: 0; border-bottom: 1px solid var(--line-2); padding: 8px; text-align: left; line-height: 1.5; vertical-align: middle; height: 44px; }
:where(body.seo) .seo-table :is(th, td), .seo-body table :is(th, td) { font-size: var(--fs-tbl); white-space: normal; }
:where(body.seo) .seo-table thead th { background: var(--sky-soft); color: var(--ink); font-size: var(--fs-th); font-weight: 700; line-height: 1.4; border-bottom: 1px solid var(--line-2); }
:where(body.seo) .seo-table tbody th { font-weight: 700; background: none; }
:where(body.seo) .seo-table .num { text-align: right; font-family: var(--num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.seo-table th.st, .seo-table td.st { background: var(--yellow-soft); }
/* 星取表（格子が意味を持つので縦線あり。左のチーム名の列は固定） */
:where(body.seo) .cross th, :where(body.seo) .cross td { border: 1.5px solid var(--ink); text-align: center; }
:where(body.seo) .cross th.tn { text-align: left; white-space: nowrap; font-weight: 800; background: #fff; position: sticky; left: 0; z-index: 1; }
.cross .no { display: inline-block; min-width: 1.3em; margin-right: 8px; font-family: var(--num); color: var(--ink-2); }
.cross td { min-width: 32px; }
.cross td.x { background: repeating-linear-gradient(135deg, #e3e7ef 0 4px, #f3f5f9 4px 8px); }
.cross-h { margin: 16px 0 8px; }
/* 試合順（時刻とコートを最大の文字で） */
:where(body.seo) .sched .tm { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: var(--fs-time); font-weight: 800; line-height: 1.2; white-space: nowrap; text-align: right; width: 1%; }
:where(body.seo) .sched thead .tm { font-family: var(--font); font-size: var(--fs-th); font-weight: 700; text-align: right; }
:where(body.seo) .sched .ct { font-size: var(--fs-time); font-weight: 800; text-align: center; width: 1%; white-space: nowrap; }
:where(body.seo) .sched thead .ct { font-size: var(--fs-th); font-weight: 700; }
:where(body.seo) .sched .no { color: var(--ink-2); }
:where(body.seo) .sched tr.b0 td, :where(body.seo) .sched tr.b0 th { background: rgba(231, 241, 252, .45); }
:where(body.seo) .sched tr.b1 td { background: none; }
.sched .vs { text-align: left; }
.sched .vs .rn { display: block; font-size: var(--fs-sub); color: var(--ink-2); font-weight: 400; line-height: 1.4; }
.sched .vs .side { font-weight: 800; }
.sched .vs .side.u { font-weight: 400; color: var(--ink-2); }
.sched .vs .v { margin: 0 8px; color: var(--ink-2); font-size: var(--fs-sub); font-weight: 400; }
.sched .vs.empty { color: var(--ink-2); font-size: var(--fs-sub); }
.sched .third .rn, .sched tr.third .rn { color: var(--sky-deep); font-weight: 700; }
.sched-c .vs .side { display: block; }
.sched-c .vs .v { display: block; margin: 0; line-height: 1.2; }
@media (min-width: 560px) { .sched-c .vs .side, .sched-c .vs .v { display: inline; } .sched-c .vs .v { margin: 0 8px; } }
@media (min-width: 560px) { .sched thead th { position: sticky; top: 0; z-index: 1; } }

/* v1 のページ（まだ新しい設計に直していないページ）は、スマホで表がはみ出さないよう前の詰めた寸法のまま（14px・内側5px 3px）。
   直したページ（body.seo-v2）には当てない。ページを直すときは、この手当てに頼らず表の列を減らす（設計書 §8.2） */
@media (max-width: 480px) {
  :where(body.seo:not(.seo-v2)) .seo-table :is(th, td) { font-size: 14px; padding: 5px 3px; height: auto; }
  :where(body.seo:not(.seo-v2)) .seo-table thead th { font-size: 14px; }
  :where(body.seo:not(.seo-v2)) .sched :is(.tm, .ct) { font-size: 15px; }
  :where(body.seo:not(.seo-v2)) .cross td { min-width: 28px; }
}

/* 本文の部品（v1 の答えの箱・数字の箱・比較表・早見表）。囲みは減らす方向。v2 では答えの帯（.seo-ans）を使う */
.seo-answer { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 16px; margin: 16px 0; }
.seo-answer .big { display: block; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 34px; font-weight: 800; line-height: 1.1; }
.seo-answer .big small { font-family: var(--font); font-size: 16px; margin-left: 2px; }
.seo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.seo-kpis > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; }
.seo-kpis b { display: block; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 26px; line-height: 1.15; }
.seo-kpis span { font-size: 14px; color: var(--ink-2); line-height: 1.4; display: block; }
.seo-kpis.k4 { grid-template-columns: repeat(2, 1fr); }
.seo-cmp { min-width: 0; }
.seo-cmp td.num, .seo-cmp th.num { text-align: right; font-family: var(--num); font-variant-numeric: tabular-nums; white-space: nowrap; }
:where(body.seo) .seo-cmp tr.rec td, :where(body.seo) .seo-cmp tr.rec th { background: var(--yellow-soft); }
.seo-cmp td b { white-space: nowrap; }
.seo-cmp .sub { display: block; font-size: var(--fs-sub); color: var(--ink-2); font-weight: 400; }
.rec-tag { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
:where(body.seo) .seo-mini td, :where(body.seo) .seo-mini th { padding: 8px !important; font-size: 15px; }
.seo-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.seo-dl a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 800; text-decoration: none; color: var(--ink) !important; }
.seo-dl a:hover { border-color: var(--sky); color: var(--sky-deep); }
.seo-dl a small { font-weight: 400; margin-left: 1px; }
.seo-calc { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 8px 16px 16px; margin: 24px 0; }
.seo-calc .out { background: var(--sky-soft); border-radius: 12px; padding: 16px; margin-top: 16px; }
.seo-calc .out .big { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 34px; font-weight: 800; }
html:not(.js) .js-only { display: none; }
.seo-warn { margin: 24px 0; padding: 16px; border: 1.5px solid var(--line-2); border-radius: 12px; }
.seo-warn > :first-child { margin-top: 0; } .seo-warn > :last-child { margin-bottom: 0; }

/* 本文・FAQ・関連（カードにせず、区切り線で並べる） */
.seo-body ul, .seo-body ol { padding-left: 1.4em; margin: 16px 0; }
.seo-body li + li { margin-top: 8px; }
.seo-body table:not(.seo-table) { border-collapse: collapse; width: 100%; font-size: var(--fs-tbl); margin: 16px 0; }
.seo-body table:not(.seo-table) th, .seo-body table:not(.seo-table) td { font-size: var(--fs-tbl); border: 0; border-bottom: 1px solid var(--line-2); padding: 8px; text-align: left; }
.seo-body table:not(.seo-table) thead th { background: var(--sky-soft); }
.seo-faq .faq { max-width: none; gap: 0; border-top: 1px solid var(--line); }
:where(body.seo) .seo-faq details { background: none; box-shadow: none; border-radius: 0; padding: 0; border-bottom: 1px solid var(--line); }
:where(body.seo) .seo-faq summary { min-height: 56px; }
:where(body.seo) .seo-faq details p { margin: 0 0 16px 40px; color: var(--ink); }
.seo-related ul { list-style: none; padding: 0; margin: 0; display: block; border-top: 1px solid var(--line); }
.seo-related li { background: none; box-shadow: none; border-radius: 0; padding: 0; border-bottom: 1px solid var(--line); max-width: none !important; }
.seo-related a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 0; font-weight: 800; text-decoration: none; }
.seo-related a .small { font-weight: 400; }
.seo-final { margin-top: 40px; }
:where(body.seo) .seo-final h2 { font-size: var(--fs-h2); margin: 0 0 16px; }
:where(body.seo) .foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }

:where(body.seo) label.choice { margin: 0; }
:where(body.seo) .final p { margin: 0 auto 24px; }
:where(body.seo) .foot p { margin: 8px 0; }
/* 印刷: 表だけをA4横1枚に（ヘッダー・目次・本文・CTA・飾りは消す） */
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body.seo { background: #fff; }
  body.seo .hdr, body.seo .seo-crumbs, body.seo .seo-pageinfo, body.seo .seo-eyebrow, body.seo .seo-h1, body.seo .seo-meta, body.seo .seo-lead, body.seo .seo-ans, body.seo .seo-toc,
  body.seo .seo-ctrl, body.seo .seo-actions, body.seo .seo-body, body.seo .seo-faq, body.seo .seo-related,
  body.seo .final, body.seo .foot, body.seo .seo-tool > h2, body.seo .seo-tool > a, body.seo .seo-tool > .seo-note,
  body.seo .work-cond, body.seo .work-quick, body.seo .work-can, body.seo .work-step, body.seo .work-msg { display: none !important; }
  body.seo .seo-tool, body.seo .seo-work { box-shadow: none; border: 0; padding: 0; margin: 0; background: none; }
  body.seo .print-title { margin: 0 0 6mm; font-size: 16pt; }
  body.seo .bk-wrap { border: 0; background: none; margin: 0; padding: 0; }
  body.seo .bk-svg { width: auto !important; height: 165mm; max-width: 100% !important; }
  body.seo .bk-line { stroke: #000; }
  body.seo .bk-no circle { fill: #fff; stroke: #000; }
  body.seo .bk-name, body.seo .bk-seed, body.seo .bk-bye, body.seo .bk-rn, body.seo .bk-no text, body.seo .bk-champ { fill: #000; }
  body.seo .sched-h { break-before: page; font-size: 14pt; }
  body.seo .sched-h::before { background: #000; }
  body.seo .seo-table { font-size: 10pt; }
  body.seo .seo-table th, body.seo .seo-table td { border: 1px solid #000 !important; background: #fff !important; color: #000; height: auto; }
  body.seo .sched .tm, body.seo .sched .ct { font-size: 10pt; }
  body.seo .cross td.x { background: #ddd !important; }
  body.seo .seo-scroll { overflow: visible; }
  body.seo .sched tr { break-inside: avoid; }
  body.seo .seo-note { font-size: 9pt; }
  body.seo .is-flash { animation: none; }
  /* v2: 山（左・150mm）、試合順（右）をA4横1枚に */
  body.seo-v2 .seo-sheet { max-width: none; margin: 0; padding: 0; }
  body.seo-v2 .seo-work { display: block; width: auto; }
  body.seo-v2 .work-fig { float: left; width: 150mm; }
  body.seo-v2 .work-out { margin: 0 0 0 158mm; }
  body.seo-v2 .work-out .sched-h { margin: 0 0 2mm; break-before: auto; font-size: 12pt; }
  body.seo-v2 .seo-work::after { content: ""; display: block; clear: both; }
  body.seo-v2 .bk-svg { height: auto; width: 150mm !important; max-height: 160mm; }
  body.seo-v2 .seo-table { font-size: 9.5pt; }
  body.seo-v2 .seo-table th, body.seo-v2 .seo-table td { padding: 1.2mm 1.5mm; }
  body.seo-v2 .sched .vs .rn { font-size: 8pt; }
  body.seo-v2 .sched-c .vs .side, body.seo-v2 .sched-c .vs .v { display: inline; }
  body.seo-v2 .seo-work { break-inside: avoid; }
}
