/* ============================================================
   formAI — Dark promo-style landing (style-dark.css)
   共有プロモ画像（ネイビー × ミント／斜めストライプ）準拠の別テーマ。
   既存 assets/style.css とは独立。index-dark.html から読み込む。
   ============================================================ */
:root {
  /* --- Surfaces (dark navy) --- */
  --bg:          #0b1322;
  --bg-2:        #0e1a30;
  --grad-a:      #0c1828;
  --grad-b:      #16294310; /* used as overlay */
  --panel:       #111e34;
  --panel-2:     #16263f;
  --panel-soft:  #0f1c30;

  /* --- Mint / teal accents --- */
  --mint:        #74cfba;
  --mint-bright: #8fe3ce;
  --mint-deep:   #4fb39c;
  --mint-glow:   rgba(116, 207, 186, 0.16);

  /* --- Text --- */
  --on-dark:     #f1f5fa;
  --text:        #c3cedd;
  --text-mute:   #8d9bb1;
  --text-faint:  #6c7a90;

  /* --- Lines --- */
  --line:        rgba(255, 255, 255, 0.09);
  --line-2:      rgba(255, 255, 255, 0.16);

  /* --- Status --- */
  --ok:          #58c39f;
  --warn:        #d4a24a;
  --danger:      #e0796b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px; /* room for mobile sticky CTA */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* mint accent word inside headlines */
.accent { color: var(--mint); }

/* ============================================================
   Decorative diagonal stripes (プロモの斜めバンド)
   ============================================================ */
.stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.stripes span {
  position: absolute;
  top: -30%;
  height: 160%;
  transform: rotate(20deg);
  transform-origin: top center;
  border-radius: 40px;
}
.stripes .s1 { right: 4%;  width: 64px;  background: linear-gradient(180deg, transparent, var(--mint-deep) 55%, transparent); opacity: .22; }
.stripes .s2 { right: 11%; width: 26px;  background: linear-gradient(180deg, transparent, var(--mint) 50%, transparent);      opacity: .35; }
.stripes .s3 { right: 0%;  width: 150px; background: linear-gradient(180deg, transparent, #1d3a5e 55%, transparent);          opacity: .5;  }
@media (max-width: 768px) { .stripes { display: none; } }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 19, 34, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-brand img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font-size: 19px; font-weight: 600; color: var(--on-dark); letter-spacing: -0.2px; }
.wordmark em { font-style: normal; color: var(--mint); font-weight: 500; }
.brand-sub { font-size: 9.5px; color: var(--text-faint); letter-spacing: 0.5px; margin-top: 3px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--text-mute); font-size: 13px; transition: color .2s ease; }
.nav-links a:hover { color: var(--on-dark); }
.nav-cta {
  background: var(--mint); color: #082019;
  padding: 9px 16px; border-radius: 9px; font-size: 13px; font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -10px var(--mint); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block; font-weight: 700; font-size: 15px; line-height: 1;
  padding: 15px 24px; border-radius: 10px; cursor: pointer; border: none; text-align: center;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-mint { background: var(--mint); color: #082019; }
.btn-mint:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px var(--mint); }
.btn-ghost { background: transparent; color: var(--on-dark); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-full { display: block; width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-note { color: var(--text-mute); font-size: 13px; margin-top: 16px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 88% -10%, rgba(116,207,186,0.10), transparent 60%),
    linear-gradient(160deg, #0c1828 0%, #0b1322 45%, #0e1c33 100%);
  border-bottom: 1px solid var(--line);
  padding: 92px 0 100px;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; column-gap: 56px; row-gap: 0; align-items: center; }
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.hero-copy-after { grid-column: 1; grid-row: 2; align-self: start; min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--mint); margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-glow); }
.hero h1 {
  font-size: 58px; font-weight: 600; line-height: 1.08; letter-spacing: -1.6px;
  color: var(--on-dark); margin-bottom: 24px;
}
.hero p.lead { font-size: 18px; line-height: 1.8; color: var(--text); max-width: 540px; margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 14px; }

.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 9999px;
  padding: 8px 16px; font-size: 13px; color: var(--text);
  background: rgba(255,255,255,0.02);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

.safety-strip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px; padding: 13px 22px; border-radius: 9999px;
  background: rgba(0,0,0,0.28); border: 1px solid var(--line);
  color: var(--on-dark); font-size: 14px; font-weight: 500;
}
.safety-strip::before {
  content: ""; width: 16px; height: 10px; flex: 0 0 auto;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg) translateY(-2px);
}

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy, .hero-copy-after, .sidepanel { grid-column: 1; grid-row: auto; }
  .hero h1 { font-size: 40px; letter-spacing: -0.8px; }
  .hero p.lead { font-size: 16px; }
}
@media (max-width: 768px) { .hero { padding: 64px 0 72px; } .hero h1 { font-size: 33px; } }

/* ============================================================
   Side-panel mock — 実際の拡張パネル（白背景）を再現
   ダーク背景の上に置くことで「本物の拡張パネルを貼った」見え方に。
   ============================================================ */
