:root {
  --green-deep: #10261a;
  --green: #24462f;
  --green-mid: #3c6b48;
  --green-bright: #5c8f68;
  --gold: #b8913f;
  --gold-bright: #e0b566;
  --paper: #f6f4ea;
  --cream: #fbf9f1;
  --white: #ffffff;
  --ink: #1c261f;
  --muted: #5f6b60;
  --line: #dfe0d2;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

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

a {
  color: var(--green-mid);
  text-underline-offset: 0.18em;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 999;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  border-bottom: 3px solid var(--gold);
}

.brand-row {
  max-width: 1180px;
  min-height: 70px;
  margin: auto;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  line-height: 1.2;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9) 0 2px, transparent 2.4px),
    radial-gradient(circle at 62% 26%, rgba(255, 255, 255, 0.9) 0 2px, transparent 2.4px),
    radial-gradient(circle at 46% 52%, rgba(255, 255, 255, 0.9) 0 2px, transparent 2.4px),
    radial-gradient(circle at 22% 66%, rgba(255, 255, 255, 0.9) 0 2px, transparent 2.4px),
    radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.9) 0 2px, transparent 2.4px),
    var(--cream);
  box-shadow: inset 0 -3px 6px rgba(16, 38, 26, 0.35);
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.06em;
}

.brand small {
  display: block;
  color: var(--gold-bright);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  margin-top: 4px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--green-mid);
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--cream);
  margin: 6px 0;
}

.global-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--green);
}

.global-nav ul {
  max-width: 1180px;
  margin: auto;
  padding: 0 18px;
  display: flex;
  justify-content: center;
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--cream);
  font-size: 0.75rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

/* Hero */
.hero-block {
  position: relative;
  max-width: 1440px;
  margin: auto;
  background: var(--green-deep);
  min-height: 460px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 38, 26, 0.18) 0%, rgba(16, 38, 26, 0.5) 55%, rgba(16, 38, 26, 0.88) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  line-height: 1.42;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
  max-width: 880px;
  color: #fdfbf3;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.hero-copy > p:last-child {
  max-width: 720px;
  font-size: 1.04rem;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

/* Layout */
.container {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  align-items: start;
  padding-top: 68px;
  padding-bottom: 88px;
}

.article {
  min-width: 0;
}

.article > section {
  margin: 0 0 64px;
}

.article h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--gold);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.article h2::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-2px);
}

.article h3 {
  font-family: var(--serif);
  line-height: 1.6;
  color: var(--green);
}

.article p {
  margin: 0 0 1.35em;
}

.note-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-mid);
  padding: 18px 22px;
  font-size: 0.92rem;
  margin: 0 0 1.6em;
}

.note-box strong {
  color: var(--green);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 22px;
}

.sidebar nav,
.ad-slot,
.related-links {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

.sidebar h2 {
  font-family: var(--serif);
  font-size: 0.98rem;
  margin: 0 0 12px;
  color: var(--green);
}

.sidebar ol {
  margin: 0;
  padding-left: 1.2rem;
}

.sidebar li + li {
  margin-top: 8px;
}

.sidebar a {
  font-size: 0.83rem;
}

.ad-slot span {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.ad-slot strong {
  display: block;
  font-family: var(--serif);
  line-height: 1.55;
  color: var(--green);
}

.ad-slot p {
  font-size: 0.78rem;
  line-height: 1.65;
}

.ad-slot > a {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
}

.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.related-links a {
  font-size: 0.83rem;
}

/* Related sections */
.related {
  border-top: 1px solid var(--line);
  padding-top: 50px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 22px;
}

.related-grid h3 {
  font-size: 1rem;
  margin: 0 0 10px;
  font-family: var(--serif);
}

.related-grid p {
  font-size: 0.8rem;
  line-height: 1.65;
  margin: 0;
  color: var(--muted);
}

.related-sites {
  background: var(--green-deep);
  color: var(--cream);
  padding: 28px;
  margin-top: 46px;
}

.related-sites h2 {
  font-family: var(--serif);
  color: #fff;
}

.related-sites ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.related-sites a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  text-decoration: none;
  color: var(--cream);
}

.related-sites strong {
  min-width: 120px;
  color: var(--gold-bright);
}

.related-sites span {
  font-size: 0.78rem;
  color: #cddccf;
}

/* Page card grid (index) */
.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.report-grid article {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 22px 22px;
}

.hole-badge {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.85) 0 1.6px, transparent 2px),
    radial-gradient(circle at 64% 28%, rgba(255, 255, 255, 0.85) 0 1.6px, transparent 2px),
    radial-gradient(circle at 48% 54%, rgba(255, 255, 255, 0.85) 0 1.6px, transparent 2px),
    radial-gradient(circle at 26% 68%, rgba(255, 255, 255, 0.85) 0 1.6px, transparent 2px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.85) 0 1.6px, transparent 2px),
    var(--paper);
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 700;
}

