/* きよえさん 特別動画の視聴ページ — 値はすべて DESIGN.md から（色・書体・地・ボタンは ../lp と同じ） */
:root {
  --text: #18273A;
  --muted: #4E5769;
  --line: #DCE3EC;
  --main: #18273A;
  --em: #C8136F;
  --accent: #06C755;
  --tint-warm: 252, 230, 240;
  --tint-cool: 227, 236, 248;
  --glass: rgba(255, 255, 255, .68);
  --glass-line: rgba(255, 255, 255, .92);
  --shadow: 0 10px 28px rgba(24, 39, 58, .08);

  --f-gothic: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-num: "Poppins", var(--f-gothic);

  --fs1: 48px;
  --fs2: 28px;
  --fs3: 20px;
  --fs4: 16px;
  --fs5: 12.8px;

  --gap-in: 12px;
  --gap-between: 32px;
  --gap-section: 72px;
  --gutter: 20px;
  --col: 640px;

  --r-s: 10px;
  --r-m: 20px;

  --ease: cubic-bezier(0.39, 0.575, 0.565, 1);
  --dur-in: .7s;
  --rise: 12px;
}
@media (min-width: 900px) {
  :root {
    --fs1: 80px;
    --fs2: 40px;
    --fs3: 24px;
    --fs4: 17px;
    --fs5: 13.6px;
    --gap-in: 14px;
    --gap-between: 36px;
    --gap-section: 112px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #F7F7F5;
  color: var(--text);
  font-family: var(--f-gothic);
  font-size: var(--fs4);
  line-height: 1.85;
  line-break: strict;
  overflow-wrap: anywhere;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(130% 72% at 0% 0%, rgba(var(--tint-warm), 1) 0%, rgba(var(--tint-warm), 0) 64%),
    radial-gradient(130% 76% at 100% 100%, rgba(var(--tint-cool), 1) 0%, rgba(var(--tint-cool), 0) 66%),
    #F7F7F5 url(img/bg-plaster.webp) center / cover no-repeat;
  background-blend-mode: multiply, multiply, normal;
  pointer-events: none;
}
img { max-width: 100%; }
.nb { display: inline-block; }   /* 文節のまとまり。中では折らない */
em { font-style: normal; color: var(--em); }
b { font-weight: 900; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

/* ===== 最初の画面 ===== */
.fv { padding: 20px var(--gutter) 0; }
.fv__inner { max-width: var(--col); margin: 0 auto; text-align: center; }
.fv__target { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; font-size: var(--fs5); font-weight: 700; line-height: 1.6; }
.tag { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--main); color: #fff; font-weight: 700; letter-spacing: .08em; }
.fv__title { margin-top: var(--gap-in); font-weight: 900; line-height: 1.25; letter-spacing: 0; font-feature-settings: "palt"; }
.fv__big { display: block; font-size: var(--fs1); color: var(--em); letter-spacing: 0; }
.fv__l2 { display: block; margin-top: 2px; font-size: var(--fs2); }
.fv__sub { margin-top: var(--gap-in); font-size: var(--fs4); font-weight: 700; line-height: 1.7; }

/* 動画: 押すまでは写真の表紙。16:9 の箱を先に取って、画面を跳ねさせない */
.player {
  position: relative; margin-top: var(--gap-between);
  aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden;
  background: var(--main); box-shadow: var(--shadow);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__facade { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.player__facade img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.player__facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 39, 58, 0) 45%, rgba(24, 39, 58, .55) 100%); }
.player__btn {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--em); color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .55);
  transition: transform .2s var(--ease);
}
.player__btn svg { width: 30px; height: 30px; margin-left: 4px; }
.player__facade:hover .player__btn, .player__facade:focus-visible .player__btn { transform: scale(1.06); }
.player__facade:focus-visible { outline: 3px solid var(--em); outline-offset: -3px; }
.player__len { position: absolute; left: 14px; bottom: 10px; z-index: 1; color: #fff; font-size: var(--fs5); font-weight: 700; letter-spacing: .04em; }

.limit { margin-top: var(--gap-in); line-height: 1.4; }
.limit__l1 { display: block; font-size: var(--fs4); font-weight: 700; }
.limit__l2 { display: block; margin-top: 2px; font-size: var(--fs2); font-weight: 900; font-feature-settings: "palt"; }

/* ===== 章 ===== */
.sec { padding: var(--gap-section) var(--gutter) 0; }
.sec__inner { max-width: var(--col); margin: 0 auto; }
.eyebrow { text-align: center; font-size: var(--fs5); font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.h2 { margin-top: 6px; text-align: center; font-size: var(--fs2); font-weight: 900; line-height: 1.35; font-feature-settings: "palt"; }

/* 4つの習慣 */
.steps { margin: var(--gap-between) auto 0; max-width: 480px; display: grid; gap: var(--gap-between); }
.step { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 18px; }
.step__ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--main); }
.step__ic svg { height: 38px; width: auto; }
.step__no { font-family: var(--f-num); font-weight: 700; font-size: var(--fs5); letter-spacing: .08em; color: var(--muted); line-height: 1.4; }
.step__name { font-size: var(--fs3); font-weight: 700; line-height: 1.4; }
.step__note { margin-top: 2px; font-size: var(--fs5); line-height: 1.7; color: var(--muted); }

