
/* 色: 白地に黒の太字、モッズの青 #0200F5・赤 #C40030、濃い青 #0047B8、紙の白 #F6F6F2。ロゴの的だけ栃木SCカラー(黄・白・青) */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F6F6F2; --ink: #141414; --ink-2: #333333; --ink-3: #666666;
  --radius: 2px;   /* 囲み(カード・タイル・お知らせなど)の角丸 */
  --rule: #E2E2DC; --accent: #0200F5; --accent-ink: #FFFFFF; --accent-soft: #F6F6F2; --red: #C40030;
  --ok: #0047B8; --warn: #C40030; --mute: #666666;
  --ring-edge: #CFCFC8;   /* チームカラーの囲みのすぐ外側の細い線。薄い色・濃い色が背景に溶けないようにする */
  --s-start: #0200F5; --s-sub: #0200F5; --s-bench: #D6D6D0; --s-none: #F1F1EC;
  /* 学校・チームのアイコン(小・中・高・大・JFA)は、見やすさのため前の色に戻した。大=法政ブルー(PANTONE 280 に近い濃紺) */
  --hs: #B5541B; --univ: #012169; --el: #C0407A; --jh: #7B4FA3; --jfa: #8A6500; --loan: #0047B8;
  /* ロゴの的は、栃木SCカラー(黄・白・青)に固定(2026-09-30、JAMさんの指示。ダーク/ライトどちらでも同じ色) */
  --mark-a: #FFF100; --mark-b: #FFFFFF; --mark-c: #005BAC;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-display: "Archivo", "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-impact: "M PLUS 1", var(--font-body);   /* トップの大見出しだけ。標準的なゴシックの形のまま、Noto Sans JPの900より太く見える */
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0D0D0F; --surface: #151518; --surface-2: #1C1C20; --ink: #F3F3F0; --ink-2: #CFCFCA; --ink-3: #9C9C97;
    --rule: #2C2C31; --accent: #8A8FFF; --accent-ink: #0D0D0F; --accent-soft: #1C1C20; --red: #FF5470;
    --ok: #8FB4FF; --warn: #FF5470; --mute: #9C9C97; --ring-edge: rgba(255, 255, 255, 0.34); --ring-min-l: 0.56;
    --s-start: #8A8FFF; --s-sub: #8A8FFF; --s-bench: #3A3A40; --s-none: #232327;
    --hs: #F0A36B; --univ: #8FA3E8; --el: #F28DB7; --jh: #C2A3E8; --jfa: #E3B93E; --loan: #8FB4FF;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D0D0F; --surface: #151518; --surface-2: #1C1C20; --ink: #F3F3F0; --ink-2: #CFCFCA; --ink-3: #9C9C97;
  --rule: #2C2C31; --accent: #8A8FFF; --accent-ink: #0D0D0F; --accent-soft: #1C1C20; --red: #FF5470;
  --ok: #8FB4FF; --warn: #FF5470; --mute: #9C9C97; --ring-edge: rgba(255, 255, 255, 0.34); --ring-min-l: 0.56;
  --s-start: #8A8FFF; --s-sub: #8A8FFF; --s-bench: #3A3A40; --s-none: #232327;
  --hs: #F0A36B; --univ: #8FA3E8; --el: #F28DB7; --jh: #C2A3E8; --jfa: #E3B93E; --loan: #8FB4FF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.85 var(--font-body); -webkit-text-size-adjust: 100%; overflow-x: hidden; }   /* トップの見出しが画面幅ぎりぎり(はみ出る)まで大きいため、横スクロールが出ないようにする */
.wrap { max-width: 68rem; margin-inline: auto; padding-inline: 16px; }
a { color: var(--accent); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 700; }
h1, h2, h3 { text-wrap: balance; }

