:root {
  --ink: #2a1a24;
  --ink-soft: #4d3a44;
  --text: #6b5360;
  --text-mute: #7d6470;
  --text-faint: #a58897;
  --step-label: #c78ba5;

  --border: #f0d8e2;
  --border-soft: #f5e3ea;

  --bg-card: #fffafc;
  --bg-tint: #fdf3f7;

  --brand: #ff2f7e;
  --brand-strong: #e11d68;
  --brand-soft: #ff8ab8;
  --brand-softer: #ffb3d0;
  --brand-border: #ffc2d8;
  --brand-tint: #ffe3ee;
  --brand-tint-2: #fff0f6;

  --line: #06c755;
  --line-ink: #062b13;

  --bubble-ai: #f4f1f5;
  --bubble-ai-border: #e6dde3;

  --font-heading: "Zen Maru Gothic", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1160px;
  --pad-x: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-card);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, p, ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand-strong);
  text-decoration: none;
}

a:hover {
  color: var(--brand-soft);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brand-strong);
  margin-bottom: 14px;
}

.eyebrow--step {
  color: var(--step-label);
  margin-bottom: 0;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  border-radius: 999px;
  text-align: center;
}

.btn-line {
  background: var(--line);
  color: var(--line-ink);
}

.btn-line:hover {
  color: var(--line-ink);
  filter: brightness(1.05);
}

.btn-line--small {
  padding: 11px 20px;
  font-size: 13px;
}

.btn-line--large {
  width: 100%;
  max-width: 380px;
  padding: 22px 28px;
  font-size: 21px;
  box-shadow: 0 14px 34px rgba(6, 199, 85, 0.26);
}

.btn-line--xl {
  padding: 24px 64px;
  font-size: 23px;
  box-shadow: 0 16px 40px rgba(6, 199, 85, 0.28);
}

/* nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 250, 252, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--brand);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  color: var(--text-mute);
}

.nav-links a {
  color: var(--text-mute);
}

.nav-links a:hover {
  color: var(--brand-strong);
}

/* hero */

.hero {
  background: linear-gradient(170deg, #ffeaf3 0%, var(--bg-card) 62%);
  scroll-margin-top: var(--nav-h);
}

.hero-inner {
  padding-top: clamp(48px, 8vw, 72px);
  padding-bottom: clamp(48px, 8vw, 68px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #fff;
  border: 1.5px solid var(--brand-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-strong);
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 1.15rem + 4.2vw, 4.25rem);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0.01em;
  word-break: keep-all;
}

.lead {
  font-size: clamp(15px, 1.1vw + 11px, 18px);
  line-height: 2.05;
  color: var(--text);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--text-faint);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 6px;
}

.chip {
  padding: 9px 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-mute);
}

.hero-mock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.phone-card {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 18px 44px rgba(180, 110, 140, 0.16);
}

.phone-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-card-title {
  font-size: 13px;
  font-weight: 700;
}

.ai-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  background: var(--brand);
  padding: 4px 8px;
  border-radius: 5px;
}

.bubble {
  max-width: 82%;
  font-size: 14px;
  line-height: 1.78;
}

.bubble-mine {
  align-self: flex-end;
  background: var(--brand-tint);
  color: var(--ink);
  padding: 12px 15px;
  border-radius: 16px 16px 4px 16px;
}

.bubble-ai {
  align-self: flex-start;
  max-width: 86%;
  background: var(--bubble-ai);
  color: var(--ink);
  padding: 12px 15px;
  border-radius: 16px 16px 16px 4px;
}

.phone-card-foot {
  font-size: 11px;
  color: var(--text-faint);
}

.hero-mock-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-faint);
  text-align: center;
  max-width: 320px;
}

/* player / waveform */

.player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--brand-tint-2);
  border-radius: 14px;
  padding: 12px 14px;
}

.play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tri {
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex: 1;
  min-width: 0;
}

.waveform .bar {
  flex: 1;
  height: 100%;
  border-radius: 2px;
  animation: wv 1.1s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.12s);
}

.waveform .bar:nth-child(3n + 1) {
  background: var(--brand);
}

.waveform .bar:nth-child(3n + 2) {
  background: var(--brand-soft);
}

.waveform .bar:nth-child(3n + 3) {
  background: var(--brand-softer);
}

.player-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

/* pain / あるある */

.pain {
  padding: clamp(48px, 9vw, 76px) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
}

.pain-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 30px;
}

.pain-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.375rem);
  font-weight: 900;
  line-height: 1.45;
}

