/* ============================================================
   デザイン案G ／ The Athletic 系エディトリアル
   ・白地に黒（明るい紙面が基本。ダークモードも用意）
   ・見出しはセリフ（明朝）で重く、本文はゴシックで軽く
   ・赤は差し色として少量だけ
   ・記者名と日付の帯、細い罫線、広い行間
   ============================================================ */

:root {
  --paper:   #ffffff;
  --paper-2: #f6f6f4;
  --paper-3: #eeeeeb;
  --ink:     #121212;
  --ink-2:   #5a5a58;
  --ink-3:   #8e8e8a;
  --rule:    #e2e2de;
  --rule-2:  #c9c9c4;

  --red:    #c8102e;
  --red-2:  #a30d25;
  --green:  #00857a;
  --on-red: #ffffff;

  --pop: var(--red);
  --on-pop: var(--on-red);
  --accent: var(--red);

  --sans:  -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP",
           "Segoe UI", system-ui, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP",
           Georgia, "Times New Roman", serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, monospace;
  --col: 700px;

  --r-s: 4px;
  --r-m: 6px;
  --r-l: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:   #0f0f0f;
    --paper-2: #191919;
    --paper-3: #212121;
    --ink:     #f2f2f0;
    --ink-2:   #a8a8a4;
    --ink-3:   #777773;
    --rule:    #2a2a2a;
    --rule-2:  #3a3a3a;
    --red:     #ff4d63;
    --red-2:   #ff6f81;
    --green:   #2fbfb2;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--on-red); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
main, .site-header, .site-footer { max-width: var(--col); margin: 0 auto; padding: 0 22px; }

.progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%; z-index: 40;
}

/* ---- ヘッダー：白地に細い線、上に残る ---- */
.site-header {
  position: sticky; top: 0; z-index: 30; max-width: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0; margin-bottom: 0; display: block;
}
.site-title {
  display: inline-block; max-width: var(--col); margin: 0 auto;
  padding: 17px 22px 4px; color: var(--ink);
  font-family: Georgia, "Times New Roman", var(--serif);
  font-size: 23px; font-weight: 700; letter-spacing: -.02em;
}
.site-title::before { content: none; }
.site-nav {
  display: block; max-width: var(--col); margin: 0 auto; padding: 0 22px 12px;
}
.site-nav a {
  display: inline-block; color: var(--ink-2);
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  margin-right: 20px; text-transform: none; border: none;
  transition: color .15s;
}
.site-nav a:hover { color: var(--red); }

/* ---- 一覧の看板 ---- */
.hero {
  background: none; color: var(--ink); border: none;
  border-bottom: 1px solid var(--rule);
  margin: 0; padding: 40px 0 34px;
}
.hero-eyebrow {
  display: inline-block; background: none; color: var(--red);
  font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 0;
}
.hero-title {
  font-family: Georgia, "Times New Roman", var(--serif);
  font-size: 60px; font-weight: 700; line-height: 1.06;
  letter-spacing: -.035em; margin: 14px 0 18px;
}
.hero-lead {
  font-family: var(--sans);
  font-size: 15.5px; line-height: 1.9; max-width: 36em; color: var(--ink-2);
}

/* ---- ジャンルのタブ ---- */
.catnav { display: flex; flex-wrap: wrap; gap: 0; border: none; margin: 22px 0 0; padding: 0; }
.catnav a {
  font-size: 13px; font-weight: 700; padding: 8px 14px 8px 0;
  border: none; border-radius: 0; color: var(--ink-2); background: none;
  margin-right: 4px; transition: color .15s;
}
.catnav a:hover { background: none; color: var(--red); transform: none; }
.catnav a span { margin-left: 5px; font-size: 11px; font-weight: 600; color: var(--ink-3); }

