/* =========================================================
   02:17 NIGHT SKINCARE — B案 Editorial Midnight
   ========================================================= */

:root {
  --navy: #0C1324;
  --indigo: #1A2340;
  --lavender: #B8B5D6;
  --peach: #F0C3A6;
  --apricot: #E6A178;
  --warm: #F5EBDD;
  --off: #F7F5F1;
  --muted: #B4B8C3;

  --ink: #1D2030;
  --ink-2: #474B5C;
  --ink-3: #5E6272;
  --rule: rgba(29, 32, 48, .14);

  --paper-1: #ECECF0;
  --paper-2: #EDEDF1;
  --paper-3: #EFECF0;
  --paper-4: #F1EBEA;

  --f-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-num: "Bodoni Moda", "Bodoni 72", "Didot", serif;
  --f-en: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --max: 1440px;
  --pad: clamp(20px, 4.4vw, 64px);
  /* コンテンツ左端（全幅グリッドの左余白） */
  --edge: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper-1);
  color: var(--ink);
  font-family: var(--f-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--off); color: var(--ink); font-size: 13px;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 1px solid var(--apricot); outline-offset: 4px; }

.sp-only { display: none; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- 共通の文字 ---------- */
.eyebrow {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--ink-2);
  margin-bottom: 18px;
  line-height: 1;
}
.h2 {
  font-size: clamp(24px, 2.25vw, 33px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--ink);
}
.h2--lg { font-size: clamp(28px, 2.85vw, 42px); line-height: 1.5; }
.h2 > span { display: block; white-space: nowrap; }
/* 横に並ぶ見出し（カンプの左列）は少し小さく */
.features__head .h2, .howto__head .h2, .care__head .h2 { font-size: clamp(22px, 2vw, 30px); letter-spacing: .08em; }

.body {
  margin-top: clamp(22px, 2.2vw, 32px);
  font-size: clamp(14.5px, 1.08vw, 16px);
  line-height: 2.15;
  letter-spacing: .08em;
  color: var(--ink-2);
}
.body--sm { font-size: clamp(14px, 1vw, 15px); }

.en-note {
  font-family: var(--f-en);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .22em;
  line-height: 2;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* 右端のひとこと（カンプの右欄） */
.note {
  align-self: center;
  border-left: 1px solid var(--rule);
  padding: 6px 0 6px clamp(24px, 2.6vw, 40px);
}
.note__copy {
  white-space: nowrap;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 2.15;
  letter-spacing: .12em;
  color: var(--ink);
}
.note__rule {
  display: block;
  width: 22px; height: 1px;
  margin: 22px 0 16px;
  background: currentColor;
  opacity: .3;
}
.note--dark { border-left-color: rgba(247, 245, 241, .22); color: var(--off); }
.note--dark .note__copy { color: var(--off); }
.note--dark .en-note { color: rgba(247, 245, 241, .82); }

/* ---------- ボタン ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  font-family: var(--f-jp);
  font-weight: 500;
  letter-spacing: .14em;
  white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill--header, .pill--fv, .pill--menu {
  background: linear-gradient(180deg, #F9EFE7 0%, #EED9CB 100%);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(6, 10, 22, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.pill--header { height: 42px; padding: 0 30px; font-size: 13px; }
.pill--fv { display: none; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--edge);
  color: var(--off);
  transition: background-color .6s var(--ease), color .6s var(--ease), padding .6s var(--ease), box-shadow .6s var(--ease);
}
.header.is-solid {
  background: rgba(237, 237, 241, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  color: var(--ink);
  padding-block: 12px;
  box-shadow: 0 1px 0 rgba(29, 32, 48, .06);
}
.header.is-solid .pill--header { box-shadow: 0 4px 14px rgba(29, 32, 48, .1), inset 0 1px 0 rgba(255, 255, 255, .7); }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__num {
  font-family: var(--f-en);
  font-weight: 300;
  font-size: 27px;
  letter-spacing: .14em;
  margin-right: -.14em;
}
.logo__sub {
  margin-top: 7px;
  font-family: var(--f-en);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .3em;
  margin-right: -.3em;
}

.gnav ul { display: flex; gap: clamp(24px, 3vw, 46px); }
.gnav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .14em;
  padding-block: 6px;
}
.gnav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
  opacity: .6;
}
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; }
.menu-btn { display: none; }

/* SPメニュー */
.sp-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 96px 32px 48px;
  background: rgba(12, 19, 36, .97);
  color: var(--off);
}
.sp-menu[hidden] { display: none; }
.sp-menu ul { display: grid; gap: 22px; }
.sp-menu a:not(.pill) { font-size: 20px; letter-spacing: .16em; }
.pill--menu { height: 56px; font-size: 15px; }

/* =========================================================
   FV
   ========================================================= */
.fv {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1100px;
  overflow: hidden;
  background: var(--navy);
  color: var(--off);
  container-type: size;
  isolation: isolate;
}
.fv__stage { position: absolute; inset: 0; z-index: -2; will-change: transform; }
/* 画像の縦横比を保ったまま画面を覆う箱（ボトルの位置合わせのため） */
.fv__media {
  position: absolute;
  right: 0;
  width: max(100cqw, 177.68cqh);
  aspect-ratio: 1672 / 941;
  top: calc((100cqh - max(56.28cqw, 100cqh)) * .62);
  transform-origin: 68% 62%;
}
.fv__media img,
.fv__media picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.fv__media img { object-fit: cover; }
.fv__bottle {
  -webkit-mask-image: radial-gradient(9.5% 56% at 67.8% 60%, #000 80%, transparent 100%);
  mask-image: radial-gradient(9.5% 56% at 67.8% 60%, #000 80%, transparent 100%);
}

.fv__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 26% at 20% 72%, rgba(12, 19, 36, .6), rgba(12, 19, 36, 0) 72%),
    radial-gradient(ellipse 16% 30% at 86% 40%, rgba(12, 19, 36, .55), rgba(12, 19, 36, 0) 72%),
    linear-gradient(180deg, rgba(12, 19, 36, .55) 0%, rgba(12, 19, 36, 0) 18%),
    linear-gradient(90deg, rgba(12, 19, 36, .72) 0%, rgba(12, 19, 36, .46) 36%, rgba(12, 19, 36, 0) 58%),
    linear-gradient(180deg, rgba(12, 19, 36, 0) 72%, rgba(12, 19, 36, .45) 100%);
}

