:root {
  color-scheme: light;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --ink: #2F2B45;
  --ink-soft: #6B6684;
  --line: #F1E8DE;
  --line-strong: #E6DCD1;
  --shadow: #EFE4DA;
  --navy: #1B1830;
  --yellow: #FFC94D; --yellow-soft: #FFF3D6; --yellow-deep: #A8730E; --yellow-edge: #D9A63A;
  --blue: #5AAEEA;   --blue-soft: #E3F2FD;   --blue-deep: #2A6FB0;   --blue-edge: #C6E1F5;
  --green: #57C9A3;  --green-soft: #E0F7EF;  --green-deep: #1F8A66;  --green-edge: #BFEBDA;
  --coral: #FF8A73;  --coral-soft: #FFE7E1;  --coral-deep: #C94F3A;  --coral-edge: #F7D0C6;
  --purple: #B99CF2; --purple-soft: #EFE7FF; --purple-deep: #5B44A6; --purple-edge: #D9CCF7;
  --pink: #F49AC1;   --pink-soft: #FDE6EF;   --pink-deep: #B5487A;   --pink-edge: #F5CBDC;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", ui-rounded, sans-serif;
  --num: "Nunito", "M PLUS Rounded 1c", ui-rounded, sans-serif;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-weight: 700; font-size: 16px; line-height: 1.9; overflow-x: hidden; }
img, video { max-width: 100%; }
a { color: var(--blue-deep); }
h1, h2, h3 { font-weight: 800; letter-spacing: .01em; }
mark { background: none; color: inherit; background-image: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.todo { background: var(--yellow-soft); border: 2px dashed var(--yellow); border-radius: 8px; padding: 0 6px; }

/* ===== ボタン ===== */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; text-decoration: none; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 12px 28px; font-weight: 800; font-size: 18px; line-height: 1.25; box-shadow: 0 5px 0 var(--yellow-edge); transition: transform .12s, box-shadow .12s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--yellow-edge); }
.btn-sm { font-size: 14px; padding: 8px 18px; box-shadow: 0 3px 0 var(--yellow-edge); }
.btn-store { background: var(--ink); color: var(--white); box-shadow: 0 5px 0 var(--navy); padding: 12px 32px; cursor: default; }
.btn-store:hover { transform: none; box-shadow: 0 5px 0 var(--navy); }
.btn-sub { font-size: 12px; font-weight: 700; opacity: .8; }
.btn-ghost { background: var(--white); box-shadow: 0 4px 0 var(--shadow); border: 2px solid var(--line-strong); font-size: 16px; }
.btn-ghost:hover { box-shadow: 0 2px 0 var(--shadow); }

/* ===== ヘッダー ===== */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: rgba(255, 248, 240, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--ink); font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.menu a:hover { background: var(--yellow-soft); }
@media (max-width: 820px) { .menu { display: none; } .top .btn-sm { margin-left: auto; } }

