/* =========================================================================
   ALPINE WHITE Japan — 静かな白 / Quiet White
   1. Tokens          5. Buttons        9.  Technology
   2. Reset & base    6. Header & nav   10. Strips
   3. Typography      7. Hero           11. How-to, video, manual
   4. Layout          8. Claims, brand  12. Products, store, FAQ, footer
                                        13. Motion, focus, print
   ========================================================================= */

/* 1. Tokens =============================================================== */
:root {
  /* Palette (DESIGN.md §2) */
  --bg:         #F7F6F3;
  --surface:    #FFFFFF;
  --ink:        #14161A;
  --ink-2:      #5B6068;
  --line:       #E4E2DC;
  --blue:       #316BAB;
  --blue-deep:  #2F5FA6;
  --blue-sky:   #A9C6EA;
  --blue-tint:  #EAF1FA;
  --grey-muted: #B7B9BE;   /* "coming soon" packshot desaturation (DESIGN.md §2) */
  /* §5 asks for --grey-muted text on "coming soon" products, but #B7B9BE on --bg
     is 2.1:1 and §6 requires WCAG AA. The greying is carried by the desaturated
     packshot; the text takes the lightest grey that still clears 4.5:1 (4.7:1). */
  --grey-muted-ink: #6A6D73;

  /* All-blue so the stage band can carry white text at AA (DESIGN.md §2). */
  --stage-gradient: linear-gradient(180deg, #2F5FA6 0%, #3E6FB8 70%, #4F7FC4 100%);

  /* Type */
  --font-heading: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body:    "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --size-display: clamp(38px, 4vw, 56px);
  --size-h2:      clamp(1.75rem, 1.28rem + 1.9vw, 2.5rem);    /* 28 → 40 */
  --size-h3:      clamp(1.25rem, 1.13rem + 0.5vw, 1.5rem);    /* 20 → 24 */
  --size-body:    clamp(0.9375rem, 0.89rem + 0.19vw, 1.0625rem); /* 15 → 17 */
  --size-caption: clamp(0.75rem, 0.73rem + 0.1vw, 0.8125rem); /* 12 → 13 */
  --size-label:   clamp(0.6875rem, 0.67rem + 0.08vw, 0.75rem);/* 11 → 12 */

  /* Space */
  --gutter:  clamp(20px, 5vw, 64px);
  --rhythm:  clamp(96px, 12vw, 176px);   /* between sections */
  --gap-lg:  clamp(48px, 6vw, 88px);     /* between blocks inside a section */
  --radius:  12px;
  --header-h: 64px;
}

/* 2. Reset & base ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
  /* 禁則: no small kana or 長音符 at a line head (copy review B3). */
  line-break: strict;
  /* Noto Sans JP does ship a palt table, so this one is not a no-op. */
  font-feature-settings: "palt";
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.28em; }
a:hover { color: var(--blue); }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--blue-tint); }

.skip-link {
  position: absolute; left: 50%; top: 0; z-index: 100;
  transform: translate(-50%, -120%);
  padding: 12px 24px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* 3. Typography =========================================================== */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  /* Shippori Mincho ships no palt table — measured identical at palt 0 and 1 —
     so headings set at natural full width and take no extra tracking. */
  font-feature-settings: normal;
  letter-spacing: 0;
  line-height: 1.35;
  text-wrap: balance;
  word-break: auto-phrase;
}

/* balance equalises line lengths, which on a 405px Japanese column breaks inside
   a phrase (過酸化物に / 頼らない、スイスの / ホワイトニング技術。). pretty keeps the
   phrase boundaries and still avoids a short last line. Measured on all h2. */
.h2 { font-size: var(--size-h2); text-wrap: pretty; }
.h3 { font-size: var(--size-h3); }

.eyebrow {
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  color: var(--ink-2);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
}
.eyebrow--latin { text-transform: uppercase; }

