/* 聖地巡礼・ロケ誘致レポート 共通スタイル（旅の絵はがき・ハンコ・土茶） */
:root {
  --bg: #f5f0e6;
  --surface: #fffdf8;
  --ink: #2b251c;
  --muted: #6b6152;
  --accent: #a16207;
  --accent-deep: #8f5606;
  --accent-ink: #7d4d05;
  --accent-2: #40665c;
  --accent-2-pale: #e6ebe4;
  --accent-2-deep: #334c44;
  --line: #ddd3c0;
  --line-soft: #e8e0d0;
  --postcard-ink: #fffdf8;
  --font-head: "Zen Antique", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Courier New", monospace;
  --header-h: 66px;
  --card-rule: repeating-linear-gradient(90deg, var(--accent) 0 22px, transparent 22px 24px);
  --kakushite-gradient: linear-gradient(90deg, var(--accent-2) 0, var(--accent-2) 3px, var(--line) 3px, var(--line) 6px);
  --diamond: 7px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    repeating-linear-gradient(90deg, rgba(43, 37, 28, .028) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(43, 37, 28, .024) 0 1px, transparent 1px 96px);
  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-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 1px 0 rgba(161, 98, 7, .25);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand-mark { display: inline-flex; flex: none; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.brand-text strong { font-family: var(--font-head); font-size: 1.02rem; white-space: nowrap; }
.brand-text small { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; color: var(--muted); white-space: nowrap; }

.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.global-nav a {
  display: block;
  padding: 8px 9px;
  font-family: var(--font-head);
  font-size: .84rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.global-nav a:hover { border-bottom-color: var(--accent); color: var(--accent-ink); }
.global-nav a[aria-current="page"] { border-bottom-color: var(--accent-2); background: var(--accent-2-pale); }
.global-nav a.is-compare::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 5px; background: var(--accent); vertical-align: middle; transform: rotate(45deg); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー（旅の絵はがき台） ---------- */
.hero-block {
  position: relative;
  display: grid;
  grid-template-columns: 52fr 48fr;
  align-items: center;
  gap: 24px;
  padding: 52px max(24px, calc((100vw - 1180px) / 2));
  background:
    repeating-linear-gradient(90deg, rgba(64, 102, 92, .05) 0 1px, transparent 1px 108px),
    repeating-linear-gradient(0deg, rgba(64, 102, 92, .05) 0 1px, transparent 1px 108px),
    linear-gradient(180deg, #f8f3e9, #f0e9db);
  overflow: hidden;
}
.hero-block::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent) 0 60%, var(--accent-2) 60% 100%); pointer-events: none; }

.hero-copy { padding-right: 8px; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; margin: 0 10px 4px 0; vertical-align: middle; background: var(--accent); }

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.9vw, 3.4rem);
  line-height: 1.42;
  letter-spacing: .01em;
}

.hero-lead { margin: 0 0 22px; max-width: 560px; font-size: .98rem; color: #453d2e; }

.hero-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  font-size: .84rem;
  text-decoration: none;
  border-radius: 4px;
}
.hero-chips a:hover { background: var(--accent-deep); color: #fff; }

.hero-figure { position: relative; margin: 18px 10px 30px 0; }
.postcard-frame {
  position: relative;
  padding: 8px;
  background: var(--postcard-ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(43, 37, 28, .14);
}
.postcard-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.postcard-line { display: flex; align-items: center; gap: 8px; padding: 9px 4px 3px; }
.postcard-stamp {
  width: 26px;
  height: 26px;
  flex: none;
  background: repeating-linear-gradient(45deg, var(--line-soft) 0 3px, #fff 3px 6px);
  border: 1px dashed var(--line);
}
.postcard-post { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .3em; color: var(--muted); }
.postcard-rule { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--line) 0 72%, transparent 72%); }
.postcard-rule::before { content: "〒"; font-family: var(--font-mono); font-size: .6rem; color: var(--muted); margin-right: 6px; }

.visit-stamp {
  position: absolute;
  right: -14px;
  bottom: 34px;
  width: 96px;
  height: 96px;
  margin: 0;
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #f9ecdf inset;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  pointer-events: none;
}
.visit-stamp::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--accent); border-radius: 50%; }
.visit-stamp span { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: .22em; color: var(--accent); padding-left: .22em; }