/* ===== ヒーロー ===== */
.hero { position: relative; background: var(--yellow); overflow: hidden; padding: 56px 20px 120px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; display: block; }
.shape.dot { width: 16px; height: 16px; border-radius: 50%; }
.shape.sq { width: 14px; height: 14px; border-radius: 3px; transform: rotate(18deg); }
.shape.tri { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid currentColor; background: none !important; }
.c-pink { background: var(--pink); color: var(--pink); } .c-green { background: var(--green); color: var(--green); } .c-blue { background: var(--blue); color: var(--blue); } .c-coral { background: var(--coral); color: var(--coral); } .c-purple { background: var(--purple); color: var(--purple); } .c-yellow { background: var(--yellow); color: var(--yellow); }
.float { position: absolute; filter: drop-shadow(0 6px 0 rgba(0,0,0,.08)); animation: floaty 5s ease-in-out infinite; }
.float.f2 { animation-duration: 6.5s; animation-delay: -2s; }
.float.f3 { animation-duration: 4.2s; animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.hero-in { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; }
.tag { display: inline-block; margin: 0 0 10px; background: var(--white); padding: 4px 16px; border-radius: 999px; font-size: 14px; box-shadow: 0 3px 0 var(--yellow-edge); }
.hero h1 { font-size: 56px; line-height: 1.15; margin: 0 0 10px; display: flex; align-items: center; gap: 14px; }
.h1-logo img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 4px 0 var(--yellow-edge); display: block; }
.catch { font-size: 30px; line-height: 1.45; margin: 0 0 14px; }
.lead { margin: 0 0 24px; font-size: 16px; line-height: 1.9; color: #4E4762; }
.cta { display: flex; align-items: center; gap: 18px; }
.cta.center { justify-content: center; margin-top: 20px; }
.cta-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta.center .cta-col { align-items: center; }
.free-badge { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--coral); color: var(--white); font-size: 21px; line-height: 1.2; text-align: center; font-weight: 800; box-shadow: 0 5px 0 var(--coral-deep); transform: rotate(-8deg); animation: pop 2.4s ease-in-out infinite; }
@keyframes pop { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(-8deg) scale(1.06); } }
.iap { font-size: 12px; color: var(--ink); opacity: .75; }
.hero-visual { position: relative; padding: 30px 10px 10px; }
.ipad { background: var(--ink); padding: 10px; border-radius: 26px; box-shadow: 0 8px 0 rgba(47, 43, 69, .22); }
.ipad img, .ipad video { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--cream); }
.ipad video { aspect-ratio: 2360 / 1640; }
.tilt { transform: rotate(-2deg); }
.char { position: absolute; z-index: 2; filter: drop-shadow(0 6px 0 rgba(0,0,0,.08)); }
.chick-p { width: 150px; left: -40px; bottom: -24px; animation: bob 3.2s ease-in-out infinite; }
.chick-c { width: 92px; left: 96px; bottom: -14px; animation: bob 3.2s ease-in-out infinite; animation-delay: -1.4s; }
.rabbit { width: 110px; right: -22px; top: -6px; animation: bob 3.8s ease-in-out infinite; animation-delay: -.7s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.wave { position: absolute; left: 0; right: 0; bottom: -2px; line-height: 0; }
.wave svg { width: 100%; height: 60px; display: block; }

/* ===== セクション ===== */
.sec { padding: 72px 20px; }
.sec-in { max-width: var(--max); margin: 0 auto; }
.sec-in.narrow { max-width: 760px; }
.sec-in.center { text-align: center; }
.sec-in.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.label { display: inline-block; margin: 0 0 12px; padding: 4px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.l-yellow { background: var(--yellow-soft); color: var(--yellow-deep); } .l-blue { background: var(--blue-soft); color: var(--blue-deep); } .l-green { background: var(--green-soft); color: var(--green-deep); } .l-coral { background: var(--coral-soft); color: var(--coral-deep); } .l-purple { background: var(--purple-soft); color: var(--purple-deep); } .l-pink { background: var(--pink-soft); color: var(--pink-deep); }
.sec h2 { font-size: 34px; line-height: 1.4; margin: 0 0 16px; }
.sec .desc { max-width: 760px; margin: 0 0 32px; color: #4E4762; }
.num { font-family: var(--num); font-weight: 900; font-size: 1.6em; color: var(--coral-deep); line-height: 1; vertical-align: -.08em; }
.note { color: var(--ink-soft); font-size: 14px; }

/* とは？ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--white); border-radius: 28px; padding: 28px 22px 22px; text-align: center; box-shadow: 0 6px 0 var(--shadow); border-top: 8px solid var(--pc); }
.p-yellow { --pc: var(--yellow); --pcs: var(--yellow-soft); } .p-blue { --pc: var(--blue); --pcs: var(--blue-soft); } .p-green { --pc: var(--green); --pcs: var(--green-soft); }
.pillar img { width: 110px; height: 110px; object-fit: contain; background: var(--pcs); border-radius: 50%; padding: 12px; }
.pillar h3 { font-size: 20px; margin: 14px 0 6px; }
.pillar p { margin: 0; font-size: 15px; color: #4E4762; }

/* スライダー */
.sec-slider { background: var(--white); padding-bottom: 60px; }
.slider { max-width: 1240px; margin: 0 auto; }
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px calc(50% - 300px) 24px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track figure { flex: 0 0 600px; margin: 0; scroll-snap-align: center; }
.track figcaption { text-align: center; margin-top: 12px; font-size: 15px; }
.slider-ui { display: flex; align-items: center; justify-content: center; gap: 18px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--yellow); color: var(--ink); font-size: 26px; line-height: 1; box-shadow: 0 4px 0 var(--yellow-edge); cursor: pointer; font-family: inherit; }
.arrow:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-edge); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line-strong); padding: 0; cursor: pointer; }
.dots button[aria-selected="true"] { background: var(--coral); width: 26px; border-radius: 999px; }

