/* 基本構造 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-bottom: calc(86px + env(safe-area-inset-bottom)); overflow-x: clip; background: var(--orange); color: var(--ink); font: 400 15px/1.85 var(--font-ja); letter-spacing: .025em; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button { color: inherit; }
main, .pr-note { width: min(100%, 480px); margin-inline: auto; }
.pr-note { padding: 7px 16px; background: var(--purple-d); color: var(--white); font-size: 11px; line-height: 1.5; text-align: center; }
.section { position: relative; padding: 64px 20px; overflow: hidden; }
.section::before { position: absolute; inset: 0 0 auto; height: 10px; background: linear-gradient(to bottom, var(--purple) 0 4px, transparent 4px 6px, var(--purple) 6px 10px); content: ""; }
.section-inner { width: 100%; max-width: 760px; margin-inline: auto; }
.section-orange { background: var(--orange); }
.section-cream { background: var(--cream); }
.section-purple { background: var(--purple); color: var(--white); }
.section-label { font: 400 12px/1.3 var(--font-en); letter-spacing: .12em; }
h1, h2 { font-family: var(--font-head); }
h2 { margin-top: 8px; font-size: clamp(28px, 9vw, 40px); font-weight: 900; line-height: 1.3; letter-spacing: .04em; }
.section-lead { margin-top: 22px; }
h3 { font-size: 19px; line-height: 1.5; }
.note { font-size: 12px; line-height: 1.7; }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ボタン */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 13px 18px; border: 2px solid var(--ink); border-radius: var(--radius); font: 700 14px/1.45 var(--font-ja); text-align: center; text-decoration: none; cursor: pointer; }
.btn-buy { background: var(--purple); color: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.btn-line { background: var(--white); color: var(--purple); box-shadow: 5px 5px 0 var(--ink); }
.btn-sub { margin-top: 13px; background: transparent; color: var(--ink); }
[data-item-mode="buy"] .btn-line { display: none; }
[data-item-mode="line"] .btn-buy { display: none; }
[data-item-mode="hidden"] .btn-buy,
[data-item-mode="hidden"] .btn-line { display: none; }
.item-pending { display: none; padding: 14px; border: 2px dashed var(--purple); border-radius: var(--radius); background: var(--cream); color: var(--purple); font-weight: 700; text-align: center; }
[data-item-mode="hidden"] .item-pending { display: block; }
.text-link { display: inline-block; margin-top: 24px; padding-bottom: 2px; border-bottom: 2px solid currentColor; font-weight: 700; text-decoration: none; }

/* ファーストビュー */
.fv { position: relative; padding: 42px 20px 58px; overflow: hidden; background: var(--orange); }
.fv::before { position: absolute; top: -80px; right: -70px; width: 130px; height: 130px; border: 16px solid var(--purple); border-radius: 50%; content: ""; opacity: .9; }
.fv[data-gl="running"]::before, .fv[data-gl="static"]::before { display: none; }
.fv > * { position: relative; z-index: 1; }
.fv > .fv-gl { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.fv[data-gl] > .fv-gl { opacity: 1; }
.fv[data-gl="off"] > .fv-gl { display: none; }
.fv-h1 { margin-top: 6px; font-size: clamp(48px, 18vw, 74px); font-weight: 900; line-height: .95; letter-spacing: -.055em; }
.fv-h1 span { display: block; margin-top: 12px; color: var(--purple); font: 400 clamp(27px, 10vw, 42px)/1 var(--font-en); letter-spacing: .02em; }
.fv-lead { margin-top: 24px; font-weight: 700; line-height: 1.8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.chips li { padding: 5px 10px; border: 2px solid var(--purple); border-radius: var(--radius-pill); background: var(--peach); color: var(--ink); font-size: 12px; font-weight: 700; }
.fv-visual { margin: 12px 0 8px -20px; background: transparent; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 100%); mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 100%); }
.fv-visual img { display: block; width: min(94vw, 456px); max-width: none; height: auto; filter: drop-shadow(0 18px 28px rgba(43, 20, 88, .18)); }
.fv-actions { margin-top: 25px; }
.fv-set-detail { margin-top: 10px; font-size: 11px; font-weight: 700; line-height: 1.6; }
.fv-kit-action { margin-top: 14px; }
.btn-kit { background: var(--white); color: var(--purple); border-color: var(--purple); }
.fv-actions .note { margin-top: 14px; }
.fv-actions .note + .note { margin-top: 5px; }

/* SNS・紹介 */
.sns-media { margin-top: 24px; }
.sns-media figure { min-width: 0; overflow: hidden; border: 3px solid var(--purple); border-radius: var(--radius); background: var(--white); }
.sns-media video, .sns-media img { display: block; width: 100%; height: auto; object-fit: cover; }
.sns-reels { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 12px; }
.sns-reel { width: 100%; max-width: 360px; }
.sns-reel video { display: block; aspect-ratio: 9 / 16; background: var(--ink); }
.sns-media figcaption { padding: 10px 12px; font-size: 12px; font-weight: 700; line-height: 1.55; }
.sns-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.sns-photos img { aspect-ratio: 1; }
.sns-photos figcaption { font-size: 11px; }
.sns-note { margin-top: 16px; }
.about-grid { display: grid; gap: 16px; margin-top: 28px; }
.content-card { padding: 24px 20px; border-radius: var(--radius); background: var(--cream); box-shadow: 6px 6px 0 var(--orange); color: var(--ink); }
.content-card p { margin-top: 12px; }
.check-list { margin-top: 14px; padding-left: 1.4em; }
.check-list li + li { margin-top: 7px; }

/* 商品成分 */
.product-grid { display: grid; gap: 18px; margin-top: 28px; }
.product-card { overflow: hidden; border: 3px solid var(--purple); border-radius: var(--radius); background: var(--cream); box-shadow: 7px 7px 0 var(--purple); }
.product-card img { width: 100%; aspect-ratio: 1; padding: 10px; background: var(--white); object-fit: contain; }
.product-copy { padding: 20px; }
.product-copy h3 { color: var(--purple); }
.product-type { margin: 4px 0 12px; font-size: 13px; font-weight: 700; }
#ingredients > .section-inner > .note { margin-top: 20px; }
#inci { margin-top: 24px; border: 2px solid var(--purple); border-radius: var(--radius); background: var(--cream); }
#inci summary { padding: 17px 20px; color: var(--purple); font-weight: 900; cursor: pointer; }
.inci-body { padding: 2px 20px 22px; border-top: 2px solid var(--purple); font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.inci-body h3 { margin-top: 20px; font-size: 15px; }
.inci-body p { margin-top: 8px; }
.inci-source { font-weight: 700; }

/* 使い方 */
.routine-block { margin-top: 28px; padding: 24px 18px; border: 3px solid var(--purple); border-radius: var(--radius); background: var(--white); box-shadow: 7px 7px 0 var(--purple); }
.block-label { color: var(--purple); font-family: var(--font-head); font-size: 20px; font-weight: 900; }
.steps { display: grid; gap: 10px; margin-top: 18px; list-style: none; }
.steps li { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 12px 12px 54px; border-radius: var(--radius); background: var(--peach); }
.step-img { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--white); }
.step-text { min-width: 0; }
.steps-compact .step-img { width: 44px; height: 44px; }
.step-number { position: absolute; top: 50%; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: var(--white); font: 400 17px/32px var(--font-en); text-align: center; transform: translateY(-50%); }
.steps strong, .steps small { display: block; overflow-wrap: anywhere; }
.steps small { margin-top: 2px; font-size: 11px; }
.caution-list { margin-top: 20px; padding-left: 1.35em; font-size: 13px; }
.caution-list li + li { margin-top: 6px; }
.routine-aya { background: var(--cream); box-shadow: none; }
.routine-aya > p:last-child { margin-top: 18px; font-size: 13px; }
.consult-quote { margin-top: 30px; padding: 23px 20px; border-left: 8px solid var(--purple); background: var(--peach); font-weight: 700; }

/* 商品一覧 */
.lineup-heading { margin-top: 36px; color: var(--purple); font-family: var(--font-head); font-size: 23px; font-weight: 900; }
.set-grid { display: grid; gap: 22px; margin-top: 20px; }
.set-card { position: relative; padding: 24px 18px; border: 3px solid var(--purple); border-radius: var(--radius); background: var(--cream); }
.set-card-featured { margin-top: 10px; box-shadow: 8px 8px 0 var(--purple); }
.set-card > h3 { color: var(--purple); font-size: 22px; }
.set-products { display: grid; gap: 10px; margin-top: 18px; list-style: none; }
.set-products li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.55; }
.set-products img { width: 58px; height: 58px; border: 2px solid var(--purple); border-radius: 8px; background: var(--white); object-fit: contain; }
.set-description, .set-note { margin-top: 18px; font-size: 13px; }
.set-card .item-actions { margin-top: 20px; }
.lineup-hero { position: relative; margin-top: 30px; padding: 20px; border: 3px solid var(--purple); border-radius: var(--radius); background: var(--cream); box-shadow: 8px 8px 0 var(--purple); }
.product-label { position: absolute; z-index: 1; top: -15px; left: 18px; padding: 5px 15px; border-radius: var(--radius-pill); background: var(--purple); color: var(--white); font-family: var(--font-head); font-weight: 900; }
.lineup-hero img, .lineup-card img { width: 100%; aspect-ratio: 1; border-radius: calc(var(--radius) - 4px); background: var(--white); object-fit: contain; }
.lineup-copy { padding-top: 20px; }
.lineup-copy > p { margin-top: 8px; }
.lineup-copy .item-actions { margin-top: 20px; }
.lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.lineup-card { overflow: hidden; border: 3px solid var(--purple); border-radius: var(--radius); background: var(--cream); }
.lineup-card-copy { padding: 15px 12px; }
.lineup-card h3 { font-size: 16px; }
.lineup-card .product-type { min-height: 42px; font-size: 11px; }
.lineup-card .btn { min-height: 50px; padding-inline: 8px; font-size: 11px; }
.lineup-card .item-pending { padding: 10px 6px; font-size: 11px; }
.lineup-note { margin-top: 24px; }