/* 相談 */
.offer { padding-bottom: var(--gap-between); }
.offer__body { margin-top: var(--gap-between); display: grid; gap: var(--gap-between); }
.offer__main { display: grid; gap: 24px; }
.arch { width: min(62%, 260px); margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-s) var(--r-s); overflow: hidden; background: rgba(var(--tint-cool), 1); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.arch--crop { aspect-ratio: 5 / 4; width: min(100%, 320px); }
.arch--crop img { object-position: 50% 0; }
.facts { margin-top: var(--gap-between); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 12px 4px; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: var(--fs5); color: var(--muted); line-height: 1.5; }
.facts dd { font-size: var(--fs3); font-weight: 700; line-height: 1.4; }
.offer__text { font-size: var(--fs4); line-height: 1.85; }
.gift { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-s); background: rgba(255, 255, 255, .7); }
.gift img { width: 84px; height: auto; display: block; border-radius: 4px; }
.gift__label { display: block; font-size: var(--fs5); font-weight: 700; color: var(--muted); line-height: 1.5; }
.gift__name { display: block; font-size: var(--fs3); font-weight: 700; line-height: 1.4; }

/* ボタン（../lp と同じ型） */
.cta-block { margin-top: var(--gap-between); text-align: center; }
.cta__lead { margin-bottom: 24px; font-size: var(--fs4); font-weight: 700; line-height: 1.7; }
.btn {
  --btn-dk: #197C38; --btn-tab: #FDDF47; --btn-tab-text: #0F6B2E; --btn-yellow: #F8F15E;
  position: relative; display: block; width: 100%; max-width: 520px; margin: 12px auto 0;
  text-decoration: none; color: #fff; font-family: var(--f-gothic); font-weight: 900;
  animation: btnPulse 1.4s ease-in-out infinite; transform-origin: center bottom;
  -webkit-tap-highlight-color: transparent;
}
@keyframes btnPulse { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1); } }
.btn__face { position: relative; overflow: hidden; display: grid; justify-items: center; row-gap: 2px; padding: 18px 14px 11px; border-radius: 999px; background: var(--accent); box-shadow: 0 6px 0 var(--btn-dk); }
.btn__face::after { content: ""; position: absolute; top: -35%; left: -140%; width: 55%; height: 170%; pointer-events: none; background: linear-gradient(120deg, transparent 0, rgba(255,255,255,.15) 42%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.15) 58%, transparent 100%); transform: skewX(-20deg); animation: btnShine 5.5s ease-in-out infinite; }
@keyframes btnShine { 0% { left: -140%; } 100% { left: 160%; } }
.btn__tab { position: absolute; z-index: 1; left: 50%; top: 0; transform: translate(-50%, -48%); padding: 2px 22px; border-radius: 999px; background: var(--btn-tab); color: var(--btn-tab-text); font-size: var(--fs5); line-height: 1.5; letter-spacing: .08em; white-space: nowrap; }
.btn__face { overflow: visible; }
.btn__l1 { display: flex; align-items: center; gap: 6px; color: var(--btn-yellow); font-size: 14px; line-height: 1.3; letter-spacing: .04em; white-space: nowrap; }
.btn__l1 .sprig { flex: none; width: 30px; height: 30px; margin: -6px 0; color: var(--btn-yellow); transform: rotate(-24deg); }
.btn__l1 .sprig--r { transform: scaleX(-1) rotate(-24deg); }
.btn__l2 { font-size: 20px; line-height: 1.3; letter-spacing: .04em; white-space: nowrap; font-feature-settings: "palt"; }
.btn:active .btn__face { transform: translateY(4px); box-shadow: 0 2px 0 var(--btn-dk); }
.btn:focus-visible { outline: 3px solid var(--main); outline-offset: 6px; border-radius: 999px; }
@media (min-width: 900px) {
  .btn__face { padding: 24px 20px 16px; row-gap: 4px; box-shadow: 0 8px 0 var(--btn-dk); }
  .btn__l1 { font-size: 17px; }
  .btn__l2 { font-size: 24px; }
}