.sidepanel {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  box-shadow: 0 50px 110px -40px rgba(0,0,0,0.75), 0 2px 8px rgba(0,0,0,0.25);
  overflow: hidden;
  max-width: 380px; width: 100%; margin-left: auto;
  color: #1b2433;
}
.sp-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #f3f5f8; border-bottom: 1px solid #e6eaf0;
  font-size: 12px; color: #58637a; font-weight: 500;
}
.sp-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-deep); }
.sp-bar .x { margin-left: auto; color: #98a2b1; font-size: 13px; }
.sp-body { padding: 16px 16px 18px; background: #ffffff; }
.sp-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.sp-head .mk { font-weight: 700; color: #14202f; font-size: 16px; }
.sp-head .mk em { font-style: normal; color: var(--mint-deep); }
.sp-head .by { font-size: 8.5px; letter-spacing: 1px; color: #9aa4b2; }
.sp-note { font-size: 11.5px; color: #5a6678; line-height: 1.65; margin-bottom: 14px; }
.sp-btn {
  width: 100%; text-align: center; border-radius: 8px; padding: 11px;
  font-size: 13px; font-weight: 700; margin-bottom: 9px;
}
button.sp-btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
}
.sp-btn.primary { background: var(--mint-deep); color: #ffffff; box-shadow: 0 8px 18px -8px rgba(79,179,156,0.7); }
.sp-btn.dark { background: #ffffff; color: #2c3950; border: 1px solid #d4dae3; font-weight: 600; }
.demo-fill-trigger { position: relative; overflow: hidden; }
.demo-fill-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  pointer-events: none;
}
.sidepanel.is-running .demo-fill-trigger::after { animation: demoSweep .78s ease; }
.sp-plan {
  font-size: 12px; color: #5a6678; padding: 9px 12px;
  background: #f6f8fa; border: 1px solid #e6eaf0; border-radius: 7px; margin-bottom: 10px;
}
.sp-plan b { color: #14202f; }
.sp-status {
  background: #eafaf3; border: 1px solid #c2e9d8;
  border-radius: 8px; padding: 11px 12px; margin-bottom: 14px;
  font-size: 12px; color: #336f59; line-height: 1.6;
}
.sp-status b { color: #1f7a55; font-weight: 700; display: block; margin-bottom: 2px; }
.sp-divider { font-size: 10.5px; letter-spacing: 0.5px; color: #97a1b0; margin: 4px 0 8px; font-weight: 600; }
.sp-progress { font-size: 12px; color: #3a4658; margin-bottom: 4px; }
.sp-progress b { color: #14202f; }
.sp-counts { font-size: 11px; color: #7c8696; margin-bottom: 12px; }
.sp-counts .err { color: #c9533f; font-weight: 600; }

.demo-form {
  position: relative;
  margin: 12px 0 10px;
  padding: 12px;
  border: 1px solid #e4eaf1;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}
.demo-form::before {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  top: -22%;
  height: 38%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-120%);
  background:
    linear-gradient(180deg, transparent 0%, rgba(116,207,186,.08) 24%, rgba(116,207,186,.24) 48%, rgba(116,207,186,.08) 76%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(143,227,206,.55) 48%, transparent 100%);
  filter: blur(.2px);
  mix-blend-mode: multiply;
}
.demo-form::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-20px);
  background: linear-gradient(90deg, transparent, rgba(79,179,156,.92), transparent);
  box-shadow: 0 0 18px rgba(79,179,156,.42);
}
.sidepanel.is-running .demo-form::before {
  animation: demoScanBand 1.08s cubic-bezier(.19, .9, .28, 1) .10s both;
}
.sidepanel.is-running .demo-form::after {
  animation: demoScanLine 1.08s cubic-bezier(.19, .9, .28, 1) .10s both;
}
.sidepanel.is-clearing .demo-form::before {
  top: 0;
  height: 100%;
  opacity: 0;
  transform: translateX(-115%);
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.84) 42%, rgba(116,207,186,.28) 50%, rgba(255,255,255,.84) 58%, transparent 100%);
  mix-blend-mode: normal;
  animation: demoClearSweep .58s cubic-bezier(.4,0,.2,1) both;
}
.sidepanel.is-clearing .demo-form::after {
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1px;
  opacity: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(79,179,156,.95), transparent);
  box-shadow: 0 0 18px rgba(79,179,156,.44);
  animation: demoClearLine .58s cubic-bezier(.4,0,.2,1) both;
}
.demo-form-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.demo-form-top span {
  color: #263348;
  font-size: 12px;
  font-weight: 700;
}
.demo-form-top em {
  font-style: normal;
  color: #6ea897;
  background: #eaf7f3;
  border: 1px solid #ccebe1;
  border-radius: 9999px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}
.demo-field { position: relative; z-index: 1; display: block; margin-top: 8px; }
.demo-field.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.demo-label {
  display: block;
  margin: 0 0 4px 1px;
  color: #7d8796;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}
.demo-input {
  position: relative;
  display: block;
  min-height: 29px;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #ffffff;
  color: #223044;
  font-size: 11px;
  line-height: 1.45;
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.demo-input::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 7px 9px auto 9px;
  color: #b1bbc9;
  opacity: 1;
  transition: opacity .18s ease;
}
.demo-textarea { min-height: 82px; }
.demo-value {
  display: block;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .28s ease, transform .28s ease;
}
.sidepanel.is-filled .demo-input {
  border-color: #bde7db;
  background: #fdfffe;
  box-shadow: 0 0 0 3px rgba(79,179,156,.07);
}
.sidepanel.is-filled .demo-input::before { opacity: 0; }
.sidepanel.is-filled .demo-value { opacity: 1; transform: none; }
.sidepanel.is-clearing .demo-input {
  border-color: #dbece8;
  background: linear-gradient(90deg, #ffffff, #f1fbf8, #ffffff);
}
.sidepanel.is-clearing .demo-value {
  animation: demoValueClear .46s cubic-bezier(.4,0,.2,1) both;
}
.sidepanel.is-clearing .demo-field:nth-of-type(2) .demo-value { animation-delay: .02s; }
.sidepanel.is-clearing .demo-field:nth-of-type(3) .demo-value { animation-delay: .08s; }
.sidepanel.is-clearing .demo-field:nth-of-type(4) .demo-value { animation-delay: .14s; }
.sidepanel.is-filled .demo-field:nth-of-type(2) .demo-value { transition-delay: .10s; }
.sidepanel.is-filled .demo-field:nth-of-type(3) .demo-value { transition-delay: .28s; }
.sidepanel.is-filled .demo-field:nth-of-type(4) .demo-value { transition-delay: .48s; }
.sidepanel.is-filled .demo-field:nth-of-type(2) .demo-input { transition-delay: .06s; }
.sidepanel.is-filled .demo-field:nth-of-type(3) .demo-input { transition-delay: .22s; }
.sidepanel.is-filled .demo-field:nth-of-type(4) .demo-input { transition-delay: .42s; }
.demo-status {
  margin-bottom: 0;
  background: #f7fafc;
  border-color: #e2e8f0;
  color: #64748b;
}
.demo-status b { color: #334155; }
.sidepanel.is-filled .demo-status {
  background: #eafaf3;
  border-color: #c2e9d8;
  color: #336f59;
}
.sidepanel.is-filled .demo-status b { color: #1f7a55; }

@keyframes demoSweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}
@keyframes demoScanBand {
  0% { opacity: 0; transform: translateY(-120%); }
  12% { opacity: 1; }
  82% { opacity: .9; }
  100% { opacity: 0; transform: translateY(345%); }
}
@keyframes demoScanLine {
  0% { opacity: 0; transform: translateY(-20px); }
  12% { opacity: 1; }
  82% { opacity: .95; }
  100% { opacity: 0; transform: translateY(170px); }
}
@keyframes demoClearSweep {
  0% { opacity: 0; transform: translateX(-115%); }
  14% { opacity: .95; }
  78% { opacity: .95; }
  100% { opacity: 0; transform: translateX(115%); }
}
@keyframes demoClearLine {
  0% { opacity: 0; transform: translateX(-100%); }
  18% { opacity: 1; }
  82% { opacity: .9; }
  100% { opacity: 0; transform: translateX(100%); }
}
@keyframes demoValueClear {
  0% { opacity: 1; transform: translateX(0); filter: blur(0); }
  68% { opacity: .18; transform: translateX(12px); filter: blur(.5px); }
  100% { opacity: 0; transform: translateX(18px); filter: blur(1px); }
}
@media (prefers-reduced-motion: reduce) {
  .sidepanel.is-clearing .demo-form::before,
  .sidepanel.is-clearing .demo-form::after,
  .sidepanel.is-running .demo-form::before,
  .sidepanel.is-running .demo-form::after,
  .demo-fill-trigger::after,
  .sidepanel.is-running .demo-fill-trigger::after { animation: none; }
  .demo-input,
  .demo-input::before,
  .demo-value { transition: none !important; animation: none !important; }
}
@media (max-width: 920px) {
  .hero-copy, .hero-copy-after, .sidepanel { grid-column: 1; grid-row: auto; }
  .sidepanel { margin: 0 auto; }
}
@media (max-width: 420px) { .demo-field.two { grid-template-columns: 1fr; } }

/* ============================================================
   Section headers
   ============================================================ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--mint); margin-bottom: 16px;
}
.section-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--mint-deep); }
.section h2 {
  font-size: 42px; font-weight: 600; line-height: 1.12; letter-spacing: -1.1px;
  color: var(--on-dark); margin-bottom: 18px; max-width: 760px;
}
.section .section-lead { font-size: 17px; line-height: 1.75; color: var(--text-mute); max-width: 660px; margin-bottom: 52px; }
@media (max-width: 768px) {
  .section h2 { font-size: 28px; letter-spacing: -0.5px; }
  .section .section-lead { font-size: 15px; margin-bottom: 36px; }
}

/* ============================================================
   Pains
   ============================================================ */
.pains-section { background: var(--bg-2); }
.pains-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pains-list li {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; font-size: 15px; color: var(--text);
  display: flex; align-items: flex-start; gap: 11px;
}
.pains-list li::before { content: ""; width: 18px; height: 2px; background: var(--mint-deep); margin-top: 12px; flex: 0 0 auto; }
.pain-close { margin-top: 30px; font-size: 21px; font-weight: 600; letter-spacing: -0.3px; color: var(--on-dark); }
@media (max-width: 768px) { .pains-list { grid-template-columns: 1fr; } .pain-close { font-size: 18px; } }

/* ============================================================
   At a glance — 概要（SEO/LLMO 用の定義ブロック）
   ============================================================ */
.glance-section { background: var(--bg); }
.glance {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line); border-radius: 18px; padding: 38px;
}
.glance-lead .section-eyebrow { margin-bottom: 12px; }
.glance-lead h2 { font-size: 30px; line-height: 1.2; margin-bottom: 14px; }
.glance-lead p { font-size: 15.5px; line-height: 1.95; color: var(--text); }
.glance-lead strong { color: var(--on-dark); font-weight: 600; }
.glance-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.glance-facts > div {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px;
  padding: 13px 2px; border-bottom: 1px solid var(--line);
}
.glance-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--mint); padding-top: 1px; }
.glance-facts dd { font-size: 13.5px; color: var(--text); line-height: 1.65; }
@media (max-width: 820px) { .glance { grid-template-columns: 1fr; padding: 26px; gap: 24px; } .glance-lead h2 { font-size: 25px; } }

.solution-glance {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding: 46px;
}
.solution-glance .glance-lead h2 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  max-width: 720px;
  margin-bottom: 18px;
}
.solution-glance .glance-summary {
  max-width: 680px;
  margin-bottom: 28px;
}
.solution-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.solution-mini-grid div {
  background: rgba(116,207,186,0.06);
  border: 1px solid rgba(116,207,186,0.22);
  border-radius: 14px;
  padding: 18px 20px;
}
.solution-mini-grid b {
  display: block;
  color: var(--mint-bright);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 8px;
}
.solution-mini-grid span {
  color: var(--text-mute);
  font-size: 13px;
}
@media (max-width: 768px) {
  .solution-glance { padding: 30px 24px; }
  .solution-mini-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   How AI works — timeline (★ AIの動きを細かく記載)
   ============================================================ */
.how-section { background: var(--bg); position: relative; }
.flow { display: grid; gap: 16px; position: relative; }
.flow-step {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px 28px 84px;
}
.flow-step::before {
  content: attr(data-n);
  position: absolute; left: 24px; top: 26px;
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(116,207,186,0.12); border: 1px solid rgba(116,207,186,0.32);
  color: var(--mint-bright); font-weight: 700; font-size: 16px;
}
.flow-step .ph {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--mint); margin-bottom: 8px;
}
.flow-step h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.3px; color: var(--on-dark); margin-bottom: 10px; line-height: 1.3; }
.flow-step p { font-size: 15px; line-height: 1.8; color: var(--text-mute); }
.flow-step p .k { color: var(--on-dark); font-weight: 600; }
.flow-step ul { list-style: none; margin: 12px 0 0; display: grid; gap: 8px; }
.flow-step ul li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--text); line-height: 1.7;
}
.flow-step ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 11px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg);
}
.flow-step .tag {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; border-radius: 5px; padding: 2px 7px;
}
.tag.pro { background: var(--mint); color: #082019; }
.tag.free { background: rgba(116,207,186,0.10); color: var(--mint-bright); border: 1px solid rgba(116,207,186,0.30); }
.tag.biz { background: transparent; color: var(--mint); border: 1px solid var(--mint); }
@media (max-width: 768px) {
  .flow-step { padding: 24px 22px 24px 22px; }
  .flow-step::before { position: static; margin-bottom: 14px; }
}

/* ============================================================
   Features
   ============================================================ */
.features-section { background: var(--bg-2); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 30px; transition: border-color .2s ease, transform .2s ease; }
.feat:hover { border-color: rgba(116,207,186,0.4); transform: translateY(-2px); }
.feat .icon {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
  background: rgba(116,207,186,0.10); border: 1px solid rgba(116,207,186,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-bright); font-weight: 700; font-size: 13px; letter-spacing: 0.3px;
}
.feat h3 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.3;
  margin-bottom: 11px; color: var(--on-dark);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.feat p { font-size: 14.5px; color: var(--text-mute); line-height: 1.7; }
.plan-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; border-radius: 5px; padding: 2px 7px; vertical-align: middle; text-transform: uppercase; }
.plan-tag.free { background: rgba(116,207,186,0.10); color: var(--mint-bright); border: 1px solid rgba(116,207,186,0.30); }
.plan-tag.pro { background: var(--mint); color: #082019; }
.plan-tag.biz { background: transparent; color: var(--mint); border: 1px solid var(--mint); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* ============================================================
   Safety band
   ============================================================ */
.safety-band {
  background: linear-gradient(160deg, #0a2b27 0%, #0a1c2a 60%, #0b1322 100%);
  padding: 100px 24px; text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.safety-band .container { position: relative; z-index: 2; max-width: 780px; }
.safety-band .badge {
  display: inline-block; background: rgba(116,207,186,0.12); border: 1px solid rgba(116,207,186,0.35);
  color: var(--mint); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 9999px; margin-bottom: 26px;
}
.safety-band h2 { font-size: 42px; font-weight: 600; line-height: 1.12; letter-spacing: -1px; color: var(--on-dark); margin-bottom: 20px; }
.safety-band > .container > p { color: var(--text); font-size: 17px; line-height: 1.8; margin: 0 auto 36px; max-width: 620px; }
.safety-band ul { list-style: none; display: grid; gap: 14px; max-width: 600px; margin: 0 auto; text-align: left; }
.safety-band li { position: relative; padding-left: 32px; font-size: 15px; color: var(--text); line-height: 1.7; }
.safety-band li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 10px;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg);
}
.safety-band h3 { font-size: 15px; color: var(--mint); margin: 30px 0 4px; letter-spacing: 0.3px; }
@media (max-width: 768px) { .safety-band { padding: 64px 24px; } .safety-band h2 { font-size: 28px; letter-spacing: -0.5px; } }

/* ============================================================
   Legacy list styles
   ============================================================ */
.who-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.who-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; font-size: 15px; color: var(--text); }
@media (max-width: 768px) { .who-list { grid-template-columns: 1fr; } }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-section { background: var(--bg-2); }
.pricing-lead { margin-bottom: 26px !important; }
.pricing-limit-note {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  max-width: 860px; margin: 0 auto 32px; padding: 15px 20px;
  background: rgba(116,207,186,0.06); border: 1px solid rgba(116,207,186,0.58);
  border-radius: 12px; color: var(--text); font-size: 14px; line-height: 1.65;
}
.pricing-limit-note b { color: var(--on-dark); }
.pricing-limit-icon {
  flex: 0 0 auto; width: 24px; height: 24px; border: 2px solid var(--mint);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--mint-bright); font-family: Georgia, serif; font-weight: 700; font-size: 14px;
}
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 36px 30px 30px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--mint); box-shadow: 0 28px 60px -34px rgba(116,207,186,0.4); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--mint); color: #082019; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 4px 12px; border-radius: 9999px; }
.plan .plan-name { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }
.plan .price { font-size: 38px; font-weight: 600; letter-spacing: -1px; line-height: 1; margin-bottom: 4px; color: var(--on-dark); }
.plan .price small { font-size: 13px; color: var(--text-mute); font-weight: 400; letter-spacing: normal; margin-left: 4px; }
.plan-quota {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding: 13px 14px; border: 1px solid rgba(116,207,186,0.34);
  border-radius: 10px; background: rgba(116,207,186,0.05);
}
.plan-quota span { color: var(--text-mute); font-size: 12px; }
.plan-quota b { color: var(--mint-bright); font-size: 14px; font-weight: 700; }
.plan ul { list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--text); line-height: 1.6; }
.plan li small { display: block; margin-top: 2px; color: var(--text-faint); font-size: 12px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.plan li.muted { color: var(--text-faint); }
.plan li.muted::before { border-color: var(--text-faint); }
.pricing-note { color: var(--text-mute); font-size: 13px; text-align: center; margin-top: 24px; line-height: 1.8; }
.pricing-note a { color: var(--mint); text-decoration: underline; }
@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; }
  .pricing-limit-note { justify-content: flex-start; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(116,207,186,0.4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--on-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); font-size: 22px; font-weight: 300; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--text-mute); font-size: 15px; line-height: 1.8; }