/* 購入方法・登録画面 */
.buyways-grid { display: grid; gap: 22px; margin-top: 30px; }
.buyway-card { padding: 24px 20px; border: 3px solid var(--purple); border-radius: var(--radius); background: var(--white); box-shadow: 7px 7px 0 var(--purple); }
.route-mark { width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--orange); color: var(--purple); font: 400 20px/40px var(--font-en); text-align: center; }
.buyway-card > p:not(.route-mark, .route-caution) { margin-top: 10px; }
.route-steps { display: grid; gap: 10px; margin-top: 20px; list-style: none; }
.route-steps li { position: relative; padding: 12px 12px 12px 45px; background: var(--peach); font-size: 13px; }
.route-steps span { position: absolute; top: 50%; left: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: var(--white); font-weight: 900; line-height: 26px; text-align: center; transform: translateY(-50%); }
.register-mock { margin-top: 22px; }
.mock-screen { overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: #f6f3ef; font-size: 10px; line-height: 1.5; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 8px; background: var(--ink); color: var(--white); overflow-wrap: anywhere; }
.mock-bar strong { margin-left: auto; padding: 2px 5px; border-radius: 3px; background: var(--orange); color: var(--ink); white-space: nowrap; }
.mock-dots { display: flex; gap: 3px; }
.mock-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--cream); }
.mock-body { padding: 16px; }
.mock-title { font-family: var(--font-head); font-size: 17px; font-weight: 900; }
.mock-label { margin-top: 12px; font-weight: 700; }
.mock-field { margin-top: 6px; padding: 8px; border: 1px solid #aaa; border-radius: 4px; background: var(--white); color: #666; }
.mock-field:first-of-type { border: 2px solid var(--purple); color: var(--purple); font-weight: 900; }
.mock-button { margin-top: 12px; padding: 8px; border-radius: 4px; background: var(--purple); color: var(--white); text-align: center; }
.referral-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0 14px; padding: 10px 10px 10px 14px; border: 2px solid var(--purple); border-radius: var(--radius-pill); }
.referral-chip button, .sticky-copy { border: 0; border-radius: var(--radius-pill); background: var(--orange); font: 700 12px/1 var(--font-ja); cursor: pointer; }
.referral-chip button { padding: 10px; }
.route-caution { margin-top: 16px; font-size: 12px; }
[data-copy-status] { min-height: 1.6em; margin-top: 6px; color: var(--purple); font-size: 12px; font-weight: 700; }
.member-benefits { margin-top: 28px; padding: 25px 20px; border-radius: var(--radius); background: var(--purple); color: var(--white); }
.member-benefits ul { margin-top: 14px; padding-left: 1.3em; }
.member-benefits li + li { margin-top: 8px; }

