:root {
  color-scheme: light;
  --ink: #1f2824;
  --muted: #5f6964;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --green: #1d6a52;
  --green-dark: #14503e;
  --green-soft: #dcebe3;
  --line: #d8d8cf;
  --shadow: 0 18px 50px rgba(31, 40, 36, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid #efb94b; outline-offset: 4px; border-radius: 4px; }

.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 237, 0.94);
  border-bottom: 1px solid rgba(216, 216, 207, 0.8);
  backdrop-filter: blur(14px);
}

.nav-wrap, .footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-wrap { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: white; background: var(--green); }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
nav a[aria-current="page"] { color: var(--green); }

.hero { padding: 92px 0 82px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.75fr); gap: clamp(36px, 7vw, 88px); align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1, h2 { letter-spacing: -0.035em; line-height: 1.25; }
h1 { margin: 0 0 24px; font-size: clamp(2.5rem, 7vw, 5.2rem); }
h2 { margin: 0 0 28px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.lead { max-width: 680px; margin: 0 0 32px; color: var(--muted); font-size: 1.12rem; }
.button { display: inline-block; padding: 13px 22px; color: white; background: var(--green); border-radius: 999px; font-weight: 750; text-decoration: none; box-shadow: 0 8px 24px rgba(29, 106, 82, 0.22); }
.button:hover { color: white; background: var(--green-dark); }

.privacy-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.privacy-card h2 { margin: 12px 0 12px; font-size: 1.5rem; }
.privacy-card p { margin: 0 0 18px; color: var(--muted); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--green); background: var(--green-soft); font-size: 1.5rem; font-weight: 800; }

.section { padding: 86px 0; }
.section-tint { background: var(--green-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; list-style: none; }
.steps li { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.steps li > span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 20px; color: white; background: var(--green); border-radius: 50%; font-size: 0.9rem; font-weight: 800; }
.steps strong { font-size: 1.05rem; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }

details { border-top: 1px solid rgba(31, 40, 36, 0.2); }
details:last-of-type { border-bottom: 1px solid rgba(31, 40, 36, 0.2); }
summary { padding: 22px 0; cursor: pointer; font-weight: 750; }
details p { margin: -4px 0 22px; color: var(--muted); }

.contact { text-align: center; }
.contact p { color: var(--muted); }
.email { color: var(--ink); font-size: clamp(1rem, 4vw, 1.35rem); font-weight: 750; }

.policy-main { padding: 78px 0 94px; }
.policy { width: min(760px, calc(100% - 40px)); padding: clamp(30px, 6vw, 64px); background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.policy h1 { font-size: clamp(2.1rem, 6vw, 3.8rem); }
.policy h2 { margin: 44px 0 10px; font-size: 1.3rem; letter-spacing: -0.02em; }
.policy p { color: var(--muted); }
.updated { padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.back-link { padding-top: 30px; }

footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.87rem; }
.footer-wrap p { margin: 0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0; }
  .hero-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .nav-wrap { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 14px; }
  nav { gap: 18px; }
  .site-header { position: static; }
  .footer-wrap { align-items: flex-start; flex-direction: column; gap: 4px; }
}

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