/* ============================================================
   フリくじ ダウンロード訴求LP（v2：明るい配色＋three.js）
   既存の base.css / sections.css とは独立。このファイル単体で完結する。
   ============================================================ */

:root {
  --sun:        #ffc83d;
  --sun-2:      #ffe27a;
  --sun-3:      #fff3c4;
  --orange:     #ff8a3d;
  --red:        #ff4b3e;
  --red-dark:   #d9302a;
  --green:      #3a9a12;
  --green-soft: #ecf8e3;
  --sky:        #e6f6ff;
  --sky-2:      #bfe8ff;
  --pink:       #ff8fa3;
  --cream:      #fffaf0;
  --white:      #ffffff;
  --ink:        #2a2622;
  --ink-sub:    #6b645c;
  --line:       #f0e6cf;
  --radius:     22px;
  --shadow:     0 10px 30px rgba(255, 150, 40, .14), 0 2px 6px rgba(0, 0, 0, .04);
  --shadow-lg:  0 22px 50px rgba(255, 140, 30, .22), 0 4px 10px rgba(0, 0, 0, .05);
  --grad-cta:   linear-gradient(135deg, #ff9a3d 0%, #ff4b3e 100%);
  --wrap:       720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  /* スマホで2本指の拡大縮小・ダブルタップ拡大をさせず、縦スクロールだけにする */
  touch-action: pan-y;
}
/* 画面の外へはみ出した要素（斜めのテロップ帯など）でページが横に広がらないよう切り落とす。
   body だけだと iOS Safari では効かないので html にも付ける */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

body {
  font-family: 'LINE Seed JP', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  letter-spacing: .01em;
  padding-bottom: 92px; /* 下部固定CTAぶん */
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--orange); text-decoration: none; }
ul  { list-style: none; }

.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; }
.lp-br-sp { display: none; }
@media (max-width: 520px) { .lp-br-sp { display: inline; } }

/* ------------------------------------------------------------
   スクロール進捗バー
   ------------------------------------------------------------ */
.lp-progress {
  position: fixed; top: 0; left: 0; height: 4px; z-index: 80;
  width: 100%; transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--sun), var(--orange), var(--red));
}

/* ------------------------------------------------------------
   ヘッダー
   ------------------------------------------------------------ */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  transition: background .3s ease, box-shadow .3s ease;
}
.lp-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(255, 150, 40, .12);
}
.lp-header__inner {
  max-width: 1100px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lp-header__logo { height: 30px; width: auto; }
.lp-header__cta {
  background: var(--grad-cta); color: #fff;
  font-weight: 800; font-size: 13px;
  padding: 10px 20px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 75, 62, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp-header__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 75, 62, .4); }

/* ------------------------------------------------------------
   ヒーロー（three.js の舞台）
   ------------------------------------------------------------ */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 15% 20%, rgba(255, 226, 122, .85) 0%, transparent 70%),
    radial-gradient(55% 40% at 90% 30%, rgba(191, 232, 255, .9) 0%, transparent 70%),
    radial-gradient(70% 50% at 50% 100%, rgba(255, 175, 190, .45) 0%, transparent 70%),
    linear-gradient(180deg, #fff6d6 0%, #fffaf0 60%, #f2fbff 100%);
  display: flex; align-items: center;
  padding: 96px 0 64px;
}
/* ゆっくり動く光の玉（three.js が動かない環境でも寂しくならないように） */
.lp-hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: .55; pointer-events: none;
  animation: lp-blob 14s ease-in-out infinite alternate;
}
.lp-hero__blob--a { width: 340px; height: 340px; background: #ffd65c; top: -60px; left: -80px; }
.lp-hero__blob--b { width: 300px; height: 300px; background: #9fdcff; top: 20%; right: -90px; animation-delay: -5s; }
.lp-hero__blob--c { width: 260px; height: 260px; background: #ffb3c1; bottom: -60px; left: 30%; animation-delay: -9s; }
@keyframes lp-blob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.12); }
  100% { transform: translate(-30px, 50px) scale(.95); }
}

.lp-stage {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  touch-action: pan-y;
}

.lp-hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  text-align: center;
  pointer-events: none; /* 3Dへのホバー・タップを通す */
}
.lp-hero__inner a, .lp-hero__inner button { pointer-events: auto; }

.lp-hero__logo { width: 180px; margin: 0 auto 14px; filter: drop-shadow(0 6px 14px rgba(255, 160, 40, .25)); }

