:root {
  --night: #210e1d;
  --cassis: #3a1533;
  --berry: #7c1d4c;
  --amber: #edb868;
  --amber-pale: #f8e3bf;
  --mist: #f4eef3;
  --white: #ffffff;
  --ink: #2a1626;
  --ink-soft: #5b4656;
  --line: #d9cbd6;
  --on-dark: #f7f0f4;
  --on-dark-soft: #d5c4d0;
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --gothic: "BIZ UDPGothic", "Hiragino Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; font-feature-settings: "palt" 1; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--gothic); font-size: 18px; line-height: 1.9; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--mincho); font-weight: 700; line-height: 1.45; word-break: auto-phrase; text-wrap: balance; }
h1 span, h2 span { display: block; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }
p { margin: 0; }
p, .check-text, blockquote, summary, li { word-break: auto-phrase; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 48px); }
.center { text-align: center; }
.sec-lead { margin-top: 12px; color: var(--ink-soft); }

.demo-notice { background: var(--amber-pale); color: var(--ink); padding: 8px 16px; font-size: 14px; line-height: 1.6; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 14px 44px; border: 2px solid var(--amber); border-radius: 6px; background: var(--amber); color: var(--night); font-size: 21px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .15s; }
.btn:hover { background: var(--amber-pale); }
.btn-small { min-height: 44px; padding: 6px 20px; font-size: 16px; }
.btn-wide { width: 100%; padding-inline: 16px; }
.btn-line { background: transparent; border-color: var(--on-dark-soft); color: var(--on-dark); }
.btn-line:hover { background: var(--cassis); }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--night); color: var(--on-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { font-family: var(--mincho); font-size: 24px; font-weight: 700; text-decoration: none; }

/* ファーストビュー */
.hero { position: relative; display: flex; align-items: center; min-height: 760px; overflow: hidden; background: var(--night); color: var(--on-dark); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.hero-body { position: relative; padding-block: 64px; }
.hero-tag { display: inline-block; padding: 4px 14px; border: 1px solid var(--amber); border-radius: 4px; color: var(--amber); font-size: 16px; }
.hero h1 { margin-top: 24px; font-size: 64px; font-weight: 800; line-height: 1.32; }
.hero-lead { margin-top: 22px; font-size: 22px; line-height: 1.7; }
.hero-facts { display: flex; gap: 34px; margin: 30px 0 34px; font-size: 15px; line-height: 1.5; color: var(--on-dark-soft); }
.hero-facts li { padding-left: 16px; border-left: 2px solid var(--amber); }
.hero-facts b { display: block; color: var(--on-dark); font-family: var(--mincho); font-size: 22px; }
.hero-note { margin-top: 14px; color: var(--on-dark-soft); font-size: 15px; line-height: 1.6; }

/* お悩み */
.worry { padding-block: 96px; background: var(--mist); }
.worry h2 { text-align: center; }
.worry .sec-lead { text-align: center; }
.check-list { display: grid; gap: 12px; margin-top: 36px; }
.check { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 72px; padding: 14px 24px; border: 2px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; font-size: 21px; line-height: 1.5; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.check:hover { border-color: var(--berry); }
.check-box { position: relative; flex: none; width: 30px; height: 30px; border: 2px solid var(--berry); border-radius: 4px; background: var(--white); }
.check[aria-pressed="true"] { border-color: var(--berry); background: var(--amber-pale); }
.check[aria-pressed="true"] .check-box { background: var(--berry); }
.check[aria-pressed="true"] .check-box::after { content: ""; position: absolute; left: 8px; top: 2px; width: 9px; height: 17px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.check-result { margin-top: 26px; font-family: var(--mincho); font-size: 24px; font-weight: 700; line-height: 1.6; text-align: center; }

/* 共感 */
.reason { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: var(--on-dark); }
.reason-photo { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.reason-text { align-self: center; max-width: 620px; padding: 72px 64px; }
.reason-text h2 { font-size: 46px; }
.reason-text p { margin-top: 24px; color: var(--on-dark); }

/* 届出表示 */
.claim { padding-block: 96px; background: var(--white); }
.claim h2 { text-align: center; }
.claim-box { margin-top: 36px; padding: 36px 40px; border: 2px solid var(--berry); border-radius: 6px; }
.claim-label { color: var(--berry); font-weight: 700; }
.claim-body { margin-top: 10px; font-size: 21px; line-height: 1.8; }
.claim-note { margin-top: 18px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

/* ポイント */
.points { padding-block: 96px 112px; background: var(--mist); }
.point { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 72px; }
.point > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.point-flip > img { order: 2; }
.point-no { color: var(--berry); font-family: var(--mincho); font-size: 72px; font-weight: 800; line-height: 1; }
.point-text h3 { margin-top: 12px; }
.point-text > p:not(.point-no) { margin-top: 16px; }
.chart { margin-top: 24px; padding: 18px 20px; border-radius: 6px; background: var(--white); }
.chart-title { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.chart-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; }
.chart-track { display: block; height: 18px; background: var(--mist); }
.chart-bar { display: block; height: 100%; }
.chart-bar-a { width: 46%; background: var(--line); }
.chart-bar-b { width: 72%; background: var(--berry); }
.point-plain { grid-template-columns: 5fr 7fr; align-items: start; padding-top: 56px; border-top: 1px solid var(--line); }
.spec { background: var(--white); border-radius: 6px; padding: 8px 28px; }
.spec div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.spec div:last-child { border-bottom: 0; }
.spec dt { color: var(--ink-soft); font-size: 16px; }
.spec dd { font-size: 17px; font-weight: 700; line-height: 1.6; }

/* 1日の流れ */
.day { padding-block: 96px; background: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-radius: 6px; overflow: hidden; }
.timeline li { position: relative; min-height: 270px; padding: 28px 24px; }
.timeline time { display: block; font-family: var(--mincho); font-size: 42px; font-weight: 700; line-height: 1.2; }
.timeline p { margin-top: 14px; font-size: 18px; line-height: 1.7; }
.t-morning { background: #f6efe3; }
.t-noon { background: #e8d5d9; }
.t-dusk { background: var(--berry); color: var(--white); }
.t-night { background: var(--night); color: var(--on-dark); }
.t-lamp { position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); }

/* 使用イメージ */
.evening { position: relative; display: flex; align-items: flex-end; min-height: 620px; overflow: hidden; background: var(--night); color: var(--white); }
.evening-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.evening-body { position: relative; padding-block: 56px; }
.evening-copy { font-family: var(--mincho); font-size: 44px; font-weight: 700; line-height: 1.5; }
.evening-copy span { display: block; }

/* 声 */
.voice { padding-block: 96px; background: var(--mist); }
.voice-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.voice-list figure { padding: 30px 28px; border-top: 4px solid var(--berry); background: var(--white); }
.voice-list blockquote { font-family: var(--mincho); font-size: 22px; font-weight: 700; line-height: 1.65; }
.voice-list figcaption { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }
.voice-note { margin-top: 18px; color: var(--ink-soft); font-size: 15px; text-align: center; }

/* 料金 */
.order { padding-block: 96px; background: var(--night); color: var(--on-dark); }
.plans { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; margin-top: 44px; }
.plan { display: flex; flex-direction: column; padding: 36px 40px; border: 1px solid var(--on-dark-soft); border-radius: 6px; }
.plan-main { border: 3px solid var(--amber); background: var(--cassis); }
.plan-name { font-family: var(--mincho); font-size: 26px; font-weight: 700; }
.plan-price { margin-top: 10px; line-height: 1.2; }
.plan-price b { color: var(--amber); font-family: var(--mincho); font-size: 76px; font-weight: 800; }
.plan:not(.plan-main) .plan-price b { color: var(--on-dark); font-size: 54px; }
.plan-first { margin-right: 8px; font-size: 22px; font-weight: 700; }
.plan-yen { margin-left: 4px; font-size: 18px; }
.plan-next { margin-top: 8px; font-size: 19px; font-weight: 700; }
.plan-list { flex: 1; margin: 20px 0 26px; padding-top: 18px; border-top: 1px solid var(--on-dark-soft); line-height: 1.6; }
.plan-list li { margin-top: 8px; font-size: 17px; }
.order-toast { margin-top: 18px; padding: 12px; border-radius: 6px; background: var(--amber-pale); color: var(--ink); text-align: center; }
.order-toast[hidden] { display: none; }

/* よくある質問 */
.faq { padding-block: 96px; background: var(--white); }
.faq details { border-bottom: 1px solid var(--line); }
.faq h2 + details { margin-top: 32px; border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; font-size: 20px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; color: var(--berry); font-size: 28px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-soft); }

/* フッター */
.site-footer { padding-block: 56px; background: var(--night); color: var(--on-dark-soft); font-size: 15px; line-height: 1.8; }
.site-footer p + p { margin-top: 10px; }
.footer-logo { color: var(--on-dark); font-family: var(--mincho); font-size: 24px; font-weight: 700; }

.sticky-cta { display: none; }

/* スマホ */
@media (max-width: 900px) {
  body { font-size: 17px; }
  h2 { font-size: 29px; }
  h3 { font-size: 25px; }
  .wrap, .narrow { width: calc(100% - 40px); }
  .btn { min-height: 60px; padding-inline: 24px; font-size: 20px; }
  .btn-small { min-height: 44px; padding: 4px 14px; font-size: 15px; }

  .header-inner { min-height: 58px; }
  .logo { font-size: 21px; }

  .hero { display: block; min-height: 0; }
  .hero-photo { position: static; width: 100%; height: 300px; object-position: 92% 50%; }
  .hero-body { padding-block: 26px 40px; }
  .hero h1 { margin-top: 16px; font-size: 40px; line-height: 1.34; }
  .hero-lead { margin-top: 14px; font-size: 18px; }
  .hero-facts { gap: 12px; margin: 22px 0 24px; font-size: 13px; }
  .hero-facts li { flex: 1; padding-left: 10px; }
  .hero-facts b { font-size: 17px; }
  .hero .btn { display: flex; width: 100%; }
  .hero-note { font-size: 14px; }

  .worry, .claim, .day, .voice, .order, .faq { padding-block: 64px; }
  .check-list { margin-top: 24px; }
  .check { gap: 14px; min-height: 68px; padding: 12px 16px; font-size: 18px; }
  .check-box { width: 26px; height: 26px; }
  .check[aria-pressed="true"] .check-box::after { left: 7px; top: 1px; width: 8px; height: 15px; }
  .check-result { font-size: 20px; }

  .reason { grid-template-columns: 1fr; }
  .reason-photo { min-height: 0; height: 280px; }
  .reason-text { max-width: none; padding: 44px 20px 56px; }
  .reason-text h2 { font-size: 34px; }

  .claim-box { margin-top: 24px; padding: 22px 20px; }
  .claim-body { font-size: 18px; }
  .claim-note { font-size: 14px; }

  .points { padding-block: 64px 72px; }
  .point, .point-plain { grid-template-columns: 1fr; gap: 26px; margin-top: 52px; }
  .point > img { width: min(100%, 300px); margin-inline: auto; }
  .point-flip > img { order: 0; }
  .point-no { font-size: 58px; }
  .point-plain { padding-top: 44px; }
  .spec { padding: 4px 18px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; padding-block: 13px; }

  .timeline { grid-template-columns: 1fr; margin-top: 30px; }
  .timeline li { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; min-height: 96px; padding: 16px 18px; }
  .timeline time { font-size: 30px; }
  .timeline p { margin: 0; padding-right: 28px; font-size: 17px; }
  .t-night p { padding-right: 44px; }
  .t-lamp { right: 16px; bottom: auto; top: calc(50% - 16px); width: 32px; height: 32px; }

  .evening { min-height: 460px; }
  .evening-body { padding-block: 34px; }
  .evening-copy { font-size: 30px; }

  .voice-list { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .voice-list figure { padding: 22px 20px; }
  .voice-list blockquote { font-size: 20px; }

  .plans { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .plan { padding: 26px 20px; }
  .plan-price b { font-size: 62px; }
  .plan:not(.plan-main) .plan-price b { font-size: 46px; }

  .faq summary { font-size: 18px; }
  .site-footer { padding-block: 44px 110px; font-size: 14px; }

  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: block; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--night); }
  .sticky-cta .btn { min-height: 54px; font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