.fv__inner {
  position: relative;
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 72px var(--pad) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fv__title { font-weight: 500; }
.fv__num {
  display: block;
  font-family: var(--f-num);
  font-weight: 400;
  font-size: clamp(112px, min(16.4vw, 29cqh), 244px);
  line-height: .84;
  letter-spacing: -.012em;
  margin-left: -.05em;
  color: #F3F0EA;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.fv__num > span { display: inline-block; }
.fv__colon { margin-inline: .02em; transform: translateY(-.04em); }

.fv__catch {
  display: block;
  margin-top: clamp(22px, 3.4cqh, 40px);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.5;
  letter-spacing: .13em;
  font-weight: 500;
}
.fv__catch-l { display: inline-block; }
.fv__lead {
  text-shadow: 0 0 18px rgba(12, 19, 36, .75), 0 0 2px rgba(12, 19, 36, .6);
  margin-top: clamp(18px, 3cqh, 32px);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2.15;
  letter-spacing: .1em;
  color: rgba(247, 245, 241, .86);
}
.fv__lead-l { display: block; }

.fv__side {
  position: absolute;
  right: calc(var(--pad) + 3.4vw);
  top: 31%;
}
.fv__side, .fv__catch { text-shadow: 0 0 22px rgba(12, 19, 36, .7), 0 0 2px rgba(12, 19, 36, .5); }
.fv__side-copy {
  font-size: clamp(18px, 1.72vw, 25px);
  line-height: 2.05;
  letter-spacing: .22em;
  color: var(--off);
}
.fv__side .en-note { margin-top: 26px; color: rgba(247, 245, 241, .9); }

.daylight { position: relative; }

.sec { position: relative; padding-block: clamp(80px, 7.6vw, 120px); }

/* =========================================================
   こんな夜、ありませんか。／SCENES
   ========================================================= */
.nights { padding-top: clamp(40px, 3.6vw, 64px); }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  margin-bottom: clamp(34px, 3.4vw, 54px);
}
.sec-head .note { flex: none; align-self: center; }

.photo-row { display: grid; gap: clamp(16px, 1.8vw, 28px); }
.photo-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo__cap {
  margin-top: 18px;
  font-size: clamp(13.5px, 1.02vw, 15px);
  line-height: 1.95;
  letter-spacing: .06em;
  color: var(--ink-2);
}
.photo-row--scenes .photo__frame { aspect-ratio: 16 / 10; }

/* =========================================================
   CONCEPT（横顔の帯：カンプどおり左は明るく、右は夜の紺）
   ========================================================= */
.concept {
  position: relative;
  height: clamp(560px, 48vw, 740px);
  isolation: isolate;
  overflow: hidden;
  background: #10182C;
}
.concept__bg { position: absolute; inset: 0; z-index: -1; }
.concept__img {
  position: absolute; left: 0; top: -4%;
  width: 100%; height: 108%;
  object-fit: cover;
  object-position: 62% 32%;
  will-change: transform;
}
/* 見出しの下は、髪の後ろ側が白い光に溶けていく明るさ（カンプの左側） */
.concept__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(240, 240, 243, .97) 0%,
    rgba(240, 240, 243, .95) calc(var(--edge) + 22%),
    rgba(240, 240, 243, .72) calc(var(--edge) + 32%),
    rgba(240, 240, 243, 0) calc(var(--edge) + 44%));
}
.concept__grid {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.concept__text { max-width: 31em; }
.concept .note { justify-self: end; }

.concept .note__copy { white-space: nowrap; }

/* =========================================================
   FEATURES（見出し｜3つの列｜右端まで写真）
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: clamp(220px, 19.5vw, 300px) minmax(0, 1fr) clamp(320px, 33vw, 640px);
  min-height: clamp(420px, 36vw, 580px);
  padding-left: var(--edge);
}
.features__head { align-self: center; padding: 64px 24px 64px 0; }
.features__list {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 56px;
}
.feature {
  position: relative;
  padding: 6px clamp(16px, 1.8vw, 34px);
}
.feature::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--rule);
  transform-origin: top;
}
.feature__num {
  display: block;
  font-family: var(--f-num);
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.feature__title {
  margin: clamp(22px, 2.2vw, 32px) 0 14px;
  font-size: clamp(14px, 1.12vw, 16.5px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.7;
  white-space: nowrap;
}
.feature__text {
  font-size: clamp(13px, .98vw, 14.5px);
  line-height: 2.05;
  letter-spacing: .05em;
  color: var(--ink-2);
}
.features__grid { display: contents; }
.features.sec, .care.sec { padding-block: 0; }
.features__visual {
  position: relative;
  overflow: hidden;
}
.features__visual img {
  position: absolute; left: 0; top: -5%;
  width: 100%; height: 110%;
  object-fit: cover; object-position: 60% 55%;
  will-change: transform;
}
.features__visual-note {
  position: absolute;
  right: clamp(24px, 3vw, 52px);
  bottom: clamp(26px, 3.2vw, 52px);
  color: #fff;
  text-align: right;
  text-shadow: 0 0 18px rgba(120, 84, 62, .45);
}

/* =========================================================
   HOW TO USE（左に見出し｜右に大きな3ステップ）
   ========================================================= */
.howto__grid {
  display: grid;
  grid-template-columns: clamp(250px, 21vw, 310px) minmax(0, 1fr);
  gap: clamp(40px, 4.6vw, 80px);
  align-items: center;
}
.note--under { border-left: 0; border-top: 1px solid var(--rule); padding: 26px 0 0; margin-top: 40px; }

.steps {
  --gap: clamp(10px, 1vw, 16px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  container-type: inline-size;
}
.step__arrow {
  color: var(--ink-3);
  /* 写真の縦中央に合わせる */
  margin-top: calc((100cqw - 24px - 4 * var(--gap)) / 3 * .75 / 2 - 12px);
}
.step__num {
  margin-top: 18px;
  font-family: var(--f-num);
  font-size: 13.5px;
  letter-spacing: .14em;
  color: var(--ink-2);
  line-height: 1.4;
}
.step__text {
  margin-top: 6px;
  font-size: clamp(13px, .98vw, 14.5px);
  letter-spacing: .05em;
  line-height: 1.8;
}


/* =========================================================
   REASSURANCE + FAQ（見出し｜チェック｜FAQ｜右端まで写真）
   ========================================================= */
.care {
  display: grid;
  grid-template-columns: clamp(200px, 16vw, 260px) clamp(240px, 19vw, 300px) minmax(0, 1fr) clamp(320px, 30vw, 580px);
  min-height: clamp(460px, 38vw, 620px);
  padding-left: var(--edge);
}
.care__grid { display: contents; }
.care__head { align-self: center; padding-block: 56px; }
.checks { align-self: center; padding-right: clamp(20px, 2.4vw, 40px); }
.checks li {
  position: relative;
  padding-left: 30px;
  font-size: clamp(13.5px, 1.02vw, 15px);
  letter-spacing: .06em;
  line-height: 1.7;
}
.checks li + li { margin-top: 20px; }
.checks li::before {
  content: "";
  position: absolute; left: 2px; top: .52em;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}
.faq {
  align-self: center;
  border-left: 1px solid var(--rule);
  padding: 4px clamp(24px, 3vw, 56px);
}
.faq .eyebrow { margin-bottom: 8px; }
.faq__item { border-bottom: 1px solid rgba(29, 32, 48, .11); }
.faq__item summary {
  position: relative;
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 34px 16px 0;
  font-size: clamp(13.5px, 1.02vw, 15px);
  letter-spacing: .06em;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  transition: color .4s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary > span { font-family: var(--f-num); font-size: 1.05em; }
.faq__item summary::after {
  content: "";
  position: absolute; right: 4px; top: 50%;
  width: 13px; height: 13px; margin-top: -6.5px;
  background:
    linear-gradient(currentColor, currentColor) center / 13px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 13px no-repeat;
  transition: background-size .5s var(--ease);
}
.faq__item[open] summary::after { background-size: 13px 1px, 1px 0; }
.faq__item summary:hover { color: var(--ink-2); }
.faq__a {
  padding: 0 0 18px 28px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-3);
}
.care__visual {
  position: relative;
  overflow: hidden;
}
.care__visual img {
  position: absolute; left: 0; top: -5%;
  width: 100%; height: 110%;
  object-fit: cover; object-position: 42% 62%;
  will-change: transform;
}

/* =========================================================
   FINAL
   ========================================================= */
.final {
  position: relative;
  min-height: clamp(600px, 50vw, 780px);
  display: flex;
  flex-direction: column;
  background: var(--paper-4);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.final__sky { position: absolute; inset: 0; z-index: -1; }
.final__sky img {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 106%;
  object-fit: cover; object-position: 50% 100%;
  will-change: transform;
}
.final__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(0, .9fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  padding-top: clamp(84px, 7.6vw, 124px);
  padding-bottom: clamp(150px, 14vw, 230px);
}
.final__text .body { color: var(--ink); }
.final__hand { padding-top: clamp(36px, 4.6vw, 76px); }
.hand {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1154 / 442;
}
.hand__l {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
/* 1行目と2行目を分けて、順に書き進める */
.hand__l--1 { clip-path: polygon(0 0, 100% 0, 100% 20%, 62% 30%, 55% 36%, 45% 50%, 35% 56%, 15% 60%, 0 56%); }
.hand__l--2 { clip-path: polygon(0 56%, 15% 60%, 35% 56%, 45% 50%, 55% 36%, 62% 30%, 100% 20%, 100% 100%, 0 100%); }
.final__hand .en-note { margin-top: 26px; color: var(--ink-2); padding-left: 12%; }

.final__cta {
  justify-self: end;
  display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(18px, 2vw, 36px);
}
.final__cta-lead {
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: .18em;
  margin-bottom: 26px;
}
.pill--final {
  width: clamp(270px, 23vw, 360px);
  height: clamp(62px, 5vw, 74px);
  font-size: clamp(14px, 1.08vw, 16px);
  letter-spacing: .18em;
  color: #fff;
  background: linear-gradient(100deg, #C98B6B 0%, #E2AD8B 52%, #D29574 100%);
  box-shadow: 0 16px 34px rgba(150, 88, 58, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.pill--final svg { transition: transform .5s var(--ease); }
.pill--final:hover { box-shadow: 0 20px 40px rgba(150, 88, 58, .34), inset 0 1px 0 rgba(255, 255, 255, .35); }
.pill--final:hover svg { transform: translateX(5px); }
.final__logo {
  margin-top: clamp(30px, 3vw, 44px);
  display: flex; flex-direction: column; align-items: center;
  line-height: 1;
}
.final__logo .logo__num { font-size: clamp(36px, 3.2vw, 50px); letter-spacing: .12em; margin-right: -.12em; }
.final__logo .logo__sub { font-size: 9.5px; margin-top: 10px; }

.footer {
  position: relative;
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  padding: 16px var(--edge) 20px;
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .8);
}
.footer p:first-child { font-family: var(--f-en); letter-spacing: .2em; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(12, 19, 36, .92);
  color: var(--off);
  font-size: 13px;
  letter-spacing: .08em;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   モーション（JSが動くときだけ初期状態を隠す）
   ========================================================= */
.js .fv__media { transform: scale(1.07); transition: transform 3.8s var(--ease); }
.js .fv.is-in .fv__media { transform: scale(1); }

.js .fv__bottle { opacity: 1; transition: opacity 2.4s var(--ease) 1.45s; }
.js .fv.is-in .fv__bottle { opacity: 0; }
.fv__bottle { opacity: 0; }

.js .fv__num > span {
  opacity: 0;
  transform: translateY(.14em);
  filter: blur(16px);
  transition: opacity 1.7s var(--ease), transform 2s var(--ease), filter 2s var(--ease);
}
.js .fv__num > span:nth-child(1) { transition-delay: .25s; }
.js .fv__num > span:nth-child(2) { transition-delay: .36s; }
.js .fv__num > span:nth-child(3) { transition-delay: .47s; }
.js .fv__num > span:nth-child(4) { transition-delay: .58s; }
.js .fv__num > span:nth-child(5) { transition-delay: .69s; }
.js .fv.is-in .fv__num > span { opacity: 1; transform: none; filter: blur(0); }
.js .fv.is-in .fv__num > .fv__colon { transform: translateY(-.04em); }

.js .fv__catch-l { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.6s var(--ease-io); }
.js .fv__catch-l:nth-child(1) { transition-delay: 1.05s; }
.js .fv__catch-l:nth-child(2) { transition-delay: 1.45s; }
.js .fv.is-in .fv__catch-l { clip-path: inset(-10% 0 -10% 0); }

.js .fv__lead-l, .js .fv__side, .js .fv .pill--fv {
  opacity: 0; transform: translateY(10px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}
.js .fv__lead-l:nth-child(1) { transition-delay: 1.75s; }
.js .fv__lead-l:nth-child(2) { transition-delay: 1.9s; }
.js .fv__lead-l:nth-child(3) { transition-delay: 2.05s; }
.js .fv__side { transition-delay: 2.35s; }
.js .fv .pill--fv { transition-delay: 2.3s; }
.js .fv.is-in .fv__lead-l, .js .fv.is-in .fv__side, .js .fv.is-in .pill--fv { opacity: 1; transform: none; }

.js .header { opacity: 0; transform: translateY(-8px); }
.js .header.is-ready { opacity: 1; transform: none; transition: opacity 1.4s var(--ease) .2s, transform 1.4s var(--ease) .2s, background-color .6s var(--ease), color .6s var(--ease), padding .6s var(--ease), box-shadow .6s var(--ease); }

/* 見出し：行ごとに下からせり上がる */
.js .reveal-lines > span { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .reveal-lines .ln { display: inline-block; transform: translateY(108%); transition: transform 1.5s var(--ease); }
.js .reveal-lines > span:nth-child(2) .ln { transition-delay: .14s; }
.js .reveal-lines.is-shown .ln { transform: none; }

/* 本文・注記：静かに浮かぶ */
.js .reveal-fade { opacity: 0; transform: translateY(14px); transition: opacity 1.3s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s); }
.js .reveal-fade.is-shown { opacity: 1; transform: none; }

/* 写真：夜が明けるように下から開く */
.js .reveal-photo img { clip-path: inset(100% 0 0 0); transform: scale(1.14); transition: clip-path 1.6s var(--ease-io) var(--d, 0s), transform 2.6s var(--ease) var(--d, 0s); }
.js .reveal-photo.is-shown img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* 特徴：縦の罫線が引かれてから文字 */
.js .reveal-col::before { transform: scaleY(0); transition: transform 1.4s var(--ease-io) var(--d, 0s); }
.js .reveal-col > * { opacity: 0; transform: translateY(12px); transition: opacity 1.2s var(--ease) calc(var(--d, 0s) + .45s), transform 1.3s var(--ease) calc(var(--d, 0s) + .45s); }
.js .reveal-col.is-shown::before { transform: none; }
.js .reveal-col.is-shown > * { opacity: 1; transform: none; }

/* 手書き：1行目→2行目の順に書き進める */
.js .hand__l {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
  mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  mask-size: 250% 100%;
  mask-repeat: no-repeat;
  mask-position: 100% 0;
  transition: -webkit-mask-position 2s cubic-bezier(.45, .05, .35, 1), mask-position 2s cubic-bezier(.45, .05, .35, 1);
}
.js .hand__l--2 { transition-delay: 1.35s; }
.js .final__hand.is-shown .hand__l { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* 空がゆっくり明るくなる */
.js .final__sky img { filter: saturate(.8) brightness(.94); transition: filter 3.2s var(--ease); }
.js .final.is-lit .final__sky img { filter: saturate(1) brightness(1); }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1100px) {
  .gnav ul { gap: 22px; }
  .gnav a { font-size: 12.5px; letter-spacing: .1em; }
  .howto__grid { grid-template-columns: 1fr; }
  .photo-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .features { grid-template-columns: minmax(0, 1fr) clamp(260px, 32vw, 360px); }
  .features__head { grid-column: 1 / 2; padding-bottom: 0; }
  .features__list { grid-column: 1 / 2; padding-top: 28px; }
  .features__visual { grid-column: 2; grid-row: 1 / 3; }
  .care { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) clamp(240px, 30vw, 340px); }
  .care__head { grid-column: 1; grid-row: 1; padding-bottom: 0; }
  .checks { grid-column: 1; grid-row: 2; align-self: start; padding-block: 24px 56px; }
  .faq { grid-column: 2; grid-row: 1 / 3; }
  .care__visual { grid-column: 3; grid-row: 1 / 3; }
}

@media (max-width: 960px) {
  .gnav { display: none; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 767px) {
  .sp-only { display: inline; }
  .pc-only { display: none !important; }

  .header { padding: 14px 16px; }
  .header.is-solid { padding-block: 10px; }
  .logo__num { font-size: 22px; }
  .logo__sub { font-size: 7px; margin-top: 6px; }
  .header .pill--header { display: none; }
  .header__actions { gap: 4px; }
  .menu-btn {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px;
  }
  .menu-btn > span:not(.visually-hidden) {
    display: block; width: 22px; height: 1px; background: currentColor;
    transition: transform .5s var(--ease);
  }
  .menu-btn[aria-expanded="true"] > span:nth-child(1) { transform: translateY(4px) rotate(20deg); }
  .menu-btn[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }
  .menu-open .header { color: var(--off); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* FV：数字 → コピー → 商品 を一枚の絵として */
  .fv { min-height: 600px; max-height: none; }
  .fv__media {
    width: max(100cqw, 56.28cqh);
    aspect-ratio: 941 / 1672;
    top: calc((100cqh - max(177.7cqw, 100cqh)) * .5);
    transform-origin: 70% 55%;
  }
  .fv__bottle { display: none; }
  .js .fv__plate { opacity: .3; transition: opacity 2.4s var(--ease) .6s; }
  .js .fv.is-in .fv__plate { opacity: 1; }
  .fv__shade {
    background:
      linear-gradient(180deg, rgba(12, 19, 36, .5) 0%, rgba(12, 19, 36, 0) 16%),
      linear-gradient(90deg, rgba(12, 19, 36, .55) 0%, rgba(12, 19, 36, 0) 62%),
      linear-gradient(180deg, rgba(12, 19, 36, 0) 60%, rgba(12, 19, 36, .78) 84%, rgba(12, 19, 36, .9) 100%);
  }
  .fv__inner { justify-content: flex-start; padding: calc(84px + 1.5cqh) 20px 0; }
  .fv__num { font-size: clamp(84px, min(29vw, 15cqh), 124px); }
  .fv__catch { margin-top: clamp(64px, 17cqh, 170px); font-size: clamp(22px, 6.6vw, 27px); line-height: 1.65; letter-spacing: .12em; }
  .fv__catch-l { display: block; width: max-content; }
  .fv__lead { margin-top: auto; font-size: 13px; line-height: 2; letter-spacing: .08em; }
  .pill--fv { display: flex; height: 54px; margin: 18px 0 calc(26px + env(safe-area-inset-bottom)); font-size: 15px; }
  .fv__side { display: none; }

  .sec { padding-block: 64px; }

  .sec-head { flex-direction: column; align-items: stretch; gap: 28px; }
  .sec-head .note { align-self: stretch; }
  .photo-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .photo__cap { margin-top: 10px; font-size: 12.5px; line-height: 1.8; letter-spacing: .03em; }
  .note { border-left: 0; border-top: 1px solid var(--rule); padding: 28px 0 0; }

  .concept { height: auto; background: none; overflow: visible; padding-bottom: 64px; }
  .concept__bg { position: relative; inset: auto; height: 100vw; overflow: hidden; background: #10182C; }
  .concept__img { top: 0; height: 100%; object-position: 64% 30%; }
  .concept__bg::after { display: none; }
  .concept__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; }
  .concept .note { justify-self: stretch; }
  .note--dark { border-top-color: var(--rule); color: var(--ink); }
  .note--dark .note__copy { color: var(--ink); }
  .note--dark .en-note { color: var(--ink-3); }

  .features { grid-template-columns: 1fr; padding: 64px 0 0; min-height: 0; }
  .features__head { grid-column: auto; padding: 0 20px 20px; }
  .features__list { grid-column: auto; grid-template-columns: 1fr; padding: 0 20px 36px; }
  .feature { padding: 24px 0; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
  .feature::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .js .reveal-col::before { transform: scaleX(0); }
  .feature__num { grid-row: span 2; font-size: 28px; }
  .feature__title { margin: 0 0 6px; font-size: 16px; }
  .features__visual { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }

  .howto__grid { gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { display: grid; grid-template-columns: 46% 1fr; column-gap: 18px; align-items: center; }
  .step .photo__frame { grid-row: span 2; }
  .step__num { margin-top: 0; align-self: end; }
  .step__text { align-self: start; font-size: 14px; }
  .step__arrow { display: none; }

  .care { grid-template-columns: 1fr; padding: 64px 20px 0; min-height: 0; }
  .care__head, .checks, .faq, .care__visual { grid-column: auto; grid-row: auto; }
  .care__head { padding: 0; }
  .checks { margin-top: 28px; padding: 0; }
  .faq { border-left: 0; padding: 0; margin-top: 48px; }
  .care__visual { aspect-ratio: 4 / 4.4; margin: 44px -20px 0; }

  .final { min-height: 0; }
  .final__grid { grid-template-columns: 1fr; gap: 44px; padding-top: 72px; padding-bottom: 150px; }
  .final__sky img { object-position: 62% 100%; }
  .final__hand { padding-top: 0; }
  .hand { width: 88%; }
  .final__cta { justify-self: stretch; }
  .pill--final { width: 100%; }
  .footer { padding: 14px 20px 18px; font-size: 10px; }
}

/* =========================================================
   写真と説明のカード（3セクションで形を変える）
   すりガラス＝ボトルの質感とそろえる
   ========================================================= */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .34) 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 30px 60px -34px rgba(40, 42, 80, .32), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* ---------- こんな夜：アーチ窓のカード＋時刻 ---------- */
.nightcards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 36px);
  align-items: start;
  padding-bottom: 56px;
}
.nightcard { container-type: inline-size; }
.nightcard:nth-child(even) { margin-top: 56px; }
.nightcard__body {
  padding: 12px 12px 30px;
  border-radius: 50cqw 50cqw 20px 20px;
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .34) 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 30px 60px -34px rgba(40, 42, 80, .32), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.nightcard__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: calc(50cqw - 12px) calc(50cqw - 12px) 12px 12px;
}
.nightcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.nightcard__time {
  margin-top: 22px;
  font-family: var(--f-num);
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: .06em;
  line-height: 1;
  color: var(--ink);
}
.nightcard__time span {
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .24em;
  margin-right: 8px;
  vertical-align: .45em;
  color: var(--ink-3);
}
.nightcard__cap {
  margin-top: 14px;
  font-size: clamp(13px, .98vw, 14.5px);
  line-height: 1.95;
  letter-spacing: .05em;
  color: var(--ink-2);
}
.nightcard:last-child .nightcard__time { color: #8A5E4C; }

/* ---------- 使い方：数字を重ねたカード ---------- */
.stepcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 44px);
  padding-top: 58px;
}
.stepcard {
  position: relative;
  padding: 12px 12px 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .34) 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 30px 60px -34px rgba(40, 42, 80, .32), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .9s var(--ease);
}
.stepcard__num {
  position: absolute;
  z-index: 2;
  left: 22px; top: 0;
  transform: translateY(-86%);
  font-family: var(--f-num);
  font-size: clamp(50px, 4.6vw, 72px);
  line-height: 1;
  color: var(--ink);
  pointer-events: none;
}
.stepcard__photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 13px; }
.stepcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.stepcard__label {
  margin: 22px 10px 0;
  font-family: var(--f-en);
  font-size: 10.5px;
  letter-spacing: .26em;
  color: var(--ink-3);
}
.stepcard__text {
  margin: 8px 10px 0;
  font-size: clamp(14px, 1.05vw, 15.5px);
  letter-spacing: .06em;
  line-height: 1.8;
}
/* カード同士を細い線でつなぐ */
.stepcard + .stepcard::before {
  content: "";
  position: absolute;
  top: 38%;
  right: 100%;
  width: clamp(22px, 2.6vw, 44px);
  height: 1px;
  background: rgba(29, 32, 48, .22);
}

/* ---------- SCENES：写真いっぱいのカード ---------- */
.scenecards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
}
.scenecard {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(12, 19, 36, .45);
}
.scenecard img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease);
}
.scenecard::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12, 19, 36, 0) 42%, rgba(12, 19, 36, .78) 100%);
}
.scenecard::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .28);
  pointer-events: none;
}
.scenecard__text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 clamp(18px, 1.8vw, 26px) clamp(20px, 2vw, 28px);
  color: var(--off);
}
.scenecard__label {
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .28em;
  color: rgba(247, 245, 241, .72);
}
.scenecard__cap {
  margin-top: 10px;
  font-size: clamp(13.5px, 1.02vw, 15px);
  line-height: 1.85;
  letter-spacing: .06em;
}