.lp-hero__copy {
  font-size: 40px; font-weight: 800; line-height: 1.35;
  color: var(--ink);
  margin-bottom: 12px;
  text-shadow: 0 2px 0 #fff, 0 0 24px rgba(255, 255, 255, .9);
  word-break: auto-phrase;
}
/* 「10万円分」：明るい金の文字＋金の縁取り */
.lp-hero__copy .hl {
  display: inline-block; position: relative; isolation: isolate;
  font-size: 1.5em; line-height: 1.15;
}
.lp-hero__copy .hl__in {
  display: inline-block; padding: 0 .04em;
  background:
    linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .95) 49%, transparent 60%),
    linear-gradient(180deg, #fffbe6 0%, #fff07a 28%, #ffd000 50%, #ffb800 64%, #ffe14d 82%, #fff6c2 100%);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; text-shadow: none;
  /* 濃い金の縁取り＋金の厚み＋ほんのりした金の照り */
  filter:
    drop-shadow(2px 0 0 #b8860b) drop-shadow(-2px 0 0 #b8860b)
    drop-shadow(0 2px 0 #b8860b) drop-shadow(0 -2px 0 #b8860b)
    drop-shadow(0 4px 0 #8a6508)
    drop-shadow(0 6px 10px rgba(184, 134, 11, .35));
  animation: lp-gold-shine 3.2s ease-in-out infinite;
}
@keyframes lp-gold-shine {
  0%, 45% { background-position: -60% 0, 0 0; }
  100%    { background-position: 160% 0, 0 0; }
}

.lp-hero__lead {
  font-size: 16px; color: var(--ink-sub);
  margin-bottom: 18px;
  text-shadow: 0 0 14px rgba(255, 255, 255, .95);
}

.lp-hero__phone {
  width: 250px; margin: 0 auto 6px;
  filter: drop-shadow(0 26px 30px rgba(255, 130, 40, .28));
}


/* 文字を1つずつ浮かび上がらせる（JS有効時のみ隠す） */
.lp-char { display: inline-block; }
.js .lp-split .lp-char {
  opacity: 0; transform: translateY(.6em) rotate(8deg);
  animation: lp-char-in .7s cubic-bezier(.2, .9, .3, 1.3) forwards;
  animation-delay: calc(var(--i) * 38ms + 250ms);
}
@keyframes lp-char-in { to { opacity: 1; transform: none; } }

/* 信頼チップ */
.lp-trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; max-width: 470px; margin: 18px auto 24px;
}
.lp-trust li {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 10px 4px;
  font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--ink-sub);
  box-shadow: 0 6px 16px rgba(255, 150, 40, .14);
}
.lp-trust strong {
  display: block; font-size: 20px; color: var(--orange);
  font-variant-numeric: tabular-nums;
}

/* ストアボタン */
.lp-stores {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.lp-stores a {
  display: block; position: relative; overflow: hidden;
  border-radius: 10px;
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.4), box-shadow .25s ease;
}
.lp-stores a:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 24px rgba(0, 0, 0, .18); }
/* 光沢が走る */
.lp-stores a::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: lp-shine 3.6s ease-in-out infinite;
}
.lp-stores a:nth-child(2)::after { animation-delay: .4s; }
@keyframes lp-shine {
  0%, 60% { left: -60%; }
  100%    { left: 130%; }
}
.lp-stores { --badge-h: 52px; }
.lp-stores img { display: block; height: var(--badge-h); width: auto; }
/* Google Play の画像は上下に透明な余白（250px 中 29px ずつ）があるので、
   黒い部分が App Store と同じ高さになるよう拡大して余白を切り落とす */
.lp-stores img[src*="storegoogle"] {
  height: calc(var(--badge-h) * 250 / 192);
  margin: calc(var(--badge-h) * -29 / 192) 0;
}
.lp-stores__note { text-align: center; font-size: 12px; margin-top: 10px; color: var(--ink-sub); }

/* ------------------------------------------------------------
   テロップ帯
   ------------------------------------------------------------ */
