/* ============================================
   アスリート名鑑（ATHLETE FILE） -  base style
   ============================================ */

:root {
  --c-accent:   #1f5eff;   /* スタジアムブルー */
  --c-accent-d: #1546c8;
  --c-sub:      #ff6b1a;   /* シグナルオレンジ */
  --c-ink:      #111a2b;   /* 文字（ネイビー） */
  --c-ink-soft: #5d6b80;
  --c-line:     #e2e8f2;
  --c-bg:       #f2f5fa;   /* うすいクールグレー */
  --c-card:     #ffffff;
  --c-red:      #e0243a;   /* 速報バッジ・注意 */
  --c-navy:     #0d1526;   /* ヘッダー・フッターの濃紺 */
  --c-navy-2:   #16243d;
  --shadow:     0 10px 28px rgba(17, 26, 43, .10);
  --radius:     12px;
  --container:  1120px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-round: var(--font);                                  /* 見出し用（太字で使います） */
  --font-num: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif; /* スコア・数字用 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }}

body {
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--c-accent); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ========== ヘッダー ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 21, 38, .94);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--c-accent);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(13, 21, 38, .22);
  background: rgba(13, 21, 38, .98);
}
.site-header .logo-text,
.site-header .global-nav a,
.site-header .search-btn { color: #fff; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
  transition: height .3s;
}
.site-header.is-scrolled .header-inner { height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { display: block; }
.logo-text {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: .02em;
}
.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 2px; }
.global-nav a {
  display: block;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
}
.global-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.global-nav .current-menu-item > a,
.global-nav .current-cat > a { background: var(--c-accent); color: #fff; }

.search-btn {
  border: none; background: none; cursor: pointer;
  color: var(--c-ink); display: flex; padding: 6px;
  border-radius: 50%;
}
.search-btn:hover { color: #9dc0ff; }

.nav-toggle { display: none; }

/* 検索バー */
.search-bar {
  border-top: 1px solid var(--c-line);
  background: #fff;
  padding: 16px 0;
}
.search-form { display: flex; gap: 8px; max-width: 620px; }
.search-form input {
  flex: 1; border: 1px solid var(--c-line); border-radius: 999px;
  padding: 12px 20px; font-size: .95rem; font-family: inherit;
  background: var(--c-bg);
}
.search-form input:focus { outline: 2px solid var(--c-sub); }
.search-form button {
  border: none; background: var(--c-accent); color: #fff;
  padding: 0 24px; border-radius: 999px; font-weight: 700; cursor: pointer;
}
.search-form button:hover { background: var(--c-accent-d); }
.cat-ico {
  width: 52px; height: 52px; display: grid; place-items: center;
  font-size: 1.6rem; border-radius: 50%;
  background: hsl(var(--h, 38) 50% 92%);
}

/* ========== レイアウト ========== */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding-bottom: 72px;
}

.block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px;
}
.block-title {
  font-family: var(--font-round); font-size: 1.4rem; font-weight: 700;
  padding-left: 14px; position: relative;
}
.block-title::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em;
  width: 5px; background: var(--c-accent); border-radius: 3px;
}
.block-more { font-size: .88rem; font-weight: 700; color: var(--c-sub); }

.article-block, .feature-block { margin-bottom: 52px; }

/* 記事カード */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--c-card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--c-line);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); transition: .25s; }
.card a { display: block; }
.card-thumb {
  display: block;
  aspect-ratio: 16/10; background: hsl(var(--h,38) 55% 85%);
  position: relative;
}
.card-thumb .tag { position: absolute; left: 10px; top: 10px; }
.card-body { padding: 16px 18px 20px; }
.card-title {
  font-size: 1.02rem; font-weight: 700; line-height: 1.5; margin-bottom: 10px;
}
.card-meta {
  display: flex; gap: 12px; font-size: .78rem; color: var(--c-ink-soft);
}
.tag {
  display: inline-block; background: var(--c-sub); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}

/* ページネーション */
.pagination { display: flex; justify-content: center; gap: 8px; }

/* ========== サイドバー ========== */
.widget {
  background: var(--c-card); border-radius: var(--radius);
  padding: 22px; margin-bottom: 24px; border: 1px solid var(--c-line);
}
.widget-title {
  font-family: var(--font-round); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px dotted var(--c-line);
}

.rank-list { counter-reset: rank; }
.rank-list li { counter-increment: rank; }
.rank-list a {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--c-line);
}
.rank-list li:last-child a { border-bottom: none; }
.rank-list a::before {
  content: counter(rank); flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-bg); color: var(--c-ink-soft);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
  font-family: var(--font-round);
}
.rank-list li:nth-child(1) a::before { background: var(--c-accent); color: #fff; }
.rank-list li:nth-child(2) a::before { background: var(--c-sub); color: #fff; }
.rank-list li:nth-child(3) a::before { background: #c98b2e; color: #fff; }
.rank-list span { font-size: .88rem; font-weight: 500; line-height: 1.5; }

.cat-list a {
  display: flex; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--c-line); font-size: .9rem; font-weight: 500;
}
.cat-list li:last-child a { border-bottom: none; }
.cat-list span { color: var(--c-ink-soft); }

/* ========== フッター ========== */
.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, .82); padding: 52px 0 0; margin-top: auto; }
.site-footer .logo-text { color: #fff; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 40px;
}
.footer-brand p { font-size: .86rem; color: rgba(255, 255, 255, .62); margin-top: 10px; max-width: 320px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-nav .footer-head { font-size: .95rem; margin-bottom: 14px; font-family: var(--font-round); }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: .86rem; }
.footer-nav .footer-head { color: #fff; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid #ded7ca; text-align: center;
  padding: 20px; font-size: .8rem; color: var(--c-ink-soft);
}