.lede { margin-top: clamp(20px, 3vw, 32px); max-width: 34em; text-wrap: pretty; }
.body { margin-top: 1.5em; max-width: 34em; color: var(--ink-2); text-wrap: pretty; }
.note {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 40em;
  color: var(--ink-2);
  font-size: var(--size-caption);
  line-height: 1.9;
  text-wrap: pretty;
}

/* CONTENT-JA.md "折り返し禁止の文字列" — brand name, spec runs, durations, IDs. */
.nw { white-space: nowrap; }
/* strips.name is 改行禁止: shrink rather than overflow on narrow phones. */
.h2.nw { font-size: min(var(--size-h2), 7vw); }
/* Phrase-aware breaking for every Japanese run a reader lingers on, not only
   headings (design review loop 2 P1-6, copy review 2.1). */
.lede, .hero__lead, .stage__lead, .quote__text, .quote__by, .qa__q, .benefit,
.claim__label, .band__caption, .disclosure__body, #strips .note,
.storeband__panel .lede, .manual__list, .week__note { word-break: auto-phrase; }
/* A phrase longer than the column (「ホワイトニングストリップとは、」 on a 280px
   phone) may still break rather than overflow. */
.qa__q, .benefit, .claim__label, .disclosure summary { overflow-wrap: anywhere; }
/* A chemical name breaks only at its own <wbr>. */
.chem { word-break: keep-all; }

.pull {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 1px solid var(--blue);
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  line-height: 1.85;
  max-width: 28em;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.8;
}

/* 4. Layout =============================================================== */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }

/* Half the rhythm on each edge, so two consecutive sections add up to one
   --rhythm of 間 rather than two (design review P1-1). */
.section { padding-block: calc(var(--rhythm) / 2); }
/* Anchors must clear the sticky header on their own (design review P2-9). */
main > section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Asymmetric text + image split; image bleeds to one edge on desktop. */
.split { display: grid; gap: clamp(40px, 6vw, 72px); }
.split__figure img { width: 100%; border-radius: var(--radius); object-fit: cover; }

/* Full-bleed image band. Two remain (Alps, lab) and they differ in height so the
   middle of the page stops reading as a metronome (design review P2-13). */
.band { margin-block: calc(var(--rhythm) / 2) 0; }
.band img { width: 100%; max-height: 56vh; object-fit: cover; }
.band--tall img { max-height: 68vh; }
.band__caption {
  margin-top: clamp(14px, 2vw, 20px);
  padding-inline: var(--gutter);
  color: var(--ink-2);
  font-size: var(--size-caption);
  letter-spacing: 0.1em;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
  }
  .split__text, .split__figure { grid-row: 1; }
  /* Where the figure is the taller column, centring the text pushed the eyebrow
     ~30px down and opened a bigger gap than the rhythm allows (design review P1-1). */
  .split__text { grid-column: 1 / span 5; align-self: start; }
  .split__figure { grid-column: 7 / -1; margin-right: calc(var(--gutter) * -1); }
  .split__figure img { border-radius: var(--radius) 0 0 var(--radius); }

  /* Six columns, so the technology h2 sets in two full lines instead of a stub
     middle line (design review loop 2 P2-7). */
  .split--reverse .split__text { grid-column: 7 / -1; }
  /* 「過酸化物に頼らない、スイスの」 is 14 glyphs; capped so it sets as one line on
     the six-column measure at every desktop width (measured 1024–1920). */
  #technology .h2 { font-size: min(var(--size-h2), 2.9vw, 35px); }
  /* Three tiles are a grid, not a picture: keep them inside the container and
     hang them from the heading (design review loop 2 P2-3). */
  .split__figure.portraits { margin-right: 0; align-self: start; }
  .portraits .portrait img { border-radius: var(--radius); }
  .split--reverse .split__figure { grid-column: 1 / span 6; margin-right: 0; margin-left: calc(var(--gutter) * -1); }
  .split--reverse .split__figure img { border-radius: 0 var(--radius) var(--radius) 0; }
}

