/* スマートドリンキング市場レポート - ボタニカル・バーメニュー・泡 */
:root {
  --bg: #f5f1ea;
  --surface: #fffdf9;
  --ink: #1f2b29;
  --muted: #55625f;
  --accent: #2e7a69;
  --accent-deep: #1f5a4c;
  --accent-2: #d4693f;
  --accent-2-deep: #a8481f;
  --line: #ddd3c4;
  --bottle: #173430;
  --cream: #f6efe0;
  --gold: #b58b4c;
  --pale-green: #e3eee8;
  --pale-orange: #f8e6da;
  --font-head: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --header-h: 68px;
}

* { 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;
  letter-spacing: .02em;
  -webkit-text-size-adjust: 100%;
}

body.no-scroll { overflow: hidden; }

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

a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent-2-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

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

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--bottle);
  color: var(--cream);
}
.skip-link:focus { top: 8px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 #fff inset;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { flex: none; display: inline-flex; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text small {
  font-size: .62rem;
  letter-spacing: .26em;
  color: var(--accent-2-deep);
  white-space: nowrap;
}

.global-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.global-nav a {
  display: block;
  padding: 8px 9px;
  border-radius: 999px;
  font-size: .82rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.global-nav a:hover { background: var(--pale-green); }
.global-nav a.is-compare::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  vertical-align: 2px;
}
.global-nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.global-nav a[aria-current="page"]::before { background: #fff; }

.menu-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s, opacity .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) { 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); }

@media (max-width: 1199px) {
  .menu-toggle { display: block; }
  .global-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(86vw, 340px);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 18px 18px 40px;
    background: var(--bottle);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s, visibility .25s;
  }
  .global-nav.is-open { transform: translateX(0); visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 4px; }
  .global-nav a { padding: 12px 14px; font-size: .95rem; color: var(--cream); border-radius: 14px; white-space: normal; }
  .global-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .global-nav a[aria-current="page"] { background: var(--accent); }
}

@media (max-width: 480px) {
  .brand-text strong { font-size: .92rem; }
  .brand-text small { letter-spacing: .14em; }
}

/* ---------- ヒーロー: アーチ窓＋メニューカード ---------- */
.hero-block {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 12% 18%, rgba(46, 122, 105, .10) 0 38px, transparent 39px),
    radial-gradient(circle at 5% 70%, rgba(212, 105, 63, .10) 0 22px, transparent 23px),
    radial-gradient(circle at 46% 88%, rgba(46, 122, 105, .08) 0 54px, transparent 55px),
    radial-gradient(circle at 92% 12%, rgba(212, 105, 63, .09) 0 30px, transparent 31px),
    radial-gradient(circle at 60% 10%, rgba(181, 139, 76, .12) 0 14px, transparent 15px),
    radial-gradient(circle at 30% 94%, rgba(181, 139, 76, .12) 0 10px, transparent 11px),
    var(--bg);
}
.hero-block::before,
.hero-block::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(46, 122, 105, .22);
}
.hero-block::before { width: 120px; height: 120px; left: 46%; top: -30px; }
.hero-block::after { width: 76px; height: 76px; right: 3%; bottom: 14px; border-color: rgba(212, 105, 63, .28); }

.hero-inner {
  position: relative;
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 4%;
}

.hero-card {
  position: relative;
  z-index: 1;
  flex: 1 1 56%;
  padding: 44px 46px 40px;
  background: var(--surface);
  border: 1px solid var(--gold);
  box-shadow: 0 18px 40px -26px rgba(23, 52, 48, .45);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.hero-card > * { position: relative; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--accent-2-deep);
}

.hero-card h1 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.9vw, 3.4rem);
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--bottle);
}