/* ヘッダーは、スクロールしても常に上に表示する(どの画面幅でも)。
   狭い画面: 1段目=ロゴと虫めがね(押すと検索欄が開く)、2段目=メニュー(横に流れる)。広い画面: ロゴ・メニュー・検索欄を1段に */
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 6.5rem); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--rule); }
.bar-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand tools" "nav nav"; align-items: center; column-gap: 1rem; padding-block: 0.6rem 0; }
.brand { grid-area: brand; justify-self: start; display: inline-flex; align-items: center; gap: 0.45em; font: italic 900 1.125rem/1 var(--font-display); font-stretch: 80%; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
/* ロゴの的(栃木SCカラー: 黄い輪・白・青い芯) */
.brand::before, .foot-brand::before { content: ""; flex: none; width: 1.05em; height: 1.05em; border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--mark-c) 0 40%, var(--mark-b) 40% 66%, var(--mark-a) 66% 100%); }
.bar nav { grid-area: nav; display: flex; gap: 0 1.35rem; font-size: 0.9375rem; overflow-x: auto; scrollbar-width: none; }
.bar nav::-webkit-scrollbar { display: none; }
.bar nav.scrollable { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.75rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 1.75rem), transparent); }
.bar nav.scrollable.at-end { -webkit-mask-image: none; mask-image: none; }
.bar nav a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; padding: 0.5rem 0 0.4rem; border-bottom: 3px solid transparent; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.search { grid-area: tools; justify-self: end; position: relative; width: min(20rem, 40vw); }
.search-toggle { grid-area: tools; display: none; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.search-toggle[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 47.99rem) {
  .search { display: none; }
  .search-toggle { display: inline-grid; }
  .bar.search-open .search { display: block; grid-column: 1 / -1; grid-row: 3; width: 100%; margin: 0.25rem 0 0.7rem; }
}
@media (min-width: 72rem) {
  .bar-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav tools"; padding-block: 0.3rem; }
  .bar nav { padding-left: 1.5rem; }
}
.search input { width: 100%; padding: 0.5rem 0.95rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.875rem; }
.search ul { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; margin: 0; padding: 0.25rem; list-style: none; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); max-height: 60vh; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.search li a { display: block; padding: 0.45rem 0.6rem; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 0.875rem; line-height: 1.5; }
.search li a:hover, .search li a:focus { background: var(--accent-soft); }
.search li small { color: var(--ink-3); margin-left: 0.5rem; }

.hero { padding-block: 2.5rem 1.5rem; overflow-x: hidden; overflow-x: clip; }   /* トップの大見出しは画面の端まで(はみ出すくらい)大きくするので、はみ出した分が、ページ全体の横幅を広げないよう、ここで切る。
   bodyのoverflow-xだけでは、iPhoneのSafariが、横にずらせる・引いて表示する(右が空いて、左に寄って見える)ため(2026-10-14、JAMさんの指摘『スマホでの表示が左に寄ってる 右が空いてる』)。
   切る位置は、画面の端と同じ(スマホでは .wrap が画面幅いっぱい)なので、見える範囲は変わらない。clip未対応の古い端末は hidden */
h1 { margin: 0; font-size: clamp(1.75rem, 5.8vw, 3.1rem); font-weight: 900; line-height: 1.28; letter-spacing: 0.01em; }
/* トップだけ、画面幅ぎりぎり(はみ出るくらい)まで大きく強調する見出し(2026-09-30、JAMさんの指示)。字体は--font-impact(標準的なゴシックの形のまま太いもの)。
   はみ出た分はbodyのoverflow-xで隠すので、折り返さないようnowrapにする */
/* 2026-10-13、JAMさんの指示『タイトル文字、文字間詰めて文字自体をもうちょっと大きく』: 20vw→22vw(×1.1)・字間 0→-0.06em。
   元に戻すときは、font を clamp(3rem, 20vw, 10rem) に、letter-spacing を 0 に */
.hero h1.bang { font: 900 clamp(3.3rem, 22vw, 11rem)/0.94 var(--font-impact); letter-spacing: -0.06em; }
.hero h1.bang .ph { white-space: nowrap; }
.hero h1.bang ruby { ruby-position: over; }
.hero h1.bang rt { font: 700 0.2em/1 var(--font-body); letter-spacing: 0.03em; color: var(--ink-2); transform: translateY(0.9em); }

.lede { margin: 1rem 0 0; max-width: 38em; color: var(--ink-2); }
.hero .lede { font-size: 0.8rem; line-height: 1.48; text-align: center; }
.hero .lede .ib { display: inline-block; }   /* 狭い画面で折り返すときは、言葉の切れ目(「〜選手と」|「元栃木SCの選手を、」)で(「を、」だけが落ちないように。2026-10-30) */   /* 元(1rem/1.85)の80%に(2026-09-30、JAMさんの指示)。中央そろえ・「元栃木SCの選手を、」のあとで改行(2026-10-30、JAMさんの指示) */
/* 大きな英字の見出し。英字は飾り(読み上げない)で、本当の見出しは日本語 */
.xh { margin: 0 0 1.4rem; text-align: center; }
.xh-en { display: block; font: 900 clamp(2.5rem, 8.5vw, 4.75rem)/0.95 var(--font-display); letter-spacing: -0.025em; color: var(--ink); }
.xh-ja { display: block; margin-top: 0.7rem; font: 700 0.875rem/1.5 var(--font-body); letter-spacing: 0.08em; color: var(--ink); }
/* 2026-10-13、JAMさんの指示『今節の栃木なヤツらはこのくらいに大きく』(赤い囲みは画面幅の約74%): トップのMatchdayの日本語だけ、約0.875rem→7.5vw(スマホ幅の約70%)。
   元に戻すときは、このクラスを外す(home_h2 の big=True) */
.xh-ja.xh-ja-big { margin-top: 0.5rem; font-size: clamp(1.1rem, 7.5vw, 2.6rem); line-height: 1.3; letter-spacing: 0.04em; }
.xh + .note, .xh + p { text-align: center; margin-inline: auto; }
main section.home-sec { margin-top: 5.5rem; }
.hero + .wrap .home-sec:first-child { margin-top: 1.8rem; }   /* トップは.noticeが無くなった分、間が空きすぎるため(2026-09-30、JAMさんの指示。他のセクション間は変えない) */
.home-sec:first-child + .home-sec { margin-top: 1.8rem; }   /* Matchday→NEWSは、NEWSの見出しが無くなった分、間が空きすぎるため(2026-09-30、JAMさんの指示。5.5remの1/3) */
.more { text-align: center; margin-top: 1.5rem; }
.more a { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); font-weight: 700; text-decoration: none; }
.more a::after { content: "→"; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 1.5px solid currentColor; border-radius: 50%; font-weight: 400; }
.more a:hover { color: var(--accent); }
.more a + a { margin-left: 1.75rem; }
.home-sec .chips { justify-content: center; }
.ph1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; margin: 0.5rem 0 0; }
.ph1 .xh-en { display: inline; font-size: clamp(2.6rem, 8vw, 4.5rem); }
.ph1 .ph1-sep { font: 400 1.4rem/1 var(--font-body); color: var(--ink-3); }
.ph1 .xh-ja { display: inline; margin: 0; }