@media (min-width: 1264px) {
  .split__figure { margin-right: calc((100vw - 1200px) / -2 - var(--gutter)); }
  .split__figure.portraits { margin-right: 0; }
  .split--reverse .split__figure { margin-left: calc((100vw - 1200px) / -2 - var(--gutter)); }
}

/* 5. Buttons ============================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 clamp(22px, 3vw, 32px);
  border: 1px solid transparent; border-radius: 999px;
  font-size: var(--size-caption);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--outline, .btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover, .btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--sm { min-height: 44px; padding-inline: 20px; }

/* 6. Header & navigation ================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
/* The glass lives here, not on .header: backdrop-filter on an ancestor would
   make it the containing block for the position:fixed mobile menu. */
.header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
  max-width: 1200px; margin-inline: auto;
  padding-inline: var(--gutter);
}
.header__logo { display: flex; padding-block: 12px; color: var(--ink); }
.header__logo img { width: 148px; height: auto; }
.header__end { display: flex; align-items: center; gap: 8px; }

.icon-link {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  color: var(--ink);
  border-radius: 999px;
}

.nav-toggle {
  flex: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--size-label);
  letter-spacing: 0.14em;
  cursor: pointer;
}

/* Without JS both of these do nothing, so do not offer them (tech review P2-2). */
html:not(.js) .nav-toggle,
html:not(.js) #print-manual { display: none; }

/* Mobile: full-screen list, toggled by main.js */
.nav {
  position: fixed; inset: var(--header-h) 0 0;
  display: none;
  background: var(--bg);
  overflow-y: auto;
}
.nav-open .nav { display: block; }
.nav-open { overflow: hidden; }
.nav__list { padding: clamp(24px, 8vw, 56px) var(--gutter); }
.nav__list li + li { border-top: 1px solid var(--line); }
.nav__list a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  text-decoration: none;
}
/* The panel's own route to the conversion section (design review loop 2 P2-12). */
.nav__list .nav__cta { padding-top: 28px; border-top: 0; }
.nav__cta .btn { width: 100%; font-family: var(--font-body); font-size: var(--size-caption); }
@media (max-width: 359px) { .header__logo img { width: 116px; } }

@media (min-width: 960px) {
  .nav { position: static; display: block; background: none; overflow: visible; }
  .nav__list { display: flex; gap: clamp(20px, 3vw, 40px); padding: 0; }
  .nav__list li + li { border-top: 0; }
  .nav__list a {
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--size-caption);
    letter-spacing: 0.12em;
  }
  .nav-toggle, .nav__cta { display: none; }
  .header__logo img { width: 179px; }
}

/* 7. Hero ================================================================= */
/* Nothing overlays the photograph at any width (design review P0-A). Below 960
   the copy comes first on --bg and the portrait follows it as a framed image;
   from 960 up the picture is its own column bleeding to the right edge. */
.hero { position: relative; isolation: isolate; }
.hero__inner { display: flex; flex-direction: column; width: 100%; }
.hero__media { order: 2; margin-top: clamp(28px, 5vw, 44px); }
.hero__img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* The mobile asset is a 1200×2234 portrait with the face low in the frame;
     100% keeps the face inside the 4/5 window (measured). */
  object-position: 50% 100%;
  border-radius: var(--radius);
}
.hero__body { order: 1; padding-block: clamp(36px, 8vw, 64px) 0; }
.hero__title {
  /* 「スイスの精密さで、」 is one phrase of 9 glyphs; below ~400px it must shrink
     rather than overflow the column (measured: 342px against 280px at 320). */
  font-size: min(var(--size-display), 9.4vw);
  font-weight: 400;
  line-height: 1.3;
}
.hero__br { display: none; }
.hero__lead {
  margin-top: clamp(16px, 2.5vw, 24px);
  max-width: 24em;
  color: var(--ink-2);
}
.actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}
.hero__vertical { display: none; }