.faq details p a { color: var(--mint); text-decoration: underline; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { text-align: center; position: relative; overflow: hidden; background: linear-gradient(160deg, #0c1828, #0b1322); }
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { font-size: 42px; font-weight: 600; line-height: 1.14; letter-spacing: -1.1px; margin: 0 auto 16px; max-width: 760px; color: var(--on-dark); }
.final-cta p { color: var(--text-mute); font-size: 16px; margin-bottom: 30px; }
.final-cta .btn-row { justify-content: center; }
@media (max-width: 768px) { .final-cta h2 { font-size: 28px; letter-spacing: -0.5px; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 24px 40px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-tag { font-size: 13px; color: var(--text-faint); max-width: 380px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; font-size: 13px; }
.footer-links a { color: var(--text-mute); transition: color .2s ease; }
.footer-links a:hover { color: var(--mint); }
.footer-copy { font-size: 13px; color: var(--text-faint); }
.footer-disclaimer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-faint); line-height: 1.8; max-width: 760px; }

/* ============================================================
   Mobile sticky CTA
   ============================================================ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(11,19,34,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 16px; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 769px) { body { padding-bottom: 0; } .sticky-cta { display: none; } }

/* ============================================================
   v2 — 余白を広げ、セクションごとに「ひと呼吸」を作る
   ============================================================ */
.section { padding: 124px 0; }
@media (max-width: 768px) { .section { padding: 76px 0; } }
.section .section-lead { margin-bottom: 60px; }
@media (max-width: 768px) { .section .section-lead { margin-bottom: 40px; } }

/* ============================================================
   Scroll reveal（スクロールで浮かび上がる）
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  /* グリッド内の連続要素を少しずつ遅らせる */
  .who-grid > .reveal:nth-child(2),
  .problem-grid > .reveal:nth-child(2),
  .features > .reveal:nth-child(2),
  .flow > .reveal:nth-child(2),
  .flow-aux > .reveal:nth-child(2),
  .safety-points > .reveal:nth-child(2),
  .pricing > .reveal:nth-child(2) { transition-delay: .09s; }
  .who-grid > .reveal:nth-child(3),
  .problem-grid > .reveal:nth-child(3),
  .features > .reveal:nth-child(3),
  .flow > .reveal:nth-child(3),
  .safety-points > .reveal:nth-child(3),
  .pricing > .reveal:nth-child(3) { transition-delay: .18s; }
  .features > .reveal:nth-child(4),
  .flow > .reveal:nth-child(4) { transition-delay: .27s; }
  .features > .reveal:nth-child(5),
  .flow > .reveal:nth-child(5) { transition-delay: .36s; }
  .features > .reveal:nth-child(6),
  .flow > .reveal:nth-child(6) { transition-delay: .45s; }
}

/* ============================================================
   Why form outreach（フォーム営業の良さ：hero 直後）
   ============================================================ */
.who-section { background: var(--bg-2); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.who-card:hover { border-color: rgba(116,207,186,0.4); transform: translateY(-2px); }
.who-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(116,207,186,0.12); border: 1px solid rgba(116,207,186,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint-bright); font-weight: 700; font-size: 14px;
}
.who-card h3 { font-size: 18px; font-weight: 600; color: var(--on-dark); margin-bottom: 10px; line-height: 1.4; letter-spacing: -0.2px; }
.who-card p { font-size: 14px; color: var(--text-mute); line-height: 1.75; }
.chosen-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(116,207,186,0.2);
  border-radius: 20px;
  background:
    radial-gradient(520px 220px at 4% 0%, rgba(116,207,186,0.12), transparent 64%),
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  overflow: hidden;
}
.chosen-block::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 42%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(116,207,186,0.28), transparent);
}
.chosen-eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mint);
}
.chosen-copy h3 {
  margin-bottom: 12px;
  color: var(--on-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.8px;
}
.chosen-copy p {
  max-width: 410px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.85;
}
.chosen-list {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.chosen-list li {
  min-height: 116px;
  padding: 18px 18px 18px 46px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 15px;
  background: rgba(9,18,34,0.58);
  position: relative;
}
.chosen-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 23px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
  box-shadow: 0 0 18px rgba(116,207,186,0.32);
}
.chosen-list b {
  display: block;
  margin-bottom: 7px;
  color: var(--on-dark);
  font-size: 14px;
  line-height: 1.45;
}
.chosen-list span {
  display: block;
  color: var(--text-mute);
  font-size: 12.5px;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
  .chosen-block { grid-template-columns: 1fr; padding: 24px; }
  .chosen-block::before { display: none; }
  .chosen-list { grid-template-columns: 1fr; }
  .chosen-list li { min-height: auto; }
}

/* ============================================================
   Problem — フォーム営業の弱点と既存手段の限界
   ============================================================ */
.problem-section {
  background:
    radial-gradient(900px 420px at 8% 8%, rgba(116,207,186,0.07), transparent 58%),
    var(--bg);
}
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card {
  position: relative;
  min-height: 238px;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  overflow: hidden;
}
.problem-card::after {
  content: "";
  position: absolute;
  inset: auto -42px -58px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(116,207,186,0.06);
}
.problem-card.solution {
  border-color: rgba(116,207,186,0.46);
  box-shadow: 0 24px 58px -42px rgba(116,207,186,0.65);
}
.problem-card.solution::after { background: rgba(116,207,186,0.13); }
.problem-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.problem-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--mint-deep);
}
.problem-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--on-dark);
  margin-bottom: 12px;
}
.problem-card p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-mute);
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } .problem-card { min-height: auto; } }