.pain-head-note {
  font-size: 14px;
  color: var(--text-faint);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.pain-grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-tint);
  font-size: 22px;
  margin-bottom: 16px;
}

.pain-grid li p {
  margin: 0;
}

.pain-lead {
  font-size: clamp(15px, 0.6vw + 13px, 17px);
  line-height: 2.05;
  color: var(--text);
  max-width: 700px;
}

/* features */

.features {
  padding: clamp(48px, 9vw, 76px) 0;
  background: var(--bg-tint);
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: var(--nav-h);
}

.features-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.features-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.375rem);
  font-weight: 900;
  line-height: 1.45;
}

.features-head-note {
  font-size: 15px;
  line-height: 2;
  color: var(--text-mute);
  max-width: 420px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 900;
}

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

.feature-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding: 16px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 10px 10px 16px;
  margin-top: 4px;
}

.chat-input-field {
  flex: 1;
  font-size: 13px;
  color: var(--text-faint);
}

.chat-input-send {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 999px;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-reply {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
}

.bubble-mine--sm,
.bubble-ai--sm {
  font-size: 13px;
  line-height: 1.75;
  padding: 11px 14px;
  border-radius: 14px 14px 4px 14px;
  max-width: 82%;
}

.bubble-ai--sm {
  border-radius: 14px 14px 14px 4px;
  max-width: 88%;
}

.player--card {
  padding: 16px;
  border-radius: 16px;
}

.waveform--wide {
  height: 28px;
}

.tag {
  align-self: flex-start;
  padding: 7px 13px;
  background: var(--brand-tint-2);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand-strong);
  font-weight: 700;
}

.tag--muted {
  background: var(--bubble-ai);
  border-color: var(--bubble-ai-border);
  color: var(--text-mute);
}

.notify-card {
  background: #f7f8f9;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 10px;
}

.notify-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}

.notify-label {
  display: block;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 5px;
}

.notify-bubble {
  background: #fff;
  border: 1px solid #eee;
  padding: 11px 13px;
  border-radius: 4px 13px 13px 13px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink);
}

/* how-to */

.how-to {
  padding: clamp(48px, 9vw, 76px) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: var(--nav-h);
}

.how-to-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.how-to-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.375rem);
  font-weight: 900;
  line-height: 1.45;
}

.how-to-head p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-mute);
  max-width: 640px;
}

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

.step-card {
  background: var(--bg-tint);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
}

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

/* safety */

.safety {
  padding: clamp(48px, 9vw, 76px) 0;
  background: var(--bg-tint);
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: var(--nav-h);
}

.safety-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.safety-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safety-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
  font-weight: 900;
  line-height: 1.5;
}

.safety-copy p {
  font-size: 15px;
  line-height: 2.05;
  color: var(--text);
}

.safety-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.safety-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
}

.safety-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.safety-card p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--text-mute);
  padding-top: 6px;
}

/* final cta */

.cta {
  padding: clamp(56px, 10vw, 88px) 0;
  background: linear-gradient(180deg, #ffeaf3, #ffd9e8);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.1rem + 2.8vw, 2.875rem);
  font-weight: 900;
  line-height: 1.45;
  color: var(--ink);
}

.cta-inner p {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
  max-width: 620px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-faint);
}

/* footer */

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  padding: 26px 0;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-faint);
}

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

.footer-links a {
  color: var(--text-faint);
}

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

/* policy pages (terms / privacy) */

.policy {
  padding: clamp(40px, 7vw, 64px) 0 clamp(56px, 9vw, 88px);
}

.policy-back {
  display: inline-flex;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 28px;
}

.policy-back:hover {
  color: var(--brand-strong);
}

.policy h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.375rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}

.policy-meta {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 32px;
}

.policy-lead {
  font-size: 15px;
  line-height: 2.05;
  color: var(--text);
  max-width: 760px;
  margin-bottom: 48px;
}

.policy section {
  max-width: 760px;
  margin-bottom: 36px;
}

.policy h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
}

.policy p {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 10px;
}

.policy ul,
.policy ol {
  padding-left: 1.3em;
  display: block;
}

.policy ul {
  list-style: disc;
}

.policy ol {
  list-style: decimal;
}

.policy li {
  display: list-item;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 6px;
}

/* animations */

@keyframes wv {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .waveform .bar {
    animation: none;
  }
}

/* responsive */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .safety-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .btn-line--small {
    padding: 9px 16px;
    font-size: 12px;
  }

  .btn-line--xl {
    width: 100%;
    padding: 20px 32px;
    font-size: 19px;
  }
}
