@charset "utf-8";
/* けぬきスポッ！ LP
 * 数値・配色は docs/design 由来の LP.dc.html（claude.ai/design）に合わせている。
 * 変更するときはデザイン側と揃えること。 */

:root {
  --bg: #FFF6E7;
  --ink: #4A3B30;
  --ink-deep: #2E241C;
  --title: #5A4632;
  --pink: #FF7E98;
  --pink-strong: #E9556F;
  --pink-bg: #FF8FA3;
  --pink-light: #FF9FB2;
  --pink-pale: #FFE1E8;
  --tan: #C09A6B;
  --taupe: #7A6650;
  --sand: #A08560;
  --face: #FBF3E4;
  --green: #8ED9B5;
  --green-bg: #EAF6EE;
  --green-ink: #7BA98C;
  --yellow: #FFD97A;
  --cream: #FFEDD6;
  --shell: 1120px;
  --gutter: 40px;
}

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

html { scroll-behavior: smooth; }

/* 背景の円やマーキーは意図的にはみ出すので、横スクロールだけを止める。
 * clip 非対応ブラウザ向けに hidden をフォールバックとして残す。 */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Zen Maru Gothic', system-ui, sans-serif;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-strong); }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--pink-strong); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #FFFFFF; border: 3px solid var(--ink); border-radius: 999px;
  padding: 10px 20px; font-size: 14px; font-weight: 900; color: var(--ink);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; color: var(--ink); }