/* ============================================================
   Overview — 箇条書きの「できること」
   ============================================================ */
.glance-summary { font-size: 15.5px; line-height: 1.9; color: var(--text); margin-bottom: 20px; }
.glance-summary strong { color: var(--on-dark); font-weight: 600; }
.glance-can { list-style: none; display: grid; gap: 11px; }
.glance-can li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text); line-height: 1.6; }
.glance-can li b { color: var(--mint-bright); font-weight: 600; }
.glance-can li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 8px;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg);
}

/* ============================================================
   How — flow を簡潔に＋補足（aux）カード
   ============================================================ */
.section-lead b.hl { color: var(--mint-bright); font-weight: 700; }
.flow-aux-label { text-align: center; font-size: 13px; letter-spacing: 1px; color: var(--text-mute); margin: 40px 0 18px; }
.flow-aux { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.aux-card { background: var(--panel-soft); border: 1px dashed var(--line-2); border-radius: 14px; padding: 26px 28px; }
.aux-card .ph {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--mint); margin-bottom: 8px;
}
.aux-card .ph .tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; border-radius: 5px; padding: 2px 7px; }
.aux-card h3 { font-size: 18px; font-weight: 600; color: var(--on-dark); margin-bottom: 8px; line-height: 1.35; }
.aux-card p { font-size: 14px; color: var(--text-mute); line-height: 1.7; }
@media (max-width: 768px) { .flow-aux { grid-template-columns: 1fr; } }