.hero-compact .hero-copy { padding-top: 4px; padding-bottom: 4px; }
.hero-compact .hero-copy h1 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.hero-compact .hero-lead { margin-bottom: 0; font-size: .94rem; }
.hero-compact .hero-block { padding-top: 34px; padding-bottom: 34px; }
.hero-compact .postcard-img { aspect-ratio: 16 / 8; }

/* ---------- 区切り（細線＋菱形） ---------- */
.rule { position: relative; height: 0; margin: 30px 0; border: 0; border-top: 1px solid var(--line); }
.rule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: var(--diamond);
  height: var(--diamond);
  transform: translateX(-50%) rotate(45deg);
  background: var(--accent);
}

/* ---------- レイアウト ---------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.article {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 40px 44px;
  background-image: repeating-linear-gradient(0deg, rgba(43, 37, 28, .022) 0 1px, transparent 1px 26px);
}
.article > section { margin-bottom: 8px; }

.article h2 {
  position: relative;
  margin: 2.4em 0 .9em;
  padding: 4px 0 6px 22px;
  font-size: clamp(1.3rem, 2.2vw, 1.66rem);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.article > section:first-child h2 { margin-top: 0; }
.article h2::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--accent); }
.article h2::after { content: ""; position: absolute; left: 30px; right: 0; bottom: 0; height: 2px; background: var(--kakushite-gradient); }

.article h3 {
  margin: 1.8em 0 .6em;
  font-size: 1.14rem;
  padding: 2px 0 6px;
  background: linear-gradient(var(--line), var(--line)) bottom / 100% 1px no-repeat;
}

.article p { margin: 0 0 1.3em; }
.article ul, .article ol { margin: 0 0 1.4em; padding-left: 1.4rem; }
.article li { margin-bottom: .5em; }

.updated { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin: 0 0 1em !important; }
.source-note { padding: 12px 16px; background: var(--accent-2-pale); border-left: 4px solid var(--accent-2); font-size: .88rem; color: #2d423b; font-family: var(--font-body); }

/* ---------- 表 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.compare-table { width: 100%; min-width: 960px; border-collapse: collapse; font-size: .84rem; line-height: 1.7; background: #fff; }
.compare-table caption { text-align: left; padding: 8px 12px; font-size: .8rem; color: var(--muted); caption-side: bottom; }
.compare-table th, .compare-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--accent-2-deep); color: #fff; font-family: var(--font-head); font-weight: 400; border-bottom: 3px solid var(--accent); white-space: nowrap; }
.compare-table tbody th { background: #f2ecdf; font-family: var(--font-head); font-weight: 400; min-width: 8.5em; }
.compare-table tbody tr:nth-child(even) td { background: #f8f4ea; }
.compare-table tbody td b, .compare-table tbody td strong { font-weight: 500; }
.table-note { font-size: .84rem; color: var(--muted); }

.profile h3 { margin-top: 1.6em; }
.profile h3 .mono { font-size: .8rem; color: var(--accent-ink); margin-right: 8px; }

.facts { margin: 0 0 1.4em; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.facts li { margin: 0; padding: 8px 14px; border-bottom: 1px dashed var(--line); display: flex; gap: 12px; flex-wrap: wrap; }
.facts li:last-child { border-bottom: 0; }
.facts li strong { font-family: var(--font-head); min-width: 9em; color: var(--accent-ink); font-weight: 400; }

/* ---------- サイドバー ---------- */
.sidebar { align-self: start; position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 22px; }
.sidebar nav, .ad-slot { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; border-top: 3px solid var(--accent); padding: 16px 18px 18px; }
.sidebar nav h2, .ad-slot strong { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .98rem; font-family: var(--font-head); font-weight: 400; }
.sidebar nav h2 .icon { color: var(--accent-2); flex: none; }
.sidebar nav ol { margin: 0; padding-left: 1.3rem; font-size: .85rem; line-height: 1.7; }
.sidebar nav li + li { margin-top: 8px; }
.sidebar-links, .related-links { list-style: none; margin: 0; padding: 0; font-size: .85rem; line-height: 1.7; }
.sidebar-links li + li, .related-links li + li { margin-top: 8px; }
.ad-slot { border-top-color: var(--accent-2); }
.ad-slot span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; color: var(--accent-2); }
.ad-slot p { margin: 0 0 8px; font-size: .84rem; line-height: 1.7; }
.ad-slot a { font-size: .85rem; font-weight: 700; }

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

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