/* ---------- 触れたとき ---------- */
@media (hover: hover) {
  .nightcard:hover .nightcard__body, .stepcard:hover { transform: translateY(-6px); }
  .nightcard:hover .nightcard__photo img, .stepcard:hover .stepcard__photo img, .scenecard:hover img { transform: scale(1.05); }
}

/* ---------- 現れ方：カードが静かに浮かび、写真が寄る ---------- */
.js .reveal-card { opacity: 0; transform: translateY(34px); transition: opacity 1.4s var(--ease) var(--d, 0s), transform 1.6s var(--ease) var(--d, 0s); }
.js .reveal-card.is-shown { opacity: 1; transform: none; }
.js .reveal-card img { scale: 1.12; transition: scale 2.4s var(--ease) var(--d, 0s), transform 1.6s var(--ease); }
.js .reveal-card.is-shown img { scale: 1; }

/* ---------- タブレット ---------- */
@media (max-width: 1100px) {
  .nightcards, .scenecards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .nightcard:nth-child(even) { margin-top: 40px; }
}

/* ---------- スマホ：横にめくるカード ---------- */
@media (max-width: 767px) {
  .nightcards, .scenecards {
    display: flex;
    gap: 14px;
    margin-inline: -20px;
    padding: 8px 20px 36px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .nightcards::-webkit-scrollbar, .scenecards::-webkit-scrollbar { display: none; }
  .nightcard, .scenecard { flex: 0 0 72%; scroll-snap-align: center; }
  .nightcard:nth-child(even) { margin-top: 0; }
  .stepcards { grid-template-columns: 1fr; gap: 44px; padding-top: 30px; }
  .stepcard + .stepcard::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal-card { opacity: 1; transform: none; }
  .js .reveal-card img { scale: 1; }
}

/* =========================================================
   背景：ごく薄い写真を固定で敷く／境目は波の形で切る
   ========================================================= */
:root { --wave-h: clamp(56px, 7.6vw, 124px); }

/* ページ全体に固定で敷く薄い背景（明るい面と波の切れ目から見える） */
body { background: var(--paper-2); }
.bg-fixed { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-fixed__img { position: absolute; inset: 0; background: url(../assets/img/bg-sheer.webp) center / cover no-repeat; }
.bg-fixed__wash { position: absolute; inset: 0; background: rgb(236, 236, 243); opacity: .42; transition: background-color .4s linear; }
.daylight, .final { background: transparent; }

/* 波の形で切る（平らな色で隠さない） */
.fv {
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--wave-h) + 1px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V48 C1190,24 1050,82 770,100 C430,122 240,24 0,62 Z'/%3E%3C/svg%3E") bottom / 100% var(--wave-h) no-repeat;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--wave-h) + 1px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V48 C1190,24 1050,82 770,100 C430,122 240,24 0,62 Z'/%3E%3C/svg%3E") bottom / 100% var(--wave-h) no-repeat;
}
.concept {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,86 C240,120 420,70 710,52 C990,34 1180,110 1440,74 V140 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V62 C1200,24 1010,122 670,100 C390,82 250,24 0,48 Z'/%3E%3C/svg%3E") bottom / 100% var(--wave-h) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,86 C240,120 420,70 710,52 C990,34 1180,110 1440,74 V140 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V62 C1200,24 1010,122 670,100 C390,82 250,24 0,48 Z'/%3E%3C/svg%3E") bottom / 100% var(--wave-h) no-repeat;
}
.final {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,74 C260,110 450,34 730,52 C1020,70 1200,120 1440,86 V140 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--wave-h) + 1px) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,74 C260,110 450,34 730,52 C1020,70 1200,120 1440,86 V140 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--wave-h) + 1px) no-repeat;
}