/* ============================================================
   Features — 太字（見出し）を主役に
   ============================================================ */
.feat h3 { font-size: 20px; font-weight: 700; }
.feat p { font-size: 13.5px; color: var(--text-faint); line-height: 1.65; }

/* ============================================================
   Safety — 3点に整理
   ============================================================ */
.safety-points { display: grid; gap: 14px; max-width: 640px; margin: 8px auto 0; text-align: left; }
.safety-point {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(116,207,186,0.18);
  border-radius: 14px; padding: 20px 22px;
}
.safe-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  background: var(--mint); color: #082019; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.safe-txt { display: flex; flex-direction: column; gap: 4px; }
.safe-txt b { color: var(--on-dark); font-size: 16px; font-weight: 600; }
.safe-txt span { color: var(--text-mute); font-size: 14px; line-height: 1.7; }
.safety-foot { color: var(--text-faint) !important; font-size: 13px !important; max-width: 640px; margin: 28px auto 0 !important; line-height: 1.8; }

/* ============================================================
   ROI callout（Pricing 上部・時短を時間と金額で）
   ============================================================ */
.roi {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(116,207,186,0.13), rgba(116,207,186,0.03));
  border: 1px solid rgba(116,207,186,0.32); border-radius: 18px;
  padding: 28px 32px; margin-bottom: 28px;
}
.roi-fig {
  font-size: 15px; color: var(--mint); font-weight: 600; line-height: 1.1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
}
.roi-fig strong { font-size: 46px; font-weight: 700; letter-spacing: -1px; color: var(--mint-bright); line-height: 1; }
.roi-fig span { font-size: 12.5px; color: var(--text-mute); font-weight: 500; }
.roi-txt { flex: 1 1 320px; font-size: 15px; line-height: 1.85; color: var(--text); }
.roi-txt b { color: var(--on-dark); font-weight: 600; }
.roi-note { display: block; margin-top: 8px; font-size: 12px; color: var(--text-faint); }
@media (max-width: 768px) { .roi { padding: 24px; gap: 16px; } .roi-fig strong { font-size: 38px; } }

