@charset "utf-8";
/* =========================================================
   海外組・日本人選手 試合日程  /  style.css
   単一ファイル・CSS変数トークン。ビルド不要。
   2026-08-25: サイト所有者からのデザイン依頼(design_handoff_site_redesign)に基づき
   v2デザイン依頼に基づき、海外組・日本人選手中心のUIへリテーマ。
   ========================================================= */

/* ---------- 1. トークン ---------- */
:root {
  /* 背景 */
  --bg:            oklch(94% 0.006 85);
  --bg-raised:     #ffffff;
  --bg-sunken:     oklch(90% 0.006 85);
  --bg-hover:      oklch(97% 0.004 85);

  /* テキスト */
  --text:          oklch(21% 0.006 85);
  --text-sub:      oklch(48% 0.008 85);
  --text-faint:    oklch(70% 0.006 85);
  --text-on-accent:#ffffff;

  /* 罫線 */
  --line:          oklch(90% 0.006 85);
  --line-strong:   oklch(85% 0.006 85);

  /* アクセント（ニュートラルブルー＝ブランド） */
  --accent:        oklch(38% 0.11 250);
  --accent-deep:   oklch(29% 0.10 250);
  --accent-bright: oklch(38% 0.11 250);  /* 日付・vs・数値 */
  --accent-pale:   oklch(38% 0.11 250);  /* 大会名 */
  --accent-soft:   oklch(94% 0.018 250);  /* タグ背景・アバター背景 */
  --accent-bar:    var(--accent);

  /* 日の丸の赤（LIVEバッジのみ・多用しない） */
  --red:           oklch(50% 0.16 25);
  --red-dim:       oklch(50% 0.16 25 / 18%);

  /* 発光（新デザインでは未使用。互換のため0扱いに） */
  --glow-blue:     transparent;
  --glow-red:      transparent;

  /* 状態 */
  --confirmed:     var(--accent);
  --today:         var(--red);
  --past:          var(--text-faint);
  --focus-ring:    var(--accent);

  /* タイポ */
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont,
               'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --font-mono: var(--font-sans); /* 新デザインは等幅を使わない。互換のため変数は残す */

  --fs-hero:   clamp(26px, 7vw, 34px);
  --fs-h2:     clamp(17px, 4vw, 19px);
  --fs-h3:     15px;
  --fs-body:   14px;
  --fs-sm:     13px;
  --fs-xs:     11px;

  /* レイアウト */
  --wrap:        1040px;
  --wrap-read:   680px;
  --pad-x:       16px;
  --radius:      8px;
  --radius-sm:   8px;
  --gap:         12px;
  --header-h:    52px;
}

/* ---------- 2. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  /* PC-BUG-1: 固定ヘッダー(実測約106px)の下にアンカー遷移先の見出しが隠れる問題。
    scroll-padding-topはページ全体のフラグメント遷移(#upcoming、記事目次等)に
    まとめて効くため、要素ごとのscroll-margin-topより二重オフセットの心配がない。 */
  scroll-padding-top: 120px;
}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.75;
  font-weight: 400; letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 900; text-wrap: pretty; color: var(--text); }
