/* salonote landing page — palette follows the app (AppTheme.swift) */
:root {
  --ink: #33263d;
  --ink-soft: #54465e;
  --muted: #7a6c84;
  --accent: #805ca8;
  --accent-deep: #684593;
  --lavender: #8f70b8;
  --coral: #e085b0;
  --rose: #b04d73;
  --blush: #fbe8f4;
  --lilac: #efe7fb;
  --cream: #fffbfd;
  --surface: #ffffff;
  --line: #ecdff0;
  --grad: linear-gradient(115deg, #8f70b8 0%, #c07ab6 55%, #e085b0 100%);
  --soft-grad: linear-gradient(140deg, #fbe8f4 0%, #efe7fb 60%, #fdf5fd 100%);
  --shadow: 0 24px 60px rgba(128, 92, 168, 0.14);
  --shadow-sm: 0 10px 30px rgba(128, 92, 168, 0.1);
  --radius: 24px;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.4; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
.nb { display: inline-block; max-width: 100%; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 28px rgba(192, 122, 182, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(192, 122, 182, 0.42); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-outline { background: #fff; color: var(--accent); border: 2px solid var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--lavender); box-shadow: var(--shadow-sm); }
.btn-store { flex-direction: column; gap: 0; min-height: 64px; padding: 10px 32px; line-height: 1.35; }
.btn-store-sub { font-size: 11px; font-weight: 600; opacity: .9; letter-spacing: .06em; }
.btn-store-main { font-size: 17px; }
.btn-store-light { background: #fff; color: var(--accent); box-shadow: 0 14px 34px rgba(40, 20, 60, .28); }
.btn-store-light:hover { box-shadow: 0 18px 40px rgba(40, 20, 60, .34); }
.link-arrow { color: var(--accent); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " ↓"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 253, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 900; font-size: 21px; letter-spacing: 0; }
.brand img { border-radius: 10px; box-shadow: 0 4px 12px rgba(128, 92, 168, .2); }
.header-nav { display: flex; gap: 24px; margin-left: auto; }
.header-nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; }
.header-nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
  background: var(--soft-grad);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none;
}
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); }
.hero::after { width: 380px; height: 380px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(224,133,176,.22), rgba(224,133,176,0) 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); color: var(--accent); font-size: 13px; font-weight: 700; }
.hero-title { margin: 22px 0 22px; font-size: clamp(36px, 5.2vw, 68px); font-weight: 900; line-height: 1.22; letter-spacing: -0.01em; }
.hero-lead { max-width: 560px; color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); position: relative; flex: none; }
.check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- demo phone ---------- */
.hero-demo { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 22px; }
.demo-hint {
  position: absolute; top: 0; left: max(0px, calc(50% - 210px)); z-index: 6;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}
.hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(224,133,176,.7); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224,133,176,.7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(224,133,176,0); } }