/* 波に沿う淡い層（参考画像の、境目の上の明るい帯） */
.edge-veil { position: absolute; left: 0; width: 100%; height: var(--wave-h); z-index: 5; pointer-events: none; fill: rgba(255, 255, 255, .34); }
.edge-veil--fv { bottom: 0; }
.edge-veil--ctop { top: 0; }
.edge-veil--cbottom { bottom: 0; }
.edge-veil--final { top: 0; }

/* 波の分、次の見出しとの間を整える */
.nights { padding-top: clamp(32px, 3vw, 52px); }
.final__grid { padding-top: calc(var(--wave-h) + clamp(40px, 4vw, 64px)); }

@media (max-width: 767px) {
  :root { --wave-h: 44px; }
  .concept { -webkit-mask: none; mask: none; }
  .concept__bg {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,86 C240,120 420,70 710,52 C990,34 1180,110 1440,74 V140 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V62 C1200,24 1010,122 670,100 C390,82 250,24 0,48 Z'/%3E%3C/svg%3E") bottom / 100% var(--wave-h) no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,86 C240,120 420,70 710,52 C990,34 1180,110 1440,74 V140 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave-h) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--wave-h) + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1440 V62 C1200,24 1010,122 670,100 C390,82 250,24 0,48 Z'/%3E%3C/svg%3E") bottom / 100% var(--wave-h) no-repeat;
  }
  .edge-veil--ctop, .edge-veil--cbottom { display: none; }
  .bg-fixed__img { background-position: 20% center; }
}