p, ul, ol, dl, table, figure, blockquote { margin: 0; }
.mono { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. 骨格 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap--read { max-width: var(--wrap-read); }
/* PC-PROP-3: 用途別コンテナ。一覧・配信ハブ(/broadcasts/, /players/schedule/)は
  読み物幅(680px)ではなく、PCで比較・スキャンしやすい広幅にする。
  モバイルはwrap--readと同じ挙動(1カラム)のまま変えない。 */
.wrap--list { max-width: var(--wrap-read); }
@media (min-width: 900px) {
  .wrap--list { max-width: 1100px; }
  .wrap--list .ov-list,
  .wrap--list .match-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1300px) {
  .wrap--list .ov-list { grid-template-columns: repeat(3, 1fr); }
}
/* PC-UX-4/PC-PROP-4: detail-gridで右サイドバー(300px)を持つページ用。
  wrap--read(680px)のままだと主要カラムが356pxまで潰れて窮屈になるため、
  PC幅だけ少し広げる。モバイルはwrap--readと同じ挙動のまま変えない。 */
.wrap--detail { max-width: var(--wrap-read); }
@media (min-width: 900px) {
  .wrap--detail { max-width: 960px; }
}
main { display: block; padding-bottom: 48px; }
.section { margin-top: 26px; }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.section__title { font-size: var(--fs-h2); letter-spacing: 0; }
.section__more { font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }

/* ---------- 4. ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand__mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--accent); flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 900;
}
.brand__mark::before { content: "JP"; }
.brand__name { font-size: 13px; letter-spacing: 0; }
.brand__sub { font-size: var(--fs-xs); color: var(--text-faint); font-weight: 700; }

.catnav {
  border-top: 1px solid var(--line);
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.catnav::-webkit-scrollbar { display: none; }
.catnav__list {
  display: flex; gap: 8px; list-style: none; padding: 10px var(--pad-x); margin: 0;
  width: max-content; min-width: 100%;
}
/* PC-DESIGN-1: カテゴリナビだけ.wrapを介さず画面端基準になっており、
  ブランド/本文の基準線とPCで揃っていなかった。PC幅では.wrapと同じ
  max-width・中央寄せ・左右パディングにして横位置を一致させる
  (モバイルの端まで使う横スクロールUIはそのまま維持する)。 */
@media (min-width: 900px) {
  .catnav__list { max-width: var(--wrap); margin-inline: auto; width: auto; min-width: 0; }
}
.catnav__link {
  display: block; white-space: nowrap; font-size: 11.5px; font-weight: 700;
  color: var(--text-sub); border: 0;
  border-radius: 999px; padding: 6px 14px; background: var(--bg-sunken);
}
.catnav__link:hover { color: var(--accent); text-decoration: none; background: var(--accent-soft); }
.catnav__link[aria-current="page"] { color: #fff; background: var(--text); }

/* ---------- 5. パンくず ---------- */
.breadcrumb { padding-top: 14px; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  list-style: none; padding: 0; margin: 0;
  font-size: var(--fs-xs); color: var(--text-sub);
}
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--text-faint); }
.breadcrumb a { color: var(--text-sub); }

/* ---------- 6. 試合ページ ヒーロー ---------- */
.match-hero {
  position: relative; overflow: hidden;
  margin-top: 14px; padding: 20px;
  background: var(--accent);
  border-radius: var(--radius);
  color: #fff;
}
.match-hero::before, .match-hero::after { content: none; }
.match-hero__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.badge {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
  color: #fff; border: 0;
  border-radius: 20px; padding: 3px 10px; background: rgba(255,255,255,.18);
}
.badge--women { background: rgba(255,255,255,.24); }
.badge--today, .badge--live { color: #fff; background: var(--red); }
.badge--past  { color: rgba(255,255,255,.85); background: rgba(255,255,255,.18); }
.competition {
  margin-top: 10px; font-size: var(--fs-sm); font-weight: 700; opacity: .85;
  letter-spacing: .02em;
}
.matchup,
.match-hero h1, .match-hero h2, .match-hero h3, .match-hero h4 { color: #fff; }
.matchup { margin-top: 4px; font-size: var(--fs-hero); font-weight: 900; line-height: 1.2; letter-spacing: 0; }
.matchup .vs {
  display: inline-block; margin: 0 .3em; opacity: .8;
  font-size: .5em; font-weight: 700;
}
.matchup .tbd { opacity: .7; }

/* 日付・時刻の主役表示 */
.kick {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2);
}
.kick__date {
  font-weight: 900; font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 5.6vw, 28px); color: #fff; letter-spacing: 0;
}
.kick__dow { font-size: var(--fs-sm); font-weight: 700; opacity: .85; }
.kick__time {
  font-weight: 700; font-size: clamp(18px, 4.8vw, 22px);
  color: #fff; font-variant-numeric: tabular-nums; opacity: .95;
}
.kick__time--tbd { font-size: var(--fs-sm); font-weight: 700; opacity: .75; letter-spacing: .02em; }
.kick__label { font-size: var(--fs-xs); opacity: .75; font-weight: 700; }