.phone {
  position: relative; width: min(360px, 100%); height: 700px;
  padding: 14px; border-radius: 52px;
  background: #1f1a24;
  box-shadow: 0 40px 80px rgba(80, 50, 110, .28), inset 0 0 0 2px #3a3142;
}
.phone-notch { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; border-radius: 20px; background: #1f1a24; z-index: 5; }
.demo-view {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden;
  background: #fbf7fd; display: flex; flex-direction: column;
  padding: 58px 16px 16px;
}
.demo-view[hidden] { display: none; }
.demo-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.demo-customer { font-weight: 700; }
.demo-status { padding: 2px 10px; border-radius: 999px; background: rgba(128,92,168,.12); color: var(--accent); font-weight: 700; font-size: 11px; }
.demo-total { position: relative; margin: 10px -16px 0; padding: 12px 16px 14px; text-align: center; background: rgba(128,92,168,.08); }
.demo-total-label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.demo-total-value { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 900; color: var(--accent); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.demo-delta { position: absolute; right: 18px; top: 34px; color: var(--rose); font-weight: 800; font-size: 15px; opacity: 0; pointer-events: none; }
.demo-delta.show { animation: delta 1s ease forwards; }
@keyframes delta { 0% { opacity: 0; transform: translateY(8px); } 20% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }

.demo-lines { flex: 1 1 auto; min-height: 96px; overflow-y: auto; margin: 10px 0 6px; padding-right: 2px; }
.demo-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 8px 10px; margin-bottom: 6px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(128,92,168,.06); animation: pop .3s ease; }
@keyframes pop { from { transform: scale(.96); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.demo-line-name { font-weight: 700; font-size: 13px; line-height: 1.4; }
.demo-line-meta { grid-column: 1; color: var(--muted); font-size: 11px; line-height: 1.3; }
.demo-line-sub { grid-row: 1; grid-column: 2; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
.demo-qty { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; justify-self: end; }
.demo-qty button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(128,92,168,.12); color: var(--accent); font-size: 16px; font-weight: 800; line-height: 1; cursor: pointer; }
.demo-qty button:hover { background: rgba(128,92,168,.22); }
.demo-qty span { min-width: 16px; text-align: center; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.demo-empty { padding: 16px 8px; text-align: center; color: var(--muted); font-size: 12px; }

.demo-section-label { font-size: 11px; font-weight: 700; color: var(--muted); margin: 4px 2px 6px; }
.demo-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.demo-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  padding: 7px 10px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.demo-chip:hover { border-color: var(--lavender); }
.demo-chip:active { transform: scale(.97); }
.demo-chip.active { border-color: var(--accent); background: rgba(128,92,168,.06); }
.demo-chip-name { font-size: 12px; font-weight: 700; line-height: 1.35; }
.demo-chip-price { font-size: 11px; color: var(--accent); font-weight: 700; line-height: 1.35; }
.demo-chip.nudge { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(224,133,176,0); } 80% { box-shadow: 0 0 0 5px rgba(224,133,176,.35); } }

.demo-discount { display: flex; align-items: center; gap: 10px; margin: 10px 2px; font-size: 12px; font-weight: 700; cursor: pointer; user-select: none; }
.demo-discount input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #ddd3e3; transition: background .2s ease; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease; }
.demo-discount input:checked + .switch { background: var(--accent); }
.demo-discount input:checked + .switch::after { transform: translateX(16px); }
.demo-discount input:focus-visible + .switch { outline: 3px solid var(--coral); outline-offset: 2px; }

.demo-present-btn, .present-back {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 46px; border: 0; border-radius: 16px;
  background: var(--grad); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
}
.demo-present-btn svg, .present-back svg { width: 18px; height: 18px; }

/* presentation view */
.demo-present { background: linear-gradient(160deg, #fdf0f7 0%, #f3ecfc 70%); }
.present-head { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.present-head img { border-radius: 12px; margin-bottom: 4px; }
.present-salon { color: var(--accent); font-size: 12px; font-weight: 700; }
.present-head strong { font-family: var(--font-head); font-size: 22px; }
.present-lines { flex: 1 1 auto; overflow-y: auto; margin: 12px 0 10px; padding: 4px 14px; border-radius: 18px; background: #fff; }
.present-line { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(128,92,168,.1); }
.present-line:last-child { border-bottom: 0; }
.present-line b { display: block; font-size: 14px; }
.present-line small { display: block; color: var(--lavender); font-size: 10px; font-weight: 600; }
.present-line span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.present-sum { padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid #fff; }
.present-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.present-row.discount { color: var(--rose); }
.present-row[hidden] { display: none; }
.present-total { display: flex; flex-direction: column; align-items: center; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(128,92,168,.15); }
.present-total span { color: var(--muted); font-size: 12px; }
.present-total strong { font-family: var(--font-head); font-size: 40px; font-weight: 900; color: var(--accent); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.present-total small { color: var(--muted); font-size: 11px; }
.present-back { margin-top: 12px; background: #fff; color: var(--accent); border: 1.5px solid var(--line); }
.present-note { margin-top: 6px; text-align: center; font-size: 10px; color: var(--muted); }
.demo-caption { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-title { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; }
.section-lead { margin-top: 20px; max-width: 700px; color: var(--ink-soft); font-size: clamp(15px, 1.5vw, 17px); }
.point-head { margin-bottom: clamp(40px, 6vw, 64px); }
.point-head.center { text-align: center; }
.point-head.center .section-lead { margin-left: auto; margin-right: auto; }
.point-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--accent); font-weight: 700; font-size: 14px; }
.point-label span { padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--font-head); font-size: 12px; letter-spacing: .08em; }

/* pain */
.pain { background: #fff; }
.pain .section-title { text-align: center; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.pain-card { position: relative; padding: 28px 22px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.pain-card::before { content: ""; position: absolute; left: 28px; bottom: -11px; width: 22px; height: 22px; background: var(--cream); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.pain-emoji { display: block; font-size: 30px; margin-bottom: 10px; }
.pain-card p { color: var(--ink-soft); font-size: 15px; }
.pain-card strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(224,133,176,.3) 62%); }
.pain-answer { margin-top: 64px; text-align: center; font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; line-height: 1.6; }

/* point 01 */
.point-01 { background: var(--soft-grad); }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.flow-step { display: flex; flex-direction: column; gap: 22px; }
.shot { margin: 0; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 660 / 1100; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.flow-body { position: relative; padding-left: 52px; }
.flow-num { position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 18px; }
.flow-body h3 { font-size: 20px; margin-bottom: 6px; }
.flow-body p { color: var(--ink-soft); font-size: 15px; }

.receipt { position: relative; aspect-ratio: 660 / 1100; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px; border-radius: 30px; background: #fff; box-shadow: var(--shadow); font-size: 14px; }
.receipt-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding-bottom: 10px; border-bottom: 2px dashed var(--line); }
.receipt-row span:last-child { color: #fff; background: var(--accent); padding: 0 10px; border-radius: 999px; }
.receipt-line { display: flex; justify-content: space-between; font-weight: 600; }
.receipt-line.discount { color: var(--rose); }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 12px; border-top: 2px dashed var(--line); font-weight: 800; }
.receipt-total span:last-child { font-family: var(--font-head); font-size: 30px; color: var(--accent); }
.receipt-stamp { align-self: center; margin-top: 18px; padding: 10px 16px; border: 2px solid var(--coral); border-radius: 14px; color: var(--rose); font-size: 12px; font-weight: 800; text-align: center; line-height: 1.5; transform: rotate(-5deg); background: rgba(251,232,244,.6); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 6vw, 72px); }
.benefit-grid li { padding: 26px 24px; border-radius: var(--radius); background: rgba(255,255,255,.8); border: 1px solid #fff; box-shadow: var(--shadow-sm); }
.benefit-grid h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-grid h3::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 13px; vertical-align: 2px; }
.benefit-grid p { color: var(--ink-soft); font-size: 14px; }

/* point 02 */
.point-02 { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 28px 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, #fbe0ee, #ebe0fb); margin-bottom: 16px; }
.feature-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14px; }

.gallery { margin-top: clamp(56px, 7vw, 88px); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.gallery-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 28px; scrollbar-width: thin; }
.gallery-track figure { flex: 0 0 clamp(200px, 22vw, 240px); margin: 0; scroll-snap-align: start; }
.gallery-track img { border-radius: 26px; box-shadow: var(--shadow-sm); }
.gallery-track figcaption { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink-soft); text-align: center; }

.ipad-shot { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 620px; text-align: center; }
.ipad-shot img { border-radius: 28px; box-shadow: var(--shadow); }
.ipad-shot figcaption { margin-top: 16px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }

/* point 03 */
.point-03 { background: linear-gradient(180deg, #f7f1fc 0%, #fdf6fa 100%); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split .point-head { position: sticky; top: 100px; margin-bottom: 0; }
.trust-list { display: grid; gap: 14px; }
.trust-list li { position: relative; padding: 22px 24px 22px 70px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.trust-list li::before { content: ""; position: absolute; left: 22px; top: 24px; width: 32px; height: 32px; border-radius: 10px; background: var(--grad) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.trust-list h3 { font-size: 18px; margin-bottom: 4px; }
.trust-list p { color: var(--ink-soft); font-size: 14px; }

/* point 04 */
.point-04 { background: #fff; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.privacy-grid article { padding: 32px 26px; border-radius: var(--radius); background: var(--soft-grad); text-align: center; }
.privacy-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.privacy-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.privacy-grid h3 { font-size: 19px; margin-bottom: 10px; }
.privacy-grid p { color: var(--ink-soft); font-size: 14px; text-align: left; }

.privacy-label { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 24px 12px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: left; }
.privacy-label-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); flex: none; }
.privacy-label-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-label small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.4; }
.privacy-label strong { display: block; font-family: var(--font-head); font-size: 20px; line-height: 1.4; }

/* about / facts */
h1.eyebrow { font-family: var(--font-body); line-height: 1.6; letter-spacing: .02em; margin: 0; }
.about { background: #fff; }
.about-lead { font-size: clamp(15px, 1.6vw, 18px); line-height: 2; }
.about-lead strong { color: var(--accent); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; }
.fact-table-wrap { border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); overflow: hidden; }
.fact-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fact-table caption { padding: 16px 20px 6px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.fact-table th, .fact-table td { padding: 12px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.fact-table th { width: 30%; color: var(--accent); font-weight: 700; white-space: nowrap; }
.fact-table td { color: var(--ink-soft); }
.fit-cards { display: grid; gap: 16px; }
.fit-card { padding: 22px 24px; border-radius: var(--radius); }
.fit-card h3 { font-size: 17px; margin-bottom: 10px; }
.fit-card ul { display: grid; gap: 6px; }
.fit-card li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-soft); }
.fit-yes { background: var(--soft-grad); }
.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.fit-no { background: #f7f5f8; border: 1px dashed #d9cfe0; }
.fit-no li::before { content: "–"; position: absolute; left: 4px; color: var(--muted); font-weight: 800; }

/* compare */
.compare { max-width: 900px; margin: 40px auto 0; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: var(--shadow-sm); }
.compare h3 { font-size: clamp(18px, 2.2vw, 22px); margin-bottom: 16px; }
.compare-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { font-size: 13px; color: var(--muted); }
.compare-table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.compare-table td { color: var(--ink-soft); }
.compare-table .ours { background: rgba(128,92,168,.07); color: var(--accent-deep); font-weight: 700; }
.compare-table thead .ours { color: var(--accent); }

/* guides */
.guides { background: linear-gradient(180deg, #fdf7fb 0%, #f8f3fd 100%); }
.guides .guide-card { background: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: block; padding: 26px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--lavender); }
.guide-tag { display: inline-block; padding: 2px 12px; border-radius: 999px; background: rgba(128,92,168,.1); color: var(--accent); font-size: 12px; font-weight: 700; }
.guide-card h3 { margin: 12px 0 8px; font-size: 18px; }
.guide-card p { color: var(--ink-soft); font-size: 14px; }
.guides-more { margin-top: 24px; text-align: center; font-weight: 700; }

/* plans */
.plans { background: var(--soft-grad); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 22px; }
.plan h3 small { font-size: 13px; font-weight: 700; color: var(--accent); margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(128,92,168,.1); vertical-align: 3px; }
.plan-price { margin-top: 12px; font-family: var(--font-head); font-size: 52px; font-weight: 900; line-height: 1.1; letter-spacing: 0; }
.plan-price .yen { font-size: .5em; margin-right: 2px; }
.plan-sub { margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-list { display: grid; gap: 10px; margin: 24px 0 28px; flex: 1; }
.plan-list li { position: relative; padding-left: 28px; font-size: 15px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(128,92,168,.14); }
.plan-list li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan .btn { width: 100%; }
.plan-pro { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.plan-pro .plan-price { color: var(--accent); }
.plan-ribbon { position: absolute; top: -14px; right: 28px; padding: 4px 16px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; }
.plan-note { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }

.sim { max-width: 900px; margin: clamp(48px, 6vw, 72px) auto 0; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: var(--shadow-sm); }
.sim-head h3 { font-size: clamp(20px, 2.4vw, 26px); }
.sim-head p { margin-top: 4px; color: var(--ink-soft); font-size: 14px; }
.sim-body { margin-top: 24px; }
.sim-input { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.sim-input output { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: var(--accent); }
input[type="range"] { width: 100%; margin: 10px 0 24px; accent-color: var(--accent); height: 28px; cursor: pointer; }
.sim-bars { display: grid; gap: 12px; }
.sim-bar-row { display: grid; grid-template-columns: 140px 1fr 96px; gap: 12px; align-items: center; font-size: 14px; font-weight: 700; }
.sim-bar { height: 18px; border-radius: 999px; background: #f3edf7; overflow: hidden; }
.sim-bar-fill { display: block; height: 100%; border-radius: 999px; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.sim-bar-fill.other { background: #c9bdd3; }
.sim-bar-fill.ours { background: var(--grad); }
.sim-bar-value { text-align: right; font-variant-numeric: tabular-nums; }
.sim-result { margin-top: 22px; padding: 16px 20px; border-radius: 16px; background: var(--blush); font-size: 16px; font-weight: 600; }
.sim-result strong { color: var(--rose); font-size: 1.1em; }
.sim-note { margin-top: 10px; color: var(--muted); font-size: 12px; }

/* steps */
.steps { background: #fff; }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step-list li { position: relative; padding: 30px 22px 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); text-align: center; }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 900; }
.step-list h3 { font-size: 17px; margin-bottom: 8px; }
.step-list p { color: var(--ink-soft); font-size: 14px; text-align: left; }

/* faq */
.faq { background: var(--cream); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.faq-list summary { position: relative; list-style: none; padding: 20px 56px 20px 60px; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-head); font-size: 14px; }
.faq-list summary::after { content: ""; position: absolute; right: 24px; top: 26px; width: 10px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-list details p { padding: 0 24px 22px 60px; color: var(--ink-soft); font-size: 15px; }
.faq-more { margin-top: 28px; text-align: center; color: var(--ink-soft); font-size: 14px; }

/* final cta */
.final-cta { position: relative; padding: clamp(72px, 10vw, 120px) 0; background: linear-gradient(135deg, #7a58a3 0%, #a46bb0 50%, #d9829f 100%); color: #fff; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-icon { border-radius: 24px; box-shadow: 0 16px 40px rgba(40, 20, 60, .3); }
.final-cta h2 { margin-top: 28px; font-size: clamp(28px, 4.4vw, 48px); font-weight: 900; }
.final-cta p { margin-top: 16px; opacity: .92; }
.final-actions { display: flex; align-items: center; gap: 32px; margin-top: 36px; }
.qr { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 700; text-align: left; line-height: 1.5; }
.qr-code { width: 92px; height: 92px; padding: 6px; border-radius: 12px; background: #fff; }
.qr-code svg, .qr-code img { width: 100%; height: 100%; display: block; }
.qr.unavailable { display: none; }

/* footer */
.site-footer { padding: 36px 0 44px; background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer .brand { font-size: 17px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.site-footer nav a { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer small { color: var(--muted); font-size: 12px; }

/* sticky mobile cta */
.sticky-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .demo-hint { left: max(0px, calc(50% - 200px)); }
  .flow { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 48px; }
  .shot, .receipt { max-width: 340px; width: 100%; margin: 0 auto; }
  .benefit-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .point-head { position: static; }
  .privacy-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; }
  .qr { display: none; }
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60; display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 12px; border-radius: 20px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(80, 50, 110, .22); border: 1px solid var(--line);
    transform: translateY(140%); transition: transform .3s ease;
  }
  .sticky-cta.visible { transform: translateY(0); }
  .sticky-cta img { border-radius: 10px; }
  .sticky-cta div { display: flex; flex-direction: column; line-height: 1.3; }
  .sticky-cta strong { font-family: var(--font-head); font-size: 15px; }
  .sticky-cta span { font-size: 11px; color: var(--muted); }
  .sticky-cta .btn { margin-left: auto; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .header-inner { height: 60px; }
  .brand { font-size: 19px; }
  .hero-title { font-size: clamp(34px, 10vw, 44px); }
  .shot, .receipt { max-width: 290px; }
  .eyebrow { font-size: 12px; padding: 6px 14px; border-radius: 16px; }
  .pain-grid, .feature-grid, .step-list { grid-template-columns: 1fr; }
  .phone { height: 660px; border-radius: 46px; padding: 12px; }
  .demo-view { border-radius: 36px; padding-top: 54px; }
  .sim-bar-row { grid-template-columns: 1fr auto; }
  .fact-table th { width: auto; white-space: normal; min-width: 5.5em; }
  .fact-table th, .fact-table td { padding: 10px 14px; }
  .sim-bar-row .sim-bar { grid-column: 1 / -1; grid-row: 2; }
  .faq-list summary { padding: 18px 44px 18px 54px; }
  .faq-list summary::before { left: 16px; }
  .faq-list details p { padding: 0 20px 20px 54px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
