:root {
  color-scheme: light;
  --cream: #fff8ea;
  --cream-deep: #ffeedf;
  --paper: #fffdf8;
  --surface: #ffffff;
  --ink: #2c2525;
  --muted: #716765;
  --line: rgba(87, 55, 45, 0.11);
  --coral: #fa573d;
  --coral-dark: #c72e24;
  --coral-soft: #ffe5dc;
  --teal: #0dacaa;
  --shadow-soft: 0 18px 48px rgba(111, 55, 36, 0.09);
  --shadow-icon: 0 32px 76px rgba(154, 58, 34, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 9%, rgba(250, 87, 61, 0.10), transparent 26rem),
    linear-gradient(180deg, var(--paper) 0, var(--cream) 42rem, #fffaf1 100%);
}

a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
}

.nav,
.hero,
.section,
.footer-inner,
.policy-wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(199, 46, 36, 0.16);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.link-button,
.lang-button {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.lang-button[aria-pressed="true"] {
  border-color: rgba(250, 87, 61, 0.34);
  background: var(--coral-soft);
  color: var(--coral-dark);
}

.hero {
  min-height: 680px;
  padding: 76px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(250, 87, 61, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(45px, 7vw, 76px);
  line-height: 1.07;
  letter-spacing: -0.05em;
}

.hero h1 .accent {
  color: var(--coral);
  text-shadow: 0 8px 26px rgba(250, 87, 61, 0.13);
}

.lead {
  max-width: 640px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
}

.hero-points {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-points span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
}

.primary-link {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 13px 28px rgba(250, 87, 61, 0.23);
}

.primary-link:hover { background: var(--coral-dark); text-decoration: none; }

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  align-content: center;
  gap: 18px;
}

.icon-stage {
  position: relative;
  display: grid;
  width: min(470px, 84vw);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(250, 87, 61, 0.13);
  border-radius: clamp(42px, 8vw, 78px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.stage-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.shape-one {
  top: -18%;
  right: -15%;
  width: 66%;
  aspect-ratio: 1;
  background: rgba(250, 87, 61, 0.09);
}

.shape-two {
  bottom: -24%;
  left: -18%;
  width: 70%;
  aspect-ratio: 1;
  background: rgba(255, 197, 155, 0.18);
}

.app-icon {
  position: relative;
  z-index: 2;
  width: 82%;
  border-radius: 26.5%;
  box-shadow: var(--shadow-icon);
}

.icon-caption {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.section { padding: 70px 0; }

.section-head {
  max-width: 700px;
  margin-bottom: 30px;
}

.section-head h2,
.support h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.038em;
}

.section-head p,
.support p { color: var(--muted); }

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

.feature {
  min-height: 202px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.77);
  box-shadow: 0 10px 30px rgba(101, 63, 43, 0.045);
}

.feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--coral-soft);
  font-size: 22px;
}

.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.how-it-works {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(250, 87, 61, 0.16);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 229, 220, 0.74));
  box-shadow: var(--shadow-soft);
}

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

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.step h3 { margin: 13px 0 5px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.support {
  margin: 24px 0 72px;
  padding: clamp(30px, 6vw, 56px);
  border: 1px solid rgba(250, 87, 61, 0.15);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.57);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.policy-wrap { padding: 56px 0 78px; }

.policy {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(25px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.policy h1 { font-size: clamp(35px, 6vw, 56px); }
.policy h2 { margin: 36px 0 10px; font-size: 22px; }
.policy p, .policy li { color: var(--muted); }
.policy ul { padding-left: 22px; }
.updated { margin: 10px 0 32px; color: var(--muted); }
.note {
  padding: 14px 17px;
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--ink) !important;
}

[data-lang] { display: none; }
html[data-active-lang="ja"] [data-lang="ja"],
html[data-active-lang="en"] [data-lang="en"] { display: block; }
html[data-active-lang="ja"] .inline[data-lang="ja"],
html[data-active-lang="en"] .inline[data-lang="en"] { display: inline; }

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 56px;
    text-align: center;
  }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-points, .cta-row { justify-content: center; }
  .hero-art { min-height: 500px; }
  .features, .steps { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
}

@media (max-width: 580px) {
  .nav { align-items: flex-start; padding: 12px 0; }
  .brand span { display: none; }
  .link-button { display: none; }
  .hero { min-height: 0; gap: 18px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-points { gap: 7px; }
  .hero-points li { font-size: 12px; }
  .hero-art { min-height: 390px; }
  .icon-stage { width: min(350px, 92vw); border-radius: 48px; }
  .section { padding: 50px 0; }
  .how-it-works { padding: 28px 22px; }
}

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