/* ============================================================
   Upgrade — OTPログインからStripe Checkoutへ
   ============================================================ */
.upgrade-page { min-height: 100vh; background: var(--bg); }
.upgrade-page .site-nav { position: relative; }
.upgrade-back { min-height: 40px; padding: 10px 18px; }
.upgrade-main {
  min-height: calc(100vh - 74px); padding: 72px 24px 100px;
  position: relative; overflow: hidden;
}
.upgrade-shell {
  position: relative; z-index: 1; width: min(100%, 620px); margin: 0 auto;
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 44px;
  box-shadow: 0 36px 90px -52px rgba(0,0,0,.85);
}
.upgrade-shell .section-eyebrow { margin-bottom: 12px; }
.upgrade-shell h1 {
  color: var(--on-dark); font-size: clamp(30px, 5vw, 42px);
  line-height: 1.2; letter-spacing: -1px; margin-bottom: 12px;
}
.upgrade-lead { color: var(--text-mute); font-size: 15px; line-height: 1.8; }
.upgrade-plan-summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin: 28px 0; padding: 18px 20px;
  border: 1px solid rgba(116,207,186,.35); border-radius: 12px;
  background: rgba(116,207,186,.06);
}
.upgrade-plan-summary > div { display: flex; flex-direction: column; gap: 3px; }
.upgrade-plan-label, .upgrade-plan-price span { color: var(--text-faint); font-size: 12px; }
.upgrade-plan-summary strong { color: var(--on-dark); font-size: 18px; }
.upgrade-plan-price { text-align: right; }
.upgrade-plan-price strong { color: var(--mint-bright); font-size: 26px; }
.upgrade-form { margin-top: 22px; }
.upgrade-form[hidden] { display: none; }
.upgrade-form label { display: block; color: var(--on-dark); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.upgrade-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.upgrade-inline input {
  min-width: 0; width: 100%; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 14px; background: rgba(255,255,255,.04); color: var(--on-dark);
  font: inherit; outline: none;
}
.upgrade-inline input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(116,207,186,.10); }
.upgrade-inline .btn { white-space: nowrap; min-height: 48px; }
.upgrade-hint, .upgrade-legal {
  color: var(--text-faint); font-size: 12px; line-height: 1.7; margin-top: 8px;
}
.upgrade-text-button {
  margin-top: 12px; padding: 0; border: 0; background: none;
  color: var(--mint); font: inherit; font-size: 13px; cursor: pointer;
}
.upgrade-text-button:hover { text-decoration: underline; }
.upgrade-status { min-height: 24px; margin-top: 18px; color: var(--text-mute); font-size: 13px; }
.upgrade-status.success { color: var(--mint-bright); }
.upgrade-status.error { color: #ff9c91; }
.upgrade-safety {
  display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding: 16px 18px;
  border-radius: 12px; background: rgba(116,207,186,.07); border: 1px solid rgba(116,207,186,.22);
}
.upgrade-safety b { color: var(--mint-bright); font-size: 13px; }
.upgrade-safety span { color: var(--text-mute); font-size: 12px; line-height: 1.7; }
.upgrade-legal { margin-top: 18px; text-align: center; }
.upgrade-legal a { color: var(--mint); text-decoration: underline; }
@media (max-width: 640px) {
  .upgrade-main { padding: 40px 16px 70px; }
  .upgrade-shell { padding: 30px 22px; }
  .upgrade-inline { grid-template-columns: 1fr; }
  .upgrade-inline .btn { width: 100%; }
  .upgrade-plan-summary { align-items: flex-start; }
}

/* ============================================================
   Reversible visual effects
   body の fx-enabled を外すと、このブロックの装飾アニメーションだけ停止。
   ============================================================ */
.hero-neural,
.feature-mini { display: none; }
body.fx-enabled .hero-neural {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: .72;
}
body.fx-enabled .hero-neural .node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(143,227,206,.86);
  box-shadow: 0 0 0 6px rgba(116,207,186,.07), 0 0 28px rgba(116,207,186,.34);
  animation: neuralFloat 8s ease-in-out infinite;
}
body.fx-enabled .hero-neural .n1 { right: 39%; top: 20%; animation-delay: -.8s; }
body.fx-enabled .hero-neural .n2 { right: 18%; top: 30%; animation-delay: -2.1s; }
body.fx-enabled .hero-neural .n3 { right: 27%; top: 63%; animation-delay: -3.2s; }
body.fx-enabled .hero-neural .n4 { right: 8%; top: 54%; animation-delay: -4.5s; }
body.fx-enabled .hero-neural .beam {
  position: absolute;
  width: 170px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(116,207,186,.42), transparent);
  box-shadow: 0 0 18px rgba(116,207,186,.16);
  animation: neuralBeam 5.8s ease-in-out infinite;
}
body.fx-enabled .hero-neural .b1 { right: 21%; top: 27%; transform: rotate(13deg); animation-delay: -.6s; }
body.fx-enabled .hero-neural .b2 { right: 24%; top: 44%; transform: rotate(112deg); animation-delay: -2s; }
body.fx-enabled .hero-neural .b3 { right: 10%; top: 58%; width: 145px; transform: rotate(-21deg); animation-delay: -3.4s; }

