* {
  box-sizing: border-box;
}

:root {
  --bg: #f3fbf4;
  --bg-soft: #e7f6ec;
  --ink: #2c4a3a;
  --ink-soft: #4f6b5c;
  --leaf: #4fae8b;
  --leaf-deep: #2f8f6d;
  --teal: #3fb6b1;
  --petal: #f4a6c0;
  --petal-deep: #e87fa6;
  --surface: #ffffff;
  --surface-soft: #f6fbf7;
  --border: rgba(79, 174, 139, 0.26);
  --border-soft: rgba(79, 174, 139, 0.18);
  --shadow: 0 18px 48px rgba(47, 143, 109, 0.14);
  --radius: 22px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--leaf-deep);
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 8%, rgba(244, 166, 192, 0.22) 0, transparent 38%),
    radial-gradient(circle at 88% 4%, rgba(63, 182, 177, 0.18) 0, transparent 40%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 46%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
}

.brand-cluster {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand::before {
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 12px;
  background:
    radial-gradient(circle at 50% 36%, #ffffff 0 16%, transparent 17%),
    linear-gradient(150deg, var(--leaf) 0%, var(--teal) 100%);
  box-shadow: 0 4px 14px rgba(63, 182, 177, 0.4);
  content: "";
}

.platform-link {
  display: inline-flex;
  width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 4px;
  background: transparent;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.platform-logo {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(47, 143, 109, 0.2);
}

.brand-divider {
  width: 1px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--border);
}

.language-menu summary,
.language-options a {
  color: var(--ink-soft);
  text-decoration: none;
}

.language-options a[aria-current="page"],
.language-options a[aria-current="true"] {
  color: var(--ink);
}

.language-menu {
  position: relative;
  border-left: 1px solid var(--border-soft);
  padding-left: 16px;
  font-size: 13px;
}

.language-menu summary {
  display: inline-flex;
  min-width: 116px;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px 7px 14px;
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary:focus-visible,
.language-options a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--leaf-deep);
  outline-offset: 3px;
}

.chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 140ms ease;
}

.language-menu[open] .chevron {
  transform: rotate(180deg);
}

.language-menu:not([open]) .language-options {
  display: none;
}

.language-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 168px;
  max-height: min(320px, 62vh);
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.language-options a {
  display: flex;
  min-height: 38px;
  align-items: center;
  border-radius: 11px;
  padding: 8px 12px;
}

.language-options a:hover,
.language-options a[aria-current="page"],
.language-options a[aria-current="true"] {
  background: rgba(79, 174, 139, 0.12);
}

.hero,
.content {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px;
}

.hero {
  min-height: 56vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.content h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.lead {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 20px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 26%, rgba(244, 166, 192, 0.34) 0, transparent 46%),
    radial-gradient(circle at 74% 70%, rgba(63, 182, 177, 0.3) 0, transparent 50%),
    linear-gradient(160deg, #ffffff 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art .capsule {
  font-size: clamp(72px, 18vw, 132px);
  line-height: 1;
  filter: drop-shadow(0 14px 26px rgba(47, 143, 109, 0.22));
}

.hero-art .sprout {
  position: absolute;
  font-size: 30px;
  opacity: 0.92;
}

.hero-art .s1 { top: 16%; left: 18%; }
.hero-art .s2 { top: 22%; right: 16%; }
.hero-art .s3 { bottom: 18%; left: 22%; }
.hero-art .s4 { bottom: 14%; right: 20%; }

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 22px;
  color: var(--leaf-deep);
  background: var(--surface);
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 143, 109, 0.16);
}

.button.primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--leaf) 0%, var(--teal) 100%);
  box-shadow: 0 12px 28px rgba(63, 182, 177, 0.34);
}

.button.primary:hover {
  box-shadow: 0 16px 34px rgba(63, 182, 177, 0.42);
}

.steps {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 24px 24px;
}

.steps h2,
.features h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.section-lead {
  margin: 0;
  max-width: 640px;
  color: var(--ink-soft);
}

.steps-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.step {
  display: flex;
  flex: 1 1 150px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(47, 143, 109, 0.08);
}