/* トップへ戻る */
.to-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--c-accent); color: #fff; font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--c-accent-d); }

/* ========== スクロール演出 ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }}

/* ========== サムネイルのイラスト・抜粋など ========== */
.card-thumb, .pick-thumb, .feature-thumb, .post-eyecatch { position: relative; overflow: hidden; }
.thumb-art { position: absolute; inset: 0; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.thumb-art svg { width: 100%; height: 100%; display: block; }
.card:hover .thumb-art,
.pick-card:hover .thumb-art,
.feature-card:hover .thumb-art { transform: scale(1.06); }
.card-title, .pick-card a:hover .pick-title { transition: color .2s; }
.card:hover .card-title { color: var(--c-accent); }
.card-thumb .tag { position: absolute; left: 10px; top: 10px; z-index: 1; }
.card-excerpt {
  font-size: .85rem; color: var(--c-ink-soft); line-height: 1.6; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tag-sub { background: #e7ecf5; color: var(--c-ink-soft); }
.empty {
  grid-column: 1 / -1; text-align: center; color: var(--c-ink-soft);
  background: var(--c-card); border: 1px dashed var(--c-line); border-radius: var(--radius); padding: 48px 20px;
}

/* ========== パンくず ========== */
/* 固定ページ（サイト情報など） */
.page-static { max-width: 820px; margin: 0 auto; padding-bottom: 72px; }
.page-static .post-title { margin-bottom: 28px; }
.sitemap-block { margin-bottom: 8px; }
.sitemap-block h2 { margin-top: 0; }
.sitemap-list { list-style: none; margin: 0 0 28px; padding: 0; }
.sitemap-list li { border-bottom: 1px dashed var(--c-line); }
.sitemap-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px; }
.sitemap-list a:hover { color: var(--c-accent); }
.sitemap-list .sitemap-cat { color: var(--c-ink-soft); font-size: .82rem; white-space: nowrap; }

.breadcrumb { padding: 16px 0; font-size: .82rem; color: var(--c-ink-soft); }
.breadcrumb .container { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span:not(:last-child) { color: var(--c-line); }

/* ========== カテゴリーヒーロー ========== */
.cat-hero {
  background: hsl(var(--h,25) 50% 94%);
  padding: 44px 0; text-align: center; margin-bottom: 8px;
}
.cat-hero .cat-ico { margin: 0 auto 14px; }
.cat-hero h1 { font-family: var(--font-round); font-size: 2rem; margin-bottom: 10px; }
.cat-hero p { max-width: 560px; margin: 0 auto; color: var(--c-ink-soft); font-size: .92rem; }

/* ========== 検索ページ ========== */
.search-hero { background: linear-gradient(135deg, #0d1526, #1b2f52); color: #fff; padding: 44px 0; margin-bottom: 8px; text-align: center; }
.search-hero .search-summary { color: rgba(255,255,255,.8); }
.search-hero .search-summary strong { color: #ffd84d; }
.search-hero h1 { font-family: var(--font-round); font-size: 1.8rem; margin-bottom: 18px; }
.search-form--lg { max-width: 640px; margin: 0 auto; }
.search-form--lg input { padding: 15px 22px; font-size: 1rem; }
.search-summary { margin-top: 16px; color: var(--c-ink-soft); font-size: .92rem; }
.search-summary strong { color: var(--c-accent-d); }

/* ========== 記事本文 ========== */
.post { background: var(--c-card); border-radius: var(--radius); padding: 40px; border: 1px solid var(--c-line); }
.post-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.post-title { font-family: var(--font-round); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.5; margin-bottom: 14px; }
.post-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--c-ink-soft); }
.post-eyecatch { aspect-ratio: 16/8; border-radius: var(--radius); background: hsl(var(--h,38) 55% 85%); margin: 24px 0 32px; }
/* 写真のアイキャッチは切り取らず、画像全体を表示する */
.post-eyecatch.has-photo { aspect-ratio: auto; background: none; }
.post-eyecatch.has-photo .sn-thumb-img {
  position: static; width: 100%; height: auto; object-fit: contain;
  border-radius: var(--radius); transform: none;
}

.post-body { font-size: 1.02rem; }
.post-body .lead { font-size: 1.08rem; font-weight: 500; background: var(--c-bg); padding: 20px; border-radius: 12px; margin-bottom: 32px; }
.post-body { counter-reset: sn-head; }
.post-body h2 {
  font-family: var(--font-round); font-size: 1.4rem; margin: 40px 0 18px;
  padding-bottom: 12px; border-bottom: 3px solid var(--c-line); position: relative;
}
.post-body h2::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 80px; height: 3px; background: var(--c-accent); }
.post-body h3 {
  font-family: var(--font-round); font-size: 1.15rem;
  margin: 32px 0 14px; padding-left: 12px;
  border-left: 4px solid var(--c-sub);
}
.post-body h4 {
  font-family: var(--font-round); font-size: 1.02rem;
  margin: 24px 0 10px; color: var(--c-ink);
}
.post-body p { margin-bottom: 20px; }
.post-body h2 + p { margin-top: 0; }
.post-body h3 + p, .post-body h4 + p { margin-top: 0; }

/* ========== レスポンシブ ========== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .layout { grid-template-columns: 1fr; gap: 40px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-card a { grid-template-columns: 1fr; }
  .feature-thumb { min-height: 180px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .post { padding: 22px; }
  .post-body .lead { padding: 16px; }}

/* ============================================================
   記事内の装飾パーツ（マーカー・ボックス・吹き出し・リスト・表など）は
   assets/decorations.css に移しました。
   編集画面とフロントで同じファイルを読み込むことで、
   「書いているときの見た目」と「公開後の見た目」を一致させています。
   ============================================================ */

/* 著者情報ボックス */
.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--c-bg); border: 1.5px solid var(--c-line);
  border-radius: var(--radius); padding: 20px; margin-top: 32px;
}
.author-avatar {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  overflow: hidden; background: #e7eeff; border: 1.5px solid #b9cdff;
  display: grid; place-items: center; font-size: 30px;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-label { font-size: .75rem; color: var(--c-ink-soft); margin: 0; }
.author-name { font-family: var(--font-round); font-weight: 700; margin: 2px 0 6px; }
.author-bio { font-size: .88rem; color: var(--c-ink-soft); line-height: 1.7; margin: 0; }

/* ヘッダー常時表示の検索ボックス（PC）
   幅は「残りスペース」に自動でフィットします */
.header-search { margin-left: 4px; flex: 1 1 130px; min-width: 110px; max-width: 220px; }
.header-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 9px 14px 9px 34px;
  font-size: .86rem;
  font-family: inherit;
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="%23b9c6da" stroke-width="2"><circle cx="11" cy="11" r="7"/><line x1="21" y1="21" x2="16.5" y2="16.5"/></svg>') 12px center no-repeat;
}
.header-search input:focus { outline: 2px solid var(--c-accent); }
.header-search input::placeholder { color: #9aa8bd; }

/* PCでは検索ボックス、狭い画面ではアイコン開閉に切り替え */
@media (min-width: 1100px) {
  .search-btn { display: none; }
  .global-nav a { padding: 8px 8px; font-size: .86rem; }
  .logo-text { font-size: 1.15rem; }
}
@media (max-width: 1099px) {
  .header-search { display: none; }}

/* ============================================================
   WordPress 用の追加調整
   ============================================================ */

/* アイキャッチ画像（あれば写真、無ければSVGサムネ） */
.sn-thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.card:hover .sn-thumb-img,
.pick-card:hover .sn-thumb-img,
.feature-card:hover .sn-thumb-img { transform: scale(1.06); }

/* カスタムロゴ */
.custom-logo { width: 36px; height: 36px; display: block; border-radius: 8px; }

/* WordPress 標準のページネーション（paginate_links type=list）を独自デザインに合わせる */
.pagination ul.page-numbers { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--c-line); background: #fff;
  font-weight: 700; padding-inline: 12px; font-family: var(--font-round);
}
.pagination a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pagination .page-numbers.current { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.pagination .page-numbers.dots { border: none; background: transparent; }

/* 投稿本文（ブロックエディタ）の体裁 */
.post-body img { border-radius: 12px; height: auto; margin: 8px 0; }
.post-body ul:not([class*="-list"]),
.post-body ol:not([class*="-list"]) { margin: 0 0 20px 1.4em; }
.post-body ul:not([class*="-list"]) { list-style: disc; }
.post-body ol:not([class*="-list"]) { list-style: decimal; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--c-accent-d); text-decoration: underline; }
.post-body blockquote {
  margin: 24px 0; padding: 16px 22px; background: var(--c-bg);
  border-left: 5px solid var(--c-sub); border-radius: 0 12px 12px 0; color: var(--c-ink-soft);
}
/* ---------- SNSの埋め込み（X・Instagram） ---------- */
.sn-embed { margin: 28px 0; display: flex; justify-content: center; }
.sn-embed blockquote {
  margin: 0 auto; padding: 0; background: none;
  border: 0; border-radius: 0; color: inherit;
}
.sn-embed .instagram-media { min-width: 0 !important; }
.sn-embed iframe { max-width: 100% !important; }

.post-body .wp-block-image { margin: 24px 0; }
.post-body figcaption { font-size: .82rem; color: var(--c-ink-soft); text-align: center; margin-top: 6px; }

/* 検索フォームのボタン内アイコン崩れ防止 */
.search-form button { white-space: nowrap; }

/* 管理バー表示時にヘッダーが隠れないように */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; }}