/* 正規品・FAQ・締め */
.narrow-copy > p:not(.section-label) { margin-top: 20px; }
.faq-list { display: grid; gap: 10px; margin-top: 28px; }
.faq-item { border: 2px solid var(--purple); border-radius: var(--radius); background: var(--cream); }
.faq-item summary { position: relative; padding: 17px 45px 17px 16px; color: var(--purple); font-weight: 900; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 16px; content: "+"; font-size: 24px; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-item div { padding: 16px; border-top: 2px solid var(--purple); }
.final-inner { text-align: center; }
.final-inner .item-actions { margin-top: 28px; }
.final-inner .final-kit-action { margin-top: 14px; }
.final-kit-link { display: inline-block; }
.final-kit-link, .final-kit-link.btn-buy, .final-kit-link.btn-line { width: auto; min-height: 0; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: none; box-shadow: none; color: var(--purple); font-size: 13px; font-weight: 700; text-decoration: none; }
#operator { padding: 52px 20px; background: var(--ink); color: var(--white); }
.operator-inner { width: 100%; max-width: 1040px; margin-inline: auto; }
#operator h2 { margin: 0 0 18px; font-size: 24px; }
.operator-name { color: var(--orange); font-family: var(--font-head); font-size: 20px; font-weight: 900; }
.operator-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 18px 0; }
#operator a { text-underline-offset: 4px; }