/* ---- 記事の表紙 ---- */
.tile {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-3); color: #fff;
  aspect-ratio: 3 / 2; position: relative; overflow: hidden;
  border-radius: var(--r-m);
}
.tile b {
  position: relative; z-index: 1; color: #fff; font-family: var(--serif);
  font-size: 24px; font-weight: 700; padding: 0 14px; text-align: center; line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.tile .ico, .tile .num { display: none; }
.tile .date {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  background: rgba(0,0,0,.62); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px;
}
.tile .cap {
  position: absolute; top: 9px; right: 9px; z-index: 2;
  background: var(--red); color: #fff;
  font-size: 9.5px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 3px;
}
.tile .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.06) 45%, rgba(0,0,0,.55));
}
.tile .chart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.tile .chart .c-bar { fill: #fff; } .tile .chart .c-ring { stroke: #fff; }
.tile .chart .c-track { fill: rgba(255,255,255,.18); stroke: rgba(255,255,255,.18); }
.tile .chart .c-axis { stroke: rgba(255,255,255,.4); stroke-width: 1; }
.tile .chart .c-line { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 3 3; }
.tile .chart .c-val { fill: #fff; font-size: 8px; font-weight: 700; text-anchor: middle; }
.tile .chart .c-val.big { font-size: 16px; }
.tile .chart .c-lab { fill: rgba(255,255,255,.8); font-size: 6.5px; font-weight: 600; text-anchor: middle; }

/* ---- 特集 ---- */
.featured { display: block; border: none; padding: 30px 0 0; margin: 0; }
.featured .side { display: none; }
.featured .tile { aspect-ratio: 2 / 1; margin-bottom: 16px; border-radius: var(--r-m); }
.featured .tile b { font-size: 34px; }
.featured::before {
  content: "PICK UP"; display: inline-block; background: none; color: var(--red);
  font-size: 10.5px; font-weight: 800; letter-spacing: .16em; padding: 0; margin-bottom: 10px;
}
.featured h2 {
  font-family: var(--serif);
  font-size: 32px; font-weight: 700; line-height: 1.32; letter-spacing: -.028em;
}
.featured p { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin-top: 12px; }
.featured .go {
  display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 800;
  background: none; color: var(--red); padding: 0; border-radius: 0;
  border-bottom: 2px solid var(--red);
}
.featured .go:hover { background: none; color: var(--red-2); }
.featured a:hover h2 { color: var(--red); }

/* ---- ジャンル見出し ---- */
.cat { padding-top: 48px; }
.cat-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border: none; border-bottom: 2px solid var(--ink);
  padding: 0 0 8px; margin-bottom: 20px;
}
.cat-head h2 {
  font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -.02em;
}
.cat-head span { font-size: 12px; color: var(--ink-3); }
main .cat-head { border: none; border-bottom: 2px solid var(--ink); padding: 0 0 8px; }
main .cat-head h2 { font-family: var(--serif); font-size: 21px; letter-spacing: -.02em; }

/* ---- カード：横並びのリスト風 ---- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
main .cards { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
.card2 { border: none; padding: 0; }
.card2 .meta {
  display: flex; gap: 8px; align-items: center; margin: 11px 0 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.card2 .meta b { background: none; color: var(--red); padding: 0; font-weight: 800; }
.card2 .meta span { color: var(--ink-3); font-weight: 600; }
.card2 h3 {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em;
}
main .card2 h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  line-height: 1.45; letter-spacing: -.02em; margin: 0;
}
.card2 p, main .card2 p { display: none; }
.card2 a:hover h3 { color: var(--red); }

.more, main .more {
  display: block; width: 100%; margin: 24px 0 0;
  font-family: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer;
  background: none; color: var(--ink);
  border: none; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  border-radius: 0; padding: 14px; transition: color .15s;
}
.more:hover, main .more:hover { color: var(--red); background: none; border-color: var(--rule); }

/* ---- 記事ページ ---- */
.post-head { padding: 26px 0 22px; border: none; margin-bottom: 0; }
.post-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--red);
  padding-bottom: 0; border: none; text-transform: none;
}
.post-meta .ico { display: none; }
.post-meta .post-date, .post-meta .post-time {
  color: var(--ink-3); font-weight: 600; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.post-number { background: none; color: var(--red); padding: 0; font-weight: 800; }
.post h1 {
  font-family: var(--serif);
  font-size: 40px; font-weight: 700; line-height: 1.28;
  letter-spacing: -.035em; margin: 14px 0 18px;
}
.post-lead {
  font-family: var(--sans);
  font-size: 16.5px; line-height: 1.9; color: var(--ink-2);
  background: none; padding: 0; border: none; border-radius: 0;
  margin-bottom: 22px;
}
/* 記者と日付の帯 */
.tags {
  margin: 0 0 24px; padding: 14px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  border: none; color: var(--ink-3); padding: 0; margin: 0 14px 0 0;
}
.tag::before { content: "#"; opacity: .5; margin-right: 1px; }
.post-cover { aspect-ratio: 3 / 2; margin: 0 0 8px; border-radius: var(--r-m); }
.post-cover .point {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: rgba(0,0,0,.72); color: #fff;
  font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 0;
}

.post-body > * + * { margin-top: 1.7em; }
.post-body p { line-height: 1.95; font-size: 17px; }
.post-body p, .post-body li { overflow-wrap: anywhere; }
.post-body h2 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em;
  margin-top: 2.6em; border: none; padding: 0;
}
.post-body h2::before { content: none; }
.post-body h3 {
  font-size: 17px; font-weight: 800; margin-top: 2em; letter-spacing: -.01em; color: var(--ink);
}
.post-body strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.post-body a { color: var(--red); border-bottom: 1px solid rgba(200,16,46,.28); }
.post-body a:hover { border-bottom-color: var(--red); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin-bottom: .5em; }
.post-body li::marker { color: var(--ink-3); }
.post-body img { display: block; border-radius: var(--r-m); margin-inline: auto; }
.post-body hr { border: none; border-top: 1px solid var(--rule); margin: 2.8em 0; }
.post-body blockquote {
  font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.72;
  background: none; border: none; border-left: 3px solid var(--red);
  padding: 2px 0 2px 22px; border-radius: 0; color: var(--ink);
}
.post-body code { font-family: var(--mono); font-size: .86em; background: var(--paper-2); padding: 2px 6px; border-radius: 3px; }
.post-body pre { background: var(--paper-2); color: var(--ink); padding: 16px 18px; overflow-x: auto; border-radius: var(--r-m); }
.post-body pre code { background: none; padding: 0; font-size: 13.5px; }