/* 確定情報だけを並べる行 */
.facts { margin-top: 14px; display: grid; gap: 8px; }
.fact { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; font-size: var(--fs-sm); }
.fact__key { color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .02em; }
.fact__val { color: #fff; }
.fact__val a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 7. 「どこで見る？」ブロック（収益動線） ---------- */
.watch {
  margin-top: 16px; border: 0;
  border-radius: var(--radius); background: var(--accent);
  overflow: hidden; color: #fff;
}
.watch__pr {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px; background: var(--accent-deep);
  font-size: var(--fs-xs); font-weight: 700; color: #fff; letter-spacing: .02em;
}
.watch__pr strong {
  font-size: 9px; font-weight: 900; letter-spacing: .1em;
  background: #fff; color: var(--accent-deep); border-radius: 4px; padding: 1px 7px;
}
.watch__body { padding: 18px; }
.watch__title { font-size: 11px; font-weight: 700; letter-spacing: .04em; opacity: .85; text-transform: none; }
.watch__list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.watch__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12); border: 1.5px solid transparent;
  font-weight: 800; color: #fff; font-size: 13.5px;
}
@media (max-width: 480px) {
  .watch__item { align-items: flex-start; flex-direction: column; }
  .watch__item-cta { text-align: left; }
}
.watch__item--primary { background: #fff; color: var(--accent); }
.watch__item--secondary { background: transparent; border-color: rgba(255,255,255,.5); }
.watch__item-name { font-size: 13.5px; font-weight: 800; }
.watch__item-sub { font-size: 9.5px; font-weight: 500; margin-top: 2px; opacity: .8; }
.watch__item--primary .watch__item-sub { opacity: 1; color: var(--text-sub); }
.watch__item-pr {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 20px;
  font-size: 9px; font-weight: 700; background: var(--bg-sunken); color: var(--text-sub);
}
.watch__item-cta { font-size: 12px; font-weight: 800; text-align: right; line-height: 1.35; }
.watch__item a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: inherit; }
/* watch__item自体がリンクの場合(タップ領域をカード全体にする)。
  a.watch__item(タグ+クラス)は.watch__item--primary(クラス1つ)より詳細度が高いため、
  背景が白いprimaryの文字色は個別に明示しないとcolor:#fffに負けて白文字×白背景になる。 */
a.watch__item, a.watch__item:hover { text-decoration: none; color: #fff; min-height: 44px; }
a.watch__item.watch__item--primary, a.watch__item.watch__item--primary:hover { color: var(--accent); }
a.watch__item.watch__item--primary:hover { filter: brightness(.97); }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; margin-top: 12px;
  border-radius: 10px; border: 0; cursor: pointer;
  background: #fff;
  color: var(--accent); font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0;
  text-align: center; line-height: 1.45;
}
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn--ghost {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
}
.btn--ghost:hover { color: var(--accent); border-color: var(--line-strong); }
.watch__note { margin-top: 10px; font-size: var(--fs-xs); opacity: .75; line-height: 1.6; }

