/* Headings: Shippori Mincho (SIL OFL, /assets/fonts/OFL-shipporimincho.txt), subset to the characters this
   site uses; rebuild it when the copy changes (README "フォント"). Body text uses the device's gothic font. */
@font-face { font-family: "Shippori Mincho"; src: url("/assets/fonts/shippori-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* Look modeled on Japanese cosmetic clinic LPs: white base, blush/beige bands, rose accent, gold lines,
   mincho headings, gothic body. The previous pastel look is kept in design/v3/. */
:root {
  --bg: #ffffff;
  --blush: #fbf0f1;
  --beige: #f6f1ea;
  --card: #ffffff;
  --ink: #333333;
  --muted: #6b6466;
  --line: #ece3e1;
  --rose: #c8687e;
  --rose-deep: #ad4f66;
  --rose-soft: #fbe7eb;
  --gold: #b49a62;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.95; letter-spacing: .03em; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }
.wrap { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; padding: 0 20px; }

.band { padding: 60px 0 56px; }
.tone-pink, .tone-cream, .tone-peach, .tone-lav, .tone-sage { background: var(--bg); }
.band.tone-lav, .soft-band { background: var(--blush); }
.band.tone-sage { background: var(--beige); }
.burst, .foot-art { display: none; }

.ribbon { margin: 0; padding: 12px 18px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.7; color: #fff; background: var(--rose); }
.ribbon span { margin: 0 .5em; opacity: .8; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1; letter-spacing: .04em; }
.brand small { font-size: 11px; color: var(--muted); letter-spacing: .14em; }
.top-link { font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; background: var(--rose); border-radius: 999px; padding: 7px 16px; letter-spacing: .06em; }

/* type */
h1, h2, .serif-center { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(24px, 6.6vw, 38px); line-height: 1.5; letter-spacing: .06em; margin: 0 0 14px; text-align: center; }
h2 { font-size: clamp(21px, 5.6vw, 27px); line-height: 1.6; letter-spacing: .06em; margin: 0 0 22px; text-align: center; }
h2::after { content: ""; display: block; width: 36px; height: 1px; margin: 14px auto 0; background: var(--gold); }
h3 { font-size: 16px; line-height: 1.6; margin: 0 0 4px; }
.label { margin: 0 0 8px; text-align: center; font-family: var(--serif); font-size: 13px; letter-spacing: .3em; color: var(--rose); }
.script { margin: 0 0 4px; text-align: center; font-family: var(--serif); font-size: 12px; text-transform: uppercase; letter-spacing: .32em; color: var(--gold); }
.eyebrow { display: block; width: fit-content; margin: 0 auto 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--rose-deep); background: var(--rose-soft); border-radius: 999px; padding: 3px 16px; }
.lede { margin: 0 0 18px; text-align: center; font-size: 14.5px; line-height: 1.85; }
.sub { color: var(--muted); margin: 0 0 18px; text-align: center; }
.note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.8; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 36px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .08em; text-decoration: none; color: #fff; background: linear-gradient(90deg, #d27a8e, var(--rose-deep)); border: 0; cursor: pointer; box-shadow: 0 4px 0 #8f3d51; }
.btn::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.btn span { font-size: 12px; background: #fff; color: var(--rose-deep); border-radius: 4px; padding: 0 8px; letter-spacing: .04em; }
.btn.big { width: 100%; min-height: 62px; font-size: 17px; }
.btn.alt { background: #fff; color: var(--rose-deep); border: 1.5px solid var(--rose); box-shadow: none; }
.btn.wide { width: 100%; margin-top: 12px; }
.step-nav .btn::after, .actions .btn::after { display: none; }
.btn:disabled { opacity: .45; cursor: default; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .seg button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; }

/* hero */
.hero { padding: 0 0 36px; background: linear-gradient(180deg, #fff 0%, var(--blush) 100%); }
.hero .wrap.hero-grid { padding: 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 26%; }
.hero-text { display: flex; flex-direction: column; padding: 18px 20px 0; }
.hero-text > .btn { order: 1; }
.hero-text > .note { order: 3; text-align: center; }
.assure { order: 2; list-style: none; display: flex; justify-content: center; gap: 10px; padding: 0; margin: 20px 0 0; }
.assure li { width: 102px; height: 102px; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 10px; font-family: var(--serif); font-weight: 600; font-size: 12.5px; line-height: 1.45; color: #6d5a2e; background: radial-gradient(circle at 35% 30%, #fffaf0 0%, #f2e6c9 100%); border: 1px solid #d9c595; }

/* worry checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 14px 18px 14px 50px; background: var(--beige); border-radius: 999px; font-weight: 600; line-height: 1.6; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--rose); }
.checklist li::after { content: ""; position: absolute; left: 24px; top: 50%; width: 5px; height: 10px; margin-top: -7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* affirmation */
.soft-band { padding: 56px 0 48px; }
.serif-center { text-align: center; font-size: clamp(22px, 6vw, 28px); line-height: 1.7; margin: 0 0 22px; color: var(--rose-deep); }
.soft-band p { margin: 0 0 12px; }

/* demo */
.demo { padding: 0; overflow: hidden; margin: 0 0 22px; }
.demo-photo { position: relative; }
.demo-photo img { width: 100%; }
.demo-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-lines path { fill: none; stroke: #ffffff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 12; filter: drop-shadow(0 0 2px rgba(90, 30, 45, .9)); transition: d .35s ease; }
.demo-ctrl { display: grid; gap: 10px; padding: 16px 16px 2px; }
.seg { display: flex; background: var(--blush); border-radius: 999px; padding: 4px; }
.seg button { flex: 1; min-height: 42px; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--rose); color: #fff; }
.demo figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 16px 16px; text-align: center; line-height: 1.7; }

.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; background: #fff; }
.compare-table caption { caption-side: top; text-align: left; font-size: 13px; color: var(--muted); padding: 0 0 10px; }
.compare-table th, .compare-table td { padding: 11px 6px; border: 1px solid var(--line); vertical-align: middle; text-align: center; }
.compare-table thead th { white-space: nowrap; width: 29%; font-family: var(--serif); font-weight: 600; font-size: 15px; color: #fff; background: var(--rose); border-color: var(--rose); }
.compare-table thead th:first-child { width: 13%; background: #fff; border-color: var(--line); }
.compare-table tbody th { color: var(--rose-deep); white-space: nowrap; font-size: 13px; background: var(--rose-soft); }
.compare-table rt { font-size: 9px; font-family: var(--font); font-weight: 400; }

/* memo section */
.flow { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.flow li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--blush); border-radius: 10px; font-weight: 600; }
.flow b { flex: none; display: grid; place-content: center; justify-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid var(--rose); color: var(--rose-deep); font-family: var(--serif); font-size: 21px; line-height: 1.05; }
.flow b::before { content: "STEP"; font-size: 8.5px; letter-spacing: .12em; }
.scene { margin: 0 0 22px; }
.scene img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.fit { display: grid; gap: 10px; margin: 0 0 18px; }
.fit h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; text-align: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.fit ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 15px; }
.fit-yes { border-color: var(--rose); }
.fit-yes h3 { color: var(--rose-deep); }
.fit-no { background: #faf8f7; }
.fit-no h3 { color: var(--muted); }

/* tool */
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { font-weight: 700; font-size: 17px; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border: 1px solid #ddd2cf; border-radius: 999px; background: #fff; cursor: pointer; font-size: 15px; line-height: 1.4; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { border-color: var(--rose); background: var(--rose); color: #fff; font-weight: 700; }
.chips label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.checks { display: grid; gap: 8px; }
.checks label, .check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid #ddd2cf; border-radius: 10px; background: #fff; cursor: pointer; font-size: 15px; line-height: 1.6; }
.checks label:has(input:checked) { border-color: var(--rose); background: var(--rose-soft); }
.checks input, .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--rose-deep); }
.check { border: 0; padding: 6px 0; background: none; }
.field { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 13px; font: inherit; font-size: 16px; color: var(--ink); border: 1px solid #ddd2cf; border-radius: 8px; background: #fff; }

.tool { border-top: 3px solid var(--rose); }
.progress { height: 6px; background: var(--rose-soft); border-radius: 999px; overflow: hidden; margin: 0 0 8px; }
.progress span { display: block; height: 100%; width: 0; background: var(--rose); border-radius: 999px; transition: width .3s ease; }
.progress-label { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--rose-deep); }
.wizard .step { display: none; margin-bottom: 8px; }
.wizard .step.on { display: block; }
.wizard #sheet-submit { display: none; }
.wizard.last #sheet-submit { display: flex; }
.wizard.last #step-next { display: none; }
.step-nav { display: flex; gap: 10px; margin-top: 18px; }
.step-nav .btn { flex: 1; padding: 0 12px; }

.result { margin-top: 24px; }
.done-label { text-align: center; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--rose-deep); margin: 0 0 12px; }
.sheet { background: #fffdfc; border: 1px solid var(--line); border-top: 3px solid var(--rose); border-radius: 10px; padding: 22px 20px; }
.sheet-title { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 0 0 2px; color: var(--rose-deep); }
.sheet-date { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.sheet dl { display: grid; grid-template-columns: 8.5em 1fr; gap: 6px 12px; margin: 12px 0 14px; font-size: 15px; }
.sheet dt { color: var(--muted); }
.sheet dd { margin: 0; font-weight: 700; }
.sheet-q { font-weight: 700; margin: 0 0 4px; }
.sheet ol { margin: 0 0 14px; padding-left: 1.4em; font-size: 15px; }
.sheet li { margin-bottom: 4px; }
.sheet-foot { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions .btn { flex: 1 1 160px; }

/* waitlist */
.soon { padding: 0; background: none; border: 0; }
.soon-list { list-style: none; padding: 16px 18px; margin: 16px 0 0; display: grid; gap: 8px; background: #fff; border-radius: 10px; }
.soon-list li { position: relative; padding-left: 26px; font-weight: 600; }
.soon-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--rose); }
.soon-lead { margin: 20px 0 0; }
.soon form { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--rose); border-radius: 12px; padding: 22px 18px; }
.soon fieldset { margin: 22px 0 16px; }
.soon legend { font-size: 16px; }
#turnstile { margin: 12px 0 4px; min-height: 65px; }
.form-msg { margin: 10px 0 0; font-weight: 700; }
.form-msg.ok { color: #1f6b46; }
.form-msg.err { color: #a3263a; }

/* tips */
.tips { list-style: none; counter-reset: tip; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.tips li { counter-increment: tip; position: relative; padding-left: 74px; }
.tips li::before { content: counter(tip, decimal-leading-zero); position: absolute; left: 18px; top: 20px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 17px; color: #fff; background: var(--gold); }
.tips h3 { color: var(--rose-deep); }
.tips p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0; margin-bottom: 10px; overflow: hidden; }
.faq summary { position: relative; list-style: none; padding: 15px 44px 15px 58px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); color: #fff; background: var(--rose); line-height: 1; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 20px; color: var(--rose); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 14px 18px 16px 58px; background: var(--blush); }

/* footer */
.foot { background: #f7f4f2; font-size: 12.5px; color: var(--muted); padding: 28px 0 120px; }
.foot p { margin: 0 0 6px; }

/* sticky CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
.sticky.show { transform: translateY(0); }
.sticky .btn { width: 100%; max-width: 640px; margin: 0 auto; display: flex; }

.legal { padding-top: 24px; padding-bottom: 40px; }
.legal h1 { font-size: 24px; text-align: left; }
.legal h2 { font-size: 18px; margin-top: 28px; text-align: left; }
.legal h2::after { display: none; }
.legal ul { padding-left: 1.3em; }

@media (min-width: 640px) {
  .fit { grid-template-columns: 1fr 1fr; }
  .hero-photo { max-width: 680px; margin: 0 auto; }
}

@media (min-width: 900px) {
  .hero .wrap.hero-grid { max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 32px 20px 0; }
  .hero-photo img { aspect-ratio: 4 / 5; border-radius: 12px; }
  .hero-text { padding: 0; }
  .top-in { max-width: 1040px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-lines path, .sticky, .progress span { transition: none; }
}

@media print {
  body { background: #fff; }
  body > header, body > footer, body > .ribbon, .sticky, main > section:not(#tool), main > .ribbon, #sheet-form, #tool .wrap > *:not(.result), .actions, .result .note, .done-label { display: none !important; }
  .band { padding: 0; background: #fff; }
  .sheet { border: 1px solid #999; }
}
