:root {
  --bg: #fbfaf5;
  --paper: #fffdf8;
  --ink: #171714;
  --muted: #67645d;
  --line: #ded8ca;
  --green: #153f32;
  --green-2: #2d6a56;
  --cream: #f2eadb;
  --gold: #b48b4f;
  --shadow: 0 18px 50px rgba(29, 40, 35, 0.09);
  --radius: 8px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 250, 245, 0.95), rgba(246, 240, 229, 0.94)),
    var(--bg);
  font-size: 16px;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(45, 106, 86, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--green);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(21, 63, 50, 0.14);
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner,
.container,
.footer-grid,
.footer-bottom {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 700;
}

.brand-name {
  display: block;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.global-nav a {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--green);
  background: rgba(21, 63, 50, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(360px, 1.07fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p,
.page-hero p {
  max-width: 680px;
}

.hero-tagline {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 800;
}

.kicker,
.card-kicker {
  margin: 0 0 0.55rem;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

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

.hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 63, 50, 0.14);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.section {
  padding: 64px 0;
}

.band {
  background: rgba(242, 234, 219, 0.72);
  border-top: 1px solid rgba(21, 63, 50, 0.1);
  border-bottom: 1px solid rgba(21, 63, 50, 0.1);
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-header p:last-child {
  color: var(--muted);
}

.card-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.info-grid article,
.side-panel,
.notice,
.contact-box {
  border: 1px solid rgba(21, 63, 50, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
}

.card,
.info-grid article,
.side-panel,
.notice {
  padding: 1.2rem;
}

.card h3,
.info-grid h3,
.article-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  line-height: 1.45;
}

.card a {
  text-decoration-color: rgba(21, 63, 50, 0.35);
  text-underline-offset: 0.25em;
}

.card p,
.info-grid p,
.article-item p,
.notice p,
.side-panel p {
  margin: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.article-list {
  display: grid;
  gap: 0.85rem;
}

.article-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 112px;
  padding: 1.1rem;
  border: 1px solid rgba(21, 63, 50, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
}

.article-item span {
  color: var(--green);
  font-weight: 800;
}

.notice {
  border-left: 5px solid var(--gold);
}

.notice strong {
  display: block;
  margin-bottom: 0.45rem;
}

.editorial {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.page-hero {
  padding: 54px 0 42px;
  background: linear-gradient(180deg, rgba(242, 234, 219, 0.82), rgba(251, 250, 245, 0));
}

.narrow {
  width: min(840px, calc(100% - 32px));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.side-panel {
  position: sticky;
  top: 102px;
}

.side-panel h2 {
  margin-top: 0;
  font-size: 1rem;
}

.link-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.link-list a {
  color: var(--green);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.link-list p {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
}

.prose h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.note {
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--gold);
  background: rgba(242, 234, 219, 0.6);
}

.text-link {
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.small {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 48px 0 28px;
  color: #f5f0e6;
  background: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.site-footer h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
}

.error-page {
  min-height: 55vh;
  display: grid;
  align-items: center;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 0.9rem;
  }

  .hero-grid,
  .two-column,
  .editorial,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .side-panel {
    position: static;
  }

  .card-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .container,
  .narrow,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1120px);
  }

  .brand-tagline {
    display: none;
  }

  .hero,
  .section {
    padding: 44px 0;
  }

  .page-hero {
    padding: 38px 0 28px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .card-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

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