/* Tablet: the landscape asset cropped to the model, under the copy. */
@media (min-width: 640px) and (max-width: 59.99rem) {
  .hero__img { aspect-ratio: 4 / 3; object-position: 100% 50%; }
  .hero__body { padding-block: clamp(32px, 5vw, 52px) 0; }
}

@media (min-width: 960px) {
  /* Full-bleed grid whose left inset is the page's own axis: the percentage
     resolves against the content box, so it matches .container exactly and does
     not pick up the scrollbar the way 100vw would. */
  .hero__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(78vh, auto);
    align-items: center;
    column-gap: clamp(20px, 2vw, 28px);
    max-width: none;
    margin-inline: 0;
    padding-inline: calc(max(0px, 100% - 1200px) / 2 + var(--gutter)) 0;
  }
  .hero__media {
    position: static;
    grid-column: 7 / -1; grid-row: 1;
    align-self: stretch;
  }
  .hero__img {
    object-position: 60% 40%;
    border-radius: var(--radius) 0 0 var(--radius);
  }
  /* Six columns, not five: five can never exceed 5/12 of the grid, and the
     display clamp needs 9 em (504px at 1440) on line one. Measured. */
  .hero__body {
    grid-column: 1 / span 6; grid-row: 1;
    padding-block: clamp(40px, 5vw, 72px);
    padding-right: clamp(24px, 3vw, 56px);
  }
  .hero__br { display: inline; }

  .hero__vertical {
    position: absolute; z-index: 2;
    left: clamp(12px, 1.6vw, 22px); top: 50%;
    display: block;
    margin: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    color: var(--ink-2);
    font-size: var(--size-label);
    letter-spacing: 0.34em;
    line-height: 1;
  }
}

/* 8. Claims bar & brand =================================================== */
.claims { border-block: 1px solid var(--line); }
.claims__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: clamp(28px, 5vw, 40px);
}
.claim {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 8px 12px 0;
  color: var(--ink-2);
  font-size: var(--size-caption);
  letter-spacing: 0.06em;
  line-height: 1.5;
}
/* claims.note — substantiation for 「臨床試験済み」, must stay under the bar. */
.claims__note { margin-top: 0; padding-bottom: clamp(28px, 5vw, 40px); }

.claim__icon { flex: none; width: 22px; height: 22px; color: var(--blue); stroke-linecap: round; stroke-linejoin: round; }
.claim__icon path, .claim__icon circle, .claim__icon rect { stroke-width: 1.5; }

