:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6473;
  --paper: #f6f3ed;
  --surface: #ffffff;
  --line: #ddd8cf;
  --green: #0f766e;
  --green-dark: #0a4f4a;
  --max: 1100px;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(246, 243, 237, 0.94);
  border-bottom: 1px solid rgba(221, 216, 207, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a,
.footer a {
  text-decoration: none;
}

.hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.85), transparent 32%),
    linear-gradient(132deg, #111827 0%, #263248 60%, #7d652f 100%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a1f4e5;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
}

h3 {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.45;
}

.hero-copy {
  max-width: 760px;
  margin: 26px 0 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

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

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

.disclosure {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: -28px auto 0;
  padding: 22px 26px;
  background: #fff8e8;
  border: 1px solid #e8cf92;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.disclosure p {
  margin: 0;
  color: #5e4b22;
  font-size: 14px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  padding: clamp(26px, 5vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.featured-card h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.featured-card p:not(.card-meta) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.card-meta {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.text-link {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.muted-section {
  width: 100%;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #ebe6dd;
}

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

.category-card {
  min-height: 230px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.category-card > span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 900;
}

.category-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: var(--muted);
  font-size: 17px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 48px max(20px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.article-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 90px) 0 110px;
}

.breadcrumbs {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.article-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 56px);
}

.article-lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.article-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-shell .disclosure {
  width: 100%;
  margin: 30px 0 0;
  box-shadow: none;
}

.article-body {
  font-size: 17px;
}

.article-body h2 {
  margin: 72px 0 22px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--green);
  font-size: clamp(26px, 4vw, 36px);
}

.article-body h3 {
  margin: 44px 0 14px;
  font-size: 24px;
}

.article-body p,
.article-body li {
  color: #343b48;
}

.article-body ul {
  padding-left: 1.4em;
}

.summary-box,
.note-box {
  margin: 28px 0;
  padding: 24px;
  border-radius: 10px;
}

.summary-box {
  background: #e9f5f3;
  border: 1px solid #b8dcd7;
}

.note-box {
  background: #fff8e8;
  border: 1px solid #e8cf92;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.choice {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 8px;
}

.choice strong {
  display: block;
  margin-bottom: 8px;
}

.plain-page {
  width: min(820px, calc(100% - 40px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 70px 0 110px;
}

.plain-page h1 {
  color: var(--ink);
  font-size: clamp(36px, 6vw, 58px);
}

.plain-page h2 {
  margin-top: 56px;
  font-size: 28px;
}

.plain-page p,
.plain-page li {
  color: #343b48;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
  }

  .nav a:first-child,
  .nav a:nth-child(2) {
    display: none;
  }

  .hero-inner {
    padding: 70px 0 84px;
  }

  .disclosure,
  .featured-card,
  .editorial-grid,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .featured-card {
    align-items: start;
  }

  .footer nav {
    gap: 12px 20px;
  }
}
