/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-base: #FFFFFF;
  --color-surface: #F7FBFD;
  --color-primary: #B3E5FC;
  --color-accent: #0288D1;
  --color-accent-soft: #E1F5FE;
  --color-text: #263238;
  --color-text-muted: #607D8B;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--color-accent-soft) 0%, var(--color-base) 60%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(178,229,252,0.35), transparent),
    radial-gradient(ellipse 500px 350px at 80% 60%, rgba(2,136,209,0.08), transparent);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-icon {
  font-size: 64px;
  margin-bottom: 8px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.9;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-link img {
  height: 48px;
  border-radius: 8px;
  transition: transform 0.2s;
}
.badge-link:hover img { transform: scale(1.05); }

/* ── Sections ─────────────────────────────────── */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--color-surface);
}

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-desc {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-size: 15px;
}

/* ── Steps (How it works) ─────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Features ─────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--color-base);
  border: 1px solid #E0F2F8;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2,136,209,0.1);
}

.feature-emoji {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Reactions ────────────────────────────────── */
.reactions {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.reaction {
  font-size: 48px;
  transition: transform 0.2s;
  cursor: default;
}
.reaction:hover { transform: scale(1.25); }

/* ── Footer ───────────────────────────────────── */
.footer {
  background: var(--color-text);
  color: #cfd8dc;
  text-align: center;
  padding: 40px 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #cfd8dc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-primary); }

.footer-copy {
  font-size: 13px;
  color: #78909c;
}

/* ── Legal pages ──────────────────────────────── */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-page h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-page p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 4px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.legal-back:hover { text-decoration: underline; }
