﻿:root {
  --bg: #f4f0e8;
  --surface: rgba(255, 255, 255, 0.78);
  --ink: #1d3a35;
  --ink-soft: #4d625d;
  --line: rgba(29, 58, 53, 0.12);
  --accent: #0d7368;
  --deep: #16312d;
  --radius: 26px;
  --shadow: 0 18px 48px rgba(22, 49, 45, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(214, 177, 125, 0.16), transparent 26%), linear-gradient(180deg, #f8f5ef 0%, var(--bg) 100%);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
code {
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: rgba(13, 115, 104, 0.09);
  font-size: 0.92em;
}
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 26px 0 10px; }
.site-header--compact { padding-bottom: 0; }
.shell--header, .shell--footer { display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.eyebrow, .section-label {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
h2 { margin-bottom: 14px; font-size: clamp(1.35rem, 3vw, 2.2rem); line-height: 1.25; }
.lead { max-width: 62ch; color: var(--ink-soft); }
.quick-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.quick-nav a, .footer-link {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  transition: transform 160ms ease, background 160ms ease;
}
.quick-nav a:hover, .footer-link:hover, .text-link:hover { transform: translateY(-1px); background: #fff; }
.hero, .section { padding: 28px 0 22px; }
.hero__grid, .grid { display: grid; gap: 18px; }
.hero__grid, .grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero__card, .panel, .step-card, .preset-card, .note, .resource-table, .doc-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero__card--accent { background: linear-gradient(160deg, rgba(13, 115, 104, 0.12), rgba(255, 255, 255, 0.82)); }
.feature-list { margin: 0; padding-left: 1.1rem; }
.section-head { margin-bottom: 20px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.step-index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.text-link {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
}
.section--soft { background: rgba(255, 255, 255, 0.28); }
.resource-table { padding: 10px 22px; }
.resource-row {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.resource-row:last-child { border-bottom: 0; }
.resource-name { font-weight: 600; }
.prose-shell { display: grid; gap: 18px; }
.site-footer { padding: 18px 0 34px; }
.site-footer p { margin-bottom: 0; color: var(--ink-soft); }
@media (max-width: 980px) {
  .hero__grid, .grid--two, .grid--three, .steps { grid-template-columns: 1fr; }
  .shell--header, .shell--footer, .resource-row { flex-direction: column; align-items: flex-start; }
  .quick-nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { line-height: 1.65; }
  .shell { width: min(100% - 20px, 1120px); }
  .site-header { padding-top: 18px; }
  .hero, .section { padding: 18px 0 14px; }
  .hero__card, .panel, .step-card, .preset-card, .note, .resource-table, .doc-card { padding: 18px; border-radius: 20px; }
  .quick-nav a, .footer-link, .text-link { width: 100%; justify-content: center; text-align: center; }
}
