/* =========================================================
   StampVoice LP — design system (teal brand, motion-rich)
   LP専用。他ページが使う styles.css とは独立。
   ========================================================= */

:root {
  --teal: #1dbfbd;
  --teal-bright: #2fd3d1;
  --teal-deep: #15908f;
  --teal-action: #147f83;
  --teal-action-hover: #106e72;
  --ink: #123b3e;
  --ink-soft: #1b5457;
  --muted: #526c6e;
  --bg: #ffffff;
  --bg-soft: #f3faf9;
  --line: #d7ebea;
  --card: #ffffff;
  --accent: #fff6df;
  --accent-ink: #8a6418;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --max: 1180px;
  --grad: linear-gradient(135deg, #2fd3d1 0%, #1dbfbd 52%, #15908f 100%);
  --grad-deep: linear-gradient(135deg, #17a8a7 0%, #15908f 55%, #0f6d6f 100%);
  --shadow: 0 24px 60px -32px rgba(18, 59, 62, 0.45);
  --shadow-soft: 0 18px 48px rgba(18, 59, 62, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.4; }

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

.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn-primary { background: var(--grad-deep); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--teal-action); border-color: var(--line); }
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-action-hover); }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; letter-spacing: .01em; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 14px; font-weight: 700; color: var(--muted); transition: color .15s ease; }
.nav a:hover { color: var(--ink); }
.header-inner > .btn { white-space: nowrap; }