/* ---------- トップ ---------- */
.spacer-lg { height: 48px; }
.index-section { padding: 0 0 56px; }
.index-section h2 {
  position: relative;
  margin: 0 0 20px;
  padding: 4px 0 6px 22px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}
.index-section h2::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--accent); }
.index-section h2::after { content: ""; position: absolute; left: 30px; bottom: 0; width: 88px; height: 2px; background: var(--kakushite-gradient); }
.section-lead { margin: -6px 0 22px; color: var(--muted); font-size: .92rem; }

.intro-block { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 34px 40px 38px; }
.stage-list { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stage-list li { position: relative; margin: 0; padding: 38px 14px 16px; border: 1px solid var(--line); border-radius: 4px; border-top: 3px solid var(--accent); font-size: .84rem; line-height: 1.7; background: #faf6ec; }
.stage-list li::before { content: attr(data-no); position: absolute; left: 14px; top: 8px; font-family: var(--font-mono); font-size: .78rem; color: var(--accent-ink); letter-spacing: .12em; }
.stage-list li:nth-child(even) { border-top-color: var(--accent-2); }
.stage-list strong { display: block; font-family: var(--font-head); font-weight: 400; margin-bottom: 4px; }
.after-list { margin-top: 1em; }
.stance-title { font-size: 1.1rem; margin: 1.6em 0 .6em; }
.stance-list { margin: 0; padding-left: 1.3rem; }
.stance-list li { margin-bottom: .5em; }

.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.page-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px 20px; }
.page-card .icon { display: block; color: var(--accent-2); margin-bottom: 10px; }
.page-card .num { position: absolute; right: 14px; top: 12px; font-family: var(--font-mono); font-size: .88rem; letter-spacing: .08em; color: var(--accent-ink); }
.page-card h3 { margin: 0 0 8px; font-size: 1.02rem; padding: 0; }
.page-card h3 a { color: var(--ink); text-decoration: none; }
.page-card h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.page-card p { margin: 0; font-size: .86rem; line-height: 1.8; color: #4a4335; }
.page-card.is-compare { background: var(--accent-2-deep); border-color: var(--accent-2-deep); border-top: 3px solid var(--accent); }
.page-card.is-compare h3 a, .page-card.is-compare p { color: #f2efe9; }
.page-card.is-compare .icon, .page-card.is-compare .num { color: #d8b557; }
.page-card.is-compare h3 a:hover { color: #fff; }
.badge { display: inline-block; margin-bottom: 8px; padding: 1px 10px; font-size: .72rem; background: var(--accent); color: #fff; border-radius: 4px; }

/* ---------- 最新コメンタリー枠 ---------- */
.latest-commentary { padding: 0 0 56px; }
.latest-commentary h2 {
  position: relative;
  margin: 0 0 16px;
  padding: 4px 0 6px 22px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}
.latest-commentary h2::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--accent); }
.latest-commentary-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.latest-commentary-list li { display: flex; gap: 16px; padding: 12px 18px; border-bottom: 1px dashed var(--line); font-size: .92rem; line-height: 1.7; }
.latest-commentary-list li:last-child { border-bottom: 0; }
.latest-commentary-list time { flex: none; font-family: var(--font-mono); font-size: .8rem; color: var(--accent-ink); padding-top: 2px; }
.latest-commentary-more { margin: 12px 0 0; text-align: right; font-size: .9rem; }
/* 記事0件のときは枠ごと非表示 */
.latest-commentary:not(:has(li)) { display: none; }

/* ---------- 免責・フッター ---------- */
.site-disclaimer { background: var(--surface); border-top: 1px solid var(--line); }
.site-disclaimer p { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0; font-size: .8rem; line-height: 1.8; color: var(--muted); }

.site-footer {
  margin-top: 0;
  background: #24211a;
  color: #ece5d5;
  border-top: 4px solid var(--accent);
  padding: 40px max(24px, calc((100vw - 1180px) / 2)) 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.site-footer h2 { margin: 0 0 12px; padding-bottom: 12px; font-size: 1rem; font-weight: 400; color: #f3ecdc; background: linear-gradient(var(--accent), var(--accent)) bottom left / 56px 2px no-repeat; }
.site-footer p { margin: 0 0 1em; font-size: .86rem; line-height: 1.8; color: #cdc3ae; }
.site-footer nav a { display: block; margin-bottom: 8px; font-size: .88rem; color: #e4dac4; }
.site-footer nav a:hover { color: #fff; }
.footer-note { margin-top: 22px !important; font-size: .78rem !important; color: #b9ae98; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; }
.footer-links a { font-size: .85rem; color: #e4dac4; }
.copyright { margin: 18px 0 0 !important; font-family: var(--font-mono); font-size: .74rem !important; color: #b9ae98; }

/* ---------- ブログ見出し帯 ---------- */
.page-band {
  position: relative;
  background: linear-gradient(180deg, #f8f3e9, #f0e9db);
  background-image:
    repeating-linear-gradient(90deg, rgba(64, 102, 92, .05) 0 1px, transparent 1px 108px),
    repeating-linear-gradient(0deg, rgba(64, 102, 92, .05) 0 1px, transparent 1px 108px);
  padding: 22px 0 26px;
}
.page-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent) 0 60%, var(--accent-2) 60% 100%); pointer-events: none; }
.page-band .eyebrow { margin-bottom: 6px; }
.band-title { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }

/* ---------- 見出し帯（下層ヒーロー縮小） ---------- */
.band-rule { height: 1px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1279px) {
  .menu-toggle { display: flex; }
  .global-nav {
    position: fixed;
    top: calc(var(--header-h) + 3px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h) - 3px);
    overflow-y: auto;
    background: var(--surface);
    padding: 12px 20px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s, visibility .25s;
  }
  .global-nav.is-open { transform: none; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav a { padding: 14px 6px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-block { grid-template-columns: 1fr; }
  .hero-figure { order: -1; margin: 6px 0 12px; }
  .visit-stamp { right: 4px; bottom: -18px; }
  .hero-copy { padding-right: 0; padding-bottom: 8px; }
  .hero-compact .hero-copy { padding-top: 8px; }
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .article { padding: 26px 20px 32px; }
  .intro-block { padding: 26px 20px 30px; }
  .stage-list { grid-template-columns: 1fr; }
  .related-grid, .related-sites ul, .footer-grid { grid-template-columns: 1fr; }
  .container { width: calc(100% - 32px); }
  .site-disclaimer p { width: calc(100% - 32px); }
  .latest-commentary-list li { flex-direction: column; gap: 2px; }
}

@media (max-width: 600px) {
  .page-grid { grid-template-columns: 1fr; }
  .brand-text strong { font-size: .9rem; }
  .brand-text small { display: none; }
  .site-footer { padding-left: 16px; padding-right: 16px; }
  .visit-stamp { width: 80px; height: 80px; bottom: -14px; }
}

/* HEADING-WRAP:START 見出し最終行孤立文字対策 */
h1, h2, h3, h4, .hero-title, .page-title, .card-title { text-wrap: balance; word-break: auto-phrase; line-break: strict; overflow-wrap: break-word; }
/* HEADING-WRAP:END */

/* 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 (JS adds .sidebar--sticky-fit). */
html body aside.sidebar{position:static;max-height:none}
@media (min-width:1201px){
html body{overflow-x:clip!important}
html body aside.sidebar.sidebar--sticky-fit{position:sticky;top:var(--sidebar-sticky-top,82px);align-self:start}
}
