:root {
  --bg: #fffaf8;
  --bg-soft: #fff3ef;
  --card: rgba(255,255,255,0.88);
  --line: #f2ddd5;
  --text: #4f4a48;
  --muted: #7d7470;
  --pink: #f3c9d7;
  --mint: #dcefe8;
  --shadow: 0 18px 50px rgba(177, 148, 137, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #fff0f5 0, transparent 30%),
    radial-gradient(circle at top right, #eef8f4 0, transparent 28%),
    linear-gradient(180deg, #fffdfc 0%, var(--bg) 100%);
  line-height: 1.7;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section { padding: 88px 0; }

.section-title {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  backdrop-filter: blur(10px);
}

.muted { color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btns.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #5b424b;
  background: linear-gradient(135deg, var(--pink), #f8dbe5);
  box-shadow: 0 10px 24px rgba(234, 174, 193, .28);
}

.btn-secondary {
  color: #4e615b;
  background: linear-gradient(135deg, var(--mint), #ebf8f3);
  border-color: #d5ebe3;
}

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.65);
  border-color: var(--line);
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255,250,248,0.72);
  border-bottom: 1px solid rgba(242,221,213,0.6);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fbe0e8, #eef8f4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  font-size: 1.2rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}

.lang-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle button.active {
  background: white;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero { padding: 52px 0 28px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.hero-copy { padding: 18px 6px; }

.hero-title {
  font-size: clamp(2.4rem, 1.65rem + 3.2vw, 5rem);
  line-height: .98;
  letter-spacing: -0.045em;
  margin: 16px 0 18px;
  max-width: 12ch;
}

.hero-lead {
  font-size: clamp(1.03rem, .98rem + .35vw, 1.18rem);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 16px;
}

.microcopy {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 12px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 26px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .94rem;
  color: var(--text);
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), #fce4ec);
  font-weight: 800;
  font-size: .86rem;
}

.hero-visual { position: relative; }

.visual-shell {
  position: relative;
  padding: 24px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.58));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.9);
  overflow: hidden;
}

.blob, .blob2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: .7;
}

.blob {
  width: 180px;
  height: 180px;
  background: #fde7ee;
  top: -30px;
  right: -20px;
}

.blob2 {
  width: 160px;
  height: 160px;
  background: #e7f5ef;
  bottom: -30px;
  left: -20px;
}

.cat-frame {
  position: relative;
  background: white;
  border-radius: 30px;
  padding: 20px;
  border: 1px solid #f4e7e2;
}

.cat-photo {
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: clamp(5rem, 8vw, 7rem);
  background: linear-gradient(135deg, #fff1f6, #eff9f5);
  border: 1px solid #f5e4eb;
  overflow: hidden;
}

.cat-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.cat-name {
  font-weight: 800;
  font-size: 1.1rem;
}

.shuffle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.quote {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  border: 1px dashed #f0d8cf;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.6);
  border: 1px solid #f6e7e1;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fbe0e8, #edf8f4);
  font-size: 1.1rem;
}

.feature h3,
.mini-card h3,
.faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
}

.feature p,
.mini-card p {
  margin: 0;
  color: var(--muted);
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mini-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.75);
  border: 1px solid #f5e3dd;
  box-shadow: var(--shadow);
}

.number {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #f9d6e2, #fff0f5);
  margin-bottom: 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #f2ddd5;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-card {
  aspect-ratio: 1/1;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #fff1f6, #eef9f4);
  border: 1px solid #f3e2dc;
  box-shadow: var(--shadow);
}

.cta-panel {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(248, 200, 220, .45), rgba(207, 234, 228, .5));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 1.5rem + 1.3vw, 2.7rem);
}

.cta-panel p {
  margin: 0 auto 20px;
  max-width: 52ch;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.75);
  border: 1px solid #f3e1da;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

footer {
  padding: 42px 0 68px;
  color: var(--muted);
}

.footer-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  border: 1px solid #f2ddd5;
  box-shadow: var(--shadow);
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-brand {
  margin-bottom: 12px;
}

.token-info {
  display: grid;
  gap: 8px;
}

.small { font-size: .92rem; }

.top-gap { margin-top: 24px; }
.top-gap-small { margin-top: 18px; }
.subhead { margin-top: 0; font-size: 1.25rem; }

[data-lang-content] { display: none; }
[data-lang-content].active { display: block; }

@media (max-width: 980px) {
  nav ul { display: none; }
  .hero-grid,
  .split,
  .footer-card { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .wrap { width: min(calc(100% - 20px), var(--max)); }
  .nav { min-height: 70px; }
  .hero { padding-top: 28px; }
  .hero-title { max-width: none; }
  .steps { flex-direction: column; align-items: stretch; }
  .step { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card,
  .mini-card,
  .faq-item,
  .cta-panel { padding: 22px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { display: none; }
}