/* ---- 表 ---- */
.table-wrap { overflow-x: auto; border: none; border-top: 2px solid var(--ink); border-radius: 0; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.post-body th, .post-body td {
  border: none; border-bottom: 1px solid var(--rule);
  padding: 11px 12px; text-align: left; vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.post-body thead th {
  background: none; border-bottom: 1px solid var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--ink-2); white-space: nowrap;
}
.post-body tbody tr:hover { background: var(--paper-2); }

/* ---- 本文のグラフ ---- */
.post-body .fig { margin: 2.4em 0; }
.post-body .fig-svg { display: block; width: 100%; height: auto; background: none; border: none; overflow: visible; }
.post-body .fig figcaption {
  font-size: 12.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.75;
  padding-top: 10px; border-top: 1px solid var(--rule);
}
.fig-svg .f-bar { fill: var(--red); }
.fig-svg .f-ring { stroke: var(--red); }
.fig-svg .f-track { fill: var(--paper-3); stroke: var(--paper-3); }
.fig-svg .f-grid { stroke: var(--rule); stroke-width: .8; }
.fig-svg .f-line { stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 3 3; }
.fig-svg .f-val { fill: var(--ink); font-size: 10.5px; font-weight: 700; text-anchor: middle;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fig-svg .f-val.big { font-size: 26px; font-weight: 800; }
.fig-svg .f-lab { fill: var(--ink-3); font-size: 10px; font-weight: 600; text-anchor: middle; }
.fig-svg .f-val.left, .fig-svg .f-lab.left { text-anchor: start; }

/* ---- スタジアム写真（渾身の1枚） ---- */
.post-body figure.shot { margin: 1.8em 0 2.6em; }
.post-body figure.shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--r-m); margin: 0;
}
.post-body figure.shot figcaption {
  margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--ink-2);
}
.post-body figure.shot figcaption b { font-weight: 700; color: var(--ink); }
.post-body figure.shot .credit {
  display: block; font-size: 11px; color: var(--ink-3); margin-top: 3px;
}
.post-body figure.shot .credit a { color: var(--ink-3); border: none; text-decoration: underline; }
.post-body figure.shot .credit a:hover { color: var(--red); }

/* ---- 記事の終わりと前後リンク ---- */
.post-end { text-align: left; color: var(--red); font-size: 18px; margin: 3em 0 0; letter-spacing: .3em; }
.post-nav { display: grid; gap: 0; margin: 2.6em 0 0; border-top: 1px solid var(--rule); }
.post-nav a { display: block; border: none; border-bottom: 1px solid var(--rule); border-radius: 0;
  padding: 16px 0; transition: color .15s; }
.post-nav a:hover { border-color: var(--rule); background: none; }
.post-nav a:hover .nav-title { color: var(--red); }
.post-nav .nav-label { display: block; font-size: 10.5px; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.post-nav .nav-title { display: block; font-family: var(--serif); font-size: 16px; font-weight: 700;
  margin-top: 5px; line-height: 1.5; letter-spacing: -.02em; }
.back { margin: 2.2em 0 0; }
.back a { display: inline-block; font-size: 12.5px; font-weight: 800;
  border: none; border-bottom: 2px solid var(--red); border-radius: 0;
  padding: 0 0 2px; color: var(--red); }
.back a:hover { color: var(--red-2); }

/* ---- 検索・並び替え ---- */
.sortbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 0 0; }
.sortbar .sortlabel { font-size: 11px; font-weight: 800; color: var(--ink-3); margin-right: 4px; letter-spacing: .06em; }
.sortbar button {
  font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
  color: var(--ink-2); background: none; border: none;
  border-bottom: 2px solid transparent; border-radius: 0; padding: 6px 4px;
  margin-right: 10px; transition: .15s;
}
.sortbar button:hover { color: var(--red); border-color: transparent; }
.sortbar button.on { background: none; color: var(--ink); border-bottom-color: var(--red); }