/* プロフィール */
.prof__inner { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: var(--gap-in) 18px; max-width: 480px; }
.arch--s { width: 110px; margin: 0; }
.prof__role { font-size: var(--fs5); font-weight: 700; color: var(--muted); line-height: 1.5; }
.prof__name { font-size: var(--fs3); font-weight: 700; line-height: 1.4; letter-spacing: .08em; }
.prof__title { display: block; font-size: var(--fs5); letter-spacing: 0; }
.prof__salon { font-size: var(--fs5); color: var(--muted); line-height: 1.6; }
.badges { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.badges li { padding: 10px 2px; text-align: center; line-height: 1.3; }
.badges li + li { border-left: 1px solid var(--line); }
.badges__l, .badges__u { display: block; font-size: var(--fs5); font-weight: 700; color: var(--muted); }
.badges__n { display: block; font-family: var(--f-num); font-weight: 700; font-size: var(--fs3); color: var(--main); line-height: 1.3; }
.badges__n small { font-family: var(--f-gothic); font-weight: 700; font-size: .7em; }

.foot { padding: var(--gap-between) var(--gutter); text-align: center; font-size: var(--fs5); color: var(--muted); }

/* 追従ボタン: 動画を過ぎてから出る。ページ内のボタンより低く */
.sticky { position: fixed; left: 50%; bottom: calc(8px + env(safe-area-inset-bottom)); width: min(calc(100% - var(--gutter) * 2), 480px); transform: translateX(-50%); transition: transform var(--dur-in) var(--ease), opacity var(--dur-in) var(--ease); z-index: 10; }
.sticky.is-hidden { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.sticky .btn { margin-top: 0; }
.sticky .btn__face { padding: 14px 12px 8px; row-gap: 0; box-shadow: 0 5px 0 var(--btn-dk); }
.sticky .btn__tab { padding: 1px 16px; font-size: 12px; }
.sticky .btn__l1 { font-size: var(--fs5); }
.sticky .btn__l1 .sprig { width: 24px; height: 24px; margin: -4px 0; }
.sticky .btn__l2 { font-size: 17px; }
@media (min-width: 900px) { .sticky { width: 400px; } .sticky .btn__face { padding: 18px 16px 11px; } .sticky .btn__l1 { font-size: 15px; } .sticky .btn__l2 { font-size: 21px; } }

/* 現れ方は1種だけ */
.will-in { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--dur-in) var(--ease), transform var(--dur-in) var(--ease); }
.will-in.is-in { opacity: 1; transform: none; }
.step.will-in:nth-child(2) { transition-delay: .12s; }
.step.will-in:nth-child(3) { transition-delay: .24s; }
.step.will-in:nth-child(4) { transition-delay: .36s; }

/* PC: 列は広げず、最初の画面だけ動画を大きく */
@media (min-width: 900px) {
  .fv { padding-top: 48px; }
  .fv__inner { max-width: 880px; }
  .fv__sub, .limit { font-size: 19px; }
  .player__btn { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .player__btn svg { width: 38px; height: 38px; }
  .player { max-width: 800px; margin-left: auto; margin-right: auto; }
  .steps { max-width: none; }
  .offer__body { grid-template-columns: 280px 1fr; column-gap: 36px; align-items: start; }
  .offer__body .arch { width: 100%; }
  .prof__inner { grid-template-columns: 140px 1fr; max-width: var(--col); }
  .arch--s { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__face::after { animation: none; }
  .sticky, .will-in { transition: none; }
  .will-in { opacity: 1; transform: none; }
}