.hero-lead { margin: 0 0 22px; color: var(--muted); font-size: 1rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-chips a {
  display: inline-block;
  padding: 8px 18px;
  border: 1.5px solid var(--accent-2);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--accent-2-deep);
  text-decoration: none;
  background: transparent;
}
.hero-chips li:first-child a { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero-chips a:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

.hero-arch {
  flex: 0 0 40%;
  position: relative;
  z-index: 1;
}
.hero-arch-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 12px 12px;
  overflow: hidden;
  border: 6px solid var(--surface);
  box-shadow: 0 0 0 1px var(--gold), 0 22px 40px -24px rgba(23, 52, 48, .55);
  background: var(--pale-green);
}
.hero-arch-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 下層ページ: ヒーローの縮小版 */
.hero-compact { padding: 34px 0 40px; }
.hero-compact .hero-card { padding: 28px 34px 26px; }
.hero-compact .hero-card h1 { font-size: clamp(1.5rem, 2.9vw, 2.3rem); margin-bottom: 12px; }
.hero-compact .hero-lead { margin: 0; font-size: .94rem; }
.hero-compact .hero-arch { flex-basis: 24%; }
.hero-compact .hero-arch-frame { aspect-ratio: 1 / 1; border-width: 5px; }

@media (max-width: 860px) {
  .hero-block { padding: 28px 0 40px; }
  .hero-inner { flex-direction: column-reverse; gap: 0; }
  .hero-arch { flex: none; width: 74%; max-width: 330px; margin-bottom: -26px; z-index: 0; }
  .hero-arch-frame { aspect-ratio: auto; height: 260px; }
  .hero-card { width: 100%; padding: 40px 22px 26px; }
  .hero-compact .hero-arch { width: 52%; max-width: 220px; }
  .hero-compact .hero-arch-frame { height: 160px; aspect-ratio: auto; }
  .hero-compact .hero-card { padding: 34px 20px 22px; }
}

/* ---------- 区切り: 細線＋柑橘スライス ---------- */
.citrus-divider {
  position: relative;
  height: 28px;
  margin: 8px auto;
  width: min(1180px, 100% - 40px);
  pointer-events: none;
}
.citrus-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 13px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 44%, transparent 44.5%, transparent 55.5%, var(--line) 56%, var(--line) 88%, transparent);
}
.citrus-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--bg) 0 3px, transparent 3.5px),
    repeating-conic-gradient(#f2a47a 0 22deg, #fbe3d2 22deg 30deg);
  border: 2px solid var(--accent-2);
}

.spacer-lg { height: 28px; }

/* ---------- 最新コメンタリー ---------- */
.latest-commentary { padding: 34px 0 6px; }
.latest-commentary:not(:has(li)) { display: none; }
.latest-commentary h2 { margin: 0 0 14px; font-size: 1.3rem; }
.latest-commentary-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.latest-commentary-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.7; }
.latest-commentary-list time { flex: none; color: var(--accent-2-deep); font-weight: 500; }
.latest-commentary-more { margin: 10px 0 0; text-align: right; font-size: .86rem; }

/* ---------- index セクション ---------- */
.index-section { padding: 38px 0; }

h2 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); margin: 0 0 14px; }
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 8px;
  margin-top: 8px;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 50% / 44px 3px no-repeat,
    radial-gradient(circle at 54px 4px, var(--accent-2) 3.5px, transparent 4px);
}
.site-footer h2::after, .latest-commentary h2::after, .share-box h2::after, .sidebar h2::after { display: none; }

h3 { font-size: 1.12rem; margin: 0 0 8px; }

.intro-block { padding: 34px 38px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.intro-block h2 { margin-top: 0; }
.stage-list { list-style: none; counter-reset: stg; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stage-list li {
  counter-increment: stg;
  padding: 14px 14px 14px;
  background: var(--pale-green);
  border-radius: 16px 16px 8px 8px;
  font-size: .86rem;
  line-height: 1.7;
}
.stage-list li::before {
  content: "— 0" counter(stg) " —";
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: .8rem;
  color: var(--accent-2-deep);
}
.stage-list strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--bottle); }
.after-list { margin-top: 18px; }
.stance-title { margin-top: 26px; }
.stance-list { margin: 0; padding-left: 1.3em; }
.stance-list li { margin-bottom: 4px; }
.section-lead { margin: 0 0 22px; color: var(--muted); }

