@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #0f0f12;
  --text-secondary: #5c5c6b;
  --text-muted: #9494a3;
  --accent: #7c3aed;
  --accent-soft: rgba(124, 58, 237, 0.1);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.12);
  --border: rgba(15, 15, 18, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ── Header ── */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.site-header .inner {
  pointer-events: auto;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(15, 15, 18, 0.06);
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

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

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-cta {
  background: var(--text) !important;
  color: #fff !important;
}

.nav-cta:hover {
  background: #2a2a32 !important;
  color: #fff !important;
}

.lang-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: var(--font);
}

.lang-toggle:hover {
  color: var(--accent);
  border-color: rgba(124, 58, 237, 0.25);
  background: var(--accent-soft);
}

/* ── Hero ── */
.hero-wrap {
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.blob-1 {
  width: 480px;
  height: 480px;
  background: #c4b5fd;
  top: -120px;
  right: -80px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #6ee7b7;
  bottom: -100px;
  left: -60px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 8px 32px rgba(15, 15, 18, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(15, 15, 18, 0.24);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--green-soft));
}

.hero-visual img {
  position: relative;
  width: min(100%, 380px);
  filter: drop-shadow(0 24px 48px rgba(15, 15, 18, 0.12));
}

/* ── Features bento ── */
.section {
  padding: 80px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
}

.section-head {
  margin-bottom: 48px;
}

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

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.bento-card:hover {
  box-shadow: 0 16px 48px rgba(15, 15, 18, 0.08);
  transform: translateY(-2px);
}

.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.bento-icon.purple { background: var(--accent-soft); }
.bento-icon.green { background: var(--green-soft); }

.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.bento-visual {
  grid-column: span 12;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

/* ── CTA band ── */
.cta-band {
  margin: 0 24px 80px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 56px 48px;
  border-radius: 32px;
  background: var(--text);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--text);
}

/* ── Legal / Support ── */
.legal-page {
  padding: 120px 0 80px;
  max-width: 720px;
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 12px;
}

.legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  white-space: pre-line;
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.contact-card {
  background: linear-gradient(135deg, var(--accent-soft), var(--green-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}

.contact-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.contact-card .btn-primary {
  font-size: 0.9rem;
}

/* ── Footer ── */
.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .hero,
  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8 {
    grid-column: span 12;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .bento-visual {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .cta-band {
    margin-left: 24px;
    margin-right: 24px;
    padding: 40px 24px;
  }
}