.step .step-emoji {
  font-size: 22px;
  line-height: 1;
}

.step strong {
  color: var(--ink);
  font-size: 16px;
}

.step span.detail {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.features {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 24px 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.feature-card {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(47, 143, 109, 0.08);
}

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card .feature-emoji {
  font-size: 22px;
  line-height: 1;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.help-band {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 24px 8px;
}

.help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 166, 192, 0.22) 0, transparent 52%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow);
}

.help-card h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.help-card p {
  margin: 0;
  color: var(--ink-soft);
}

.help-card .actions {
  margin-top: 0;
}

.content {
  max-width: 820px;
}

.content h2 {
  margin-top: 34px;
  color: var(--leaf-deep);
  font-size: 23px;
}

.content p,
.content li {
  color: var(--ink-soft);
}

.content ul {
  padding-left: 22px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(47, 143, 109, 0.08);
}

.faq dt {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 800;
}

.faq dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.section-title,
.contact-line,
.privacy-line,
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.section-title {
  align-items: center;
}

.icon,
.inline-icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-icon {
  margin-top: 0.22em;
}

.icon-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.icon-list li {
  margin: 0;
}

.icon-list strong {
  color: var(--ink);
}

.footer {
  --footer-accent: var(--leaf-deep);
  --footer-border: var(--border-soft);
  --footer-ink: var(--ink);
  --footer-muted: var(--ink-soft);
  --footer-surface: var(--surface);
  --footer-surface-strong: var(--surface-soft);
  width: min(1120px, calc(100% - 40px));
  margin: auto auto 0;
  border-top: 1px solid var(--footer-border);
  padding: 30px 0 44px;
  color: var(--footer-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.footer-identity {
  display: flex;
  flex: 1 1 420px;
  min-width: min(100%, 420px);
  align-items: center;
  gap: 14px 20px;
  flex-wrap: wrap;
  line-height: 1;
}

.footer-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 0 0 auto;
  margin-bottom: 0;
}

.footer-platform,
.footer-game {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  color: var(--footer-ink);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.footer-platform {
  font-size: 15px;
}

.footer-game {
  font-size: 18px;
}

.footer-platform:hover,
.footer-game:hover {
  color: var(--footer-accent);
}

.footer-platform-logo {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(47, 143, 109, 0.2);
}

.footer-brand-divider {
  width: 1px;
  height: 26px;
  flex: 0 0 auto;
  background: var(--footer-border);
}

.footer p {
  margin: 0;
  max-width: none;
  line-height: 1.45;
  white-space: nowrap;
}

.footer-actions {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--footer-border);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--footer-ink);
  background: var(--footer-surface);
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-links a:hover {
  border-color: rgba(47, 143, 109, 0.5);
  color: var(--footer-accent);
  background: var(--footer-surface-strong);
  transform: translateY(-1px);
}

.footer-language {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer .language-menu {
  position: relative;
  padding-left: 0;
  border-left: 0;
}

.footer-language-label {
  color: var(--footer-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.footer .language-menu summary {
  min-width: 0;
  min-height: 40px;
  border-color: var(--footer-border);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--footer-ink);
  background: var(--footer-surface);
}

.footer .language-menu summary:hover,
.footer .language-menu[open] summary {
  border-color: rgba(47, 143, 109, 0.5);
  color: var(--footer-accent);
  background: var(--footer-surface-strong);
}

.footer .language-options {
  top: auto;
  right: 0;
  bottom: calc(100% + 8px);
}

@media (max-width: 780px) {
  .nav {
    align-items: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .hero-art {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .language-menu {
    padding-left: 0;
    border-left: 0;
  }

  .language-menu summary {
    min-width: 116px;
  }

  .language-options {
    left: 0;
    right: auto;
  }

  .help-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-identity {
    flex: 0 1 auto;
    min-width: 0;
  }

  .footer p {
    white-space: normal;
  }

  .footer-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-language {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer .language-menu,
  .footer .language-menu summary {
    width: 100%;
  }

  .footer .language-options {
    width: 100%;
  }
}