@media (max-width: 900px) {
  .stage-list { grid-template-columns: 1fr 1fr; }
  .intro-block { padding: 24px 20px; }
}
@media (max-width: 520px) {
  .stage-list { grid-template-columns: 1fr; }
}

/* ---------- 7ページカード ---------- */
.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.page-card {
  position: relative;
  padding: 58px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.page-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  border-radius: 999px 999px 0 0 / 40px 40px 0 0;
  background: var(--pale-green);
}
.page-card .num {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-head);
  font-size: .98rem;
  letter-spacing: .1em;
  color: var(--accent-2-deep);
}
.page-card .icon { position: absolute; right: 16px; top: 52px; color: var(--accent); width: 28px; height: 28px; }
.page-card h3 { margin: 0 34px 8px 0; }
.page-card h3 a { color: var(--ink); text-decoration: none; }
.page-card h3 a::after { content: ""; position: absolute; inset: 0; }
.page-card p { margin: 0; font-size: .88rem; line-height: 1.8; color: var(--muted); }
.page-card:hover { border-color: var(--accent); }
.page-card.is-compare { background: var(--bottle); border-color: var(--bottle); }
.page-card.is-compare::before { background: #24483f; }
.page-card.is-compare .num { color: #f0b891; }
.page-card.is-compare .icon { color: #f0b891; }
.page-card.is-compare h3 a { color: var(--cream); }
.page-card.is-compare p { color: #d9d3c2; }
.page-card .badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: .72rem;
  line-height: 1.7;
}

@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .page-grid { grid-template-columns: 1fr; } }

/* ---------- 関連サイト ---------- */
.related-sites { margin-top: 44px; }
.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: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.related-sites a:hover { border-left-color: var(--accent-2); }
.related-sites strong { display: block; font-family: var(--font-head); }
.related-sites span { display: block; font-size: .84rem; line-height: 1.7; color: var(--muted); }
@media (max-width: 700px) { .related-sites ul { grid-template-columns: 1fr; } }

/* ---------- 下層: 2カラム ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 38px; padding-bottom: 72px; align-items: start; }
.article { min-width: 0; background: var(--surface); padding: 36px 42px 40px; border: 1px solid var(--line); border-radius: 6px; }
.article > section { margin-bottom: 8px; }
.article h2 { margin-top: 2.2em; }
.article > section:first-child h2 { margin-top: 0; }
.article h3 { margin-top: 1.8em; padding-left: 12px; border-left: 4px solid var(--accent-2); }
.article p { margin: 0 0 1.2em; }
.article ul, .article ol { padding-left: 1.4em; }
.article li { margin-bottom: .35em; }

.updated { margin: 0 0 14px; font-size: .84rem; color: var(--muted); }
.source-note {
  margin: 0 0 22px;
  padding: 12px 16px;
  background: var(--pale-orange);
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.8;
}

.point-box {
  margin: 1.6em 0;
  padding: 18px 22px;
  background: var(--pale-green);
  border-radius: 16px 16px 6px 6px;
  border-top: 4px solid var(--accent);
}
.point-box > :last-child { margin-bottom: 0; }
.point-box h3 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1.02rem; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1em 0; border: 1px solid var(--line); border-radius: 8px; }
.compare-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .84rem; line-height: 1.7; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--bottle); color: var(--cream); font-weight: 500; white-space: nowrap; border-bottom: 3px double var(--gold); }
.compare-table tbody th { background: var(--pale-green); font-weight: 700; min-width: 8em; }
.compare-table tbody tr:nth-child(even) td { background: #faf6ee; }
.compare-table a { color: var(--accent-deep); }
.calc-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .88rem; line-height: 1.7; }
.calc-table th, .calc-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.calc-table thead th { background: var(--pale-green); color: var(--bottle); white-space: nowrap; border-bottom: 2px solid var(--accent); }
.calc-table tbody tr:nth-child(even) td, .calc-table tbody tr:nth-child(even) th { background: #faf6ee; }
.table-note { font-size: .84rem; color: var(--muted); }

.related { margin-top: 2.4em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-grid > div { padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.related-grid h3 { margin: 0 0 6px; padding: 0; border: 0; font-size: .98rem; }
.related-grid p { margin: 0; font-size: .84rem; line-height: 1.7; color: var(--muted); }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }

/* サイドバー */
.sidebar { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sidebar nav, .sidebar .ad-slot { padding: 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.sidebar h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.02rem; color: var(--bottle); }
.sidebar h2 .icon { flex: none; color: var(--accent); }
.sidebar ol, .sidebar ul { margin: 0; padding-left: 1.3em; font-size: .88rem; line-height: 1.7; }
.sidebar ul.sidebar-links, .sidebar ul.related-links { list-style: none; padding-left: 0; }
.sidebar li { margin-bottom: 6px; }
.sidebar a { text-decoration: none; }
.sidebar a:hover { text-decoration: underline; }
.ad-slot span { display: inline-block; padding: 0 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .68rem; letter-spacing: .2em; }
.ad-slot strong { display: block; margin: 6px 0; font-family: var(--font-head); }
.ad-slot p { margin: 0 0 8px; font-size: .84rem; line-height: 1.7; color: var(--muted); }
.ad-slot a { font-size: .86rem; }

.amazon-banner { margin: 14px auto; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-align: center; font-size: .86rem; line-height: 1.7; }

@media (max-width: 960px) {
  .content-layout { grid-template-columns: 1fr; gap: 28px; }
  .article { padding: 26px 18px 30px; }
}

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

.site-footer {
  background: var(--bottle);
  color: var(--cream);
  padding: 44px 20px 30px;
  border-top: 3px double var(--gold);
  box-shadow: 0 -6px 0 -3px var(--bottle), 0 -7px 0 -3px var(--gold);
  font-size: .88rem;
  line-height: 1.85;
}
.site-footer a { color: #f0d9b5; }
.site-footer a:hover { color: #fff; }
.footer-grid { width: min(1180px, 100%); margin: 0 auto 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.site-footer h2 { margin: 0 0 10px; font-size: 1.04rem; color: #fff; }
.site-footer p { margin-top: 0; margin-bottom: 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: 4px; }
.footer-note { width: min(1180px, 100%); margin: 0 auto 16px; padding-top: 18px; border-top: 1px solid rgba(246, 239, 224, .22); font-size: .8rem; color: #cfc8b5; }
.footer-links { width: min(1180px, 100%); margin: 0 auto 12px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.copyright { width: min(1180px, 100%); margin: 0 auto; font-size: .78rem; color: #b9b3a2; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- ページ見出し帯(ブログ) ---------- */
.page-band {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
  background:
    radial-gradient(circle at 10% 40%, rgba(46, 122, 105, .10) 0 30px, transparent 31px),
    radial-gradient(circle at 88% 30%, rgba(212, 105, 63, .10) 0 24px, transparent 25px),
    radial-gradient(circle at 70% 90%, rgba(181, 139, 76, .14) 0 12px, transparent 13px),
    var(--bg);
}
.page-band .container { position: relative; }
.page-band .container::before {
  content: "";
  position: absolute;
  inset: -8px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  pointer-events: none;
}
.page-band .eyebrow { margin: 0 0 4px; text-align: center; padding-top: 10px; }
.page-band .band-title { margin: 0; padding-bottom: 10px; text-align: center; font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: var(--bottle); }

/* 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 (sidebar--sticky-fit is set by scripts.js). */
html body aside.sidebar {
  position: static;
}
@media (min-width: 1201px) {
  html body{overflow-x:clip!important}
  html body aside.sidebar.sidebar--sticky-fit {
    position: sticky;
    top: var(--sidebar-sticky-top, 104px);
    align-self: start;
  }
}