.mobile-nav-wrap { display: none; }
.mobile-nav { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav a { flex: none; font-size: 13px; font-weight: 700; color: var(--teal-action); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }

@media (max-width: 920px) { .nav { display: none; } .mobile-nav-wrap { display: block; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 520px at 82% -12%, rgba(255, 255, 255, 0.28), transparent 60%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 76px 22px 88px;
}
.hero-copy .eyebrow { color: #dffaf9; }
.hero h1 { font-size: clamp(30px, 5.2vw, 50px); font-weight: 900; letter-spacing: .01em; margin: 14px 0 18px; }
.hero-title-line { display: block; }
.hero-lead { font-size: clamp(16px, 2.4vw, 21px); font-weight: 700; color: #f1fffe; margin-bottom: 14px; }
.hero-text { font-size: clamp(14px, 2vw, 16px); color: #e5fbfa; margin-bottom: 26px; max-width: 30em; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .btn-secondary { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.hero-price-note { margin-top: 18px; font-weight: 800; font-size: 15px; color: #fff; }
.hero-note { font-size: 13px; color: #d8f6f5; margin-top: 4px; }
.hero-highlights { list-style: none; margin-top: 22px; display: grid; gap: 9px; }
.hero-highlights li { position: relative; padding-left: 26px; font-size: 14px; color: #effffe; }
.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 4px var(--teal-deep);
}

@media (max-width: 920px) {
  .hero-layout { grid-template-columns: 1fr; gap: 30px; padding: 56px 22px 64px; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-highlights { max-width: 360px; margin-left: auto; margin-right: auto; text-align: left; }
}

/* ---------- hero animated mock (pure CSS): voices → AI → next action ---------- */
.sv-mock {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 20px 18px 22px;
  box-shadow: 0 44px 90px -34px rgba(0, 0, 0, 0.55);
  text-align: left;
  color: var(--ink);
}
.sv-mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 15px; }
.sv-mock-title { font-weight: 800; font-size: 13.5px; color: var(--ink); }
.sv-mock-badge { flex: none; font-size: 11px; font-weight: 800; color: var(--teal-deep); background: var(--bg-soft); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.sv-voices { display: flex; flex-direction: column; gap: 10px; min-height: 196px; }
.sv-voice { display: flex; gap: 9px; align-items: flex-start; opacity: 0; }
.sv-voice .sv-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.sv-voice p { background: var(--bg-soft); border-radius: 14px; border-bottom-left-radius: 5px; padding: 9px 13px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.sv-ai { position: relative; margin-top: 15px; min-height: 44px; }
.sv-ai span { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; border-radius: 13px; padding: 9px 13px; opacity: 0; line-height: 1.55; }
.sv-ai .sv-ai-loading { color: var(--muted); background: var(--bg-soft); }
.sv-ai .sv-ai-result { color: #fff; background: var(--grad-deep); font-weight: 700; box-shadow: var(--shadow); }

@keyframes sv-voice-1 { 0%,2%{opacity:0;transform:translateY(10px)} 7%{opacity:1;transform:translateY(0)} 88%{opacity:1;transform:translateY(0)} 94%,100%{opacity:0;transform:translateY(-8px)} }
@keyframes sv-voice-2 { 0%,15%{opacity:0;transform:translateY(10px)} 20%{opacity:1;transform:translateY(0)} 88%{opacity:1;transform:translateY(0)} 94%,100%{opacity:0;transform:translateY(-8px)} }
@keyframes sv-voice-3 { 0%,28%{opacity:0;transform:translateY(10px)} 33%{opacity:1;transform:translateY(0)} 88%{opacity:1;transform:translateY(0)} 94%,100%{opacity:0;transform:translateY(-8px)} }
@keyframes sv-voice-4 { 0%,41%{opacity:0;transform:translateY(10px)} 46%{opacity:1;transform:translateY(0)} 88%{opacity:1;transform:translateY(0)} 94%,100%{opacity:0;transform:translateY(-8px)} }
@keyframes sv-ai-load { 0%,54%{opacity:0} 60%{opacity:1} 75%{opacity:1} 81%,100%{opacity:0} }
@keyframes sv-ai-res { 0%,81%{opacity:0} 87%{opacity:1} 98%{opacity:1} 100%{opacity:.95} }

.sv-voice:nth-of-type(1) { animation: sv-voice-1 15s ease-in-out infinite; }
.sv-voice:nth-of-type(2) { animation: sv-voice-2 15s ease-in-out infinite; }
.sv-voice:nth-of-type(3) { animation: sv-voice-3 15s ease-in-out infinite; }
.sv-voice:nth-of-type(4) { animation: sv-voice-4 15s ease-in-out infinite; }
.sv-ai .sv-ai-loading { animation: sv-ai-load 15s ease-in-out infinite; }
.sv-ai .sv-ai-result { animation: sv-ai-res 15s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .sv-voice, .sv-ai span { animation: none !important; opacity: 1; transform: none; }
  .sv-ai .sv-ai-loading { display: none; }
  .sv-ai .sv-ai-result { position: static; opacity: 1; }
}

/* ---------- section base ---------- */
.section { padding: 86px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 44em; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 4vw, 35px); font-weight: 900; margin: 10px 0 14px; }
.section-head > p { color: var(--muted); font-size: 15.5px; }
.section-head .section-lead { color: var(--ink-soft); font-size: 16px; }
.section-title-line { display: block; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--teal); }
.card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

/* value cards with icon */
.value-card { text-align: center; }
.value-card .card-icon { width: 88px; height: 88px; margin: 0 auto 16px; }

/* audience cards */
.audience-grid { max-width: 940px; margin: 0 auto; }
.audience-card { border-top: 4px solid var(--teal); }
.audience-card-hq { border-top-color: var(--ink); }
.card-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--teal-deep); text-transform: uppercase; }
.audience-card-hq .card-eyebrow { color: var(--ink); }
.card-lead { font-weight: 800; color: var(--ink); margin: 6px 0 14px; font-size: 15px; }
.card-points { list-style: none; display: grid; gap: 10px; }
.card-points li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-soft); }
.card-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal-deep); font-weight: 900; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.step > span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-deep); color: #fff; font-weight: 900; font-size: 15px; margin-bottom: 14px; }
.step h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- flow diagram ---------- */
.flow-diagram { max-width: 760px; margin: 0 auto 46px; }
.flow-diagram img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); background: #fff; }