body.fx-enabled .who-grid { position: relative; }
body.fx-enabled .who-grid::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(116,207,186,.48), transparent);
  box-shadow: 0 0 18px rgba(116,207,186,.15);
  animation: connectLine 1.25s cubic-bezier(.16,.84,.44,1) .25s forwards;
}
body.fx-enabled .who-card { position: relative; z-index: 1; }
body.fx-enabled .who-card .who-icon {
  animation: iconPulse 4.8s ease-in-out infinite;
}

body.fx-enabled .problem-card.solution.is-visible {
  animation: solutionPulse 5.6s ease-in-out infinite;
}

body.fx-enabled .feature-mini {
  display: block;
  min-height: 76px;
  margin-top: 18px;
  padding: 13px;
  border-top: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

body.fx-enabled .mini-ai {
  position: relative;
  overflow: hidden;
}
body.fx-enabled .mini-ai::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(116,207,186,.16), transparent);
  animation: miniSweep 4.4s ease-in-out infinite;
}
body.fx-enabled .mini-chip {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--mint);
  border: 1px solid rgba(116,207,186,.22);
  border-radius: 9999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.fx-enabled .mini-line {
  display: block;
  height: 7px;
  margin-top: 7px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(116,207,186,.34), rgba(255,255,255,.08));
  transform-origin: left center;
  animation: miniTyping 4.4s ease-in-out infinite;
}
body.fx-enabled .mini-line.l1 { width: 78%; }
body.fx-enabled .mini-line.l2 { width: 92%; animation-delay: .15s; }
body.fx-enabled .mini-line.l3 { width: 62%; animation-delay: .3s; }

body.fx-enabled .mini-map {
  display: grid;
  gap: 8px;
}
body.fx-enabled .mini-map span {
  display: grid;
  grid-template-columns: 54px 1fr 62px;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-size: 11px;
}
body.fx-enabled .mini-map em,
body.fx-enabled .mini-map i {
  font-style: normal;
}
body.fx-enabled .mini-map i {
  color: var(--text-faint);
  border: 1px solid rgba(116,207,186,.14);
  border-radius: 7px;
  padding: 4px 6px;
  background: rgba(255,255,255,.025);
}
body.fx-enabled .mini-map b {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgba(116,207,186,.18);
}
body.fx-enabled .mini-map b::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(116,207,186,.55);
  animation: mapDot 3.8s ease-in-out infinite;
}

body.fx-enabled .mini-sheet {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 7px;
  align-content: start;
}
body.fx-enabled .sheet-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  color: var(--mint-bright);
  border: 1px solid rgba(116,207,186,.22);
  border-radius: 9999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
}
body.fx-enabled .sheet-tab.pro {
  color: #082019;
  background: var(--mint);
}
body.fx-enabled .sheet-row {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
  position: relative;
}
body.fx-enabled .sheet-row::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: rgba(116,207,186,.42);
  transform: translateX(-110%);
  animation: sheetLoad 4.8s ease-in-out infinite;
}
body.fx-enabled .sheet-row:nth-of-type(3)::after { animation-delay: .2s; }
body.fx-enabled .sheet-row:nth-of-type(4)::after { animation-delay: .4s; }

body.fx-enabled .dup-feature { position: relative; overflow: hidden; }
body.fx-enabled .dup-mini {
  display: grid;
  gap: 6px;
  align-content: start;
}
body.fx-enabled .mini-title {
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.fx-enabled .dup-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(116,207,186,.16);
  border-radius: 8px;
  color: var(--text-mute);
  background: rgba(255,255,255,.025);
  font-size: 12px;
  line-height: 1;
}
body.fx-enabled .dup-row strong {
  margin-right: 8px;
  color: var(--mint);
  font-size: 10px;
}
body.fx-enabled .dup-row::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(116,207,186,.08);
}
body.fx-enabled .dup-row.duplicate {
  color: var(--text-faint);
  animation: duplicateFade 4.2s ease-in-out infinite;
}
body.fx-enabled .dup-row.duplicate::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 52px;
  top: 50%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: rgba(224,121,107,.8);
  animation: duplicateStrike 4.2s ease-in-out infinite;
}
body.fx-enabled .dup-row em {
  margin-left: auto;
  font-style: normal;
  color: #082019;
  background: var(--mint);
  border-radius: 9999px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.fx-enabled .mini-track {
  display: grid;
  grid-template-columns: 1fr 34px 48px;
  align-items: center;
  gap: 9px;
}
body.fx-enabled .track-url,
body.fx-enabled .track-ga {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(116,207,186,.18);
  background: rgba(255,255,255,.025);
  color: var(--text-mute);
  font-size: 11px;
}
body.fx-enabled .track-ga {
  color: #082019;
  background: var(--mint);
  font-weight: 800;
  animation: gaPulse 4.2s ease-in-out infinite;
}
body.fx-enabled .track-arrow {
  position: relative;
  height: 1px;
  background: rgba(116,207,186,.25);
}
body.fx-enabled .track-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--mint);
  border-right: 1px solid var(--mint);
  transform: rotate(45deg);
}
body.fx-enabled .track-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(116,207,186,.56);
  animation: trackMove 4.2s ease-in-out infinite;
}