/* ============================================================
   v1.8.0 追加分
   ============================================================ */

/* ---------- アクセシビリティ ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important;
  top: 8px; left: 8px;
  width: auto; height: auto;
  clip: auto; clip-path: none;
  z-index: 200;
  padding: 10px 18px;
  background: var(--c-card); color: var(--c-ink);
  border-radius: 10px; box-shadow: var(--shadow);
}
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* 追従ヘッダーの下に見出しが隠れないように（目次からのジャンプ用） */
.post-body h2, .post-body h3, .post-body h4 { scroll-margin-top: 90px; }
#comments, .related { scroll-margin-top: 90px; }

/* ---------- 目次 ---------- */
.sn-toc {
  margin: 8px 0 36px;
  padding: 20px 24px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius);
}
.sn-toc-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-round); font-weight: 700; font-size: 1.05rem;
  margin: 0 0 12px;
}
.sn-toc-title::before { content: "📑"; margin-right: 6px; }
.sn-toc-toggle {
  font: inherit; font-size: .78rem; font-weight: 500;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink-soft);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.sn-toc-toggle:hover { border-color: var(--c-accent); color: var(--c-accent); }
.sn-toc-list { counter-reset: toc; margin: 0; padding: 0; list-style: none; }
.sn-toc.is-closed .sn-toc-list { display: none; }
.sn-toc-list li { margin: 0; line-height: 1.7; }
.sn-toc-list a {
  display: block; padding: 6px 0 6px 30px; position: relative;
  font-size: .92rem; color: var(--c-ink); text-decoration: none;
}
.sn-toc-list a:hover { color: var(--c-accent); }
.sn-toc-list .toc-lv2 { counter-increment: toc; }
.sn-toc-list .toc-lv2 > a { font-weight: 700; }
.sn-toc-list .toc-lv2 > a::before {
  content: counter(toc);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sn-toc-list .toc-lv3 > a { padding-left: 52px; font-size: .86rem; color: var(--c-ink-soft); }
.sn-toc-list .toc-lv3 > a::before {
  content: ""; position: absolute; left: 32px; top: 50%;
  width: 10px; height: 1px; background: var(--c-line);
}

/* ---------- 本文：表・キャプション・配置 ---------- */
.post-body figure { margin: 24px 0; }
.post-body .wp-block-image figcaption,
.post-body figure figcaption { font-size: .82rem; color: var(--c-ink-soft); text-align: center; margin-top: 8px; }
.post-body .aligncenter, .post-body .wp-block-image.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.post-body .alignleft  { float: left;  margin: 8px 24px 16px 0; max-width: 50%; }
.post-body .alignright { float: right; margin: 8px 0 16px 24px; max-width: 50%; }
.post-body .alignwide, .post-body .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.post-body .wp-block-separator { border: none; border-top: 2px dashed var(--c-line); margin: 40px auto; max-width: 200px; }
.post-body .wp-block-embed,
.post-body .wp-block-embed__wrapper { margin: 24px 0; }
.post-body .wp-block-buttons { margin: 24px 0; }
.post-body .wp-block-button__link { border-radius: 999px; background: var(--c-accent); }
.post-body .wp-block-code, .post-body pre {
  background: #f4f0e9; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 16px 18px; overflow-x: auto; font-size: .86rem; margin: 24px 0;
}
@media (max-width: 900px) {
  .post-body .alignwide, .post-body .alignfull { margin-left: 0; margin-right: 0; max-width: 100%; }
  .post-body .alignleft, .post-body .alignright { float: none; margin: 24px 0; max-width: 100%; }}

/* ---------- 記事メタ・タグ ---------- */
.post-meta { flex-wrap: wrap; }
a.tag { text-decoration: none; }
a.tag:hover { opacity: .85; color: #fff; }
.tag-accent { background: var(--c-accent); color: #fff; }

/* ---------- 前後の記事 ---------- */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px;
}
.post-nav-item {
  display: block; padding: 16px 20px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.post-nav-item:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.post-nav-next { grid-column: 2; text-align: right; }
.post-nav-label { display: block; font-size: .76rem; color: var(--c-ink-soft); margin-bottom: 6px; }
.post-nav-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .9rem; font-weight: 700; line-height: 1.6;
}
@media (max-width: 600px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { grid-column: 1; text-align: left; }}

/* ---------- コメント ---------- */
.comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.comment-list, .comment-list .children { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list .children { margin-left: 24px; padding-left: 20px; border-left: 2px solid var(--c-line); }
.comment-list .comment-body {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 16px;
}
.comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
.comment-list .comment-author img { border-radius: 50%; }
.comment-list .comment-metadata { font-size: .76rem; color: var(--c-ink-soft); margin: 4px 0 10px; }
.comment-list .comment-content { font-size: .94rem; }
.comment-list .reply { font-size: .82rem; margin-top: 8px; }
.comment-list .reply a { color: var(--c-accent-d); font-weight: 700; }
.comment-respond { background: var(--c-bg); border: 1.5px solid var(--c-line); border-radius: var(--radius); padding: 24px; }
.comment-respond .comment-reply-title { font-family: var(--font-round); font-size: 1.15rem; margin-bottom: 8px; }
.comment-notes, .comment-form-cookies-consent label { font-size: .8rem; color: var(--c-ink-soft); }
.comment-form label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; font: inherit; font-size: .92rem;
  padding: 10px 14px; margin-bottom: 16px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: 10px;
}
.comment-form textarea { resize: vertical; }
.comment-form .comment-submit,
.comment-form input[type="submit"] {
  font: inherit; font-weight: 700; cursor: pointer;
  padding: 12px 32px; border: none; border-radius: 999px;
  background: var(--c-accent); color: #fff;
  transition: opacity .2s;
}
.comment-form .comment-submit:hover,
.comment-form input[type="submit"]:hover { opacity: .85; }

/* ---------- 404 ---------- */
.error-code {
  font-family: var(--font-round); font-weight: 700;
  font-size: 3.4rem; line-height: 1; color: var(--c-accent); opacity: .5;
  margin-bottom: 4px;
}
.cat-list--wide { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }

/* ---------- アーカイブ ---------- */
.archive-paged { font-size: .84rem; color: var(--c-ink-soft); margin-top: 6px; }
.block-title { font-weight: 900; }
.block-title::before { border-radius: 0; width: 6px; }

/* ---------- ピックアップ（注目記事） ---------- */
.pickup { padding: 44px 0 8px; }

/* ---------- カード ---------- */
.card { border: 1px solid var(--c-line); }
.card-title { font-weight: 700; }
.tag { border-radius: 3px; font-weight: 700; letter-spacing: .02em; }
.card-meta time { font-family: var(--font-num); font-size: .85rem; letter-spacing: .04em; }

/* ---------- サイドバーのランキング ---------- */
.rank-list a::before {
  font-family: var(--font-num); font-weight: 700; font-size: .95rem;
  border-radius: 3px;
}
.widget-title { font-weight: 900; }

/* ---------- 記事ページ ---------- */
.post-title { font-weight: 900; }
.post-meta time { font-family: var(--font-num); font-size: .9rem; letter-spacing: .04em; }
.cat-hero h1 { font-weight: 900; }
.search-hero h1 { font-weight: 900; }

/* ---------- 数字の強調（本文中でも使えます） ---------- */
.num { font-family: var(--font-num); font-weight: 700; font-size: 1.15em; letter-spacing: .02em; }

/* ---------- シェアボタン ---------- */
.post-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-line);
}
.post-share > span { font-size: .85rem; font-weight: 700; color: var(--c-ink-soft); margin-right: 2px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 84px; padding: 9px 16px; border-radius: 4px;
  font-size: .82rem; font-weight: 700; color: #fff; background: var(--c-navy);
}
.share-btn:hover { color: #fff; opacity: .85; }
.post-share a:nth-of-type(2) { background: #1877f2; }
.post-share a:nth-of-type(3) { background: #06c755; }
.post-share a:nth-of-type(4) { background: #00a4de; }

/* 一覧ページの「競技で絞る」チップ */
.news-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 18px;
}
.news-filter-label { font-size: .74rem; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.news-filter a {
  font-size: .8rem; color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; padding: 5px 13px;
}
.news-filter a:hover { background: #fff; color: var(--c-navy); }

/* ============================================================
   総合スポーツメディア構成（カルーセル・一覧）
   ============================================================ */

/* ---------- ヘッダーナビ（日本語＋英語の2段表記） ---------- */
.global-nav a { text-align: center; line-height: 1.25; padding: 6px 10px; }
.nav-ja { display: block; font-size: .86rem; font-weight: 700; }
.nav-en {
  display: block; font-family: var(--font-num); font-weight: 600;
  font-size: .58rem; letter-spacing: .12em; color: rgba(255, 255, 255, .5);
}
.global-nav a:hover .nav-en { color: rgba(255, 255, 255, .8); }

/* ---------- トップの全幅レイアウト ---------- */
.front { padding: 44px 0 8px; }
.block { margin-bottom: 56px; }
.block-en {
  display: block; font-family: var(--font-num); font-weight: 600;
  font-size: .76rem; letter-spacing: .18em; color: var(--c-accent);
  margin-bottom: 1px;
}
.block-head { align-items: flex-end; }

/* ---------- 今週の人気記事ランキング ---------- */
.rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rank-item {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.rank-item > a {
  display: grid; grid-template-columns: 148px 1fr; gap: 16px;
  padding: 14px; transition: background .2s;
}
.rank-item > a:hover { background: #f6f9ff; color: inherit; }
.rank-thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 6px;
  background: hsl(var(--h, 220) 55% 85%);
}
.rank-item:hover .sn-thumb-img, .rank-item:hover .thumb-art { transform: scale(1.05); }
.rank-num {
  position: absolute; left: 0; top: 0; z-index: 2;
  min-width: 32px; height: 30px; padding: 0 8px;
  display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 700; font-size: 1rem; line-height: 1;
  background: var(--c-navy); color: #fff; border-radius: 6px 0 8px 0;
}
.rank-item:nth-child(1) .rank-num { background: #c9a227; }
.rank-item:nth-child(2) .rank-num { background: #9aa6b4; }
.rank-item:nth-child(3) .rank-num { background: #b5793a; }
.rank-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.rank-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rank-title {
  display: block; font-size: .98rem; font-weight: 700; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.rank-item > a:hover .rank-title { color: var(--c-accent); }
.rank-date {
  display: block; margin-top: 8px;
  font-family: var(--font-num); font-size: .82rem; letter-spacing: .04em;
  color: var(--c-ink-soft);
}
/* 1位だけ横幅いっぱいで大きく */
.rank-item:nth-child(1) { grid-column: 1 / -1; }
.rank-item:nth-child(1) > a { grid-template-columns: 300px 1fr; gap: 24px; padding: 18px; }
.rank-item:nth-child(1) .rank-title { font-size: 1.22rem; -webkit-line-clamp: 2; }
.rank-item:nth-child(1) .rank-num { min-width: 40px; height: 36px; font-size: 1.2rem; }

@media (max-width: 900px) {
  .rank-grid { grid-template-columns: 1fr; }
  .rank-item:nth-child(1) > a { grid-template-columns: 148px 1fr; gap: 16px; padding: 14px; }
  .rank-item:nth-child(1) .rank-title { font-size: 1rem; -webkit-line-clamp: 3; }
  .rank-item:nth-child(1) .rank-num { min-width: 32px; height: 30px; font-size: 1rem; }
}
@media (max-width: 520px) {
  .rank-item > a, .rank-item:nth-child(1) > a { grid-template-columns: 110px 1fr; gap: 12px; }
  .rank-title, .rank-item:nth-child(1) .rank-title { font-size: .92rem; }
}

/* ---------- 記事の一覧（行） ---------- */
.row-list {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.row-item + .row-item { border-top: 1px solid var(--c-line); }
.row-item > a {
  display: grid; grid-template-columns: 184px 1fr; gap: 20px;
  padding: 16px 20px; transition: background .2s;
}
.row-item > a:hover { background: #f6f9ff; color: inherit; }
.row-thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 6px;
  background: hsl(var(--h, 220) 55% 85%);
}
.row-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.row-title { display: block; font-size: 1rem; font-weight: 700; line-height: 1.6; }
.row-item > a:hover .row-title { color: var(--c-accent); }
.row-date {
  display: block; margin-top: 8px;
  font-family: var(--font-num); font-size: .84rem; letter-spacing: .04em;
  color: var(--c-ink-soft);
}
.row-item:hover .sn-thumb-img, .row-item:hover .thumb-art { transform: scale(1.05); }

.tag-type { background: var(--c-navy); color: #fff; }

@media (max-width: 640px) {
  .row-item > a { grid-template-columns: 116px 1fr; gap: 14px; padding: 14px 16px; }
  .row-title { font-size: .92rem; }
  .row-tags { margin-bottom: 6px; }}

/* ---------- 記事の種類の一覧ページ ---------- */
.type-hero {
  background: linear-gradient(120deg, #0d1526 0%, #1b2f52 100%);
  color: #fff; padding: 40px 0 36px; margin-bottom: 8px;
}
.type-hero-en {
  font-family: var(--font-num); font-weight: 600;
  font-size: .8rem; letter-spacing: .2em; color: #8fb2ff; margin-bottom: 4px;
}
.type-hero h1 { font-size: 1.9rem; font-weight: 900; margin-bottom: 10px; }
.type-hero-lead { font-size: .92rem; color: rgba(255, 255, 255, .78); max-width: 620px; }

/* ---------- フッター（3列） ---------- */
.footer-nav { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }}

/* ---------- サブバーの中身 ---------- */
.type-nav { flex: 0 0 auto; }
.type-nav ul { display: flex; gap: 2px; }
.type-nav a {
  display: block; padding: 5px 12px; border-radius: 3px;
  font-size: .82rem; font-weight: 700; color: #fff; white-space: nowrap;
}
.type-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* PCでは、ハンバーガーメニュー用の「記事の種類」項目を隠す */
@media (min-width: 901px) {
  .global-nav .nav-type,
  .global-nav .nav-type-head,
  .global-nav .nav-sep { display: none; }
}
/* スマホではサブバーを隠す（ハンバーガーメニューに入っているため） */
@media (max-width: 900px) {
  .subbar { display: none; }
}
.nav-type-head {
  padding: 12px 14px 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: rgba(255, 255, 255, .45);
}

/* ---------- 900px以下はハンバーガーメニューに切り替える ----------
   競技名が長いため、PC用の横並びナビは900pxで限界になります */
@media (max-width: 900px) {
  .global-nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--c-navy);
    border-bottom: 1px solid rgba(255, 255, 255, .12); margin: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s; box-shadow: var(--shadow);
  }
  .global-nav.is-open { max-height: 76vh; overflow-y: auto; }
  .global-nav ul { flex-direction: column; padding: 8px; gap: 0; }
  .global-nav a {
    display: flex; align-items: baseline; gap: 10px; text-align: left;
    padding: 13px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff;
  }
  .global-nav .nav-ja { font-size: .95rem; }
  .global-nav .nav-en { font-size: .62rem; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span {
    width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- 著者ボックス（この記事を書いた人） ---------- */
.author-avatar.is-logo { background: #fff; border-color: var(--c-line); }
.author-avatar.is-logo img { object-fit: contain; padding: 12px; border-radius: 0; }

/* ============================================================
   アスリート名鑑（選手カード・選手ページ）
   ============================================================ */

/* ---------- 一覧ページの見出し ---------- */
.ath-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(31, 94, 255, .18) 0%, transparent 46%),
    linear-gradient(120deg, #0d1526 0%, #1b2f52 100%);
  color: #fff; padding: 42px 0 36px; margin-bottom: 8px;
}
.ath-hero-en {
  font-family: var(--font-num); font-weight: 600;
  font-size: .8rem; letter-spacing: .2em; color: #8fb2ff; margin-bottom: 4px;
}
.ath-hero h1 { font-size: 1.95rem; font-weight: 900; margin-bottom: 10px; }
.ath-hero-lead { font-size: .92rem; color: rgba(255, 255, 255, .78); max-width: 640px; }

/* ---------- 選手検索 ---------- */
.ath-search { display: flex; gap: 8px; margin-top: 20px; max-width: 540px; }
.ath-search input[type="search"] {
  flex: 1; min-width: 0;
  border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px;
  padding: 12px 22px; font-size: .95rem; font-family: inherit;
  background: rgba(255, 255, 255, .1); color: #fff;
}
.ath-search input::placeholder { color: #9aa8bd; }
.ath-search input:focus { outline: 2px solid var(--c-accent); }
.ath-search button {
  border: none; background: var(--c-accent); color: #fff;
  padding: 0 26px; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.ath-search button:hover { background: var(--c-accent-d); }

/* ---------- 絞り込み ---------- */
.ath-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 18px;
}
.ath-filter-label {
  font-size: .74rem; letter-spacing: .1em; color: rgba(255, 255, 255, .55);
  margin-right: 2px; flex: 0 0 auto;
}
.ath-filter a {
  font-size: .8rem; color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; padding: 5px 13px;
}
.ath-filter a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.ath-filter a.is-current { background: #fff; color: var(--c-navy); border-color: #fff; font-weight: 700; }
.ath-kana a { min-width: 38px; text-align: center; }

/* ---------- 選手カード（サムネイル＋タイトル） ---------- */
.ath-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 22px;
  margin-bottom: 28px;
}
.ath-card { background: none; border: none; border-radius: 0; overflow: visible; }
.ath-card:hover { box-shadow: none; transform: none; }
.ath-card > a { display: block; }
.ath-photo {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 8px;
  background: hsl(var(--h, 220) 55% 88%);
}
.ath-noimg {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.4rem; opacity: .55;
}
.ath-card:hover .sn-thumb-img { transform: scale(1.05); }
.ath-body { display: block; padding: 12px 2px 0; }
.ath-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .98rem; font-weight: 700; line-height: 1.55;
}
.ath-card > a:hover .ath-title { color: var(--c-accent); }
.ath-cat {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .8rem; color: var(--c-ink-soft); margin-top: 8px; line-height: 1.5;
}
.ath-date {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-num); font-size: .85rem; letter-spacing: .04em;
  color: var(--c-ink-soft); margin-top: 8px;
}
.ath-date::before {
  content: ""; width: 13px; height: 13px; flex: 0 0 13px;
  border: 1.5px solid currentColor; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/1.5px 4px no-repeat,
    linear-gradient(currentColor, currentColor) center/4px 1.5px no-repeat;
  background-position: center 2.5px, 6px center;
}

@media (max-width: 900px) { .ath-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; }}
@media (max-width: 640px) { .ath-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } .ath-title { font-size: .9rem; }}

/* ---------- 選手ページ ---------- */
.ath-profile {
  background: linear-gradient(120deg, #0d1526 0%, #1b2f52 100%);
  color: #fff; padding: 36px 0;
}
.ath-profile-inner { display: flex; align-items: center; gap: 32px; }
.ath-profile-photo {
  position: relative; flex: 0 0 210px; width: 210px; aspect-ratio: 3 / 4;
  border-radius: 12px; overflow: hidden;
  background: hsl(var(--h, 220) 45% 70%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}
.ath-profile-cat { display: inline-block; margin-bottom: 12px; }
.ath-profile-kana { font-size: .82rem; color: #8fb2ff; letter-spacing: .08em; margin: 0 0 2px; }
.ath-profile-name { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 900; line-height: 1.3; margin: 0 0 12px; }
.ath-profile-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .92rem; color: rgba(255, 255, 255, .85); margin: 0; }
.ath-profile-meta .ath-number { font-family: var(--font-num); font-weight: 700; font-size: 1.1rem; color: var(--c-sub); }
.ath-profile-lead { margin: 14px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .72); line-height: 1.8; max-width: 620px; }

.ath-single .layout { padding-top: 36px; }
.ath-block { margin-bottom: 40px; }
.ath-block .block-title { margin-bottom: 16px; }
.ath-sns { margin: 0 0 24px; }
.ath-sns a { font-weight: 700; color: var(--c-accent-d); text-decoration: underline; text-underline-offset: 3px; }
.ath-note { font-size: .8rem; color: var(--c-ink-soft); border-top: 1px solid var(--c-line); padding-top: 14px; margin-bottom: 36px; }
.ath-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .ath-profile-inner { gap: 22px; }
  .ath-profile-photo { flex-basis: 150px; width: 150px; }
  .ath-grid--4 { grid-template-columns: repeat(3, 1fr); }}
@media (max-width: 640px) {
  .ath-profile-inner { flex-direction: column; align-items: flex-start; }
  .ath-profile-photo { flex-basis: auto; width: 160px; }
  .ath-grid--4 { grid-template-columns: repeat(2, 1fr); }}

/* 選手ページの基本データは、値を左そろえにして読みやすくする */
.ath-single .is-style-sn-table-comp td:not(:first-child),
.ath-single .is-style-sn-table-comp th:not(:first-child) { text-align: left; }

/* ============================================================
   トップページのレイアウト刷新（名鑑サイト型）
   白を基調に、セクションごとに背景を切り替えて区切ります
   ============================================================ */

/* ---------- セクションの帯 ---------- */
.band { padding: 60px 0; }
.band--white { background: #fff; }
.band--tint { background: var(--c-bg); }
.band:last-of-type { padding-bottom: 72px; }

/* ---------- 中央寄せのセクション見出し ---------- */
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-en {
  display: block; font-family: var(--font-num); font-weight: 600;
  font-size: .8rem; letter-spacing: .2em; color: var(--c-accent); margin-bottom: 6px;
}
.sec-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.4; }
.sec-lead { margin-top: 10px; font-size: .92rem; color: var(--c-ink-soft); }

/* ---------- ファーストビュー（写真＋大見出し＋検索パネル） ---------- */
.hero-fv { position: relative; }
.hero-fv-bg {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background: var(--c-navy) center/cover no-repeat;
  overflow: hidden;
}
.hero-fv-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 28, .30) 0%, rgba(8, 14, 28, .52) 55%, rgba(8, 14, 28, .70) 100%);
}
.hero-fv-copy { position: relative; z-index: 1; padding: 64px 20px 96px; max-width: 900px; }
.hero-fv-sub {
  display: inline-block; background: var(--c-accent); color: #fff;
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  padding: 6px 18px; border-radius: 999px; margin-bottom: 18px;
}
.hero-fv-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.32;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 6px 30px rgba(0, 0, 0, .6);
}
.hero-fv-title .accent { color: #7fa6ff; }

/* 検索パネル（ヒーローに重ねる） */
.find-panel {
  position: relative; z-index: 2;
  max-width: 980px; margin: -56px auto 0;
  background: #fff; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(17, 26, 43, .18);
  padding: 26px 30px;
}
.find-row { display: flex; align-items: center; gap: 14px; }
.find-row + .find-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.find-label { flex: 0 0 150px; font-weight: 900; font-size: .95rem; }
.find-label small { display: block; font-weight: 500; font-size: .72rem; color: var(--c-ink-soft); letter-spacing: .04em; }
.find-row select,
.find-row input[type="search"] {
  flex: 1; min-width: 0;
  border: 1px solid var(--c-line); border-radius: 6px;
  padding: 13px 16px; font-size: .95rem; font-family: inherit;
  background: #f8fafd; color: var(--c-ink);
}
.find-row select:focus, .find-row input:focus { outline: 2px solid var(--c-accent); }
.find-btn {
  flex: 0 0 auto; border: none; cursor: pointer; font-family: inherit;
  background: var(--c-sub); color: #fff; font-weight: 700;
  padding: 13px 34px; border-radius: 6px; font-size: .95rem;
}
.find-btn:hover { background: #e85d10; }

@media (max-width: 760px) {
  .hero-fv-bg { min-height: 320px; }
  .hero-fv-copy { padding: 44px 20px 80px; }
  .find-panel { margin-top: -48px; padding: 20px 18px; border-radius: 12px; }
  .find-row { flex-wrap: wrap; gap: 10px; }
  .find-label { flex: 0 0 100%; }
  .find-row select, .find-row input[type="search"] { flex: 1 1 100%; }
  .find-btn { flex: 1 1 100%; padding: 13px; }}

/* ---------- 写真タイル（人気の探し方） ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 10px;
  background: hsl(var(--h, 220) 55% 85%);
}
.tile .thumb-art { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tile:hover .thumb-art { transform: scale(1.08); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 28, .18) 0%, rgba(8, 14, 28, .66) 100%);
}
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px 16px; color: #fff; font-weight: 900; font-size: 1rem; line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
.tile-label small { display: block; font-weight: 500; font-size: .74rem; opacity: .85; margin-top: 2px; }
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(3, 1fr); }}
@media (max-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .tile-label { font-size: .88rem; padding: 10px 12px; }}

/* ---------- 帯の中では、ブロックの下余白を詰める ---------- */
.band .block { margin-bottom: 0; }
.band .row-list, .band .ath-grid { margin-bottom: 0; }

/* ---------- ヘッダーの「選手名鑑」を目立たせる ---------- */
.global-nav .nav-athlete > a {
  background: var(--c-accent);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  border-radius: 999px;
  padding: 8px 18px;
  margin-right: 6px;
}
.global-nav .nav-athlete > a:hover { background: var(--c-accent-d); color: #fff; }
@media (max-width: 900px) {
  .global-nav .nav-athlete > a {
    border-radius: 0; margin-right: 0; padding: 13px 14px;
    background: none; font-size: .95rem;
  }
  .global-nav .nav-athlete > a:hover { background: rgba(255, 255, 255, .1); }}

/* 中くらいの画面では、競技ナビの英語表記を省いて幅を確保する */
@media (min-width: 901px) and (max-width: 1199px) {
  .global-nav .nav-en { display: none; }
  .global-nav a { padding: 8px 7px; }
  .global-nav .nav-ja { font-size: .82rem; }
  .global-nav .nav-athlete > a { padding: 7px 14px; font-size: .82rem; }
}
/* ハンバーガーに切り替わる直前の幅は、さらに詰める */
@media (min-width: 901px) and (max-width: 999px) {
  .global-nav ul { gap: 0; }
  .global-nav a { padding: 8px 5px; }
  .global-nav .nav-ja { font-size: .76rem; }
  .global-nav .nav-athlete > a { padding: 6px 11px; font-size: .78rem; margin-right: 2px; }
}

/* ---------- フッターのブランド ---------- */
.footer-brand { max-width: 360px; }
.footer-logo { display: inline-flex; align-items: center; gap: 13px; }
.footer-logo:hover { opacity: .85; }
.footer-logo-mark { width: 46px; height: 46px; border-radius: 12px; display: block; }
.footer-logo-text { display: block; line-height: 1.15; }
.footer-logo-text .logo-text { display: block; font-size: 1.2rem; font-weight: 900; letter-spacing: .02em; }
.footer-logo-en {
  display: block; margin-top: 4px;
  font-family: var(--font-num); font-weight: 600;
  font-size: .7rem; letter-spacing: .24em; color: #7fa6ff;
}
.footer-rule {
  display: block; width: 58px; height: 3px; border-radius: 3px;
  margin: 20px 0 14px;
  background: linear-gradient(90deg, var(--c-sub) 0%, var(--c-accent) 100%);
}
.footer-desc { font-size: .84rem; color: rgba(255, 255, 255, .6); line-height: 1.95; margin: 0; }