.player-next-card {
  margin-top: 16px; padding: 18px; border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  background: var(--bg-raised); color: var(--text);
}
.player-next-card .match-hero__top { justify-content: space-between; }
.player-next-card .watch__title { color: var(--text-sub); opacity: 1; }
.player-next-card .badge { background: var(--accent-soft); color: var(--accent); }
.player-next-card__kick {
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px;
}
.player-next-card .kick__date,
.player-next-card .kick__time { color: var(--text); }
.player-next-card .kick__time--tbd,
.player-next-card .kick__label { color: var(--text-sub); opacity: 1; }
.player-next-card .competition { color: var(--text); opacity: 1; }
.player-next-card__divider { height: 1px; background: var(--line); margin: 14px 0; }
.player-next-card__pr { font-size: 10px; color: var(--text-sub); margin: 6px 0 0; }
.player-next-card .watch__item {
  background: var(--bg-sunken); border-color: var(--line); color: var(--text);
}
.player-next-card .watch__item--secondary { background: var(--bg-raised); }
.player-next-card a.watch__item.watch__item--primary,
.player-next-card a.watch__item.watch__item--primary:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.player-next-card a.watch__item.watch__item--primary .watch__item-sub {
  color: rgba(255,255,255,.82);
}

/* ---------- 8. 補助ブロック ---------- */
.notice {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong); background: var(--bg-raised);
  font-size: var(--fs-sm); color: var(--text-sub);
}
.notice__title { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--text-faint); letter-spacing: .04em; margin-bottom: 4px; }
.match-image { margin-top: 18px; }
.match-image img { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-sunken); }
.match-image figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--text-faint); }

.pager { margin-top: 18px; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__link {
  display: block; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--text);
}
.pager__link:hover { text-decoration: none; border-color: var(--line-strong); background: var(--bg-hover); }
.pager__dir { display: block; font-size: var(--fs-xs); color: var(--text-faint); font-weight: 700; }
.pager__name { font-weight: 700; font-size: var(--fs-sm); }

/* ---------- 9. 試合カード（一覧共通） ---------- */
.match-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.match-card {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  align-items: center;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-raised); color: var(--text);
}
.match-card:hover { text-decoration: none; color: var(--text); border-color: var(--line-strong); background: var(--bg-hover); }
.match-card--today { border-color: var(--red); box-shadow: 0 0 0 1px oklch(50% 0.16 25 / 30%); }
.match-card--past { opacity: .62; }
.match-card__date {
  text-align: center;
}
.match-card__md { display: block; font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: 0; line-height: 1; }
.match-card__dow { display: block; font-size: 9px; color: var(--text-faint); font-weight: 500; margin-top: 2px; }
.match-card__body { min-width: 0; }
.match-card__cat { font-size: 9.5px; font-weight: 700; color: var(--accent); word-break: keep-all; }
.match-card__title { font-size: 12.5px; font-weight: 700; margin-top: 2px; line-height: 1.4; word-break: keep-all; color: var(--text); }
.match-card__meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px;
  font-size: var(--fs-xs); color: var(--text-sub);
}
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px;
  font-size: var(--fs-xs); color: var(--text-sub); background: var(--bg-sunken);
}
.chip--time { font-weight: 700; color: var(--text); }
.chip--time::after { content: "JST"; font-size: 9px; font-weight: 700; color: var(--text-faint); letter-spacing: .04em; }
.chip--live { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }

/* ---------- 9b. 選手一覧・アバター ---------- */
.player-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.player-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--text);
}
.player-row:hover { text-decoration: none; color: var(--text); background: var(--bg-hover); }
.player-row:last-child { border-bottom: 0; }
.avatar {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
.avatar--lg { width: 76px; height: 76px; font-size: 28px; }
.player-row__body { flex: 1; min-width: 0; }
.player-row__name { font-size: 14px; font-weight: 700; color: var(--text); }
.player-row__meta { font-size: 11px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-row__next { text-align: right; flex: none; }
.player-row__date { font-size: 11.5px; font-weight: 700; color: var(--text); }
.player-row__broadcast { font-size: 9px; color: var(--text-sub); }
.player-row__chevron { color: var(--text-faint); font-size: 14px; flex: none; }

.league-chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.league-chip {
  flex: none; font-size: 11.5px; font-weight: 700; padding: 6px 14px; border-radius: 20px;
  background: var(--accent-soft); color: var(--accent); white-space: nowrap;
}
.league-chip:hover { text-decoration: none; background: var(--accent); color: #fff; }
.league-chip .count { margin-left: 4px; opacity: .7; font-weight: 500; }

/* PC-UX-5: 選手一覧(配信あり/サービス別)のJSフィルタチップ。 */
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 4px; }
.filter-chip {
  font: inherit; cursor: pointer; flex: none;
  font-size: 11.5px; font-weight: 700; padding: 6px 14px; border-radius: 20px;
  background: var(--bg-sunken); color: var(--text-sub); border: 0;
}
.filter-chip[aria-pressed="true"] { background: var(--accent); color: #fff; }
.date-group { margin-bottom: 14px; }

/* /players/schedule/ ・ /broadcasts/ の海外組カードに大会名または所属リーグを1行追加。 */
.ov-card__competition {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
}
.ov-card__competition span {
  display: inline-block;
  margin-right: 6px;
  color: var(--text-faint);
  font-weight: 800;
}
.ov-card__competition[data-status="confirmed"] span {
  color: var(--accent);
}
.ov-card__affiliate-note {
  margin-top: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-sub);
}

.service-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
@media (min-width: 760px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.service-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 16px;
}
.service-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.service-card__name { font-size: 17px; }
.service-card__count {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}
.service-card__count strong {
  font-size: 24px;
  color: var(--text);
}
.service-card__note {
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}
.service-card__actions { margin-top: 14px; display: grid; gap: 8px; }
.service-card__actions .btn { margin-top: 0; }

/* PC-UX-4/PC-DESIGN-4: 試合詳細・選手詳細のPC 2カラム化。右カラムに
  次に見るべきページ(同カテゴリ日程・配信あり・海外組日程)への導線を置く。
  モバイル幅では単なる縦積み(displayを変えない)なので見た目は変わらない。 */
.detail-grid { display: block; }
@media (min-width: 900px) {
  .detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
  .detail-grid__side { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 12px; }
}
.side-box {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised);
  padding: 16px; margin-top: 22px;
}
.detail-grid__side .side-box { margin-top: 0; }
.side-box__title { font-size: 12px; font-weight: 700; color: var(--text-sub); margin-bottom: 4px; }
.side-box__subtitle { font-size: 12px; font-weight: 700; color: var(--text-sub); margin-top: 10px; margin-bottom: 2px; }
.side-box a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--text);
}
.side-box a:last-child { border-bottom: 0; }
.side-box a:hover { text-decoration: none; color: var(--accent); }

/* 海外組配信スケジュール: 試合単位カード(QAレビューA2/A3/P1/P2対応) */
.ov-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ov-card {
  display: block; padding: 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-raised); color: var(--text);
}
.ov-card:hover { text-decoration: none; color: var(--text); border-color: var(--line-strong); background: var(--bg-hover); }
.ov-card--primary {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}
.ov-card--primary:hover { background: var(--accent-soft); filter: brightness(.98); }
.ov-card--linkable { position: relative; }
.ov-card__detail-link {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit;
}
.ov-card--linkable > :not(.ov-card__detail-link) {
  position: relative; z-index: 2; pointer-events: none;
}
.ov-card--linkable .ov-card__affiliate-cta {
  pointer-events: auto;
}
.ov-card__top { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.ov-card__body { flex: 1; min-width: 0; }
.ov-card__date { margin-bottom: 1px; font-size: var(--fs-xs); font-weight: 800; color: var(--accent); }
.ov-card__name { font-size: 14px; font-weight: 700; color: var(--text); }
.ov-card__club { font-size: 11px; font-weight: 500; color: var(--text-sub); }
.ov-card__match { font-size: 13px; font-weight: 700; color: var(--text); margin-top: 2px; }
.ov-card__broadcast { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ov-card__affiliate-cta {
  background: var(--accent); color: #fff;
}
.ov-card__affiliate-cta:hover { color: #fff; }

/* ---------- 10. カテゴリ入口 ---------- */
.cat-group { margin-top: 18px; }
.cat-group__label {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--text-faint);
  margin-bottom: 8px;
}
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cat-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-raised); color: var(--text); font-weight: 700; font-size: var(--fs-sm);
}
.cat-grid a:hover { text-decoration: none; border-color: var(--line-strong); background: var(--bg-hover); }
.cat-grid .count { font-size: var(--fs-xs); color: var(--text-faint); }