/* =========================================================
   仕上げ：AIっぽさを消す（質感・組版・重なり・余白の外側）
   ========================================================= */

/* 1. フィルムの粒子：画面全体にごく薄く */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  z-index: 95;
  pointer-events: none;
  opacity: .085;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* 写真の色：黒を少し持ち上げ、ラベンダー寄りにそろえる（フィルムの退色） */
.nightcard__photo, .stepcard__photo, .scenecard, .features__visual, .care__visual { position: relative; }
.nightcard__photo img, .stepcard__photo img, .scenecard img, .features__visual img, .care__visual img, .concept__img {
  filter: saturate(.86) contrast(.94) brightness(1.02);
}
.nightcard__photo::after, .stepcard__photo::after, .features__visual::after, .care__visual::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: rgba(122, 118, 168, .14);
  mix-blend-mode: screen;
}
.fv__plate, .fv__bottle { filter: contrast(.97) saturate(.94); }

/* 2. 組版：見出しは詰め組み＋字間で整える */
.h2, .fv__catch, .note__copy, .final__cta-lead, .fv__side-copy, .nightcard__cap, .stepcard__text, .scenecard__cap, .feature__title {
  font-feature-settings: "palt" 1;
}
.h2 { letter-spacing: .14em; }
.fv__catch { letter-spacing: .18em; }
.note__copy { letter-spacing: .16em; }
.fv__side, .fv__catch { text-shadow: 0 0 22px rgba(12, 19, 36, .7), 0 0 2px rgba(12, 19, 36, .5); }
.fv__side-copy { letter-spacing: .26em; }