main section { margin-top: 3rem; }
h2 { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 900; line-height: 1.4; }
h3 { margin: 1.75rem 0 0.5rem; font-size: 1.125rem; font-weight: 700; }
p { margin: 0.75rem 0; max-width: 42em; }
.note { color: var(--ink-3); font-size: 0.875rem; }
.sub { color: var(--ink-3); font-size: 0.8125rem; }
.mono { font-family: var(--font-mono); }

.tiles { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); margin: 1rem 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; } }   /* スマホでも縦に長くなりすぎないよう、4列に固定(2026-09-30、JAMさんの指示) */
.tile a { display: block; padding: 0.8rem 0.95rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; }
.tile a:hover { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tile b { display: block; font-size: 1rem; line-height: 1.5; }
@media (max-width: 640px) { .tile a { padding: 0.6rem 0.5rem; } .tile b { font-size: 0.8125rem; } .tile span { font-size: 0.75rem; } }
.tile span { color: var(--ink-3); font-size: 0.8125rem; }
.stat { display: flex; gap: 0.75rem; margin: 1rem 0; }
.stat div { flex: 1 1 0%; min-width: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.8rem 1rem; }   /* スマホでも3つ横並びのまま(2026-09-30、JAMさんの指示) */
.stat b { display: block; font: 900 2.4rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat div:nth-child(3n+1) b { color: var(--accent); }
.stat div:nth-child(3n+3) b { color: var(--red); }
.stat span { font-size: 0.8125rem; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; padding: 0; list-style: none; }
.chips li { min-width: 0; }      /* 長い札(クラブ名の長いレンタル先など)が縮めるように。これが無いと狭い画面で横にずれる */
.chip { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font: 700 0.75rem/1.5 var(--font-body); padding: 0.3rem 0.62rem; border: 1.5px solid currentColor; border-radius: 999px; background: var(--surface); color: var(--accent); text-decoration: none; }
a.chip:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip.gray { color: var(--mute); }
.chip.warn { color: var(--warn); }
.chip.ok { color: var(--ok); }
.chip.loan { color: var(--loan); }
.nm-sfx { font-weight: 500; font-size: 0.8125rem; color: var(--ink-3); margin-left: 0.2rem; white-space: nowrap; }
h1 .nm-sfx { font-size: 0.42em; font-weight: 600; }

.cards { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); margin: 1rem 0; padding: 0; list-style: none; }
/* 一覧のカード: 先頭にチームカラーの帯(名前+現所属)、その下に本文。栃木出身の人は、カードの外側もチームカラーで囲む(下の .local)。
   帯の部品(.pband・.ptitle・.pclub)は、選手の個別ページの先頭と同じものを使う(2026-10-03、JAMさんの指示) */
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.card h3 { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.card .pband { padding: 0.5rem 1rem 0.45rem; }
.card .pband.split { padding: 0; }
.card .pband.split .yfill { padding: 0.5rem 14% 0.45rem 1rem; }
.card .pband .pclub { font-size: 0.8125rem; }     /* .pband .pclub(後ろにある)より強くして、カードでは小さめにする */
.cbody { padding: 0.5rem 1rem 0.8rem; display: flex; flex-direction: column; gap: 0.35rem; }
.card .meta { color: var(--ink-3); font-size: 0.8125rem; line-height: 1.6; }
.news { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.9rem 1rem; overflow: hidden; }
.news p { margin: 0.4rem 0; font-size: 0.9375rem; line-height: 1.8; overflow-wrap: anywhere; max-width: none; }
.news-tag { margin-bottom: 0.5rem; }
.news-who { background: var(--team); color: var(--team-ink); margin: -0.9rem -1rem 0.75rem; padding: 0.55rem 1rem;
  font: 800 1.0625rem/1.35 var(--font-display); letter-spacing: 0.01em; display: flex; align-items: baseline;
  gap: 0.5em; flex-wrap: wrap; }
.news-who span { font: 500 0.8125rem/1.3 var(--font-body); opacity: 0.88; }
/* 2色のクラブ(いまは栃木SCの黄色+ブルーだけ)は、帯を斜めに2分割する。左側(広い方)に文字を置き、
   右側は色だけの帯にする(文字が2色の境目にかからないようにするため。--team2 の上に台形の --team を重ねる) */
.news-who.split { position: relative; display: block; padding: 0; background: var(--team2); }
.news-who.split .yfill { position: relative; width: 68%; background: var(--team); color: var(--team-ink);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); padding: 0.55rem 1.5rem 0.55rem 1rem;
  font: 800 1.0625rem/1.35 var(--font-display); letter-spacing: 0.01em; display: flex; align-items: baseline;
  gap: 0.5em; flex-wrap: wrap; }
.news-who.split .yfill span { font: 500 0.8125rem/1.3 var(--font-body); opacity: 0.88; }
.news-who a, .news-who.split .yfill a { color: inherit; text-decoration: none; }   /* 選手名のリンク(このサイトの個人ページへ)。帯の色の邪魔をしない */
.news-who a:hover, .news-who.split .yfill a:hover { text-decoration: underline; }
/* 確認済みのSNSアイコン(InstagramとXの公式のロゴ。単色)。帯の右端に寄せる(2026-10-01、JAMさんの指示)。
   2026-10-14: 1.5倍(15px→22.5px)・公式のロゴ(JAMさんの指示)。帯の文字の中心にそろえる。`.news-who span`(opacity .88)に負けないよう `.news-who .news-sns` と書く */
.news-who .news-sns { display: inline-flex; align-items: center; gap: 0.45em; margin-left: auto; flex: none; align-self: center; opacity: 1; }
.news-sns a { display: inline-flex; color: inherit; opacity: 1; }
.news-sns a:hover { opacity: 0.8; }
.news-sns svg { display: block; width: 22.5px; height: 22.5px; }
/* 栃木SCの帯(黄×青の2色)は、斜めに切れる黄色の側ではなく、青い三角の上に、白で置く */
.news-who.split .news-sns { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); margin: 0; color: #FFFFFF; }
.newslist { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); padding: 0; margin: 1rem 0; list-style: none; }

