:root {
  --bg: #fff7fb;
  --ink: #2a2140;
  --muted: #7c7590;
  --brand: #7c5cff;      /* パープル */
  --brand2: #ff5c9d;     /* ピンク */
  --accent: #ffb020;     /* イエロー */
  --card: #ffffff;
  --border: #efe7f7;
  --ok: #2fbf71;
  --shadow: 0 12px 40px rgba(124, 92, 255, 0.14);
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Noto Sans JP", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== 背景のふわふわブロブ ===== */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.blob1 { width: 420px; height: 420px; background: #c9b8ff; top: -120px; right: -80px; }
.blob2 { width: 360px; height: 360px; background: #ffc2dd; bottom: -100px; left: -80px; }

/* ===== ナビ ===== */
.nav {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1000px; margin: 0 auto; padding: 20px 20px 0;
}
.brand { font-weight: 800; font-size: 20px; display: flex; align-items: center; gap: 7px; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 9px; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}
.nav-login { color: var(--brand); text-decoration: none; font-weight: 700; font-size: 14px; }

/* ===== LP ===== */
.lp { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 0 20px 60px; }
.lp-hero { text-align: center; padding: 44px 0 8px; }
.pill {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  color: var(--brand); font-weight: 700; font-size: 13px;
  padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.lp-title { font-size: 40px; line-height: 1.3; font-weight: 800; margin: 22px 0 14px; }
.hl {
  background: linear-gradient(120deg, var(--brand), var(--brand2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-lead { color: var(--muted); font-size: 16px; margin: 0 auto 28px; max-width: 520px; }
.lp-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-note { color: var(--muted); font-size: 12px; }

/* ===== ボタン ===== */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  padding: 14px 30px; border: none; border-radius: 999px;
  font-size: 15px; font-weight: 800; cursor: pointer;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.35);
  transition: transform .12s, box-shadow .12s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124, 92, 255, 0.45); }
.btn-ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn-block { width: 100%; }

/* ===== デモ ===== */
.demo { margin: 40px auto 8px; max-width: 560px; }
.demo-frame {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  background: #f3eefb; padding: 10px 14px;
}
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff6058; } .dot.y { background: #ffbe2e; } .dot.g { background: #2aca44; }
.browser-bar .url {
  margin-left: 10px; font-size: 12px; color: var(--muted);
  background: #fff; padding: 3px 12px; border-radius: 999px;
}
.demo-stage { position: relative; padding: 24px; min-height: 220px; }
.video-mock { }
.thumb {
  position: relative; aspect-ratio: 16/9; border-radius: 14px;
  background: linear-gradient(135deg, #d7c9ff, #ffd0e4);
  display: grid; place-items: center; margin-bottom: 14px;
}
.thumb .play {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.85); color: var(--brand); font-size: 20px; padding-left: 4px;
}
.vtitle { font-weight: 700; font-size: 15px; }
.vchan { color: var(--muted); font-size: 13px; margin-top: 4px; }

.demo-block {
  position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(160deg, rgba(124,92,255,.94), rgba(255,92,157,.94));
  color: #fff; display: grid; place-content: center; text-align: center; gap: 4px;
  opacity: 0; transform: scale(.96); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.demo-block.show { opacity: 1; transform: scale(1); }
.db-emoji { font-size: 46px; }
.db-title { font-size: 20px; font-weight: 800; }
.db-reason { font-size: 14px; opacity: .95; }
.demo-caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; font-weight: 700; }

/* ===== ステップ ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 56px 0; }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
}
.step-ico { font-size: 34px; }
.step h3 { font-size: 16px; margin: 10px 0 6px; }
.step p { color: var(--muted); font-size: 13px; margin: 0; }

/* ===== 料金 ===== */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 640px; margin: 0 auto; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 14px; border-radius: 999px;
}
.plan-name { font-weight: 800; color: var(--muted); }
.plan-price { font-size: 34px; font-weight: 800; margin: 6px 0 14px; }
.plan-price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; display: inline-block; }
.plan li { font-size: 14px; margin: 8px 0; }
.plan .btn { width: 100%; }

.lp-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 56px; }
.lp-foot span { font-weight: 800; color: var(--ink); }

/* ===== 認証/アカウント ページ（LPではない） ===== */
.wrap { position: relative; z-index: 1; max-width: 420px; margin: 0 auto; padding: 48px 20px; }
.center { text-align: center; }
.logo { font-size: 40px; }
.wrap h1 { font-size: 26px; margin: 8px 0 24px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 18px; box-shadow: var(--shadow);
}
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 700; }
input[type="email"], input[type="password"] {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: #faf7ff; color: var(--ink); font-size: 14px;
}
input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.card button, .card .btn { width: 100%; margin-top: 20px; }
.card button {
  padding: 13px; border: none; border-radius: 999px; font-size: 15px; font-weight: 800; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2));
}
a { color: var(--brand); }
.muted { color: var(--muted); font-size: 13px; }
.error { color: #e5484d; font-size: 13px; min-height: 18px; margin-top: 8px; }
.badge { display: inline-block; padding: 3px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.badge.free { background: #efe7f7; color: var(--muted); }
.badge.pro { background: var(--ok); color: #fff; }
.price { font-size: 32px; font-weight: 800; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.row:last-child { border-bottom: none; }

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .lp-title { font-size: 30px; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
}