.report-grid h3 {
  margin: 12px 0 8px;
  font-family: var(--serif);
}

.report-grid p {
  font-size: 0.83rem;
  line-height: 1.7;
  margin: 0;
  color: var(--muted);
}

/* Cautions banner (craft-drinks style not used here; generic notice) */
.site-caution {
  background: var(--gold);
  color: var(--green-deep);
  text-align: center;
  font-size: 0.74rem;
  padding: 7px 12px;
  letter-spacing: 0.03em;
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: #cfe0d3;
  padding: 52px 24px 20px;
}

.footer-grid {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
}

.footer-grid h2 {
  font-family: var(--serif);
  font-size: 1rem;
  color: #fff;
  margin: 0 0 14px;
}

.footer-grid p {
  font-size: 0.78rem;
  max-width: 380px;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid a {
  color: #cfe0d3;
  font-size: 0.8rem;
  margin-bottom: 7px;
  text-decoration: none;
}

.footer-links {
  max-width: 1120px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid #33503c;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #cfe0d3;
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  max-width: 1120px;
  margin: 16px auto 0;
  font-size: 0.65rem;
  color: #8ea896;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 5rem;
  }
  .brand-row {
    min-height: 64px;
    padding: 10px 18px;
  }
  .brand strong {
    font-size: 0.92rem;
  }
  .brand small {
    font-size: 0.48rem;
  }
  .menu-toggle {
    display: block;
  }
  .global-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    height: calc(100vh - 64px);
    background: var(--green);
    overflow: auto;
  }
  .global-nav.is-open {
    display: block;
  }
  .global-nav ul {
    display: block;
    padding: 14px 22px;
  }
  .global-nav a {
    font-size: 0.92rem;
    padding: 14px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .hero-block {
    min-height: 400px;
  }
  .hero-copy {
    width: calc(100% - 36px);
    padding: 60px 0 40px;
  }
  .hero-copy h1 {
    font-size: clamp(1.7rem, 8.6vw, 2.4rem);
    overflow-wrap: anywhere;
  }
  .hero-copy > p:last-child {
    font-size: 0.92rem;
  }
  .container {
    width: calc(100% - 36px);
  }
  .content-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 46px;
    padding-bottom: 60px;
  }
  .article > section {
    margin-bottom: 50px;
  }
  .article h2 {
    font-size: 1.4rem;
  }
  .sidebar {
    position: static;
    grid-row: 1;
  }
  .related-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
  .related-sites {
    padding: 22px;
  }
  .related-sites a {
    display: block;
  }
  .related-sites strong,
  .related-sites span {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-grid p {
    margin-bottom: 0;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 15px;
  }
  .brand-mark {
    display: none;
  }
  .hero-block {
    min-height: 380px;
  }
  .hero-copy {
    padding-top: 50px;
  }
  .sidebar nav,
  .ad-slot,
  .related-links {
    padding: 18px;
  }
  .article h2 {
    padding-bottom: 10px;
  }
}

/* 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: #0b5;
  text-decoration: underline;
}
.latest-commentary-more {
  margin-top: 1.25rem;
}
.latest-commentary-more a {
  color: #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 */

/* HEADING-WRAP:START 見出し最終行孤立文字対策 (AGENTS.md NoGo) */
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 */