/* あそび方 */
.play-list { display: grid; gap: 28px; }
.play { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; background: var(--white); border-radius: 32px; padding: 26px; box-shadow: 0 6px 0 var(--shadow); position: relative; overflow: hidden; }
.play:nth-child(even) .ipad { order: 2; }
.play::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 10px; background: currentColor; opacity: .9; }
.play.c-green { color: var(--green); } .play.c-blue { color: var(--blue); } .play.c-coral { color: var(--coral); } .play.c-purple { color: var(--purple); } .play.c-yellow { color: var(--yellow); } .play.c-pink { color: var(--pink); }
.play .ipad, .play-copy { color: var(--ink); }
.play h3 { font-size: 24px; margin: 8px 0 8px; }
.play p { margin: 0 0 10px; font-size: 15px; color: #4E4762; }
.genre { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.g-yellow { background: var(--yellow-soft); color: var(--yellow-deep); } .g-blue { background: var(--blue-soft); color: var(--blue-deep); } .g-green { background: var(--green-soft); color: var(--green-deep); } .g-coral { background: var(--coral-soft); color: var(--coral-deep); } .g-purple { background: var(--purple-soft); color: var(--purple-deep); }
.mini { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mini li { background: var(--cream); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.mini li::before { content: "✓ "; color: var(--green-deep); }

/* ぜんぶの あそび */
.sec-all { background: var(--white); padding-bottom: 0; overflow: hidden; }
.genres { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 8px 0 12px; }
.gcard { border-radius: 22px; padding: 16px 16px 14px; }
.gcard h3 { margin: 0 0 8px; font-size: 18px; }
.gcard.g-yellow h3 { color: var(--yellow-deep); } .gcard.g-blue h3 { color: var(--blue-deep); } .gcard.g-green h3 { color: var(--green-deep); } .gcard.g-coral h3 { color: var(--coral-deep); } .gcard.g-purple h3 { color: var(--purple-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: var(--white); border-radius: 999px; padding: 3px 11px; font-size: 13px; box-shadow: 0 2px 0 rgba(47, 43, 69, .08); }
.parade { display: flex; gap: 36px; align-items: flex-end; padding: 30px 0 10px; width: max-content; animation: parade 48s linear infinite; }
.parade img { width: 84px; height: 84px; object-fit: contain; }
@keyframes parade { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .parade, .float, .free-badge, .char { animation: none !important; } }

/* その子に */
.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: 20px; padding: 14px 16px; box-shadow: 0 4px 0 var(--shadow); }
.points .icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-soft); font-size: 20px; }
.points li:nth-child(2) .icon { background: var(--blue-soft); } .points li:nth-child(3) .icon { background: var(--green-soft); } .points li:nth-child(4) .icon { background: var(--pink-soft); }
.points b { display: block; font-size: 16px; }
.points span:not(.icon) { font-size: 14px; color: #4E4762; display: block; line-height: 1.75; }
.fit-visual { position: relative; }
.bubble { position: relative; margin: 18px 10px 0; background: var(--white); border-radius: 20px; padding: 12px 18px; font-size: 14px; box-shadow: 0 4px 0 var(--shadow); }
.bubble::before { content: ""; position: absolute; top: -12px; left: 40px; border: 8px solid transparent; border-bottom-color: var(--white); border-top: 0; }

/* あんしん */
.sec-safe { background: var(--white); }
.safe-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
.safe-shot { position: sticky; top: 90px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { background: var(--cream); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.feature .icon { font-size: 26px; line-height: 1; }
.feature b { font-size: 16px; }
.feature span:not(.icon) { color: #4E4762; line-height: 1.75; }

/* りょうきん */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 12px 0 20px; }
.plan { position: relative; background: var(--white); border-radius: 28px; padding: 28px 26px; box-shadow: 0 6px 0 var(--shadow); }
.plan-premium { border: 3px solid var(--yellow); background: linear-gradient(180deg, var(--yellow-soft), var(--white) 40%); }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.price { font-family: var(--num); font-weight: 900; font-size: 44px; margin: 0 0 12px; line-height: 1.1; }
.price small { font-family: var(--font); font-size: 15px; font-weight: 700; margin-right: 8px; color: var(--ink-soft); }
.plan-premium .price { font-family: var(--font); font-size: 26px; margin-bottom: 2px; }
.price-note { margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { padding-left: 28px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-size: 12px; }
.ribbon { position: absolute; top: -16px; right: 20px; background: var(--coral); color: var(--white); padding: 4px 14px; border-radius: 999px; font-size: 13px; box-shadow: 0 3px 0 var(--coral-deep); }
.iap-note { font-size: 13px; color: var(--ink-soft); line-height: 1.8; max-width: 860px; }

/* FAQ */
details { background: var(--white); border-radius: 20px; padding: 0 20px; margin: 10px 0; box-shadow: 0 4px 0 var(--shadow); }
summary { cursor: pointer; padding: 16px 32px 16px 0; font-size: 17px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; position: absolute; right: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow-soft); color: var(--yellow-deep); display: grid; place-items: center; font-size: 16px; }
details[open] summary::after { content: "－"; }
details p { margin: 0; padding: 0 0 18px; font-size: 15px; color: #4E4762; }
.more { text-align: center; margin: 24px 0 0; }

/* しめ */
.sec-last { background: var(--yellow); padding: 60px 20px 80px; position: relative; overflow: hidden; }
.last-char { width: 130px; margin: 0 auto 6px; display: block; animation: bob 3.2s ease-in-out infinite; }
.sec-last h2 { margin-bottom: 6px; }

/* フッター */
.foot { background: var(--navy); color: var(--white); padding: 48px 20px 32px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
.foot-brand img { width: 56px; height: 56px; object-fit: contain; }
.foot-brand b { display: block; font-size: 20px; margin-top: 10px; }
.foot-brand p { margin: 2px 0 0; opacity: .7; font-size: 14px; }
.product { width: 100%; border-collapse: collapse; font-size: 14px; }
.product th, .product td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.12); vertical-align: top; }
.product th { width: 6em; opacity: .7; font-weight: 700; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-size: 14px; }
.legal a { color: var(--white); }
.copy { opacity: .6; font-size: 13px; margin: 18px 0 0; }
.foot .todo { color: var(--ink); }

/* ふわっと */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== スマホ ===== */
@media (max-width: 900px) {
  .hero { padding: 36px 16px 96px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero h1 { font-size: 38px; justify-content: center; }
  .h1-logo img { width: 48px; height: 48px; }
  .catch { font-size: 24px; }
  .cta { justify-content: center; }
  .cta-col { align-items: center; }
  .hero-visual { padding: 20px 28px 20px; }
  .chick-p { width: 110px; left: -6px; bottom: -10px; } .chick-c { width: 68px; left: 92px; bottom: -4px; } .rabbit { width: 80px; right: -4px; top: 0; }
  .sec { padding: 52px 16px; }
  .sec h2 { font-size: 26px; }
  .pillars { grid-template-columns: 1fr; }
  .track { padding: 12px 16px 20px; gap: 16px; }
  .track figure { flex: 0 0 86%; }
  .play { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .play:nth-child(even) .ipad { order: 0; }
  .sec-in.two { grid-template-columns: 1fr; gap: 28px; }
  .safe-grid { grid-template-columns: 1fr; }
  .safe-shot { position: static; }
  .features { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .free-badge { width: 92px; height: 92px; font-size: 18px; }
  .btn-store { padding: 10px 24px; font-size: 16px; }
  .parade img { width: 64px; height: 64px; }
}
