:root {
  --bg: #f6efe7;
  --bg-alt: #efe5da;
  --surface: #fffaf4;
  --ink: #3a2e26;
  --ink-soft: #6a5a4e;
  --line: #dccdbd;
  --accent: #7a5a42;
  --accent-ink: #ffffff;
  --sale: #a2462f;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  --radius: 14px;
  --sticky-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  padding-bottom: var(--sticky-h);
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 500; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2d6cdf; outline-offset: 3px; border-radius: 4px; }

.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- topbar & header ---------- */
.topbar { background: var(--ink); color: #fff; text-align: center; font-size: 13px; line-height: 1.5; }
.topbar__demo { padding: 6px 16px; color: #e8dccf; font-size: 12px; }
.topbar__offer { padding: 9px 12px; background: var(--accent); font-size: 13.5px; font-weight: 600; }
.topbar__badge { display: inline-block; margin-left: 4px; white-space: nowrap; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--sale); font-size: 13px; }

.site-header { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 14px 16px; }
.logo { font-family: var(--serif); font-size: 22px; letter-spacing: .35em; margin-right: -.35em; }
.logo--sm { font-size: 18px; }
.site-header__product { font-size: 12px; color: var(--ink-soft); letter-spacing: .15em; }

.noscript { margin: 0 16px 16px; padding: 12px 16px; background: #fff3d6; border: 1px solid #e5c97a; border-radius: 8px; font-size: 14px; }

/* ---------- common ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.sec { padding: 72px 0; }
.sec__title { font-family: var(--serif); font-size: clamp(23px, 6.2vw, 34px); line-height: 1.6; letter-spacing: .06em; margin-bottom: 24px; }
.sec__title--sm { font-size: clamp(20px, 5.4vw, 26px); }
.eyebrow { font-family: var(--serif); font-size: 13px; letter-spacing: .3em; color: var(--accent); margin-bottom: 10px; text-transform: uppercase; }
.body-text { font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.body-text--accent { font-family: var(--serif); font-size: 19px; margin-top: 24px; color: var(--accent); }
.note { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; margin-top: 12px; }
figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 32px; border-radius: 999px; border: 0;
  font: 600 16px/1.4 var(--sans); letter-spacing: .08em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(122, 90, 66, .25); }
.btn--primary:hover { background: #664a35; }
.btn--primary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.btn:active { transform: scale(.98); }
.btn--block { display: flex; width: 100%; margin-top: 28px; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }

/* ---------- FV ---------- */
.fv { position: relative; }
.fv__media img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 78%; }
.fv__body { position: relative; padding: 0 20px 48px; text-align: center; }
.fv__title {
  font-family: var(--serif); font-size: clamp(23px, 6.4vw, 46px); line-height: 1.6; letter-spacing: .04em;
  margin: -84px auto 0; padding: 20px 10px 16px; max-width: 560px;
  background: rgba(255, 250, 244, .94); border-radius: var(--radius); position: relative;
  box-shadow: 0 10px 30px rgba(58, 46, 38, .08);
}
.fv__body .eyebrow { display: none; }
.fv__lead { margin: 18px auto 24px; max-width: 30em; font-size: 15.5px; color: var(--ink-soft); }
.fv .note { margin-top: 14px; }

@media (min-width: 960px) {
  .fv { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1280px; margin: 0 auto; gap: 0 56px; padding: 0 40px 64px; }
  .fv__media img { border-radius: var(--radius); aspect-ratio: 1122 / 1402; max-height: 84vh; object-position: 50% 50%; }
  .fv__body { text-align: left; padding: 0; }
  .fv__body .eyebrow { display: block; }
  .fv__title { margin: 0; padding: 0; background: none; box-shadow: none; font-size: 46px; }
  .fv__lead { margin: 28px 0 36px; font-size: 17px; }
}

/* ---------- sections ---------- */
.sec--empathy { background: var(--bg-alt); text-align: center; }
.sec--empathy .body-text { line-height: 2.1; }

.split { display: grid; gap: 32px; }
.split__media img { width: 100%; border-radius: var(--radius); }
.split__media--plain img { background: #efe6dc; }
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .split--reverse .split__media { order: 2; }
}

.sec--values { background: var(--surface); }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.value { position: relative; padding: 28px 24px 26px; background: var(--bg); border-radius: var(--radius); text-align: center; }
.value__num { position: absolute; top: 14px; left: 18px; font-family: var(--serif); font-size: 14px; color: var(--accent); letter-spacing: .1em; }
.value__icon { width: 52px; height: 52px; margin: 0 auto 12px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value__title { font-family: var(--serif); font-size: 19px; line-height: 1.6; margin-bottom: 10px; }
.value__text { font-size: 15px; color: var(--ink-soft); text-align: left; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }

.sec--creator { padding: 56px 0; background: var(--bg-alt); }
.creator { background: var(--surface); border-radius: var(--radius); padding: 32px 24px; text-align: center; border: 1px solid var(--line); }
.creator__avatar { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, #e7d4c1, #cbb39c); }
.creator__avatar svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.creator__id { display: block; color: var(--accent); }
.creator__comment { margin-bottom: 16px; }
.creator__note { font-size: 13px; color: var(--ink-soft); background: var(--bg); border-radius: 8px; padding: 12px 14px; text-align: left; line-height: 1.7; }

.scenes { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.scene { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 22px 22px; border-radius: var(--radius); }
.scene--morning { background: #f8ecd9; }
.scene--afternoon { background: #eef0e2; }
.scene--night { background: #e4e0e6; }
.scene__icon { grid-row: span 2; width: 56px; height: 56px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scene__time { font-family: var(--serif); font-size: 13px; letter-spacing: .25em; color: var(--accent); text-transform: uppercase; }
.scene__text { font-family: var(--serif); font-size: 17px; line-height: 1.6; }
@media (min-width: 768px) {
  .scenes { grid-template-columns: repeat(3, 1fr); }
  .scene { grid-template-columns: 1fr; text-align: center; padding: 36px 20px; }
  .scene__icon { grid-row: auto; margin: 0 auto 12px; }
}

.sec--material { background: var(--surface); }

/* swatches */
.swatches { border: 0; padding: 0; margin: 20px 0 0; }
.swatches__legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.swatches__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch label {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: 14px; line-height: 1.3;
}
.swatch__chip { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch input:checked + label { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; font-weight: 600; }
.swatch input:focus-visible + label { outline: 3px solid #2d6cdf; outline-offset: 2px; }
.swatches__current { margin-top: 12px; font-size: 14px; }

/* size */
.sec--size { background: var(--bg); }
.size { max-width: 760px; margin: 32px auto 0; }
.size__diagrams { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .size__diagrams { grid-template-columns: 1fr 1fr; } }
.dim { background: var(--surface); border-radius: var(--radius); padding: 18px 14px 10px; text-align: center; }
.dim svg { width: 100%; height: auto; max-width: 340px; margin: 0 auto; display: block; }
.dim__shape { fill: #e8d9c8; stroke: #a88b72; stroke-width: 1.5; }
.dim__seam { fill: none; stroke: #b79d86; stroke-width: 1.2; }
.dim__line path { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.dim__label { font-family: var(--sans); font-size: 12px; fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.spec { margin: 24px 0 0; background: var(--surface); border-radius: var(--radius); padding: 6px 20px; }
.spec div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec div:last-child { border-bottom: 0; }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; }
.size__room { margin: 32px auto 0; max-width: 420px; }
.size__room img { border-radius: var(--radius); }

/* faq */
.sec--faq { background: var(--surface); }
.faq { margin-top: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 15.5px; line-height: 1.6; min-height: 44px;
}
.faq__item summary::-webkit-details-marker, .faq__more summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s; }
.faq__item[open] > summary::after { transform: rotate(-135deg); top: 30px; }
.faq__q { flex: none; font-family: var(--serif); color: var(--accent); font-size: 18px; line-height: 1.4; }
.faq__a { padding: 0 0 20px 30px; font-size: 15px; color: var(--ink-soft); }
.faq__more { margin-top: 20px; }
.faq__more-btn { list-style: none; cursor: pointer; display: flex; justify-content: center; align-items: center; min-height: 48px; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font-weight: 600; font-size: 15px; }
.faq__more-close, .faq__more[open] .faq__more-open { display: none; }
.faq__more[open] .faq__more-close { display: inline; }
.faq__more-body { margin-top: 8px; }
.faq__more[open] .faq__more-btn { order: 2; }

/* offer */
.sec--offer { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.offer { background: var(--surface); border-radius: 20px; padding: 32px 22px 28px; box-shadow: 0 14px 40px rgba(58, 46, 38, .1); position: relative; }
.offer__ribbon { margin: -32px -22px 24px; padding: 12px 16px; background: var(--accent); color: #fff; text-align: center; font-weight: 600; font-size: 15px; border-radius: 20px 20px 0 0; }
.offer__title { font-family: var(--serif); font-size: 26px; text-align: center; letter-spacing: .1em; }
.offer__img { width: 62%; max-width: 260px; margin: 12px auto 4px; }
.price { text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-top: 8px; }
.price p { display: flex; justify-content: center; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__label { font-size: 13px; color: var(--ink-soft); }
.price__num { font-family: var(--serif); font-size: 26px; }
.price__num small { font-size: 13px; margin-left: 2px; font-family: var(--sans); }
.has-ref .price__regular .price__num { font-size: 18px; text-decoration: line-through; color: var(--ink-soft); }
.price__sale { margin-top: 4px; }
.price__num--sale { font-size: 38px; color: var(--sale); font-weight: 600; letter-spacing: .02em; }
.price__off { display: inline-block; background: var(--sale); color: #fff; font-weight: 700; padding: 1px 8px; border-radius: 4px; margin-left: 4px; font-size: 12px; }

.coupon { margin-top: 22px; background: #fbf3e8; border: 1.5px dashed #c8a98b; border-radius: 12px; padding: 18px 16px; }
.coupon__label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.coupon__row { display: flex; gap: 8px; }
.coupon__code { flex: 1; min-width: 0; min-height: 52px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 700 20px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .14em; text-align: center; color: var(--ink); padding: 0 8px; }
.btn--copy { min-height: 52px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 15px; }
.btn--copy:hover { background: #241c17; }
.coupon__msg { min-height: 1.6em; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: #2f6b3a; }
.coupon__msg.is-error { color: var(--sale); }
.coupon__terms { margin: 4px 0 0; padding-left: 1.2em; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 244, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(58,46,38,.08);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__price { font-size: 13px; line-height: 1.4; min-width: 0; }
.sticky-cta .btn { flex: none; white-space: nowrap; }
.sticky-cta .btn--sm { padding: 8px 14px; letter-spacing: .04em; }
.sticky-cta__price > span { white-space: nowrap; }
.sticky-cta__price strong { font-size: 16px; }
.sticky-cta__price s { color: var(--ink-soft); }
.sticky-cta__price strong { color: var(--sale); font-size: 17px; }
.has-ref .sticky-cta__price strong { color: var(--sale); }
.sticky-cta__price small { display: block; font-size: 12px; }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }

/* modal */
.modal { border: 0; padding: 0; border-radius: 18px; width: min(92vw, 440px); background: var(--surface); color: var(--ink); }
.modal::backdrop { background: rgba(30, 22, 17, .55); }
.modal__inner { padding: 28px 22px 22px; }
.modal__demo { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em; background: var(--ink); color: #fff; padding: 2px 10px; border-radius: 4px; }
.modal__title { font-family: var(--serif); font-size: 20px; margin: 12px 0 16px; }
.modal__list { margin: 0; }
.modal__list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.modal__list dt { color: var(--ink-soft); }
.modal__list dd { margin: 0; text-align: right; }
.modal__total dd { font-weight: 700; font-size: 18px; }
.modal__text { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); background: var(--bg); padding: 12px; border-radius: 8px; }

/* footer */
.footer { background: var(--ink); color: #eadfd3; text-align: center; padding: 40px 20px 32px; }
.footer__demo { margin-top: 12px; font-size: 14px; color: #fff; }
.footer__text { max-width: 640px; margin: 12px auto 0; font-size: 12.5px; line-height: 1.8; text-align: left; }
.footer__copy { margin-top: 20px; font-size: 11px; opacity: .8; }

.has-ref [data-common-only] { display: none !important; }

/* v3 polish: value-led first view, influencer offer, synchronized color images */
.fv__benefits { list-style: none; display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin:0 auto 16px; padding:0; max-width:510px; }
.fv__benefits li { border:1px solid var(--line); background:var(--surface); border-radius:99px; padding:6px 10px; font-size:12px; color:var(--ink-soft); line-height:1.4; }
.fv__exclusive { border:1px solid var(--line); border-radius:14px; background:var(--surface); padding:13px 14px; max-width:510px; margin:0 auto 19px; }
.fv__exclusive-name { font-weight:700; font-size:13px; color:var(--accent); }
.fv__exclusive-price { margin-top:5px; font-size:13px; }
.fv__exclusive-price strong { font-size:19px; color:var(--accent); margin-right:5px; }
.fv__exclusive-price s { color:var(--ink-soft); }
.fv__exclusive-price b { font-size:17px; }
.fv__exclusive-price small { font-size:12px; }
.fv__exclusive-note { font-size:12px; color:var(--ink-soft); margin-top:3px; }
.creator__intro { font-size:14px; line-height:1.8; margin:0 auto 16px; max-width:400px; }
.creator__coupon-link { display:inline-flex; align-items:center; min-height:44px; padding:0 4px; text-decoration:underline; text-underline-offset:5px; color:var(--accent); font-weight:700; margin-bottom:12px; }
[data-selected-color-image] { aspect-ratio: 561 / 480; object-fit: cover; object-position: 50% 83%; }
.offer__img[data-selected-color-image] { width: 78%; max-width: 320px; border-radius: 12px; }
@media (min-width:960px) {
 .fv__benefits {justify-content:flex-start; margin-left:0; }
 .fv__exclusive {margin-left:0; }
}
