/* トレカ流通・鑑定レポート — グレーディング・スラブ デザイン */
:root {
  --bg: #f2f3f8;
  --surface: #ffffff;
  --ink: #151832;
  --muted: #565a75;
  --accent: #5a48f5;
  --accent-ink: #4331d6;
  --accent-2: #10a99b;
  --accent-2-ink: #0a7a70;
  --accent-pale: #ecebff;
  --teal-pale: #e2f6f3;
  --line: #d9dbe8;
  --night: #151832;
  --night-2: #1f2347;
  --holo: conic-gradient(from 20deg, #ff7ab6, #ffd166, #5ee6d0, #7aa2ff, #ff7ab6);
  --holo-line: linear-gradient(90deg, #ff7ab6, #ffd166, #5ee6d0, #7aa2ff, #ff7ab6);
  --font-head: "Murecho", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.95;
  -webkit-text-size-adjust: 100%;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; }

a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, .hero-title, .page-title, .card-title {
  font-family: var(--font-head);
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ink);
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.mono { font-family: var(--font-mono); font-weight: 500; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--holo-line);
  opacity: .85;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { display: block; flex: none; line-height: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text small {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s, top .2s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.global-nav a:hover { background: var(--accent-pale); color: var(--accent-ink); }
.global-nav a.is-compare { color: var(--accent-2-ink); }
.global-nav a[aria-current="page"] {
  background: var(--night);
  color: #fff;
}

@media (max-width: 1279px) {
  .menu-toggle { display: block; }
  .global-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(88vw, 340px);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 16px;
    overflow-y: auto;
    background: var(--surface);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .global-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .25s ease, visibility 0s;
  }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .global-nav a { padding: 13px 14px; font-size: .96rem; border: 1px solid transparent; }
  .global-nav a.is-compare::after {
    content: "比較表";
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 99px;
    background: var(--teal-pale);
    color: var(--accent-2-ink);
    font-size: .68rem;
  }
}

/* ---------- ヒーロー（グレーディング・スラブ） ---------- */
.hero-block {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}
.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-block::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 72, 245, .45), transparent 65%);
  pointer-events: none;
}

.tombo {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 1;
}
.tombo::before, .tombo::after { content: ""; position: absolute; background: rgba(255, 255, 255, .55); }
.tombo::before { width: 26px; height: 1px; }
.tombo::after { width: 1px; height: 26px; }
.tombo.tl { left: 18px; top: 18px; }
.tombo.tr { right: 18px; top: 18px; }
.tombo.tr::before { right: 0; }
.tombo.tr::after { right: 0; }
.tombo.bl { left: 18px; bottom: 18px; }
.tombo.bl::before { bottom: 0; }
.tombo.bl::after { bottom: 0; }
.tombo.br { right: 18px; bottom: 18px; }
.tombo.br::before { right: 0; bottom: 0; }
.tombo.br::after { right: 0; bottom: 0; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 76px;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: #8fe9dc;
}