@media (min-width: 640px) { .claims__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .claims__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.stats {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: var(--gap-lg);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
/* align-content:start, or a shorter label lets its own row stretch and the
   three numbers stop sharing a baseline (design review P1-6). */
.stat { display: grid; align-content: start; gap: 8px; }
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.stat__plus { color: var(--ink-2); }
.stat__label { color: var(--ink-2); font-size: var(--size-caption); line-height: 1.8; }

@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Three real portraits with --bg gutters, instead of one pre-composited
   triptych on a baked-in white plate (design review P2-2). */
.portraits { display: grid; gap: clamp(10px, 1.4vw, 18px); }
.portrait img { width: 100%; border-radius: var(--radius); object-fit: cover; }
/* One portrait is enough on a phone; the other two never load. */
.portraits .portrait:nth-child(n + 2) { display: none; }

@media (min-width: 640px) {
  .portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portraits .portrait:nth-child(n + 2) { display: block; }
}

/* 私たちの責任 — CONTENT-JA brand.responsibility */
.responsibility { margin-top: var(--gap-lg); }
.responsibility .body { margin-top: clamp(16px, 2vw, 22px); }
.certs {
  display: flex; flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 34em;
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid var(--line);
}
.cert { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-2); font-size: var(--size-caption); line-height: 1.7; }
.cert__icon { flex: none; width: 16px; height: 16px; margin-top: 0.35em; color: var(--ink-2); }

/* 9. Technology =========================================================== */
.figures {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(32px, 4vw, 48px);
}
.figure-item { padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--line); }
.figure-item__num {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.figure-item__unit { margin-left: 0.12em; font-size: 0.44em; color: var(--ink-2); letter-spacing: 0.06em; }
/* A3 → B1 is one reading, not a value plus a unit (design review P2-7). */
.figure-item__arrow { color: var(--ink-2); }
.figure-item__label { margin-top: 10px; color: var(--ink-2); font-size: var(--size-caption); line-height: 1.8; }

.container > .h3 { margin-top: var(--gap-lg); }

@media (min-width: 640px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.quote {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  max-width: 34em;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.quote__portrait { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; }
.quote__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  line-height: 1.85;
  text-wrap: pretty;
}
.quote__by { color: var(--ink-2); font-size: var(--size-caption); letter-spacing: 0.08em; }

/* 10. Strips ============================================================== */
/* The packaging gradient is the ground the product sits on, not a frame around
   it: full-bleed band, white plate, re-cropped packshot (design review P0-1). */
.stage {
  margin-block: calc(var(--rhythm) / 2);
  padding-block: clamp(36px, 5vw, 64px);
  background: var(--stage-gradient);
  color: #fff;
}
.stage__inner { display: grid; gap: clamp(28px, 4vw, 44px); align-items: center; }

.stage__figure {
  margin: 0;
  padding: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.stage__figure img { width: 100%; }

.stage .tag { border-color: #fff; color: #fff; }
/* The subline wants a lighter tone than the lead, but rgba(255,255,255,.75)
   measured 3.96:1 on the band; .88 is the lightest that still clears AA (4.8:1). */
.stage__spec { margin-top: clamp(16px, 2vw, 22px); color: rgba(255, 255, 255, 0.88); font-size: var(--size-caption); letter-spacing: 0.1em; }
.stage__lead {
  margin-top: clamp(12px, 1.5vw, 18px);
  max-width: 22em;
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  line-height: 1.8;
}
.stage__text .btn { margin-top: clamp(24px, 3vw, 32px); }
/* Inverted primary: white fill, brand blue label. */
.stage__text .btn--primary { background: #fff; color: var(--blue); }
.stage__text .btn--primary:hover { background: var(--blue-tint); color: var(--blue-deep); }
/* A blue focus ring is invisible on the blue band. */
.stage :focus-visible { outline-color: #fff; }

@media (min-width: 960px) {
  .stage__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(28px, 3vw, 44px); }
  .stage__figure { grid-column: 1 / span 7; }
  .stage__text { grid-column: 8 / -1; }
}

.benefits {
  display: grid;
  grid-auto-rows: auto;
  gap: clamp(28px, 3.5vw, 40px);
  margin-top: var(--gap-lg);
}
/* Four statements, set as a list in the body face (design review loop 2 P1-3). */
.benefit {
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--line);
  font-weight: 500;
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  text-wrap: pretty;
}

@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.disclosure { max-width: 34em; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disclosure summary {
  display: flex; align-items: center; gap: 16px;
  list-style: none;
  padding: 20px 0;
  font-size: var(--size-caption);
  letter-spacing: 0.1em;
  cursor: pointer;
}
.disclosure__body { overflow-wrap: anywhere; padding-bottom: 24px; color: var(--ink-2); font-size: var(--size-caption); line-height: 1.9; }

/* 11. How-to, video, manual =============================================== */
.steps { display: grid; gap: clamp(24px, 3vw, 32px); margin-top: clamp(36px, 5vw, 56px); }
/* align-content:start keeps 番号/見出し/本文 on the same baselines across the 4 columns
   (auto rows would otherwise stretch to the tallest step). */
.step { display: grid; align-content: start; gap: 8px; padding-top: clamp(18px, 2.2vw, 24px); border-top: 1px solid var(--line); }
.step__num {
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  color: var(--ink-2);
  letter-spacing: 0.08em;
}
.step__body { color: var(--ink-2); font-size: var(--size-caption); line-height: 1.9; }

/* Seven hairline cells: the schedule the heading promises (design review loop 2 P2-8). */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 34em; margin-top: clamp(18px, 2.5vw, 24px); }
.week li { padding: 12px 0 8px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--size-label); letter-spacing: 0.06em; line-height: 1.4; text-align: center; }
.week__day { display: block; font-family: var(--font-heading); font-size: var(--size-h3); color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.week__note { margin-top: 12px; color: var(--ink-2); font-size: var(--size-caption); }
.h3 + .video { margin-top: clamp(20px, 3vw, 28px); }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.video { margin: var(--gap-lg) 0 0; }
.video__el {
  width: 100%; height: auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  object-fit: cover;
}
.video__caption { margin-top: 14px; color: var(--ink-2); font-size: var(--size-caption); letter-spacing: 0.08em; }

.manual {
  max-width: 46em;
  margin-top: var(--gap-lg);
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.manual__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid var(--line);
}
/* ~75 Japanese characters per line at full container width (design review P1-3). */
.manual__body { overflow-wrap: anywhere; max-width: 42em; font-size: var(--size-caption); line-height: 1.95; }
.manual__product { margin-top: clamp(20px, 2.5vw, 28px); color: var(--ink-2); letter-spacing: 0.08em; }
/* On a phone the manual is a fifth of the page: collapsed behind a summary until
   asked for; from 960 up main.js opens it and the summary steps aside. */
.manual__summary { list-style: none; padding: clamp(16px, 2vw, 20px) 0 0; font-size: var(--size-caption); letter-spacing: 0.1em; cursor: pointer; display: flex; align-items: center; gap: 16px; }
.manual__summary::-webkit-details-marker { display: none; }
.manual__summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-left: auto; border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); transform: rotate(45deg); transition: transform 0.25s; }
.manual__details[open] .manual__summary::after { transform: rotate(-135deg); }
@media (min-width: 960px) { .js .manual__summary { display: none; } }
.actions--repeat { margin-top: var(--gap-lg); }
.manual__h {
  margin-top: clamp(24px, 3vw, 32px);
  font-size: var(--size-caption);
  font-weight: 500;
  letter-spacing: 0.14em;
}
.manual__p { margin-top: 10px; color: var(--ink-2); }
.manual__list { margin-top: 10px; padding-left: 1.4em; color: var(--ink-2); }
.manual__list li { margin-top: 6px; }
ol.manual__list { list-style: decimal; }
ul.manual__list { list-style: disc; }

/* 12. Products, store, FAQ, footer ======================================== */
.lineup {
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 40px) clamp(16px, 2.5vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
/* Subgrid: name / meta / badge stay on their rows whatever the titles do
   (design review P1-7). */
.product { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
/* One square plate per tile, so a portrait packshot next to square ones does not
   set a taller image row for the whole lineup. */
.product picture {
  display: block;
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.product__img { width: 100%; height: 100%; object-fit: contain; }
/* Body size: at h3 a ten-glyph katakana name left a one-character orphan on a
   233px column (design review P1-5). */
/* Same shrink-to-fit as .h2.nw: 「ホワイトニングストリップ」 is 12 full-width glyphs
   against a 167px tile at 390 and 132px at 320, and auto-phrase will not break it.
   Shrinking beats either overflowing the tile or breaking mid-word. */
.product__name {
  margin-top: clamp(14px, 2vw, 20px);
  font-size: min(var(--size-body), 3.4vw);
  font-weight: 500;
}
.product__meta { margin-top: 6px; color: var(--ink-2); font-size: var(--size-caption); }
.product__badge {
  margin-top: 12px;
  color: var(--blue);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.16em;
}
/* grayscale(1) alone does almost nothing to a near-white product on a near-white
   plate, and opacity(.55) read as a failed image. Put the packshot on a --line
   plate and let the 近日発売 badge carry the state (design review P1-4). */
.product--soon picture { background: var(--line); }
.product--soon .product__img { filter: grayscale(1) opacity(0.85); }
.product--soon .product__name,
.product--soon .product__meta,
.product--soon .product__badge { color: var(--grey-muted-ink); }

@media (min-width: 960px) { .lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* The ending uses the page's own split: the products photograph as a framed
   image bleeding left, the panel beside it (design review loop 2 P1-5). On a
   phone the picture comes first, then the panel. */
.storeband .split__figure { order: -1; }
.storeband__img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 960px) {
  .storeband .split__figure { order: 0; }
  .storeband__img { aspect-ratio: 5 / 4; }
  .storeband .split__text { align-self: center; }
}

.faq { max-width: 44em; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  display: flex; align-items: flex-start; gap: 16px;
  padding: clamp(20px, 2.5vw, 26px) 0;
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  line-height: 1.7;
  list-style: none;
  text-wrap: pretty;
  cursor: pointer;
}
/* Shared disclosure chevron (FAQ + ingredients) */
.qa__q::-webkit-details-marker,
.disclosure summary::-webkit-details-marker { display: none; }
.qa__q::after,
.disclosure summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-left: auto;
  border-right: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.qa__q::after { margin-top: 0.5em; width: 12px; height: 12px; }
.qa[open] .qa__q::after,
.disclosure[open] summary::after { transform: rotate(-135deg); }
.qa__a { padding-bottom: clamp(20px, 2.5vw, 28px); color: var(--ink-2); font-size: var(--size-caption); line-height: 1.95; max-width: 46em; }

.footer { padding-block: clamp(48px, 6vw, 72px) 32px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: clamp(32px, 4vw, 48px); }
.footer__logo { width: 179px; height: auto; color: var(--ink); }
.footer__tagline { margin-top: 20px; font-family: var(--font-heading); font-size: var(--size-body); }
.footer__addr { overflow-wrap: anywhere; margin-top: 16px; color: var(--ink-2); font-size: var(--size-caption); line-height: 1.9; }
.footer__list { display: grid; gap: 2px; font-size: var(--size-caption); }
/* Links look like links on a phone, and the hit area is the anchor itself
   (design review loop 2 P2-10, P2-11). */
.footer__list a { display: block; padding-block: 12px; }
.footer__list a, .footer__addr a { text-decoration: underline; text-underline-offset: 0.28em; text-decoration-color: var(--line); }
.footer__list a:hover, .footer__addr a:hover { text-decoration-color: currentColor; }
.footer__pending { display: block; padding-block: 12px; color: var(--ink-2); }
.soon { margin-left: 8px; color: var(--grey-muted-ink); font-size: var(--size-label); letter-spacing: 0.06em; }
.footer__copy { margin-top: clamp(40px, 5vw, 64px); color: var(--ink-2); font-size: var(--size-label); letter-spacing: 0.12em; }

@media (min-width: 640px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__list { justify-items: end; }
}

.notfound > img { margin-bottom: clamp(32px, 5vw, 48px); }

/* 13. Motion, focus, print ================================================ */
.js .fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .fade-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .fade-up { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

@media print {
  /* Print the manual only. */
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.7; }
  body > *:not(main),
  main > *:not(#howto),
  #howto > .container > *:not(#manual) { display: none !important; }
  #howto, #howto > .container { padding: 0; }
  #manual {
    margin: 0; padding: 0;
    background: #fff; color: #000;
    border: 0; border-radius: 0;
  }
  #manual .btn, .manual__summary { display: none !important; }
  .manual__head { border-bottom: 1px solid #999; }
  .manual__product, .manual__p, .manual__list { color: #000; }
  ol.manual__list { list-style: decimal; }
  ul.manual__list { list-style: disc; }
  @page { margin: 18mm; }
}