.lp-marquee {
  position: relative; z-index: 3;
  background: var(--sun);
  transform: rotate(-2deg);
  margin: -26px -10px 0;
  padding: 14px 0;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(255, 170, 0, .3);
}
.lp-marquee--rev { background: var(--ink); transform: rotate(1.5deg); margin-top: -8px; }
.lp-marquee__track {
  display: flex; width: max-content;
  animation: lp-marquee 28s linear infinite;
}
.lp-marquee--rev .lp-marquee__track { animation-direction: reverse; animation-duration: 34s; }
.lp-marquee__track span {
  font-size: 17px; font-weight: 800; letter-spacing: .06em;
  white-space: nowrap; padding: 0 22px; color: var(--ink);
}
.lp-marquee--rev .lp-marquee__track span { color: var(--sun-2); }
.lp-marquee__track span::after { content: '✦'; margin-left: 44px; color: var(--red); }
.lp-marquee--rev .lp-marquee__track span::after { color: var(--pink); }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   セクション共通
   ------------------------------------------------------------ */
.lp-section { padding: 88px 0; position: relative; }
.lp-section--sun   { background: linear-gradient(180deg, #fffaf0 0%, #fff3c4 100%); }
.lp-section--sky   { background: linear-gradient(180deg, #f2fbff 0%, #e6f6ff 100%); }
.lp-section--white { background: #fff; }
.lp-section--mint  { background: linear-gradient(180deg, #f7fdf2 0%, #ecf8e3 100%); }

/* 招き猫キャラ（見出しの上にちょこんと） */
.lp-neko { display: block; margin: 0 auto 6px; height: 96px; width: auto; }
.lp-neko.is-in.lp-neko--walk { animation: lp-neko-walk 1.1s ease-in-out infinite; }
.lp-neko.is-in.lp-neko--base { animation: lp-neko-sway 2.8s ease-in-out infinite; transform-origin: 50% 100%; }
.lp-neko.is-in.lp-neko--win  { animation: lp-neko-jump 1.6s ease-in-out infinite; }
.lp-neko--win { height: 110px; }
@keyframes lp-neko-walk {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-6px) rotate(3deg); }
}
@keyframes lp-neko-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes lp-neko-jump {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  30%           { transform: translateY(-12px) scale(1.04); }
}

.lp-eyebrow {
  display: block; text-align: center;
  font-size: 13px; font-weight: 800; letter-spacing: .24em;
  color: var(--orange); margin-bottom: 8px;
}
.lp-title {
  text-align: center; font-size: 30px; font-weight: 800;
  line-height: 1.45; margin-bottom: 40px;
  word-break: auto-phrase;
}
.lp-title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--sun-2) 62%);
  padding: 0 .1em;
}

/* ------------------------------------------------------------
   数字で見るフリくじ（カウントアップ）
   ------------------------------------------------------------ */
/* PCでも2×2。4列だと1枚が細くなり、数字と単位が折り返して崩れるため */
.lp-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 600px; margin: 0 auto;
}
.lp-stat {
  --bg: linear-gradient(135deg, #ff9a3d 0%, #ff4b3e 100%);
  --glow: rgba(255, 90, 60, .32);
  --pill: rgba(255, 255, 255, .24);
  position: relative; overflow: hidden; isolation: isolate;
  container-type: inline-size;
  /* 英字ラベル・数字・説明を縦の中央にそろえる */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 190px;
  border-radius: 24px; padding: 22px 12px; text-align: center;
  color: #fff; background: var(--bg);
  box-shadow: 0 16px 32px var(--glow);
}
.lp-stat--walk { --bg: linear-gradient(135deg, #7ccfff 0%, #3b82f6 100%); --glow: rgba(59, 130, 246, .3); }
.lp-stat--week { --bg: linear-gradient(135deg, #ffa3b8 0%, #ff5f86 100%); --glow: rgba(255, 95, 134, .3); }
.lp-stat--gold { --bg: linear-gradient(135deg, #ffcf3f 0%, #f5a300 55%, #e08600 100%); --glow: rgba(224, 134, 0, .35); }
/* 上の英字ラベル */
.lp-stat::before {
  content: attr(data-mark);
  font-size: 11px; font-weight: 800; letter-spacing: .26em; opacity: .85;
  padding-left: .26em; /* 字間ぶんのずれを補正して中央に */
}
/* 背景の大きな丸（カードの中に収める） */
.lp-stat::after {
  content: ''; position: absolute; z-index: -1;
  width: 60%; aspect-ratio: 1; right: -12%; bottom: -22%;
  border-radius: 50%; background: rgba(255, 255, 255, .18);
}
.lp-stat__num {
  display: flex; align-items: baseline; justify-content: center; gap: .04em;
  /* カード幅に合わせて縮む。単位まで1行に収める */
  font-size: min(64px, 25cqi); font-weight: 800; line-height: 1;
  white-space: nowrap;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .12);
  font-variant-numeric: tabular-nums;
}
.lp-stat__num small { font-size: .4em; }
/* 説明は帯にして読みやすく */
.lp-stat__label {
  display: inline-block;
  font-size: 13px; font-weight: 800; line-height: 1.3;
  padding: 5px 12px; border-radius: 999px;
  background: var(--pill);
}
.lp-stat__chip {
  position: absolute; z-index: -1; top: 10px; right: 10px; width: 44px;
  opacity: .9; transform: rotate(18deg);
  animation: lp-chip-bob 3.6s ease-in-out infinite;
}
@keyframes lp-chip-bob {
  0%, 100% { transform: rotate(18deg) translateY(0); }
  50%      { transform: rotate(28deg) translateY(6px); }
}

/* ------------------------------------------------------------
   選ばれる理由
   ------------------------------------------------------------ */
.lp-reasons { display: grid; gap: 18px; }
.lp-reason {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 24px 24px 22px;
  display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  transform-style: preserve-3d;
}
.lp-reason__icon {
  flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08);
}
.lp-reason:nth-child(1) .lp-reason__icon { background: linear-gradient(135deg, #ffe27a, #ffc83d); }
.lp-reason:nth-child(2) .lp-reason__icon { background: linear-gradient(135deg, #c9eeff, #8fd5ff); }
.lp-reason:nth-child(3) .lp-reason__icon { background: linear-gradient(135deg, #ffd0d8, #ff9fb1); }
.lp-reason__icon img { width: 34px; height: 34px; }
.lp-reason h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; line-height: 1.5; word-break: auto-phrase; }
.lp-reason p  { font-size: 14px; color: var(--ink-sub); }

/* ------------------------------------------------------------
   遊び方：スクロールで伸びるタイムライン
   ------------------------------------------------------------ */
.lp-timeline { position: relative; padding-left: 34px; }
.lp-timeline::before,
.lp-timeline::after {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 4px; border-radius: 2px;
}
.lp-timeline::before { background: #ffe9b0; }
.lp-timeline::after {
  background: linear-gradient(180deg, var(--sun), var(--orange), var(--red));
  transform-origin: 50% 0;
  transform: scaleY(var(--tl, 0));
}
.lp-step { position: relative; margin-bottom: 26px; }
.lp-step:last-child { margin-bottom: 0; }
.lp-step__dot {
  position: absolute; left: -34px; top: 26px; z-index: 1;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid #ffe9b0;
  transition: border-color .4s ease, transform .4s cubic-bezier(.2, .9, .3, 1.5);
}
.lp-step.is-in .lp-step__dot { border-color: var(--orange); transform: scale(1.15); }
.lp-step__card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid; grid-template-columns: 170px 1fr; align-items: stretch;
  transition: transform .3s ease, box-shadow .3s ease;
}
.lp-step__img {
  background: linear-gradient(160deg, #fff3c4, #ffe27a);
  padding: 16px 12px 0;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.lp-step__img img { transition: transform .5s cubic-bezier(.2, .9, .3, 1.2); }
.lp-step__card:hover .lp-step__img img { transform: translateY(-6px) scale(1.04); }
.lp-step:nth-child(2) .lp-step__img { background: linear-gradient(160deg, #ffe4ea, #ffb7c4); }
.lp-step:nth-child(3) .lp-step__img { background: linear-gradient(160deg, #e6f6ff, #a9ddff); }
.lp-step:nth-child(4) .lp-step__img { background: linear-gradient(160deg, #ecf8e3, #bfe8a5); }
.lp-step__body { padding: 22px 22px 22px 18px; }
.lp-step__label {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  color: var(--orange); margin-bottom: 4px;
}
.lp-step h3 { font-size: 19px; font-weight: 800; line-height: 1.5; margin-bottom: 6px; word-break: auto-phrase; }
.lp-step p  { font-size: 14px; color: var(--ink-sub); }
.lp-step .em { color: var(--red); font-weight: 800; }
.lp-step__note {
  margin-top: 10px; font-size: 12px; color: #8a5a00;
  background: #fff6d6; border-radius: 10px; padding: 7px 11px;
}

/* ------------------------------------------------------------
   公平性
   ------------------------------------------------------------ */
.lp-checks {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 26px;
  display: grid; gap: 14px;
}
.lp-checks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; font-weight: 700; line-height: 1.6;
}
.lp-checks li::before {
  content: ''; flex: 0 0 auto;
  width: 24px; height: 24px; margin-top: 1px;
  border-radius: 50%;
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 14px 14px; background-position: center; background-repeat: no-repeat;
}
.lp-checks--warm li::before { background-color: var(--orange); }
.lp-note { font-size: 12px; color: var(--ink-sub); margin-top: 16px; text-align: center; line-height: 1.8; }

/* ------------------------------------------------------------
   コード配布：くじ券の形のカード
   ------------------------------------------------------------ */
.lp-codes { display: grid; gap: 22px; }
.lp-ticket {
  position: relative;
  background: linear-gradient(135deg, #ff9a8b 0%, #ff6a88 55%, #ff99ac 100%);
  color: #fff;
  border-radius: 20px;
  padding: 26px 24px 24px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(255, 90, 120, .3);
  /* 左右の切り欠き（くじ券の穴） */
  -webkit-mask:
    radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform .3s ease;
  overflow: hidden;
}
.lp-ticket::before {
  /* 背景のキラキラ */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 78%, rgba(255,255,255,.45) 0 3px, transparent 4px),
    radial-gradient(circle at 18% 82%, rgba(255,255,255,.4) 0 2px, transparent 3px);
}
.lp-ticket--blue { background: linear-gradient(135deg, #6fc8ff 0%, #4a9dff 55%, #8ad7ff 100%); box-shadow: 0 16px 36px rgba(70, 150, 255, .3); }
.lp-ticket__tag {
  display: inline-block; background: rgba(255, 255, 255, .25);
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 8px;
}
.lp-ticket h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; line-height: 1.4; }
.lp-ticket h3 strong { font-size: 1.35em; color: #fff7b0; }
.lp-ticket p  { font-size: 13.5px; opacity: .95; margin-bottom: 16px; }
.lp-ticket__value {
  display: flex; align-items: stretch; justify-content: center;
  max-width: 340px; margin: 0 auto;
  border-top: 2px dashed rgba(255, 255, 255, .6);
  padding-top: 16px;
}
.lp-ticket__value code {
  flex: 1;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 24px; font-weight: 700; letter-spacing: .14em;
  background: #fff; color: var(--ink);
  border-radius: 12px 0 0 12px;
  padding: 12px 10px;
  display: grid; place-items: center;
}
.lp-ticket__copy {
  flex: 0 0 auto;
  border: none; cursor: pointer;
  background: var(--ink); color: #fff;
  font-family: inherit; font-size: 13px; font-weight: 800;
  padding: 0 18px; border-radius: 0 12px 12px 0;
  transition: background .2s ease, transform .15s ease;
}
.lp-ticket__copy:active { transform: scale(.96); }
.lp-ticket__copy.is-done { background: var(--green); }
.lp-ticket__where { font-size: 12px; opacity: .92; margin: 12px 0 0; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.lp-faq { display: grid; gap: 12px; }
.lp-faq__item {
  background: #fff;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(255, 150, 40, .08);
  transition: box-shadow .3s ease;
}
.lp-faq__item.is-open { box-shadow: var(--shadow); }
.lp-faq__q {
  width: 100%; cursor: pointer;
  background: none; border: none; text-align: left;
  font-family: inherit; font-size: 15px; font-weight: 800; color: var(--ink);
  padding: 18px 52px 18px 20px;
  position: relative; line-height: 1.6;
  word-break: auto-phrase;
}
.lp-faq__q::before {
  content: 'Q'; color: var(--orange); margin-right: 8px; font-weight: 800;
}
.lp-faq__q::after {
  content: ''; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.lp-faq__item.is-open .lp-faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.lp-faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.lp-faq__a p { padding: 0 20px 18px; font-size: 14px; color: var(--ink-sub); }

/* ------------------------------------------------------------
   最終CTA（コインが降るthree.jsシーン）
   ------------------------------------------------------------ */
.lp-final {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, .6) 0%, transparent 70%),
    linear-gradient(170deg, #ffe27a 0%, #ffc83d 45%, #ffa63d 100%);
  text-align: center;
  padding: 96px 0 88px;
}
.lp-final .lp-stage { pointer-events: none; }
.lp-final__inner { position: relative; z-index: 2; }
.lp-final h2 {
  font-size: 32px; font-weight: 800; line-height: 1.45; margin-bottom: 28px;
  word-break: auto-phrase; color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 255, 255, .6);
}
.lp-final h2 .hl { color: var(--red); }

.lp-qr { margin-top: 28px; display: none; }
.lp-qr img {
  width: 132px; margin: 0 auto; border-radius: 16px;
  padding: 10px; background: #fff;
  box-shadow: 0 10px 24px rgba(160, 90, 0, .2);
}
.lp-qr p { font-size: 12px; margin-top: 8px; color: #5a4300; font-weight: 700; }


/* ------------------------------------------------------------
   下部固定CTA（スマホ）
   ------------------------------------------------------------ */
.lp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(255, 150, 40, .16);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.2, .9, .3, 1.1);
}
.lp-sticky.is-shown { transform: none; }
.lp-sticky__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
}
.lp-sticky__text { flex: 1 1 auto; min-width: 0; font-size: 12px; font-weight: 800; line-height: 1.4; }
.lp-sticky__text span { color: var(--red); }
.lp-sticky .lp-stores { gap: 8px; flex-wrap: nowrap; }
.lp-sticky .lp-stores { --badge-h: 40px; }

/* ------------------------------------------------------------
   注記・フッター
   ------------------------------------------------------------ */
.lp-disclaimer {
  background: #fffdf7; padding: 28px 0;
  font-size: 11px; line-height: 1.9; color: var(--ink-sub);
}
.lp-footer {
  background: #fffdf7; border-top: 1px solid var(--line);
  padding: 24px 0 30px; text-align: center;
}
.lp-footer__links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px; margin-bottom: 14px;
}
.lp-footer__links a { font-size: 13px; color: var(--ink-sub); }
.lp-footer__links a:hover { color: var(--orange); }
.lp-footer__copy { font-size: 11px; color: var(--ink-sub); }

/* ------------------------------------------------------------
   スクロール表示（JS有効時のみ隠す）
   ------------------------------------------------------------ */
.js .lp-reveal {
  opacity: 0; transform: translateY(28px) scale(.98);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1.1);
  transition-delay: var(--d, 0s);
}
.js .lp-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .lp-reveal, .js .lp-split .lp-char { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  .lp-hero__copy { font-size: 52px; }
  .lp-hero__phone { width: 280px; }
  .lp-title { font-size: 36px; }
  .lp-qr { display: block; }
  .lp-sticky { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 520px) {
  .lp-hero { padding: 84px 0 70px; }
  .lp-hero__copy { font-size: 29px; }
  .lp-hero__logo { width: 150px; }
  .lp-hero__lead { font-size: 14px; }
  .lp-hero__phone { width: 210px; }
  .lp-section { padding: 70px 0; }
  .lp-title { font-size: 24px; }
  .lp-title { margin-bottom: 32px; }
  .lp-stat { min-height: 150px; gap: 8px; padding: 18px 10px; }
  .lp-stat__label { font-size: 12px; padding: 4px 10px; }
  .lp-stat__chip { width: 30px; top: 8px; right: 8px; }
  .lp-timeline { padding-left: 28px; }
  .lp-timeline::before, .lp-timeline::after { left: 8px; }
  .lp-step__dot { left: -28px; width: 22px; height: 22px; }
  /* スマホは横並びだと画像が小さく上が空くので、画像を上・説明を下に積む */
  .lp-step__card { grid-template-columns: 1fr; }
  .lp-step__img { padding: 20px 20px 0; }
  .lp-step__img img { width: 220px; max-width: 100%; }
  .lp-step__body { padding: 16px 18px 20px; }
  .lp-step h3 { font-size: 16px; }
  .lp-step p { font-size: 13px; }
  .lp-stores { --badge-h: 46px; }
  .lp-trust li { font-size: 11px; }
  .lp-trust strong { font-size: 17px; }
  .lp-ticket__value code { font-size: 20px; }
  .lp-final h2 { font-size: 26px; }
  .lp-marquee__track span { font-size: 15px; }
}

/* 幅401〜440pxの機種で「完全無料のポイ活アプリ」が3行に折れないよう、文字とバッジを少し小さく */
@media (max-width: 440px) {
  .lp-sticky__text { font-size: 11px; letter-spacing: 0; }
  .lp-sticky .lp-stores { --badge-h: 36px; }
}

@media (max-width: 400px) {
  .lp-sticky__text { display: none; }
  .lp-sticky__inner { justify-content: center; }
  .lp-sticky .lp-stores { --badge-h: 44px; }
}