body.fx-enabled .mini-tone {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}
body.fx-enabled .mini-tone span {
  border: 1px solid rgba(116,207,186,.18);
  border-radius: 9999px;
  padding: 7px 10px;
  color: var(--text-mute);
  font-size: 11px;
  background: rgba(255,255,255,.025);
  animation: toneSelect 5.1s ease-in-out infinite;
}
body.fx-enabled .mini-tone span:nth-child(2) { animation-delay: 1.7s; }
body.fx-enabled .mini-tone span:nth-child(3) { animation-delay: 3.4s; }

body.fx-enabled .plan.featured.is-visible {
  animation: proPlanGlow 6s ease-in-out infinite;
}

@keyframes neuralFloat {
  0%, 100% { transform: translate3d(0,0,0); opacity: .58; }
  50% { transform: translate3d(8px,-10px,0); opacity: 1; }
}
@keyframes neuralBeam {
  0%, 100% { opacity: .15; filter: blur(.2px); }
  50% { opacity: .7; filter: blur(0); }
}
@keyframes miniSweep {
  0%, 35% { transform: translateX(-110%); opacity: 0; }
  45%, 65% { opacity: 1; }
  78%, 100% { transform: translateX(110%); opacity: 0; }
}
@keyframes miniTyping {
  0%, 20% { transform: scaleX(.18); opacity: .45; }
  45%, 78% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(.18); opacity: .45; }
}
@keyframes mapDot {
  0%, 18% { transform: translateX(0); opacity: .35; }
  48%, 70% { transform: translateX(100px); opacity: 1; }
  100% { transform: translateX(0); opacity: .35; }
}
@keyframes sheetLoad {
  0%, 24% { transform: translateX(-110%); opacity: .35; }
  48%, 72% { transform: translateX(165%); opacity: 1; }
  100% { transform: translateX(165%); opacity: 0; }
}
@keyframes connectLine {
  to { transform: scaleX(1); }
}
@keyframes iconPulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 7px rgba(116,207,186,.045), 0 0 26px rgba(116,207,186,.11); }
}
@keyframes solutionPulse {
  0%, 100% {
    box-shadow: 0 24px 58px -42px rgba(116,207,186,.65);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 30px 70px -40px rgba(116,207,186,.86), 0 0 0 1px rgba(116,207,186,.12) inset;
    transform: translateY(-2px);
  }
}

/* ============================================================
   Mobile polish — desktop layout remains unchanged
   ============================================================ */
@media (max-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .container {
    padding-inline: 18px;
  }

  .nav-inner {
    min-height: 64px;
    padding: 10px 16px;
    gap: 10px;
  }

  .nav-brand {
    min-width: 0;
  }

  .nav-cta {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero .container {
    gap: 30px;
  }

  .sidepanel {
    width: 100%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(31px, 9.2vw, 36px);
    line-height: 1.12;
  }

  .hero p.lead {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero .btn-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .pill {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.45;
  }

  .section {
    padding: 64px 0;
  }

  .glance,
  .solution-glance,
  .problem-card,
  .draft-setup-card,
  .flow-step,
  .feat,
  .plan {
    padding: 22px;
  }

  .safety-point {
    gap: 12px;
    padding: 17px 16px;
  }

  .pricing-limit-note {
    padding: 16px;
    text-align: left;
  }

  .site-footer {
    padding: 44px 18px 32px;
  }

  .sticky-cta {
    display: none;
  }

  body.fx-enabled .hero-neural {
    display: none;
  }
}

@media (max-width: 360px) {
  .brand-sub {
    display: none;
  }

  .hero .btn-row,
  .pills {
    grid-template-columns: 1fr;
  }
}
@keyframes duplicateFade {
  0%, 26% { opacity: 1; transform: translateX(0); }
  42%, 74% { opacity: .45; transform: translateX(4px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes duplicateStrike {
  0%, 28% { transform: scaleX(0); opacity: 0; }
  42%, 74% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}
@keyframes trackMove {
  0%, 26% { transform: translateX(0); opacity: .35; }
  55%, 72% { transform: translateX(27px); opacity: 1; }
  100% { transform: translateX(27px); opacity: 0; }
}
@keyframes gaPulse {
  0%, 38%, 100% { box-shadow: none; transform: scale(1); }
  58% { box-shadow: 0 0 0 8px rgba(116,207,186,.08); transform: scale(1.04); }
}
@keyframes toneSelect {
  0%, 24%, 100% { color: var(--text-mute); border-color: rgba(116,207,186,.18); background: rgba(255,255,255,.025); }
  10% { color: #082019; border-color: var(--mint); background: var(--mint); }
}
@keyframes proPlanGlow {
  0%, 100% {
    box-shadow: 0 28px 60px -34px rgba(116,207,186,.4);
  }
  50% {
    box-shadow: 0 34px 72px -34px rgba(116,207,186,.6), 0 0 0 1px rgba(116,207,186,.1) inset;
  }
}

@media (max-width: 900px) {
  body.fx-enabled .hero-neural { opacity: .38; }
  body.fx-enabled .who-grid::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.fx-enabled .hero-neural .node,
  body.fx-enabled .hero-neural .beam,
  body.fx-enabled .who-grid::before,
  body.fx-enabled .who-card .who-icon,
  body.fx-enabled .problem-card.solution.is-visible,
  body.fx-enabled .mini-ai::after,
  body.fx-enabled .mini-line,
  body.fx-enabled .mini-map b::after,
  body.fx-enabled .sheet-row::after,
  body.fx-enabled .dup-row.duplicate,
  body.fx-enabled .dup-row.duplicate::after,
  body.fx-enabled .track-ga,
  body.fx-enabled .track-arrow::before,
  body.fx-enabled .mini-tone span,
  body.fx-enabled .plan.featured.is-visible {
    animation: none !important;
  }
}
