:root {
  --ink: #15202b;
  --muted: #5d6b78;
  --line: #dfe7ec;
  --paper: #f7faf9;
  --card: #ffffff;
  --teal: #0d766e;
  --teal-dark: #07584f;
  --gold: #e8b44e;
  --soft-teal: #e8f4f1;
  --soft-gold: #fff5dc;
  --shadow: 0 18px 45px rgba(21, 32, 43, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.8;
}

a { color: var(--teal-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--teal); }

.site-header {
  border-bottom: 1px solid rgba(223, 231, 236, 0.85);
  background: rgba(247, 250, 249, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-mark {
  color: var(--teal);
  margin-right: 0.45em;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover { color: var(--teal-dark); }

.hero {
  padding: 84px 0 70px;
  background:
    radial-gradient(circle at 83% 12%, rgba(232, 180, 78, 0.2), transparent 28%),
    linear-gradient(135deg, #eef8f5 0%, #f7faf9 58%, #fffaf0 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1, h2, h3 {
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.3rem);
}

h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { margin: 0 0 10px; font-size: 1.18rem; }

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(13, 118, 110, 0.2);
}

.button:hover { background: var(--teal-dark); color: #fff; }

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid rgba(13, 118, 110, 0.35);
  box-shadow: none;
}

.section { padding: 76px 0; }
.section.tight { padding-top: 28px; }

.section-intro {
  max-width: 690px;
  margin: 0 0 28px;
  color: var(--muted);
}

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

.card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.card p { margin: 0 0 18px; color: var(--muted); font-size: 0.94rem; }
.card a { margin-top: auto; font-weight: 800; }

.tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.tag.gold { background: var(--soft-gold); color: #835c08; }

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

.step {
  position: relative;
  padding: 24px 24px 24px 68px;
  border-radius: 18px;
  background: var(--soft-teal);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 23px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--soft-gold);
  color: #5d4a1a;
}

.article-shell { padding: 70px 0; }
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.article-header { margin-bottom: 34px; }
.article-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.article-meta { margin: 18px 0 0; color: var(--muted); font-size: 0.88rem; }
.article h2 { margin-top: 42px; }
.article h3 { margin-top: 28px; }
.article li { margin: 0.45em 0; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.92rem; }
.article th, .article td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: var(--soft-teal); }

.source-list { padding-left: 1.25em; }
.source-list li { margin: 0.5em 0; }

.footer {
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer p { margin: 6px 0; }

@media (max-width: 820px) {
  .grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-wrap { align-items: flex-start; padding: 16px 0; flex-direction: column; }
  .nav-links { justify-content: flex-start; gap: 10px 16px; }
}

@media (max-width: 560px) {
  .nav-wrap, .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 60px 0 48px; }
  .section, .article-shell { padding: 50px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .article { padding: 24px 20px; border-radius: 18px; }
  .article table { display: block; overflow-x: auto; white-space: nowrap; }
}