/* ---- 用語集・データベース ---- */
.wordnav { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; }
.wordnav a { font-size: 12.5px; font-weight: 700; padding: 4px 0; border: none;
  border-radius: 0; color: var(--ink-2); }
.wordnav a:hover { border: none; color: var(--red); }
.post-body .word { scroll-margin-top: 90px; padding-top: 8px; }
.post-body .word h2 { margin-top: 2.4em; }
.post-body .word .reading { font-size: 12px; color: var(--ink-3); margin-top: .4em; }
.post-body .word .short { font-weight: 700; background: var(--paper-2); padding: 14px 16px; border-radius: var(--r-m); }
.cdb { border-collapse: collapse; width: 100%; font-size: 14px; }
.cdb th, .cdb td { border: none; border-bottom: 1px solid var(--rule); padding: 11px 12px; text-align: left; vertical-align: top; }
.cdb thead th { background: none; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; }
.cdb tbody th { font-weight: 700; white-space: nowrap; }
.cdb td.v { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cdb tr.empty td { color: var(--ink-3); font-size: 13px; }
.cdb td.src { font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.cdb td.src a { border: none; text-decoration: underline; }
.cdb .note { display: block; color: var(--ink-3); }
.badge { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 7px; margin-right: 5px; white-space: nowrap; border-radius: 3px; letter-spacing: .04em; }
.badge.of { background: var(--red); color: #fff; }
.badge.ca { background: var(--green); color: #fff; }
.badge.es { background: var(--paper-3); color: var(--ink-2); }
.dbnote { background: var(--paper-2); border: none; border-left: 3px solid var(--red);
  padding: 15px 18px; font-size: 13.5px; line-height: 1.9; border-radius: 0; }
.post-body p.cnt { font-size: 12px; color: var(--ink-3); margin-top: -.9em; }
.post-body ul.rel { padding-left: 1.2em; }
.post-body ul.arch { list-style: none; padding: 0; }
.post-body ul.arch li { display: flex; gap: 14px; align-items: baseline;
  border-bottom: 1px solid var(--rule); padding: 11px 0; margin: 0; }
.post-body ul.arch .d { font-size: 11.5px; color: var(--ink-3); white-space: nowrap;
  font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.post-body ul.arch a { border: none; color: var(--ink); font-weight: 700;
  font-family: var(--serif); font-size: 15.5px; letter-spacing: -.015em; }
.post-body ul.arch a:hover { color: var(--red); }

/* ---- 広告 ---- */
.ad { margin: 2.6em 0 0; text-align: center; }
.ad-label { display: block; font-size: 10px; font-weight: 800; color: var(--ink-3);
  letter-spacing: .12em; margin-bottom: 8px; }

/* ---- フッター ---- */
.site-footer {
  border-top: 2px solid var(--ink); margin-top: 4.5em;
  padding-top: 32px; padding-bottom: 52px;
  font-size: 13px; color: var(--ink-2); line-height: 1.9;
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  padding-bottom: 28px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
.footer-col h3 { font-size: 10.5px; font-weight: 800; color: var(--red);
  letter-spacing: .12em; margin-bottom: 10px; }
.footer-col a { display: block; font-size: 13px; color: var(--ink-2); padding: 4px 0; }
.footer-col a:hover { color: var(--red); }
.footer-name { font-family: Georgia, "Times New Roman", var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.footer-sub { font-size: 12px; color: var(--ink-3); margin-top: 6px; max-width: 46em; }

/* ---- 狭い画面 ---- */
@media (max-width: 900px) { .cards, main .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 30px 0 26px; }
  .hero-title { font-size: 42px; }
  .post h1 { font-size: 29px; }
  .featured h2, main .featured h2 { font-size: 25px; }
  .post-body h2 { font-size: 21px; }
  .post-body blockquote { font-size: 18px; }
  .cards, main .cards { grid-template-columns: 1fr; gap: 26px; }
  .card2 h3, main .card2 h3 { font-size: 17px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
}