/* ---------- 11. ページ見出し（カテゴリ／記事一覧／固定ページ） ---------- */
.page-head { margin-top: 16px; padding-bottom: 16px; }
.page-head__title { font-size: clamp(21px, 5.6vw, 28px); letter-spacing: 0; }
.page-head__lead { margin-top: 8px; color: var(--text-sub); font-size: var(--fs-sm); }
.page-head--home { padding-top: 10px; padding-bottom: 8px; }
.page-head--home .page-head__title { max-width: 780px; font-size: clamp(25px, 7vw, 38px); }
.page-head--home .page-head__lead { max-width: 620px; }
.page-head__kicker {
  margin-bottom: 6px; font-size: var(--fs-xs); font-weight: 800;
  color: var(--accent); letter-spacing: 0;
}
.home-actions {
  display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px;
}
.home-actions a {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 12px; border-radius: var(--radius);
  font-size: 12.5px; font-weight: 800;
}
.home-actions__primary { background: var(--accent); color: #fff; }
.home-actions__primary:hover { color: #fff; text-decoration: none; filter: brightness(.98); }
.home-actions__secondary { border: 1px solid var(--line); background: var(--bg-raised); color: var(--text); }
.home-actions__secondary:hover { color: var(--accent); text-decoration: none; border-color: var(--line-strong); }
.home-layout { display: block; }
.home-layout__side { display: grid; gap: 12px; margin-top: 26px; }
.ov-list--home { gap: 12px; }
.home-league-grid {
  list-style: none; padding: 0; margin: 0; display: grid;
  grid-template-columns: 1fr; gap: 8px;
}
.home-league-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-raised); color: var(--text);
}
.home-league-card:hover { text-decoration: none; color: var(--accent); border-color: var(--line-strong); background: var(--bg-hover); }
.home-league-card__name { min-width: 0; font-size: var(--fs-sm); font-weight: 800; line-height: 1.35; }
.home-league-card__meta { flex: none; font-size: var(--fs-xs); color: var(--text-sub); font-weight: 700; }
.side-box--home { margin-top: 0; }
.side-box__text { margin: 6px 0 8px; font-size: var(--fs-xs); color: var(--text-sub); line-height: 1.7; }
@media (min-width: 640px) {
  .home-actions { grid-template-columns: minmax(180px, 1.1fr) repeat(2, minmax(120px, .7fr)); }
  .home-league-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .home-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
  .home-layout__side { position: sticky; top: 132px; margin-top: 26px; }
}

/* ---------- 12. 記事 ---------- */
.article-head { margin-top: 16px; }
.article-head__title { font-size: clamp(19px, 5vw, 26px); margin-top: 8px; letter-spacing: 0; }
.article-meta { display: flex; gap: 12px; font-size: var(--fs-xs); color: var(--text-faint); }
.toc {
  margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-raised);
}
.toc__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--text-faint); }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; font-size: var(--fs-sm); display: grid; gap: 4px; }
.prose { margin-top: 22px; font-size: 13.5px; line-height: 1.9; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: var(--fs-h2); margin-top: 2em; padding-left: 12px;
  border-left: 4px solid var(--accent);
  /* html{scroll-padding-top}が固定ヘッダー分をまとめて処理するため、ここでは
    scroll-margin-topは付けない(二重に足すと過剰にスクロールしてしまう)。 */
}
.prose h3 { font-size: var(--fs-h3); margin-top: 1.6em; color: var(--accent); }
.prose p { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.35em; display: grid; gap: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  padding: 12px 16px; border-left: 3px solid var(--line-strong);
  background: var(--bg-raised); color: var(--text-sub); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; white-space: nowrap; }