/* 栃木出身(出身・育ち)の選手の枠は、チームカラーで囲んで目立たせる(2026-10-03、JAMさんの指示。NEWSの枠と選手ページの先頭)。
   チームカラー(--team・--team2)は、枠の要素(li.news・section.pcard)に持たせてある。枠線は透明にして、その下にチームカラーの
   グラデーションを敷く(角丸が効き、2色のクラブ=栃木SCは斜めに色が分かれる)。1色のクラブは--team2も同じ色。
   薄い色(栃木SCの黄色)や濃い色(栃木シティの紺をダークモードで)が背景に溶けないよう、すぐ外側に細い線(--ring-edge)を足す */
.news.local, .pcard.local, .card.local { --r1: var(--team); --r2: var(--team2); border: 3px solid transparent; box-shadow: 0 0 0 1px var(--ring-edge);
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(90deg, var(--r1) 0 var(--ring-cut, 69%), var(--r2) var(--ring-cut, 69%) 100%) border-box; }   /* 2色のクラブの囲みは、色が変わる位置を、帯の上の辺の境目(帯の黄色の部分の幅)に合わせる。縦に切るのは、カードの高さが変わってもずれないようにするため */
.news.local { --ring-cut: 69%; }
.pcard.local, .card.local { --ring-cut: 80%; }
/* ダークモードでは、栃木シティの紺のような濃い色の囲みが背景に溶けるので、囲みの明るさに下限(--ring-min-l)を設ける(色相はそのまま)。
   対応していないブラウザでは、このブロックごと無視され、チームカラーそのままの囲みになる */
