:root {
  --ink: #17231f;
  --ink-soft: #435049;
  --forest: #173e35;
  --forest-dark: #0d2923;
  --moss: #68775a;
  --clay: #b65332;
  --clay-dark: #8f3d23;
  --gold: #c59845;
  --ivory: #f5f1e8;
  --paper: #fffdf8;
  --line: #d9d4c8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 39, 33, 0.12);
  --content: 1180px;
  --reading: 760px;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* スクリーンリーダー専用の視覚的非表示（親のtransform等に影響されない） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
}

/* ボット対策のハニーポット（人間には見えない） */
.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.reading-width {
  width: min(100%, var(--reading));
}

.section {
  padding-block: 96px;
}

.section--compact {
  padding-block: 64px;
}

.section--ivory {
  background: var(--ivory);
}

.section--forest {
  color: var(--white);
  background: var(--forest);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section--forest .eyebrow,
.hero .eyebrow {
  color: #f1c777;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1.25em;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.9;
}

.section--forest .lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 480px);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button::after {
  content: "→";
  transition: transform 180ms ease;
}

.button:hover::after {
  transform: translateX(4px);
}

.button--primary {
  color: var(--white);
  background: var(--clay);
}

.button--primary:hover {
  background: var(--clay-dark);
}

.button--secondary {
  color: var(--forest);
  border-color: var(--forest);
  background: transparent;
}

.button--secondary:hover {
  color: var(--white);
  background: var(--forest);
}

.button--light {
  color: var(--forest-dark);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--clay-dark);
  font-weight: 800;
}

.text-link::after {
  content: "→";
}

.announcement {
  color: var(--white);
  background: var(--forest-dark);
  font-size: 0.88rem;
}

.announcement__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.announcement a {
  color: #f1c777;
  font-weight: 800;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 41, 35, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1041px) {
  .nav-overlay {
    display: none;
  }
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 35, 31, 0.12);
  background: var(--paper);
}

.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest-dark);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-family: "Yu Mincho", serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.brand__name {
  display: block;
  font-family: "Yu Mincho", serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.brand__sub {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding-block: 28px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-cta {
  padding: 10px 16px;
  color: var(--white);
  border-radius: 3px;
  background: var(--clay);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--forest);
  box-shadow: 0 2px 8px rgba(13, 41, 35, 0.2);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 0;
  content: "";
  border-radius: 2px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span {
  transform: translate(-50%, -50%);
}

.nav-toggle::before {
  transform: translate(-50%, calc(-50% - 7px));
}

.nav-toggle::after {
  transform: translate(-50%, calc(-50% + 7px));
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(440px, 60vh, 560px);
  color: var(--white);
  background: var(--forest-dark);
  isolation: isolate;
  place-items: end start;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: url("../images/hero-tatetsuki.jpg") center / cover no-repeat;
  background-image: image-set(url("../images/hero-tatetsuki.webp") type("image/webp"), url("../images/hero-tatetsuki.jpg") type("image/jpeg"));
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(6, 27, 22, 0.58);
}

.hero__content {
  max-width: 920px;
  padding-block: 92px;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.fact-bar {
  color: var(--white);
  background: var(--forest);
}

.fact-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  padding: 28px 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.fact:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Yu Mincho", serif;
  font-size: 1.2rem;
}

.fact span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.path-card {
  min-height: 250px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.path-card:hover {
  color: var(--white);
  background: var(--forest);
}

.path-card__number {
  display: block;
  margin-bottom: 45px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.path-card:hover .path-card__number,
.path-card:hover p {
  color: rgba(255, 255, 255, 0.75);
}

.path-card h3 {
  margin-bottom: 12px;
}

.path-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.event-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.55fr);
  overflow: hidden;
  color: var(--white);
  background: var(--forest-dark);
  box-shadow: var(--shadow);
}

.event-date {
  display: grid;
  min-height: 390px;
  align-content: center;
  justify-items: center;
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--forest);
  text-align: center;
}

.event-date__year {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.event-date__day {
  font-family: "Yu Mincho", serif;
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 700;
  line-height: 0.95;
}

.event-date__month {
  margin-top: 12px;
  color: #f1c777;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.event-content {
  display: grid;
  align-content: center;
  padding: clamp(38px, 6vw, 76px);
}

.event-content h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  margin: 8px 0 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  height: auto;
}

.image-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 280px;
  padding: 13px 16px;
  color: var(--white);
  background: rgba(13, 41, 35, 0.9);
  font-size: 0.8rem;
}