/* ---------- keyframes ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes sproing { 0% { transform: scale(0); } 55% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes sparkle { 0%, 100% { opacity: .15; transform: scale(.5); } 50% { opacity: 1; transform: scale(1); } }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes pullOut { 0% { transform: translateY(0); } 55% { transform: translateY(-8px) scaleY(1.3); } 100% { transform: translateY(-80px) rotate(24deg); opacity: 0; } }
@keyframes burstUp { 0% { transform: scale(0) rotate(-8deg); opacity: 1; } 30% { transform: scale(1.3) rotate(-8deg); opacity: 1; } 100% { transform: scale(1) rotate(-8deg) translateY(-34px); opacity: 0; } }
@keyframes bubbleLoop { 0%, 12% { transform: scale(0) rotate(-6deg); } 20%, 72% { transform: scale(1) rotate(-6deg); } 82%, 100% { transform: scale(0) rotate(-6deg); } }
@keyframes driftHair { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-16px) rotate(10deg); } }

/* ---------- scroll reveal ---------- */
.reveal-up { opacity: 1; }
.js .reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal-up[data-delay="1"] { transition-delay: .12s; }
.js .reveal-up[data-delay="2"] { transition-delay: .24s; }
.js .reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- shared building blocks ---------- */
.badge {
  display: flex; flex-direction: column; align-items: center;
  border: 3px solid var(--ink); border-radius: 18px;
  padding: 10px 26px; line-height: 1.25;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.badge--lg { padding: 12px 30px; }
.badge--dark { background: var(--ink); color: var(--bg); box-shadow: 0 5px 0 var(--ink-deep); }
.badge--dark:hover { color: var(--bg); }
.badge--light { background: #FFFFFF; color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.badge--light:hover { color: var(--ink); }
.badge:hover { transform: translateY(2px); }
.badge--dark:hover { box-shadow: 0 3px 0 var(--ink-deep); }
.badge--light:hover { box-shadow: 0 3px 0 var(--ink); }
.badge:active { transform: translateY(5px); box-shadow: none; }
/* 配信準備中のバッジ。リンクではないので押せる見た目にしない */
.badge--soon { pointer-events: none; }
.badge__sub { font-size: 11px; font-weight: 700; }
.badge__main { font-size: 20px; font-weight: 900; }
.badge--lg .badge__sub { font-size: 12px; }
.badge--lg .badge__main { font-size: 22px; }

.section { padding: 96px var(--gutter) 90px; }
.section__inner { max-width: var(--shell); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.section__inner--center { align-items: center; text-align: center; }
.section__head { text-align: center; }
.section__eyebrow { font-size: 14px; font-weight: 900; color: var(--tan); letter-spacing: 5px; }
.section__eyebrow--green { color: var(--green-ink); }
.section__title {
  font-size: clamp(25px, 5.4vw, 40px); font-weight: 900; margin-top: 6px;
  text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere;
}

/* ---------- header ---------- */
/* ヘッダーはヒーローの円より手前。円は下のセクションからヘッダー背後へはみ出す。 */
.nav { position: relative; z-index: 2; padding: 26px var(--gutter) 0; }
.nav__inner {
  max-width: var(--shell); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; }
.nav__cta {
  background: var(--ink); color: var(--bg); border-radius: 999px;
  padding: 10px 22px; font-weight: 900; font-size: 14px; white-space: nowrap;
}
.nav__cta:hover { background: var(--ink-deep); color: var(--bg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0 var(--gutter); }
.hero__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__blob--a { top: -190px; left: -140px; width: 420px; height: 420px; background: var(--cream); }
.hero__blob--b { top: 110px; right: -160px; width: 460px; height: 460px; background: #FFF0E0; }

.hero__inner {
  position: relative; max-width: var(--shell); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 40px; padding: 64px 0 84px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__badge {
  background: #FFFFFF; border: 3px solid var(--ink); border-radius: 999px;
  padding: 7px 18px; font-weight: 900; font-size: 14px;
}
.hero__title { display: block; }
.hero__eyebrow { display: block; font-size: 19px; font-weight: 700; color: var(--tan); letter-spacing: 7px; }
.hero__title-main {
  display: block; font-size: clamp(58px, 11vw, 104px); font-weight: 900;
  color: var(--title); line-height: 1.02; letter-spacing: 3px;
}
.hero__title-accent {
  display: inline-block; font-size: clamp(48px, 9vw, 86px); font-weight: 900;
  color: var(--pink); line-height: 1.15;
  transform: rotate(-3deg); transform-origin: left;
  text-shadow: 6px 6px 0 var(--pink-pale);
}
.hero__lead {
  font-size: 17px; font-weight: 700; line-height: 2; color: var(--taupe);
  max-width: 440px; text-wrap: pretty;
}
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__note { font-size: 13px; font-weight: 900; color: var(--tan); line-height: 1.6; }

.hero__art { position: relative; display: flex; justify-content: center; }
.hero__sparkle { position: absolute; animation: sparkle 1.8s infinite; }
.hero__sparkle--1 { top: 6%; left: 8%; font-size: 34px; color: #FFC24B; animation-duration: 1.7s; }
.hero__sparkle--2 { top: 18%; right: 4%; font-size: 26px; color: var(--pink-bg); animation-duration: 2s; animation-delay: .5s; }
.hero__sparkle--3 { bottom: 10%; left: 2%; font-size: 24px; color: var(--green); animation-duration: 1.8s; animation-delay: .9s; }
.hero__hair { position: absolute; animation: driftHair 4.2s ease-in-out infinite; }
.hero__hair--1 { top: -2%; right: 22%; }
.hero__hair--2 { bottom: 4%; right: 6%; animation-duration: 3.6s; animation-delay: .8s; }
.hero__bubble {
  position: absolute; top: 2%; left: 24%;
  background: #FFFFFF; border: 3px solid var(--ink); border-radius: 999px;
  padding: 8px 20px; font-size: 24px; font-weight: 900; color: var(--pink);
  animation: bubbleLoop 3.4s ease-in-out infinite; transform-origin: bottom left;
  white-space: nowrap;
}
.hero__float { display: block; animation: floaty 3.4s ease-in-out infinite; }
.hero__wiggle { display: block; animation: wiggle 4.4s ease-in-out infinite; }
.hero__face { width: min(430px, 100%); height: auto; }

/* ---------- marquee ---------- */
.marquee {
  background: var(--pink-bg);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
  overflow: hidden; padding: 12px 0;
}
.marquee__track { display: flex; width: max-content; animation: marqueeX 26s linear infinite; }
.marquee__group {
  display: flex; gap: 34px; padding-right: 34px;
  font-size: 22px; font-weight: 900; color: #FFFFFF; white-space: nowrap;
}
.marquee__dot { color: var(--pink-pale); }

/* ---------- how to play ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; background: #FFFFFF; border: 3px solid var(--ink); border-radius: 28px;
  padding: 38px 28px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.step__num {
  position: absolute; top: -20px; left: 24px; width: 44px; height: 44px;
  border-radius: 50%; border: 3px solid var(--ink);
  font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.step__num--pink { background: var(--pink-bg); color: #FFFFFF; }
.step__num--yellow { background: var(--yellow); color: var(--ink); }
.step__num--green { background: var(--green); color: var(--ink); }
.step__title { font-size: 22px; font-weight: 900; }
.step__body { font-size: 14px; font-weight: 700; color: var(--sand); line-height: 1.9; text-wrap: pretty; }

/* ---------- interactive demo ---------- */
.demo {
  background: var(--green-bg);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: 84px var(--gutter);
}
.demo .section__inner { gap: 26px; }
.demo__hint { font-size: 15px; font-weight: 700; color: var(--green-ink); margin-top: 8px; }
.demo__stage { --demo-scale: 1; width: calc(380px * var(--demo-scale)); height: calc(240px * var(--demo-scale)); }
.demo__field { position: relative; width: 380px; height: 240px; transform: scale(var(--demo-scale)); transform-origin: top left; }
.demo__scalp {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: var(--face); border: 3px solid var(--ink);
  border-radius: 75px 75px 44px 44px;
}
.demo__blush { position: absolute; bottom: 26px; width: 26px; height: 15px; border-radius: 50%; background: #FFB7C5; opacity: .7; }
.demo__blush--l { left: 34px; }
.demo__blush--r { right: 34px; }
.demo__hair {
  position: absolute; width: 38px; height: 76px; padding: 0; margin: 0;
  border: 0; background: none; cursor: pointer;
  transform-origin: 50% 100%;
}
.demo__stub {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: #E8D5BC; border: 2px solid #D9C09B;
}
.demo__burst {
  position: absolute; font-size: 26px; font-weight: 900; color: var(--pink);
  text-shadow: 2px 2px 0 #FFFFFF; white-space: nowrap; pointer-events: none;
  animation: burstUp .9s ease-out forwards;
}
.demo__counter {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; border: 3px solid var(--ink); border-radius: 999px;
  padding: 9px 24px; font-weight: 900; font-size: 17px;
}
.demo__counter span { color: var(--pink); font-size: 21px; }

/* ---------- new features ---------- */
.features__flag {
  display: inline-block; background: var(--yellow); border: 3px solid var(--ink);
  border-radius: 999px; padding: 6px 20px; font-size: 14px; font-weight: 900;
  transform: rotate(-2deg);
}
.features .section__title { margin-top: 14px; }
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.feature {
  background: #FFFFFF; border: 3px solid var(--ink); border-radius: 28px;
  padding: 28px 30px; display: flex; gap: 22px; align-items: center;
}
.feature__icon {
  flex: none; position: relative; width: 92px; height: 92px;
  border: 3px solid var(--ink); border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
}
.feature__icon--cream { background: #FFF1DC; }
.feature__icon--purple { background: #F3ECFF; }
.feature__icon--sun { background: #FFF7DE; }
.feature__icon--rose { background: #FFECEF; }
.feature__sway { animation: sway 2.2s ease-in-out infinite; transform-origin: 50% 100%; }
.feature__glow { filter: drop-shadow(0 0 4px rgba(142, 91, 208, .55)); }
.feature__spark { position: absolute; color: #B79AE8; animation: sparkle 1.6s infinite; }
.feature__spark--a { top: 6px; right: 8px; font-size: 14px; }
.feature__spark--b { bottom: 8px; left: 8px; font-size: 11px; animation-duration: 1.9s; animation-delay: .5s; }
.feature__title { font-size: 21px; font-weight: 900; margin-bottom: 6px; }
.feature__new { font-size: 12px; color: var(--pink); }
.feature__body { font-size: 14px; font-weight: 700; color: var(--sand); line-height: 1.8; text-wrap: pretty; }

/* ---------- screenshots ---------- */
.shots { background: var(--cream); border-top: 3px solid var(--ink); padding: 90px var(--gutter); }
.shots .section__inner { gap: 44px; }
.shots__list { display: flex; gap: 34px; justify-content: center; align-items: center; }
.shots__item img { border: 3px solid var(--ink); border-radius: 30px; }
.shots__item--left img,
.shots__item--right img { width: 264px; box-shadow: 0 10px 0 rgba(74, 59, 48, .15); }
.shots__item--center { position: relative; z-index: 1; }
.shots__item--center img { width: 284px; box-shadow: 0 12px 0 rgba(74, 59, 48, .18); }
.js .shots__item--left { transform: translateY(30px) rotate(-3deg); }
.js .shots__item--right { transform: translateY(30px) rotate(3deg); }
.js .shots__item--left.is-visible { transform: rotate(-3deg); }
.js .shots__item--center.is-visible { transform: translateY(-14px); }
.js .shots__item--right.is-visible { transform: rotate(3deg); }

/* ---------- final CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--pink-bg); border-top: 3px solid var(--ink);
  padding: 90px var(--gutter) 80px;
}
.cta__blob { position: absolute; border-radius: 50%; background: var(--pink-light); }
.cta__blob--a { top: -90px; left: -70px; width: 300px; height: 300px; }
.cta__blob--b { bottom: -110px; right: -80px; width: 340px; height: 340px; }
.cta__sparkle { position: absolute; color: var(--pink-pale); animation: sparkle 1.8s infinite; }
.cta__sparkle--a { top: 60px; right: 16%; font-size: 30px; }
.cta__sparkle--b { bottom: 70px; left: 14%; font-size: 24px; animation-duration: 2.1s; animation-delay: .6s; }
.cta__inner {
  position: relative; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.cta__float { display: block; animation: floaty 3.2s ease-in-out infinite; }
.cta__title {
  font-size: clamp(27px, 6.4vw, 46px); font-weight: 900; color: #FFFFFF;
  text-shadow: 4px 4px 0 rgba(74, 59, 48, .25); line-height: 1.3;
  text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere;
}
.cta__lead { font-size: 16px; font-weight: 700; color: var(--pink-pale); }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.footer {
  background: var(--ink); color: #C9B592; text-align: center;
  font-size: 12px; font-weight: 700; padding: 18px;
}
.footer__links { margin-top: 8px; }
.footer a { color: #C9B592; text-decoration: underline; }
.footer a:hover { color: var(--bg); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .hero__inner { grid-template-columns: 1fr; padding: 48px 0 64px; gap: 32px; }
  .hero__lead { max-width: none; }
  .hero__art { margin-inline: auto; max-width: 430px; width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .features__grid { grid-template-columns: 1fr; }
  .section { padding: 72px var(--gutter) 68px; }
  .shots, .demo { padding: 72px var(--gutter); }
  .shots__list {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 18px calc(50% - 142px) 26px;
    gap: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .shots__item { scroll-snap-align: center; flex: none; }
}

@media (max-width: 640px) {
  .nav__brand span { font-size: 16px; }
  .nav__cta { font-size: 13px; padding: 9px 16px; }
  .hero__lead { font-size: 16px; line-height: 1.9; }
  .hero__actions { gap: 10px; }
  .badge { padding: 10px 20px; }
  .badge--lg { padding: 11px 22px; }
  .marquee__group { font-size: 18px; gap: 26px; padding-right: 26px; }
  .feature { flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 22px; }
  .step { padding: 34px 22px 26px; }
  .cta { padding: 72px var(--gutter) 64px; }
}

@media (max-width: 440px) {
  .demo__stage { --demo-scale: .82; }
  .hero__bubble { font-size: 19px; padding: 6px 14px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal-up { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .demo__burst { opacity: 0; }
}