@supports (color: oklch(from red l c h)) {
  .news.local, .pcard.local, .card.local { --r1: oklch(from var(--team) max(l, var(--ring-min-l, 0)) c h); --r2: oklch(from var(--team2) max(l, var(--ring-min-l, 0)) c h); }
}
/* 選手ページの先頭の枠: チームカラーの帯(NEWSの帯と同じ色・同じ分け方)+ 基本情報 */
.pcard { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.pband { background: var(--team); color: var(--team-ink); padding: 1rem 1.1rem 0.9rem; }
.ptitle { display: flex; align-items: baseline; gap: 0.1em 0.7em; flex-wrap: wrap; }
.pband h1, .pband h3, .pband .kana, .pband .nm-sfx { color: inherit; }
.pband a { color: inherit; text-decoration: none; }     /* 一覧のカードの名前(個別ページへのリンク)。帯の色の邪魔をしない */
.pband a:hover { text-decoration: underline; }
.pband .nm-sfx { opacity: 0.85; }
.pband .pclub { font: 600 0.9375rem/1.3 var(--font-body); opacity: 0.92; }
.pband .kana { margin-top: 0.1rem; font-size: 0.875rem; opacity: 0.85; }
.pband.split { padding: 0; background: var(--team2); }
.pband.split .yfill { width: 80%; background: var(--team); color: var(--team-ink);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); padding: 1rem 14% 0.9rem 1.1rem; }   /* 文字が斜めの境目にかからないよう、右の余白を広くとる */
.pbody { padding: 0.5rem 1.1rem 0.6rem; }
.kv { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0.35rem 1rem; margin: 0.75rem 0; }
.kv dt { color: var(--ink-3); font-size: 0.875rem; }
.kv dd { margin: 0; }
.path { list-style: none; margin: 1rem 0; padding: 0; border-top: 2px solid var(--ink); }
.path li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.path .lv { font: 600 0.8125rem/1.9 var(--font-display); color: var(--accent); }
.path .unknown { color: var(--ink-3); }
/* 表は横に流して見る。続きがある側にだけ影を出して、動かせることが分かるようにする(JavaScriptは使わない) */
.table-wrap { overflow-x: auto; margin: 1rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); background:
  linear-gradient(to right, var(--surface) 30%, rgba(255,255,255,0)) left center,
  linear-gradient(to left, var(--surface) 30%, rgba(255,255,255,0)) right center,
  radial-gradient(farthest-side at 0 50%, rgba(20,20,20,0.16), rgba(20,20,20,0)) left center,
  radial-gradient(farthest-side at 100% 50%, rgba(20,20,20,0.16), rgba(20,20,20,0)) right center;
  background-color: var(--surface); background-repeat: no-repeat; background-size: 2.5rem 100%, 2.5rem 100%, 0.75rem 100%, 0.75rem 100%;
  background-attachment: local, local, scroll, scroll; }
