:root {
  color-scheme: light;
  --ink: #113421;
  --muted: #5f7467;
  --leaf: #2f7d32;
  --leaf-dark: #155329;
  --mint: #eaf5e5;
  --mist: #f7faf5;
  --line: #c8ddbd;
  --sun: #f1b73f;
  --white: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(21, 83, 41, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

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

.brand {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--leaf-dark);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--mint);
  color: var(--leaf-dark);
}

.hero {
  min-height: clamp(620px, 88vh, 920px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 38, 22, 0.92), rgba(8, 38, 22, 0.62) 42%, rgba(8, 38, 22, 0.20)),
    var(--hero-image) right center / auto 100% no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, var(--mist), transparent);
  z-index: -1;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 96px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  color: #bdeaa2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

main {
  overflow: hidden;
}

.section {
  padding: clamp(36px, 5vw, 64px) 0;
}

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

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.theme-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(21, 83, 41, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(21, 83, 41, 0.14);
}

.theme-card img {
  width: 100%;
  aspect-ratio: 941 / 1672;
  object-fit: contain;
  object-position: center;
  background: #f4f8f0;
}

.theme-card-body {
  padding: 18px;
}

.theme-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.3;
}

.theme-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
}

.feature-band img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(21, 83, 41, 0.16);
}

.feature-copy h2 {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.point {
  min-height: 110px;
  padding: 16px;
  border-left: 5px solid var(--leaf);
  background: var(--mint);
}

.point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--leaf-dark);
}

.point span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.seo-copy {
  background: #fbfdf8;
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.seo-copy h2 {
  margin-bottom: 14px;
  color: var(--leaf-dark);
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.2;
}

.seo-copy h3 {
  margin: 0 0 8px;
  color: var(--leaf-dark);
  font-size: 20px;
  line-height: 1.35;
}

.seo-copy p {
  color: var(--muted);
  font-weight: 700;
}

.seo-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.seo-list article,
.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-item p {
  margin-bottom: 0;
}

.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.term-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(21, 83, 41, 0.07);
}

.term-card h3 {
  margin-bottom: 8px;
  color: var(--leaf-dark);
  font-size: 22px;
  line-height: 1.35;
}

.term-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.term-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(34px, 6vw, 64px);
  background: linear-gradient(135deg, #f8fbf5, #e5f1de);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  gap: 34px;
  align-items: center;
}

.page-title h1 {
  color: var(--leaf-dark);
  font-size: clamp(38px, 6vw, 74px);
}

.page-title p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.page-hero img {
  width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(21, 83, 41, 0.16);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1.14fr);
  gap: 32px;
  align-items: start;
}

.article-copy {
  position: sticky;
  top: 96px;
}

.article-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.2;
  color: var(--leaf-dark);
}

.article-copy p,
.article-copy li {
  color: var(--muted);
  font-weight: 700;
}

.article-copy ul {
  padding-left: 1.2em;
}

.image-stack {
  display: grid;
  gap: 14px;
}

.image-stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(21, 83, 41, 0.12);
}

.image-stack img {
  width: 100%;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--leaf-dark);
  text-decoration: none;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  background: var(--leaf-dark);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 800;
}

.provider {
  padding: clamp(28px, 4vw, 46px) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.provider-box {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 1.3fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f9fcf6, #edf6e8);
}

.provider-box h2 {
  margin-bottom: 8px;
  color: var(--leaf-dark);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}

.provider-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.provider-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.provider-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.provider-meta dt {
  color: var(--leaf-dark);
  font-weight: 900;
}

.provider-meta dd {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.provider-meta a {
  color: var(--leaf-dark);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(0deg, rgba(8, 38, 22, 0.92), rgba(8, 38, 22, 0.16) 62%),
      var(--hero-image) center top / 100% auto no-repeat;
  }

  .hero-content {
    padding: 430px 0 54px;
  }

  .section-head,
  .feature-band,
  .page-hero .container,
  .article-layout {
    grid-template-columns: 1fr;
  }

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

  .glossary-list {
    grid-template-columns: 1fr;
  }

  .provider-box {
    grid-template-columns: 1fr;
  }

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

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

  .article-copy {
    position: static;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .container,
  .hero-content {
    width: min(100% - 22px, 1120px);
  }

  .nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 690px;
  }

  h1 {
    font-size: 40px;
  }

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

  .theme-card-body {
    padding: 16px;
  }
}