/* 画面下の固定導線 */
.sticky { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); background: rgba(255, 248, 232, .96); box-shadow: 0 -4px 18px rgba(36, 22, 45, .18); }
.sticky .btn { min-height: 50px; padding: 8px; font-size: 12px; box-shadow: 3px 3px 0 var(--ink); }
.sticky-copy { padding: 0 12px; border: 2px solid var(--ink); }

@media (max-width: 899px) {
  /* スマホ：写真を FV 幅の 1.5 倍にして、ボトルとチューブ（data-subject の x 0.47〜1.0、中心 0.735）を中央に寄せる。
     腕の切れ目は枠の外に出し、左端はグラデーションで消す */
  .fv-visual { width: auto; margin: 4px -20px 4px; overflow: hidden; aspect-ratio: 1 / 1.06; }
  .fv-visual img { width: 150%; margin: 3% 0 0 -60.25%; }
}

@media (max-width: 359px) {
  .section, .fv { padding-right: 16px; padding-left: 16px; }
  .fv-visual { margin-right: -16px; margin-left: -16px; }
  .fv-lead br { display: none; }
  .btn { padding-inline: 12px; font-size: 13px; }
  .chips { gap: 5px; }
  .chips li { padding-inline: 8px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fv > .fv-gl { transition: none; }
}
.nowrap { white-space: nowrap; }