.hero-copy h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(1.9rem, 3.9vw, 3.4rem);
  font-weight: 800;
  line-height: 1.38;
}
.hero-lead {
  margin: 0 0 26px;
  max-width: 34em;
  color: #c9cce6;
  font-size: 1rem;
  line-height: 1.95;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.btn:hover { background: #7566ff; border-color: #7566ff; color: #fff; }
.btn.is-outline { background: transparent; border-color: #fff; color: #fff; }
.btn.is-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* スラブケース */
.slab {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.slab-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--night);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.slab-label b { color: var(--accent-ink); font-weight: 500; }
.holo-edge {
  padding: 3px;
  border-radius: 12px;
  background: var(--holo);
  animation: holo-turn 14s linear infinite;
}
.slab-card {
  display: block;
  width: 100%;
  aspect-ratio: 63 / 88;
  object-fit: cover;
  border-radius: 10px;
  background: var(--night-2);
}
@keyframes holo-turn {
  to { filter: hue-rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .holo-edge { animation: none; }
  html { scroll-behavior: auto; }
}

.hero-compact .hero-inner {
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 40px;
  padding: 44px 24px 48px;
}
.hero-compact .hero-copy h1 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.hero-compact .hero-lead { margin-bottom: 0; font-size: .95rem; }
.hero-compact .slab { max-width: 170px; padding: 6px; border-radius: 14px; }
.hero-compact .slab-label { margin-bottom: 6px; padding: 4px 8px; font-size: .56rem; }
.hero-compact .holo-edge { padding: 2px; border-radius: 9px; }
.hero-compact .slab-card { border-radius: 7px; }
.hero-compact .tombo { display: none; }

@media (max-width: 860px) {
  .hero-inner, .hero-compact .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 44px 20px 52px;
  }
  .hero-inner .slab { order: 2; max-width: 220px; }
  .hero-compact .slab { max-width: 130px; }
  .hero-compact .hero-inner { gap: 24px; padding: 34px 20px 40px; }
}

/* ---------- ページ構造 ---------- */
.spacer-lg { height: 56px; }

.index-section { padding: 0 0 56px; }

.intro-block, .stance-block {
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

h2 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 20px;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 800;
}
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 168px;
  height: 9px;
  border-bottom: 1px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 16.8px) 0 0 / 100% 9px no-repeat,
    linear-gradient(90deg, var(--accent) 0 33%, var(--accent-2) 33% 66%, #ffd166 66%) 0 100% / 100% 3px no-repeat;
  pointer-events: none;
}
h3 { margin: 2em 0 .6em; font-size: 1.15rem; font-weight: 700; }
h3 .mono { margin-right: .5em; color: var(--accent-ink); font-size: .85em; }

.section-lead { margin: -6px 0 26px; color: var(--muted); }

.stage-list { margin: 20px 0; padding: 0; list-style: none; counter-reset: stage; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stage-list li {
  position: relative;
  padding: 34px 14px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .84rem;
  line-height: 1.7;
  counter-increment: stage;
}
.stage-list li::before {
  content: "#0" counter(stage);
  position: absolute;
  left: 14px;
  top: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--accent-ink);
}
.stage-list strong { display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: .95rem; }

.stance-title { margin-top: 1.8em; }
.stance-list { margin: 0; padding-left: 1.3em; }
.stance-list li { margin-bottom: .4em; }

/* ---------- ページカード ---------- */
.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.page-card {
  position: relative;
  padding: 30px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.page-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--holo-line);
}
.page-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 11px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 0 / 1px 11px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 11px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 1px 11px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 11px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 1px 11px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 11px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 1px 11px no-repeat;
  opacity: .45;
  pointer-events: none;
}
.page-card .num { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-ink); }
.page-card .icon { float: right; color: var(--accent); }
.page-card h3 { margin: 10px 0 8px; font-size: 1.02rem; line-height: 1.55; clear: both; }
.page-card h3 a { color: inherit; text-decoration: none; }
.page-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.page-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.page-card.is-compare { background: var(--night); border-color: var(--night); }
.page-card.is-compare::after { background:
    linear-gradient(#8fe9dc, #8fe9dc) 0 0 / 11px 1px no-repeat,
    linear-gradient(#8fe9dc, #8fe9dc) 0 0 / 1px 11px no-repeat,
    linear-gradient(#8fe9dc, #8fe9dc) 100% 0 / 11px 1px no-repeat,
    linear-gradient(#8fe9dc, #8fe9dc) 100% 0 / 1px 11px no-repeat,
    linear-gradient(#8fe9dc, #8fe9dc) 0 100% / 11px 1px no-repeat,
    linear-gradient(#8fe9dc, #8fe9dc) 0 100% / 1px 11px no-repeat,
    linear-gradient(#8fe9dc, #8fe9dc) 100% 100% / 11px 1px no-repeat,
    linear-gradient(#8fe9dc, #8fe9dc) 100% 100% / 1px 11px no-repeat; }
.page-card.is-compare .num, .page-card.is-compare .icon { color: #8fe9dc; }
.page-card.is-compare h3, .page-card.is-compare h3 a { color: #fff; }
.page-card.is-compare p { color: #c9cce6; }
.badge {
  display: inline-block;
  margin-top: 6px;
  padding: 0 10px;
  border-radius: 99px;
  background: var(--accent-2);
  color: #04322d;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.8;
}

/* ---------- 最新コメンタリー ---------- */
.latest-commentary { padding: 40px 0 0; }
.latest-commentary:not(:has(li)) { display: none; }
.latest-commentary .container > h2 { font-size: 1.3rem; }
.latest-commentary-list { margin: 0; padding: 0; list-style: none; }
.latest-commentary-list li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.latest-commentary-list time { flex: none; font-family: var(--font-mono); font-size: .82rem; color: var(--accent-ink); }
.latest-commentary-more { margin: 12px 0 0; text-align: right; font-size: .88rem; }

/* ---------- 下層ページ本文 ---------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding-top: 52px;
  padding-bottom: 72px;
  align-items: start;
}
.article { min-width: 0; }
.article > section { margin-bottom: 48px; }
.article p { margin: 0 0 1.25em; }
.article ul, .article ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.article li { margin-bottom: .4em; }
.updated { color: var(--muted); font-family: var(--font-mono); font-size: .8rem; }
.source-note {
  padding: 14px 18px;
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: .9rem;
}
.callout {
  margin: 1.6em 0;
  padding: 18px 22px;
  background: var(--teal-pale);
  border: 1px solid #b6e6df;
  border-radius: 10px;
  font-size: .94rem;
}
.callout p:last-child { margin-bottom: 0; }

/* 表 */
.table-scroll { margin: 22px 0 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.compare-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: .84rem; line-height: 1.7; }
.compare-table th, .compare-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--night); color: #fff; font-weight: 500; white-space: nowrap; border-bottom: 3px solid var(--accent); }
.compare-table tbody th { background: var(--accent-pale); font-weight: 700; min-width: 8.5em; }
.compare-table tbody tr:nth-child(even) td { background: #f7f7fc; }
.compare-table a { color: var(--accent-ink); }
.table-note { color: var(--muted); font-size: .84rem; }

.src-list { font-size: .88rem; }
.src-list li { margin-bottom: .55em; word-break: break-all; }

/* 関連ページ */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-grid article { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--accent-2); border-radius: 10px; }
.related-grid h3 { margin: 0 0 6px; font-size: .96rem; }
.related-grid p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }

.related-sites { margin-top: 40px; }
.related-sites ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-sites a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.related-sites a:hover { border-color: var(--accent); }
.related-sites strong { display: block; font-family: var(--font-head); font-size: .94rem; color: var(--accent-ink); }
.related-sites span { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; line-height: 1.7; }

/* サイドバー */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 22px; }
.sidebar nav, .ad-slot {
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 10px;
}
.sidebar h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  font-size: .98rem;
}
.sidebar h2::after { content: none; }
.sidebar h2 .icon { color: var(--accent); flex: none; }
.sidebar ol, .sidebar ul { margin: 0; padding-left: 1.3em; font-size: .86rem; line-height: 1.7; }
.sidebar ul.sidebar-links, .sidebar ul.related-links { list-style: none; padding-left: 0; }
.sidebar li { margin-bottom: .55em; }
.sidebar a { color: var(--ink); }
.sidebar a:hover { color: var(--accent); }
.ad-slot { text-align: center; border-top-color: var(--accent-2); font-size: .84rem; }
.ad-slot > span { display: inline-block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; color: var(--accent-2-ink); }
.ad-slot strong { display: block; font-family: var(--font-head); }
.ad-slot p { margin: 4px 0 8px; color: var(--muted); line-height: 1.7; }
.amazon-banner { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--accent-2); border-radius: 10px; padding: 14px 16px; }
.amazon-banner a { display: block; color: var(--ink); text-decoration: none; font-size: .84rem; line-height: 1.7; }

/* ---------- フッター ---------- */
.site-disclaimer { padding: 28px 24px; background: var(--bg); border-top: 1px solid var(--line); }
.site-disclaimer p { max-width: 1180px; margin: 0 auto; color: var(--muted); font-size: .84rem; line-height: 1.85; }

.site-footer { position: relative; padding: 52px 24px 28px; background: var(--night); color: #c9cce6; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--holo-line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; }
.site-footer h2 { margin: 0 0 12px; padding: 0; color: #fff; font-size: 1rem; }
.site-footer h2::after { content: none; }
.site-footer p { margin: 0; font-size: .84rem; line-height: 1.85; }
.site-footer nav a { display: block; padding: 3px 0; color: #c9cce6; font-size: .86rem; text-decoration: none; }
.site-footer nav a:hover, .footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-note { max-width: 1180px; margin: 30px auto 0 !important; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .78rem !important; color: #a9acc8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: 1180px; margin: 18px auto 0; }
.footer-links a { color: #c9cce6; font-size: .84rem; }
.copyright { max-width: 1180px; margin: 18px auto 0 !important; font-family: var(--font-mono); font-size: .72rem !important; color: #8d90ae; }

/* ---------- ブログ帯 ---------- */
.page-band { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.page-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.page-band .container { position: relative; padding-top: 38px; padding-bottom: 40px; }
.page-band .band-title { margin: 0; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #fff; text-wrap: balance; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .page-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 14px; gap: 10px; }
  .brand-text strong { font-size: .92rem; }
  .brand-text small { display: none; }
  .page-grid, .related-grid, .related-sites ul, .stage-list, .footer-grid { grid-template-columns: 1fr; }
  .intro-block, .stance-block { padding: 24px 20px; }
  .content-layout { padding-top: 36px; padding-bottom: 52px; }
  .tombo { display: none; }
  .btn { padding: 10px 18px; }
}

/* LATEST-COMMENTARY:START */
.latest-commentary {
  padding: 3rem 0;
}
/* .container を持たないサイトでも端に張り付かないための保険。
   :where() は詳細度0なので、サイト側の .container 定義が常に優先される。 */
:where(.latest-commentary .container) {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.latest-commentary h2 {
  margin-bottom: 1.25rem;
}
.latest-commentary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-commentary-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.latest-commentary-list time {
  flex: 0 0 auto;
  color: var(--muted, #666);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.latest-commentary-list a {
  flex: 1 1 16rem;
  min-width: 0;
  color: var(--ink, #222);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.latest-commentary-list a:hover {
  color: var(--accent, #0b5);
  text-decoration: underline;
}
.latest-commentary-more {
  margin-top: 1.25rem;
}
.latest-commentary-more a {
  color: var(--accent, #0b5);
  text-decoration: none;
  font-weight: 600;
}
.latest-commentary-more a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .latest-commentary-list li {
    flex-direction: column;
    gap: 0.2rem;
  }
  /* 縦積み時に flex-basis(16rem) が高さに効かないよう auto に戻す */
  .latest-commentary-list a,
  .latest-commentary-list time {
    flex: 0 0 auto;
  }
}
/* LATEST-COMMENTARY:END */

/* Keep the sidebar in document flow unless its full contents fit the viewport. */
@media (min-width:1201px){
html body{overflow-x:clip!important}
}
@media (min-width: 1201px) {
  html body aside.sidebar {
    position: static;
  }
}
@media (min-width: 1201px) {
  html body aside.sidebar.sidebar--sticky-fit {
    position: sticky;
    top: var(--sidebar-sticky-top, 104px);
    align-self: start;
  }
}