/* ---------- use cases ---------- */
.use-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .use-list { grid-template-columns: 1fr; } }
.use-list article { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius-md); padding: 24px 22px; transition: transform .18s ease, box-shadow .18s ease; }
.use-list article:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.use-list h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.use-list p { font-size: 14px; color: var(--muted); }

.inline-cta { margin-top: 42px; text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 24px; }
.inline-cta p { font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.cta-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- compare table ---------- */
.compare-table-wrap { max-width: 940px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll-hint { display: none; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; font-size: 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--bg-soft); font-weight: 800; color: var(--ink); }
.compare-table thead th:last-child { background: var(--grad-deep); color: #fff; }
.compare-table tbody th { font-weight: 800; color: var(--ink); width: 22%; }
.compare-table td:last-child { font-weight: 700; color: var(--ink-soft); background: rgba(29, 191, 189, 0.05); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
@media (max-width: 720px) { .table-scroll-hint { display: block; } }

/* ---------- benefits / pricing / faq ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; transition: transform .18s ease, box-shadow .18s ease; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.plan-label { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--teal-deep); background: var(--bg-soft); border-radius: 999px; padding: 4px 12px; text-transform: uppercase; margin-bottom: 12px; }
.benefit-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--muted); }

/* ---------- final CTA ---------- */
.final-section { padding: 86px 0; }
.final-cta { background: var(--grad); color: #fff; border-radius: 28px; padding: 60px 30px; text-align: center; box-shadow: var(--shadow); }
.final-cta .eyebrow { color: #dffaf9; }
.final-cta h2 { font-size: clamp(24px, 4vw, 35px); font-weight: 900; margin: 10px 0 14px; }
.final-cta .section-lead { color: #effffe; max-width: 38em; margin: 0 auto 26px; }
.final-cta-group { justify-content: center; }
.final-cta .btn-secondary { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.final-cta .btn-secondary:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- footer ---------- */
.site-footer { background: #0d2c2e; color: #9fc0bf; padding: 48px 0 38px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand { color: #fff; }
.footer-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.footer-note small { font-size: 12.5px; color: #7fa4a3; }
.footer-note a { font-size: 13px; color: #9fc0bf; }
.footer-note a:hover { color: #fff; }

.signup-footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.signup-footer-brand { max-width: 320px; }
.signup-footer-brand p { margin: 12px 0 0; font-size: 13.5px; color: #9fc0bf; }
.signup-footer-links { display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 28px; }
.signup-footer-nav { display: grid; gap: 9px; }
.signup-footer-nav strong { color: #fff; font-size: 14px; }
.signup-footer-nav a { font-size: 13px; color: #9fc0bf; }
.signup-footer-nav a:hover { color: #fff; }
.signup-footer-bottom { margin-top: 28px; }
.signup-footer-bottom .footer-note { justify-content: flex-start; }
@media (max-width: 720px) {
  .signup-footer-links { grid-template-columns: 1fr 1fr; }
}

/* ---------- scroll reveal (progressive enhancement; visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 940px; margin: 0 auto; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 26px; text-align: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--teal); }
.pricing-name { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--teal-deep); background: var(--bg-soft); border-radius: 999px; padding: 5px 14px; margin-bottom: 18px; }
.pricing-price { margin: 0 0 8px; }
.pricing-price strong { font-size: 32px; font-weight: 900; color: var(--ink); }
.pricing-price span { font-size: 14px; color: var(--muted); margin-left: 4px; }
.pricing-scope { font-size: 13.5px; color: var(--muted); margin: 0; }
.pricing-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 24px auto 0; max-width: 40em; }

/* ---------- FAQ accordion (native <details>, no JS) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.faq-item[open] { border-color: var(--teal); box-shadow: var(--shadow-soft); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 15px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 20px; font-weight: 700; line-height: 1; color: var(--teal-deep); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p { font-size: 14px; color: var(--muted); margin: 0; }