/* 英語ラベル：通し番号＋細い線 */
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow__no {
  font-family: var(--f-num);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.eyebrow__no::after {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  margin-left: 12px;
  vertical-align: .3em;
  background: currentColor;
  opacity: .35;
}

/* 3. レイヤーの重なり：写真が境目の波へ少しかかる */
/* 写真の端は、隣の波の層の中へ潜らせる（見える端＝波の線） */
.concept, .final { z-index: 8; }
.features__visual { z-index: 1; margin-top: calc(var(--wave-h) * -1); }
.care__visual { z-index: 1; margin-bottom: calc(var(--wave-h) * -1); }

/* 4. 余白の外側：縦書きのブランド名と、進む時刻 */
.margin-brand, .margin-time {
  position: fixed; z-index: 70;
  pointer-events: none;
  color: #fff;
  mix-blend-mode: difference;
  opacity: .55;
}
.margin-brand {
  left: 22px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--f-en);
  font-size: 9.5px;
  letter-spacing: .38em;
}
.margin-time {
  left: 18px; bottom: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-num);
  font-size: 13px;
  letter-spacing: .08em;
}
.margin-time::before { content: ""; width: 1px; height: 42px; background: currentColor; opacity: .6; }
.margin-time small { font-family: var(--f-en); font-size: 8.5px; letter-spacing: .3em; }
@media (max-width: 1180px) { .margin-brand, .margin-time { display: none; } }