.split__content h2 {
  margin-bottom: 24px;
  text-wrap: balance;
}

.feature-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-list li::before {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--white);
  border-radius: 50%;
  content: "✓";
  background: var(--forest);
  font-size: 0.75rem;
  place-items: center;
}

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

.story-card {
  background: var(--white);
}

.story-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--ivory);
}

.story-card__body {
  padding: 26px 26px 30px;
}

.story-card__tag {
  display: block;
  margin-bottom: 9px;
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.story-card h3 {
  margin-bottom: 10px;
}

.story-card p {
  color: var(--ink-soft);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 130px 140px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.news-item:hover h3 {
  color: var(--clay-dark);
}

.news-item time,
.news-item__category {
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.news-item h3 {
  font-family: inherit;
  font-size: 1rem;
  transition: color 180ms ease;
}

.news-item__arrow {
  color: var(--clay);
  font-size: 1.3rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
  padding: clamp(42px, 7vw, 82px);
  color: var(--white);
  background: var(--forest-dark);
}

.cta-panel h2 {
  margin-bottom: 14px;
}

.cta-panel p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.cta-panel--vertical {
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: start;
  gap: 24px;
}

.cta-panel--vertical > div {
  display: block;
}

.cta-panel--vertical .eyebrow {
  margin-bottom: 16px;
}

.cta-panel--vertical h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.cta-panel--vertical p {
  max-width: none;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero {
  position: relative;
  padding-block: 100px 82px;
  color: var(--white);
  background: var(--forest-dark);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.anchor-nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.anchor-nav__inner {
  display: flex;
  gap: 30px;
  overflow-x: auto;
}

.anchor-nav a {
  flex: 0 0 auto;
  padding-block: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.stat-grid,
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stat,
.goal {
  padding: 38px;
  background: var(--paper);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-family: "Yu Mincho", serif;
  font-size: 2.5rem;
}

.goal__number {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-weight: 800;
}

.goal h3 {
  margin-bottom: 14px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 30px;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 7px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 0 0 38px 20px;
}

.timeline__item::before {
  position: absolute;
  top: 8px;
  left: -28px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  content: "";
  background: var(--clay);
  box-shadow: 0 0 0 1px var(--clay);
}

.timeline__year {
  color: var(--clay-dark);
  font-weight: 800;
}

.timeline__item h3 {
  margin-bottom: 8px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 38px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}

.search-box::before {
  position: absolute;
  top: 50%;
  left: 17px;
  content: "⌕";
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.filter-button[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

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

.archive-count {
  margin: -18px 0 22px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.article-hero {
  padding-block: 82px 70px;
  color: var(--white);
  background: var(--forest-dark);
}

.article-hero__inner {
  max-width: 920px;
}

.article-back {
  display: inline-block;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.72);
}

.article-hero h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.article-date {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: start;
}

.article-content {
  min-width: 0;
  font-size: 1.18rem;
  line-height: 1.95;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.article-content h2 {
  margin: 2em 0 0.7em;
  font-size: 1.7rem;
  line-height: 1.45;
}

.article-content h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.36rem;
  line-height: 1.5;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 1.6em;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
}

.article-content li {
  margin-bottom: 0.5em;
}

.article-content a {
  color: var(--clay-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-content strong {
  font-weight: 700;
}

.article-content blockquote {
  margin: 1.7em 0;
  padding: 0.5em 1.3em;
  border-left: 4px solid var(--gold);
  color: var(--ink-soft);
}

.article-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
}

.article-content figure {
  max-width: 100%;
  margin: 32px 0;
}

.article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content td,
.article-content th {
  padding: 10px;
  border: 1px solid var(--line);
}

.article-aside {
  position: sticky;
  top: 120px;
  padding: 28px;
  border-top: 3px solid var(--clay);
  background: var(--ivory);
  font-size: 0.9rem;
}

.article-aside .footer-heading {
  color: var(--ink);
}

.archive-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease;
}

.archive-card:hover {
  border-color: var(--clay);
  transform: translateY(-3px);
}

.archive-card[hidden] {
  display: none;
}

.archive-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 42px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.archive-card h3 {
  margin-bottom: 12px;
}

.archive-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.archive-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 20px;
}

.tag-chip {
  padding: 4px 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.6;
}

.tag-chip:hover {
  color: var(--clay-dark);
  border-color: var(--clay);
}

.tag-chip[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--clay);
  background: var(--clay);
}

.archive-card .text-link {
  margin-top: auto;
}

.empty-state {
  padding: 40px;
  border: 1px dashed var(--line);
  text-align: center;
}

.schedule {
  border-top: 1px solid var(--line);
}

.schedule__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.schedule__time {
  color: var(--clay-dark);
  font-weight: 800;
}

.detail-list {
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 100px);
}

.contact-option {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-option:first-of-type {
  border-top: 1px solid var(--line);
}

.contact-option h3 {
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-option p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-weight: 800;
}

.required {
  margin-left: 6px;
  color: var(--clay-dark);
  font-size: 0.75rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #b9b7ae;
  border-radius: 3px;
  background: var(--white);
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field-note {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.form-status {
  display: none;
  padding: 16px;
  border-left: 4px solid var(--forest);
  background: #e8f0ec;
}

.form-status.is-visible {
  display: block;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--forest-dark);
}

.site-footer .brand__name {
  color: var(--white);
}

.site-footer .brand__sub {
  color: rgba(255, 255, 255, 0.6);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) repeat(3, minmax(140px, 0.7fr));
  gap: 42px;
  padding-block: 72px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.footer-heading {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

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

.footer-links a {
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
}

.back-to-top {
  color: var(--white);
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 90;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: var(--paper);
    box-shadow: 0 20px 44px rgba(13, 41, 35, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .path-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    gap: 18px;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-main > :last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(calc(100% - 32px), var(--content));
  }

  .section {
    padding-block: 68px;
  }

  .section--compact {
    padding-block: 48px;
  }

  .announcement__inner {
    min-height: 44px;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .site-nav {
    top: calc(44px + var(--header-height));
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__sub {
    display: none;
  }

  .hero {
    min-height: 640px;
    place-items: end start;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero__content {
    padding-block: 68px;
  }

  .fact-bar__grid,
  .section-heading,
  .event-feature,
  .split,
  .story-grid,
  .stat-grid,
  .goal-grid,
  .filter-bar,
  .contact-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .fact-bar__grid {
    padding-block: 10px;
  }

  .fact {
    padding: 18px 4px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }

  .fact:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 34px;
  }

  .path-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 0;
    padding: 26px;
  }

  .path-card__number {
    margin-bottom: 24px;
  }

  .event-date {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .event-meta {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .news-item {
    grid-template-columns: 100px 1fr auto;
    gap: 12px;
  }

  .news-item__category {
    display: none;
  }

  .cta-panel {
    gap: 28px;
  }

  .page-hero {
    padding-block: 70px 62px;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .cta-panel--vertical {
    min-height: 0;
  }

  .cta-panel--vertical > div {
    display: block;
  }

  .cta-panel--vertical h2 {
    max-height: none;
    margin-bottom: 18px;
    font-size: 2.25rem;
    letter-spacing: 0.03em;
    writing-mode: horizontal-tb;
  }

  .cta-panel--vertical p {
    max-width: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .filter-bar {
    gap: 16px;
  }

  .schedule__row,
  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
    padding-block: 54px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-main > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }
}

@media (max-width: 430px) {
  .button-row .button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ===== モーション：スクロール出現アニメーション ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* スクロールでヘッダーに影 */
.site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 8px 28px rgba(24, 39, 33, 0.09);
  backdrop-filter: saturate(140%) blur(8px);
}

/* カードのホバーの動き */
.story-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.path-card,
.archive-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-item {
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.news-item:hover {
  padding-left: 10px;
  background: var(--ivory);
}

.button,
.text-link,
.tag-chip,
.filter-button {
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

/* 記事ページの関連記事（サイト内回遊） */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--clay-dark);
}

.breadcrumb__sep {
  color: var(--line);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.related-list {
  display: grid;
  gap: 14px;
  margin: 14px 0 26px;
  padding: 0;
  list-style: none;
}

.related-list a {
  font-weight: 700;
  line-height: 1.5;
}

.article-source {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
