:root {
  color-scheme: light;
  --ink: #172b28;
  --muted: #5c6b68;
  --brand: #244f49;
  --brand-dark: #173b36;
  --brand-soft: #e9f2ef;
  --accent: #e98932;
  --accent-dark: #c86d1e;
  --paper: #fff;
  --canvas: #f5f7f6;
  --line: #d6dfdc;
  --line-dark: #b9c6c2;
  --shadow: 0 8px 22px rgba(23, 43, 40, 0.07);
  font-family: "Yu Gothic UI", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 17px; line-height: 1.7; }
a { color: var(--brand-dark); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.2; letter-spacing: 0; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); }
.header-inner { display: flex; width: min(1120px, calc(100% - 32px)); min-height: 62px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 7px; color: #fff; background: var(--brand); font-family: Georgia, serif; font-size: 18px; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }
nav a { color: #40504d; font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }

main > section { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.hero { padding: clamp(44px, 7vw, 82px) 0 clamp(34px, 5vw, 58px); }
.hero.compact { padding-bottom: 36px; }
.section-kicker { margin: 0 0 7px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(2.35rem, 4.2vw, 3.7rem); }
.hero-copy { max-width: 720px; margin: 16px 0 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-weight: 800; text-decoration: none; }
.button.primary { color: #fff; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { border-color: var(--line-dark); color: var(--ink); background: #fff; }
.button.secondary:hover { border-color: var(--brand); color: var(--brand); }

.content-section { margin-bottom: 42px; padding: clamp(26px, 3.5vw, 38px); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.section-header { margin-bottom: 18px; }
.section-header h2 { margin: 0; font-size: clamp(1.7rem, 2.7vw, 2.25rem); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card-grid.single { grid-template-columns: minmax(0, 1fr); }
.feature-card { display: flex; min-height: 210px; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px; background: #fff; }
.feature-card.highlight { border-top-color: var(--accent); }
.feature-card.subdued { background: #fbfcfc; }
.card-label { color: var(--brand); font-size: 13px; font-weight: 900; letter-spacing: 0.04em; }
.feature-card h3 { margin: 8px 0 0; font-size: clamp(22px, 2vw, 26px); font-weight: 900; }
.feature-card p { margin: 10px 0 0; color: var(--muted); }
.text-link { display: inline-flex; margin-top: auto; padding-top: 18px; font-weight: 800; }
.card-button { align-self: flex-start; margin-top: auto; }
.product-list { display: grid; grid-template-columns: minmax(0, 1fr); }

footer { display: flex; min-height: 70px; align-items: center; justify-content: center; padding: 16px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 15px; }
footer p { margin: 0; font-weight: 800; }

@media (max-width: 720px) {
  .header-inner, main > section { width: min(100% - 24px, 1120px); }
  .header-inner { min-height: 56px; }
  nav a { font-size: 12px; }
  .hero { padding: 34px 0 28px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.45rem); }
  .hero-copy { margin-top: 12px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 20px; }
  .button { width: 100%; }
  .content-section { margin-bottom: 28px; padding: 20px 14px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 18px; }
  .card-button { width: 100%; }
}
