:root {
  --green: #06C755;
  --green-deep: #059a42;
  --green-soft: #e8f8ee;
  --pink: #f06292;
  --pink-soft: #ffe4ef;
  --mint: #b8f0d0;
  --peach: #ffd8c2;
  --ink: #1f2a24;
  --muted: #5a6b62;
  --paper: #fffdfb;
  --line: rgba(31, 42, 36, 0.08);
  --radius: 18px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--paper);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); }
.skip {
  position: absolute; left: -9999px; top: 0;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 100;
  background: #fff; padding: 8px 12px; border-radius: 8px;
}

.topnav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 20px;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav .logo {
  font-weight: 900; font-size: 15px; color: var(--ink);
  text-decoration: none; letter-spacing: 0.02em;
}
.topnav nav {
  display: flex;
  flex-wrap: wrap; gap: 6px 14px;
  font-size: 13px; font-weight: 700;
}
.topnav nav a { color: var(--muted); text-decoration: none; }
.topnav nav a:hover { color: var(--green-deep); }

.crumbs {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.crumbs ol {
  display: flex; flex-wrap: wrap; gap: 6px 8px;
  margin: 0; padding: 0; list-style: none;
}
.crumbs li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #9aa8a1;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.page-hero {
  padding: 56px 20px 40px;
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, var(--pink-soft) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 95% 20%, var(--mint) 0%, transparent 50%),
    linear-gradient(165deg, #fff7fb 0%, #f3fff8 60%, #fff8f0 100%);
}
.page-hero .inner, .content {
  width: min(880px, 100%);
  margin: 0 auto;
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 900;
  line-height: 1.35;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 40em;
}

.content { padding: 40px 20px 72px; }
.content > section { margin-bottom: 56px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.08em;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(21px, 3.4vw, 27px);
  font-weight: 900;
  line-height: 1.4;
}
h3 {
  margin: 28px 0 8px;
  font-size: 17.5px;
  font-weight: 800;
}
p, li { font-size: 15px; }
.lead { color: var(--muted); margin: 0 0 20px; }

.toc {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--green-soft);
}
.toc strong { display: block; margin-bottom: 8px; font-size: 14.5px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: 4px 0; font-weight: 700; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.step-block {
  display: grid;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .step-block { grid-template-columns: 1.5fr 1fr; align-items: start; }
}
.step-block:last-of-type { border-bottom: 1px solid var(--line); }
.step-label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  vertical-align: middle;
}
.step-block h3 { margin: 0 0 10px; display: flex; align-items: center; }
.step-block p { margin: 0 0 10px; }
.step-block ul { margin: 0; padding-left: 1.3em; color: var(--muted); }
.step-block li + li { margin-top: 4px; }
.step-block figure { margin: 0; }
.step-block img {
  border-radius: var(--radius);
  background: var(--green-soft);
  max-width: 260px;
  margin: 0 auto;
}
.hint {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--pink-soft);
  font-size: 13.5px;
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
table.spec th, table.spec td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.spec tr:last-child td { border-bottom: none; }
table.spec th { background: var(--green-soft); font-size: 13px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 36px 16px 0;
  font-weight: 800;
  font-size: 15.5px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); }

.related {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .related { grid-template-columns: 1fr 1fr; }
}
.related a {
  display: block;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.related a:hover { border-color: var(--green); }
.related strong { display: block; margin-bottom: 4px; color: var(--green-deep); }
.related span { color: var(--muted); font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(6, 199, 85, 0.35);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

footer.site {
  padding: 36px 20px 48px;
  border-top: 1px solid var(--line);
  background: #f7fbf8;
  color: var(--muted);
  font-size: 13px;
}
footer.site .inner {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
footer.site .brand { font-weight: 900; color: var(--ink); font-size: 15px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.disclaimer { font-size: 12px; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