.prose th { background: var(--bg-sunken); color: var(--text-sub); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); }

/* 記事中に差し込む試合カード */
.embed-match { margin: 1.6em 0; }
.embed-match__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 6px; }

.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.article-card {
  display: block; padding: 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-raised); color: var(--text);
}
.article-card:hover { text-decoration: none; color: var(--text); border-color: var(--line-strong); background: var(--bg-hover); }
.article-card__date { font-size: var(--fs-xs); color: var(--text-faint); }
.article-card__title { font-size: 15px; font-weight: 700; margin-top: 4px; line-height: 1.5; }

/* PC-DESIGN-2: /articles/ をPCだけ2カラムのリッチカードにする。要約・カテゴリを
  追加し、一覧ページとして薄く見えないようにする。モバイルは従来どおり1カラム。 */
.article-card--rich { padding: 16px; }
.article-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-card__cat {
  font-size: 10.5px; font-weight: 700; color: var(--text-sub);
  background: var(--bg-sunken); border-radius: 999px; padding: 1px 8px;
}
.article-card__excerpt {
  display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-sub);
  line-height: 1.7;
}
@media (min-width: 900px) {
  .article-list--rich { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.article-cta {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .article-cta { grid-template-columns: 1.2fr 1fr 1fr; }
}
.article-cta a {
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: center;
}
.article-cta a:hover { text-decoration: none; color: var(--accent); border-color: var(--line-strong); }
.article-cta__primary {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* ---------- 13. 空状態・404 ---------- */
.empty {
  margin-top: 16px; padding: 28px 18px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--text-sub); font-size: var(--fs-sm); background: var(--bg-raised);
}
.notfound { padding: 72px 0 40px; text-align: center; }
.notfound__code { font-size: 56px; font-weight: 900; color: var(--accent); }

/* ---------- 14. 折りたたみ（過去の試合） ---------- */
.fold { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.fold > summary {
  cursor: pointer; list-style: none; padding: 13px 16px;
  font-size: var(--fs-sm); font-weight: 700; color: var(--text-sub);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "＋"; color: var(--text-faint); }
.fold[open] > summary::after { content: "－"; }
.fold__body { padding: 0 12px 12px; }

/* ---------- 15. フッター ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-raised);
  padding: 24px 0 88px; margin-top: 40px;
}
.site-footer__nav { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); font-weight: 700; }
.site-footer__note { font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.8; }
.site-footer__copy { margin-top: 12px; font-size: var(--fs-xs); color: var(--text-faint); }
@media (min-width: 760px) { .site-footer { padding-bottom: 24px; } }

/* ---------- 16. 下部タブバー（モバイル） ---------- */
.tabbar {
  display: none;
}
@media (max-width: 759px) {
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--bg-raised); border-top: 1px solid var(--line);
    padding: 8px 0 max(10px, env(safe-area-inset-bottom));
  }
  .tabbar__item { flex: 1; text-align: center; color: var(--text-faint); }
  .tabbar__item:hover { text-decoration: none; color: var(--text-sub); }
  .tabbar__icon { display: block; width: 20px; height: 20px; margin: 0 auto 4px; color: inherit; }
  .tabbar__icon svg { width: 100%; height: 100%; }
  .tabbar__item[aria-current="page"] { color: var(--accent); }
  .tabbar__label { font-size: 10px; font-weight: 600; }
}

/* ---------- 17. 印刷・モーション ---------- */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