/* 5. 既製感を抜く：影・ボタン・淡い層を控えめに */
.nightcard__body, .stepcard {
  box-shadow: 0 40px 70px -48px rgba(40, 42, 80, .34), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.scenecard { box-shadow: 0 40px 70px -44px rgba(12, 19, 36, .5); }
.pill--header, .pill--fv, .pill--menu {
  background: #F3E6DC;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.header.is-solid .pill--header { box-shadow: inset 0 0 0 1px rgba(29, 32, 48, .08); }
.pill--final {
  background: linear-gradient(100deg, #C78C6D 0%, #D9A586 55%, #CD9475 100%);
  box-shadow: 0 18px 36px -18px rgba(150, 88, 58, .45), inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.edge-veil { fill: rgba(255, 255, 255, .26); }

/* 背景の周辺にごく薄い陰り（空気の奥行き） */
.bg-fixed::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(120, 116, 158, .16) 100%);
}

@media (max-width: 767px) {
  .features__visual { margin-top: 0; }
  .care__visual { margin-bottom: 0; }
  .grain { opacity: .07; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}


/* =========================================================
   PRODUCT（購入セクション）
   ========================================================= */
.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.product__visual { container-type: inline-size; max-width: 520px; justify-self: end; width: 100%; }
.product__arch {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50cqw 50cqw 24px 24px;
  box-shadow: 0 50px 90px -60px rgba(40, 42, 80, .45);
}
.product__arch img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(.96); }
.product__info { max-width: 480px; }
.product__name { display: flex; flex-direction: column; gap: 10px; line-height: 1; }
.product__brand { font-family: var(--f-en); font-weight: 300; font-size: clamp(44px, 4.4vw, 64px); letter-spacing: .12em; }
.product__sub { font-family: var(--f-en); font-size: 11px; letter-spacing: .34em; color: var(--ink-3); }
.product__lead { margin-top: 26px; font-size: clamp(14.5px, 1.08vw, 16px); line-height: 2.1; letter-spacing: .08em; color: var(--ink-2); }
.spec { margin-top: 30px; border-top: 1px solid var(--rule); }
.spec__row { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.spec__row dt { color: var(--ink-3); letter-spacing: .12em; }
.spec__row dd { margin: 0; letter-spacing: .06em; }
[data-todo] { color: var(--ink-2); }
.price { margin-top: 26px; }
.price__label { font-size: 12px; letter-spacing: .16em; color: var(--ink-3); }
.price__value { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; color: var(--ink); }
.price__yen { font-family: var(--f-jp); font-size: 22px; }
.price__num { font-family: var(--f-num); font-size: 38px; line-height: 1; }
.price__note { margin-left: 12px; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.price__ship { margin-top: 10px; font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }
.price__ship a { text-decoration: underline; text-underline-offset: 3px; }
.pill--buy {
  margin-top: 30px;
  width: 100%; max-width: 420px; height: 64px;
  font-size: 16px; letter-spacing: .2em;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 20px 40px -22px rgba(12, 19, 36, .55);
}
.pill--buy svg { transition: transform .5s var(--ease); }
.pill--buy:hover svg { transform: translateX(5px); }

/* =========================================================
   ずっと見えているCTA（FVを過ぎたら）
   ========================================================= */
.sticky-cta {
  position: fixed; z-index: 75;
  right: 28px; bottom: 26px;
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 30px;
  border-radius: 999px;
  font-size: 14.5px; letter-spacing: .18em; font-weight: 500;
  color: #fff;
  background: linear-gradient(100deg, #C78C6D 0%, #D9A586 55%, #CD9475 100%);
  box-shadow: 0 18px 40px -16px rgba(120, 70, 46, .5), inset 0 0 0 1px rgba(255, 255, 255, .22);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta svg { transition: transform .5s var(--ease); }
.sticky-cta:hover svg { transform: translateX(4px); }

.footer { align-items: center; }
.footer__links { display: flex; gap: 20px; }
.footer__company a, .doc a[href^="https://kaori-dododo.com"] { text-decoration: underline; text-underline-offset: 3px; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .product__grid { grid-template-columns: 1fr; gap: 40px; }
  .product__visual { justify-self: stretch; max-width: none; }
  .product__info { max-width: none; }
  .pill--buy { max-width: none; }
  .sticky-cta {
    left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom));
    justify-content: center; height: 54px;
  }
  body { padding-bottom: 0; }
  .final__grid { padding-bottom: 170px; }
  .footer { padding-bottom: 86px; flex-direction: column; align-items: flex-start; }
  .footer__links { gap: 14px; flex-wrap: wrap; }
}

/* =========================================================
   法的ページ（特定商取引法に基づく表記／プライバシーポリシー）
   ========================================================= */
.doc-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--edge); background: rgba(237, 237, 241, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(29, 32, 48, .06); }
.doc-header .logo { color: var(--ink); }
.doc-back { font-size: 13px; letter-spacing: .12em; text-decoration: underline; text-underline-offset: 3px; }
.doc { max-width: 860px; margin: 0 auto; padding: clamp(56px, 7vw, 110px) var(--pad) 120px; }
.doc h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: .12em; font-feature-settings: "palt" 1; }
.doc__lead { margin-top: 20px; font-size: 14px; line-height: 2; color: var(--ink-2); }
.doc__notice { margin-top: 24px; padding: 16px 20px; border: 1px solid rgba(201, 139, 107, .45); border-radius: 12px; font-size: 13px; line-height: 1.9; color: #8A5E4C; background: rgba(255, 255, 255, .45); }
.doc-table { margin-top: 40px; border-top: 1px solid var(--rule); }
.doc-table__row { display: grid; grid-template-columns: 15em 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.9; }
.doc-table__row dt { color: var(--ink-2); letter-spacing: .06em; }
.doc-table__row dd { margin: 0; }
.doc h2 { margin-top: 48px; font-size: 18px; font-weight: 500; letter-spacing: .1em; }
.doc p, .doc li { font-size: 14px; line-height: 2; color: var(--ink-2); }
.doc h2 + p, .doc h2 + ul { margin-top: 12px; }
.doc ul { padding-left: 1.4em; list-style: disc; }
.doc-foot { margin-top: 64px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 767px) {
  .doc-header { padding: 14px 16px; }
  .doc-table__row { grid-template-columns: 1fr; gap: 4px; }
}


/* =========================================================
   スマホの挙動（実機のSafariで確認して調整）
   ========================================================= */
@media (max-width: 767px) {
  /* FVのボタンが波に切られないよう、波の高さぶん余白を取る */
  .pill--fv { margin-bottom: calc(var(--wave-h) + 18px + env(safe-area-inset-bottom)); }
  /* スクロールしたらすぐヘッダーに背景（FVの上では夜の色、明るい面では明るい色） */
  .header.is-scrolled:not(.is-solid) {
    background: rgba(12, 19, 36, .55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding-block: 10px;
  }
  /* アドレスバーの伸び縮みで背景写真がずれないよう、大きい方の画面の高さに固定 */
  .bg-fixed { inset: 0 0 auto 0; height: 100vh; height: 100lvh; }
  /* 横にめくるカードの中ではぼかしを使わない（Safariで帯状のずれが出るため） */
  .nightcard__body, .stepcard {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .6) 100%);
  }
  /* メニューを開いている間は固定CTAを隠し、後ろのページを止める */
  .menu-open .sticky-cta { opacity: 0; pointer-events: none; }
  html:has(body.menu-open) { overflow: hidden; }
  /* 横にめくるカードの下の余白は外側で取る（スクロール領域の帯を出さない） */
  .nightcards, .scenecards { padding-bottom: 14px; margin-bottom: 22px; }
  /* 粒子は軽く（合成と動きを止める） */
  .grain { animation: none; mix-blend-mode: normal; opacity: .035; }
  /* 出現は短く・軽く */
  .js .reveal-fade { transform: translateY(8px); transition-duration: .7s, .8s; }
  .js .reveal-card { transform: translateY(16px); transition-duration: .8s, .9s; }
  .js .reveal-lines .ln { transition-duration: .9s; }
  .js .reveal-photo img { transition-duration: .9s, 1.2s; }
  .js .reveal-col > * { transition-duration: .7s, .8s; }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js .fv__media { transform: none; }
  .js .fv__bottle { opacity: 0; }
  .js .fv__plate { opacity: 1; filter: none; }
  .js .fv__num > span, .js .fv__lead-l, .js .fv__side, .js .fv .pill--fv, .js .header { opacity: 1; transform: none; filter: none; }
  .js .fv__catch-l { clip-path: none; }
  .js .reveal-lines .ln, .js .reveal-fade, .js .reveal-col > *, .js .reveal-col::before { opacity: 1; transform: none; }
  .js .reveal-photo img { clip-path: none; transform: none; }
  .js .hand__l { -webkit-mask-image: none; mask-image: none; }
  .js .final__sky img { filter: none; }
}