table { border-collapse: collapse; width: 100%; min-width: 30rem; max-width: none; font-size: 0.9375rem; line-height: 1.65; }
th { text-align: left; font: 600 0.75rem/1.4 var(--font-display); letter-spacing: 0.05em; color: var(--ink-2); padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--rule); background: var(--surface-2); white-space: nowrap; }
td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--rule); vertical-align: top; font-variant-numeric: tabular-nums; }
/* 名前・クラブ名の列が、狭い画面で1文字ずつ縦に折れないようにする(表は横に流して見る) */
td:nth-child(-n+2) { white-space: nowrap; }
td:nth-child(-n+2) .sub { white-space: normal; }
tr:last-child td { border-bottom: 0; }
.strip { display: inline-flex; gap: 3px; vertical-align: middle; }
.strip i { display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font: 600 0.75rem/1 var(--font-body); font-style: normal; }
.strip .st-start { background: var(--s-start); color: var(--accent-ink); }
.strip .st-sub { background: var(--surface); color: var(--s-sub); box-shadow: inset 0 0 0 2px var(--s-sub); }
.strip .st-bench { background: var(--s-bench); color: var(--ink); }
.strip .st-none { background: var(--s-none); color: var(--ink-3); }
.legend { font-size: 0.8125rem; color: var(--ink-3); }
.sources { font-size: 0.875rem; color: var(--ink-2); padding-left: 1.2rem; }
.request { margin-top: 1.5rem; padding: 0.9rem 1rem; background: var(--surface-2); border-radius: var(--radius); font-size: 0.9375rem; }
.request p { margin: 0.3rem 0; }
.foot { margin-top: 4rem; padding-block: 1.75rem 3rem; border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--ink-3); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; margin: 0 0 1.25rem; font-size: 0.875rem; font-weight: 700; }
.foot-nav a { color: var(--ink); text-decoration: none; }
.foot-nav a:hover { color: var(--accent); text-decoration: underline; }
.foot-brand { display: flex; align-items: center; gap: 0.45em; margin: 0 0 0.75rem; font: italic 900 1.25rem/1 var(--font-display); font-stretch: 80%; color: var(--ink); }
.foot p { max-width: 52em; }
.plainlist { list-style: none; margin: 0.5rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }   /* 栃木出身の女子選手の一覧(2026-10-26) */
.plainlist .note { margin-left: 0.25em; }
.crumbs { font-size: 0.8125rem; color: var(--ink-3); margin: 1.5rem 0 0; }
.crumbs a { color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; }
.filters button { font: 700 0.8125rem/1 var(--font-body); padding: 0.5rem 0.8rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
[hidden] { display: none !important; }
.ph { display: inline-block; }
/* 高校名・大学名のアイコン(学校のロゴは使わず、『高』『大』の札に略称を添える) */
.badge { --bc: var(--hs); display: inline-flex; align-items: center; gap: 0.35rem; font: 700 0.75rem/1 var(--font-body); padding: 0 0.55rem 0 0; border: 1px solid var(--bc); border-radius: var(--radius); color: var(--bc); background: var(--surface); text-decoration: none; white-space: nowrap; overflow: hidden; }
.badge i { font-style: normal; background: var(--bc); color: var(--surface); padding: 0.42rem 0.42rem; }
.badge.univ { --bc: var(--univ); }
.badge.el { --bc: var(--el); }
.badge.jh { --bc: var(--jh); }
.badge.jfa { --bc: var(--jfa); }
.badge-row { margin-top: 0.15rem; }
.icon-legend { line-height: 2.2; max-width: none; }
.icon-legend .badge { margin-inline: 0.1rem 0.35rem; }
a.badge:hover { outline: 1px solid var(--bc); }
/* 栃木県内の学校は大きく、県外の学校は小さく */
.school-big { font-weight: 800; font-size: 1.125rem; line-height: 1.6; }
a.school-big { color: var(--accent); }
.school-small { color: var(--ink-3); font-size: 0.8125rem; }
.alma { margin-top: 1.5rem; padding: 1rem 1.1rem; background: var(--surface-2); border-radius: var(--radius); }
.alma h2 { font-size: 1rem; margin: 0 0 0.5rem; color: var(--accent); }
.alma-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.alma-list li { display: flex; gap: 0.75rem; align-items: baseline; flex-wrap: wrap; }
.alma-list .lv { font: 600 0.8125rem/1.9 var(--font-display); color: var(--accent); min-width: 4.5rem; }
.school-tiles .tile b { font-size: 1.125rem; font-weight: 800; }
/* 選手一覧のリーグ別グループ */
.lg { margin-top: 2rem; scroll-margin-top: 7rem; }
.lg h2 .count { font: 600 0.9rem/1 var(--font-display); color: var(--ink-3); margin-left: 0.4rem; }
.lg-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.5rem 0 0; font-size: 0.875rem; }
.lg-nav a { color: var(--ink-2); text-decoration: none; border-bottom: 1px dotted var(--ink-3); }
.lg-nav a span { color: var(--ink-3); font-size: 0.75rem; }
.tab-note { margin: 1.25rem 0 0; color: var(--ink-2); font-size: 0.9375rem; max-width: 46em; }
.blk { margin-top: 2rem; }
.blk h2 { padding-bottom: 0.4rem; border-bottom: 2px solid var(--ink); }
.blk h3 { margin-top: 1.5rem; font-size: 1rem; color: var(--ink-2); }
.count { font: 600 0.9rem/1 var(--font-display); color: var(--ink-3); margin-left: 0.4rem; }
.path .yrs { font: 500 0.8125rem/1.9 var(--font-display); color: var(--ink-3); margin-right: 0.4rem; }
@media (max-width: 34rem) { .kv { grid-template-columns: 1fr; gap: 0.1rem; } .kv dd { margin-bottom: 0.6rem; } .path li { grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0.7rem; } h2 { font-size: 1.3rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 名前の後ろの背番号の札(2026-10-13、JAMさんの指示『選手の名前の後に背番号を入れたい』『白地にチームカラーで数字入れて』)。
   白地・チームカラーの数字と枠(色は札の --no-c。20_build_site.py の no_color())。大きさは名前の約1.3倍の正方形(文字は0.76倍)で、見出し・カード・NEWSの帯のどこでも同じ。
   .news-who span(後ろの規則)に負けないよう、強い指定も並べる */
.nm-no, .news-who .nm-no, .news-who.split .yfill .nm-no { display: inline-flex; align-items: center; justify-content: center; width: 1.75em; height: 1.75em; padding: 0.05em 0 0; margin-left: 0.5em;
  font: 900 0.76em/1 var(--font-display); font-stretch: 78%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; opacity: 1; white-space: nowrap; overflow: hidden;   /* 2桁が正方形に収まるよう、幅を詰めた字(Archivoの幅の軸 wdth 75〜100)にする */
  background: #FFFFFF; color: var(--no-c, #141414); border: 1.5px solid var(--no-c, #141414); border-radius: 0; vertical-align: 0.137em; }   /* 正方形・角丸なし(2026-10-13、JAMさんの『角丸をなくして』『正方形に入れられない？』) */
/* 縦の位置: 札の中心を、名前の字の中心(ink)に合わせる(2026-10-14、JAMさんの『番号が少し下がって見える』)。場所ごとに、名前の大きさと行の作りが違うので、
   測って決めた(iPhone幅393px: 札の中心と名前の字の中心の差=NEWSの帯 2.4px・見出し 2.2px・カード 0.5px・表 0.8px 下 → どこも0.3px以内)。padding-top は、数字を札の中で少し下げて中央に見せるため */
h1 .nm-no { vertical-align: 0.18em; }
td .nm-no { font-size: 0.75rem; vertical-align: 0.17em; padding-top: 0; }
.news-who .nm-no, .news-who.split .yfill .nm-no { position: relative; align-self: center; top: -0.07em; }
