/* StudyPocket English の LP。色はアプリの SPColor、見出しの青と黄色はストアのスクショ（tools/store-screenshots）と同じ */

:root {
  --cta: #4758f6;
  --blue-top: #2f3fe0;
  --blue-bottom: #6a7afa;
  --yellow: #ffdf5e;
  --marker: #ffefa3;
  --logo-1: #003ec7;
  --logo-2: #05c6e3;
  --ground: #f5f6fc;
  --surface: #ffffff;
  --p50: #eef2ff;
  --p100: #e0e7ff;
  --p200: #c7d2fe;
  --p600: #4338ca;
  --p900: #1e1b4b;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --green: #16a34a;
  --green-deep: #15803d;
  --green-50: #f0fdf4;
  --green-300: #86efac;
  --hint-50: #fffbeb;
  --hint-100: #fef3c7;
  --hint-500: #f59e0b;
  --hint-800: #92400e;
  --caution: #ea580c;

  --col: 440px;
  --radius-l: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(30, 27, 75, 0.08);
  --shadow-float: 0 24px 60px rgba(16, 24, 110, 0.32);

  /* 参考にした LP と同じ、少し行き過ぎて戻る緩急 */
  --ease-spring: cubic-bezier(0.2, 1.6, 0.4, 1);
  --ease-pop: cubic-bezier(0.2, 1.2, 0.4, 1);
  --ease-out: cubic-bezier(0.2, 0.9, 0.2, 1);
  --ease-wipe: cubic-bezier(0.7, 0, 0.2, 1);

  --font: "Hiragino Sans", "ヒラギノ角ゴシック", "Noto Sans JP", system-ui, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
p,
h1,
h2,
h3,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
em {
  font-style: normal;
}
[hidden] {
  display: none !important;
}
section {
  scroll-margin-top: 56px;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 置き方: スマホは1列、PC は真ん中の列と左右の案内 ---------- */
.sky {
  display: none;
}
.side {
  display: none;
}
.col {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ground);
  overflow: clip;
}

@media (min-width: 1100px) {
  body {
    background: var(--blue-top);
  }
  .sky {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--blue-top), var(--blue-bottom));
  }
  .sky__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    animation: drift 26s ease-in-out infinite;
  }
  .sky__orb--1 {
    width: 62vw;
    height: 62vw;
    left: -24vw;
    top: -26vw;
  }
  .sky__orb--2 {
    width: 46vw;
    height: 46vw;
    right: -18vw;
    bottom: -20vw;
    animation-delay: -9s;
    animation-duration: 32s;
  }
  .sky__orb--3 {
    width: 22vw;
    height: 22vw;
    right: 10vw;
    top: 8vh;
    background: rgba(5, 198, 227, 0.12);
    animation-delay: -4s;
  }
  .col {
    z-index: 1;
    width: var(--col);
    max-width: none;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.18),
      0 40px 120px rgba(10, 14, 80, 0.45);
  }
  .side {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: calc((100vw - var(--col)) / 2);
    padding: 40px clamp(24px, 3vw, 56px);
    align-items: center;
    color: #fff;
  }
  .side--l {
    left: 0;
    justify-content: center;
  }
  .side--r {
    right: 0;
    justify-content: center;
  }
  .side__inner {
    width: 100%;
    max-width: 320px;
  }
  .stick {
    display: none !important;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3vw, 4vh) scale(1.06);
  }
}

/* ---------- 左: ストアのアプリのカードの形 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.brand img {
  filter: drop-shadow(0 1px 3px rgba(15, 23, 42, 0.18));
}
.appcard {
  padding: 22px 20px 20px;
  border-radius: var(--radius-xl);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 70px rgba(10, 14, 80, 0.35);
  animation: float 5s ease-in-out infinite;
}
.appcard__head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.appcard__icon {
  flex: none;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 8px rgba(30, 27, 75, 0.16));
}
.appcard__name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}
.appcard__sub {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink-2);
}
.appcard__faces {
  display: flex;
  align-items: center;
  margin: 18px 0 16px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--ground);
}
.appcard__faces img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 28%;
  border: 2px solid #fff;
  margin-right: -8px;
  animation: bob 2.6s ease-in-out infinite;
}
.appcard__faces img:nth-child(2) {
  animation-delay: -0.5s;
}
.appcard__faces img:nth-child(3) {
  animation-delay: -1s;
}
.appcard__faces img:nth-child(4) {
  animation-delay: -1.5s;
}
.appcard__faces img:nth-child(5) {
  animation-delay: -2s;
}
.appcard__faces span {
  margin-left: 18px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
}
.appcard .stores {
  --badge-h: 40px;
  justify-content: flex-start;
}
.qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--ink-2);
}
.qr__code {
  flex: none;
  width: 84px;
  height: 84px;
}
.qr__code svg {
  width: 100%;
  height: 100%;
  display: block;
}
.side__school {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.2s;
}
.side__school:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* ---------- 右: 先生が、いま見ている段のことを話す ---------- */
.guide {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rig--mini {
  width: 200px;
  border-radius: 52px;
  animation-duration: 5s;
}
.rig--mini .rig__name {
  left: 14px;
  bottom: 14px;
}
.guide__bubble {
  width: 100%;
  max-width: 300px;
  margin-top: -26px;
  z-index: 2;
  transition: transform 0.5s var(--ease-pop);
}
.guide__bubble.is-new {
  animation: bubble-in 0.55s var(--ease-pop);
}
.guide__bubble .bubble__en {
  font-size: 15px;
  min-height: 2.9em;
}
.voicebar {
  margin-top: 26px;
  text-align: center;
}
.voicebar__bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 48px;
}
.voicebar__bars button {
  position: relative;
  width: 7px;
  height: var(--h);
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    height 0.5s var(--ease-spring),
    background 0.3s;
}
.voicebar__bars button:hover {
  background: #fff;
}
.voicebar__bars button.is-current {
  height: 48px;
  background: var(--yellow);
}
.voicebar__bars button::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease-pop);
}
.voicebar__bars button:hover::after,
.voicebar__bars button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.voicebar__label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.voicebar__label::before {
  content: "いま見ているところ：";
  font-weight: 700;
  opacity: 0.75;
}

/* ---------- 上の帯 ---------- */
/* いちばん上の細い帯。前は学校向けの LP だったドメインなので、学校・教育委員会の人を学校向けへ */
.giga {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--p50);
}
.giga b {
  font-weight: 800;
  color: var(--p600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.giga span {
  color: var(--p600);
  transition: transform 0.3s var(--ease-spring);
}
.giga:hover span {
  transform: translateX(3px);
}
.progress {
  position: sticky;
  top: 0;
  z-index: 31;
  height: 0;
}
.progress span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--logo-1), var(--logo-2));
}
.hd {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 56px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 246, 252, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.hd.is-scrolled {
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 20px rgba(30, 27, 75, 0.06);
}
.hd .brand {
  font-size: 15px;
}
.hd__cta {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cta);
  box-shadow: 0 4px 12px rgba(71, 88, 246, 0.35);
  transition: transform 0.3s var(--ease-spring);
}
.hd__cta:hover {
  transform: translateY(-2px);
}
.hd__cta:active {
  transform: translateY(1px);
}

/* ---------- 見出し ---------- */
.h2 {
  font-size: clamp(28px, 8vw, 34px);
  line-height: 1.34;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.01em;
}
.h2 em {
  color: var(--cta);
  background: linear-gradient(var(--marker), var(--marker)) 0 88% / 0 0.38em no-repeat;
  transition: background-size 0.8s var(--ease-wipe) 0.5s;
}
.h2.is-in em {
  background-size: 100% 0.38em;
}
.h2--light {
  color: #fff;
}
.h2--light em {
  color: var(--yellow);
  background: none;
}
.h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}
.note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-3);
  margin-top: 12px;
}

/* 1字ずつ下から跳ねて出る */
.line {
  display: block;
  overflow: hidden;
  padding: 0 0.04em 0.06em;
  margin-bottom: -0.06em;
}
.js [data-split] .ch {
  display: inline-block;
  transform: translateY(108%) rotate(8deg);
  opacity: 0;
}
.js [data-split].is-in .ch {
  transform: none;
  opacity: 1;
  transition:
    transform 0.75s var(--ease-spring),
    opacity 0.3s linear;
  transition-delay: calc(var(--i) * 34ms);
}

/* 出てくる */
.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.js .rv.is-in {
  opacity: 1;
  transform: none;
}
.js .pop {
  opacity: 0;
  transform: translateY(26px) scale(0.9);
  transition:
    opacity 0.5s var(--ease-out) 0.25s,
    transform 0.9s var(--ease-pop) 0.25s;
}
.js .is-in > .pop,
.js .pop.is-in {
  opacity: 1;
  transform: none;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-6px) rotate(-1.5deg);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes shout {
  0% {
    opacity: 0;
    transform: rotate(var(--r, -10deg)) scale(2.2);
  }
  60% {
    opacity: 1;
    transform: rotate(var(--r, -10deg)) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--r, -10deg)) scale(1);
  }
}
@keyframes shine {
  0%,
  62% {
    left: -40%;
  }
  82%,
  100% {
    left: 130%;
  }
}
@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0);
  }
  15% {
    transform: rotate(-7deg) scale(1.05);
  }
  30% {
    transform: rotate(6deg) scale(1.05);
  }
  45% {
    transform: rotate(-4deg);
  }
  60% {
    transform: rotate(2deg);
  }
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
@keyframes nudge {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* ---------- 字幕のように流れる英文（アプリの先生の字幕と同じ形） ---------- */
.subs {
  padding: 8px 0 36px;
  overflow: hidden;
}
.subs__row {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 6px 0 10px;
  animation: marquee 52s linear infinite;
}
.sub {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 10px 18px 10px 44px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
  line-height: 1.45;
}
.sub b {
  font-size: 15px;
  font-weight: 800;
}
.sub small {
  font-size: 11px;
  color: var(--ink-2);
}
.sub .wave {
  top: 50%;
  margin-top: -9px;
}
.sub .wave i {
  animation: wave 0.8s ease-in-out infinite;
}
.sub .wave i:nth-child(2) {
  animation-delay: -0.2s;
}
.sub .wave i:nth-child(3) {
  animation-delay: -0.4s;
}
.sub .wave i:nth-child(4) {
  animation-delay: -0.6s;
}

/* ---------- いちばん上 ---------- */
.fv {
  position: relative;
  padding: 28px 20px 48px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-top), var(--blue-bottom));
}
.fv::before,
.fv::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.fv::before {
  width: 420px;
  height: 420px;
  right: -180px;
  top: 120px;
}
.fv::after {
  width: 300px;
  height: 300px;
  left: -150px;
  bottom: 120px;
}
.fv > * {
  position: relative;
  z-index: 1;
}
.fv__lead {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  font-weight: 700;
}
.fv__title {
  font-size: clamp(42px, 12.4vw, 56px);
  line-height: 1.24;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}
.fv__title em {
  color: var(--yellow);
}

.stage {
  position: relative;
  width: min(100%, 330px);
  margin: 26px auto 0;
}
.rig {
  position: relative;
  aspect-ratio: 4 / 4.35;
  overflow: hidden;
  border-radius: 76px;
  background: #cfe3f7;
  box-shadow:
    0 0 0 5px #fff,
    var(--shadow-float);
  animation: float 4.2s ease-in-out infinite;
}
.rig__img {
  position: relative;
  width: 100%;
  aspect-ratio: 682 / 1024;
  margin-top: -2%;
}
.rig__base {
  width: 100%;
  height: 100%;
}
.rig__part {
  position: absolute;
  height: auto;
  pointer-events: none;
}
/* 位置は make_images.py が manifest.json の箱から出した % */
.rig--chloe .rig__eyes {
  left: 30.499%;
  top: 29.004%;
  width: 38.71%;
}
.rig--chloe .rig__happy {
  left: 29.619%;
  top: 24.219%;
  width: 40.762%;
}
.rig--chloe .rig__mouth {
  left: 38.416%;
  top: 39.941%;
  width: 23.167%;
}
.rig--ben .rig__eyes {
  left: 30.499%;
  top: 28.516%;
  width: 37.243%;
}
.rig--ben .rig__happy {
  left: 29.326%;
  top: 22.949%;
  width: 39.589%;
}
.rig--ben .rig__mouth {
  left: 36.657%;
  top: 41.211%;
  width: 26.393%;
}
.rig__happy {
  opacity: 0;
}
.rig.is-happy .rig__happy {
  opacity: 1;
}
.rig.is-happy .rig__eyes {
  opacity: 0;
}
.glass {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(1.8);
  backdrop-filter: blur(12px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.rig__name {
  left: 18px;
  bottom: 74px;
}
.rig__state {
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
}
.rig__state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 3px rgba(71, 88, 246, 0.2);
}
.rig__state.is-turn i {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.talk {
  position: relative;
  z-index: 3;
  margin: -64px 6px 0;
  min-height: 96px;
}
.bubble {
  position: relative;
  padding: 13px 16px 12px;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-float);
}
.bubble--ai {
  padding-left: 46px;
}
.bubble__en {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  min-height: 1.45em;
}
.bubble__ja {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 3px;
  transition: opacity 0.3s;
}
.bubble__ja.is-hidden {
  opacity: 0;
}
/* 自分の発話は先生の字幕の上に、右に寄せて重ねる（アプリの LearnerLine と同じ置き方） */
.bubble--me {
  position: absolute;
  right: 4px;
  bottom: calc(100% + 8px);
  max-width: 64%;
  padding: 8px 14px;
  border-radius: 17px;
  background: var(--green-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 10px 26px rgba(21, 128, 61, 0.3);
  animation: bubble-in 0.55s var(--ease-pop) both;
}
@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: currentColor;
  animation: caret 0.8s step-end infinite;
}

/* 先生が話しているときの波（アプリの VoiceIndicator） */
.wave {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 18px;
}
.wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--cta);
  transform: scaleY(0.35);
}
.is-speaking .wave i {
  animation: wave 0.7s ease-in-out infinite;
}
.is-speaking .wave i:nth-child(2) {
  animation-delay: -0.15s;
}
.is-speaking .wave i:nth-child(3) {
  animation-delay: -0.3s;
}
.is-speaking .wave i:nth-child(4) {
  animation-delay: -0.45s;
}

.sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 24px rgba(10, 14, 80, 0.28);
  opacity: 0;
}
.sticker--hint {
  --r: -12deg;
  left: -12px;
  top: 30px;
  background: var(--yellow);
  color: var(--p900);
}
.sticker--ok {
  --r: 10deg;
  right: -14px;
  top: 170px;
  background: #fff;
  color: var(--cta);
}
.is-in .sticker,
.stage.is-in .sticker {
  animation: shout 0.6s var(--ease-pop) forwards;
}
.stage.is-in .sticker--hint {
  animation-delay: 1s;
}
.stage.is-in .sticker--ok {
  animation-delay: 1.25s;
}

.fv__cta {
  margin-top: 26px;
}
.fv__note {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  opacity: 0.9;
}
.proof {
  margin-top: 28px;
  padding: 16px 12px;
  border-radius: var(--radius-l);
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}
.proof__num {
  font-size: clamp(15px, 4.6vw, 19px);
  font-weight: 800;
  margin: 2px 0;
  white-space: nowrap;
}
.proof__num em {
  color: var(--yellow);
  margin: 0 2px;
}

/* ---------- ストアのボタン ----------
   Apple・Google の公式のバッジをそのまま出す（形・色を変えない、動かさない、光を重ねない）。
   2つは見える高さをそろえる（Google は「ほかのストアと同じかそれより大きく」）、間は高さの 1/4。
   Google Play の画像は上下に透明な余白がある（高さ 250px のうち黒いところは 29〜220px の 192px）ので、
   その分だけ大きく出して、余白を負のマージンで打ち消す。
   Google Play のほうが横に長い（見える縦横の比 646:192）ので、2つとも Google Play の幅の透明な枠に入れて真ん中に置き、
   並びを左右対称にする（枠に色を付けるとバッジを変えたことになるので付けない） */
.stores {
  --badge-h: 43px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--badge-h) / 4);
}
html[data-os="ios"] .fv .store[data-store="android"],
html[data-os="ios"] .end .store[data-store="android"],
html[data-os="android"] .fv .store[data-store="ios"],
html[data-os="android"] .end .store[data-store="ios"] {
  display: none;
}
.store {
  display: flex;
  justify-content: center;
  flex: none;
  width: calc(var(--badge-h) * 646 / 192);
  line-height: 0;
}
.store img {
  display: block;
  width: auto;
  height: var(--badge-h);
}
.store[data-store="android"] img {
  height: calc(var(--badge-h) * 250 / 192);
  margin: calc(var(--badge-h) * -29 / 192) 0;
}
/* Google Play で公開する前（config.js の androidComingSoon）。バッジは変えずに隠し、同じ大きさの札を出す */
.store--soon img {
  display: none;
}
.store__soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--badge-h);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.store__soon small {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
}
.store:focus-visible {
  outline: none;
}
.store:focus-visible img {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- なやみ ---------- */
.worry {
  padding: 84px 20px 76px;
}
.worry__list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.worry__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px 12px 12px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.worry__item:nth-child(2) {
  transition-delay: 0.12s;
}
.worry__item:nth-child(3) {
  transition-delay: 0.24s;
}
.worry__item img {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
}
.worry__item p {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}
.strike {
  background: linear-gradient(var(--cta), var(--cta)) 0 58% / 0 3px no-repeat;
  transition:
    background-size 0.55s var(--ease-wipe),
    color 0.4s;
}
.worry__item.is-in .strike {
  background-size: 100% 3px;
  color: var(--ink-3);
  transition-delay: 0.9s;
}
.worry__item:nth-child(2).is-in .strike {
  transition-delay: 1.05s;
}
.worry__item:nth-child(3).is-in .strike {
  transition-delay: 1.2s;
}
.worry__answer {
  position: relative;
  margin-top: 44px;
  text-align: center;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.6;
}
.worry__answer em {
  color: var(--cta);
}
.stamp {
  --r: 0deg;
  display: inline-grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--cta);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow:
    0 0 0 6px var(--p100),
    0 14px 30px rgba(71, 88, 246, 0.35);
  opacity: 0;
}
.worry__answer.is-in .stamp {
  animation: shout 0.7s var(--ease-pop) 0.35s forwards;
}
.arrow {
  display: block;
  width: 18px;
  height: 18px;
  margin: 22px auto 0;
  border-right: 3px solid var(--cta);
  border-bottom: 3px solid var(--cta);
  transform: rotate(45deg);
  animation: nudge 1.4s ease-in-out infinite;
}

/* ---------- POINT ---------- */
.point,
.lessons,
.growth,
.safe,
.price,
.faq {
  padding: 84px 20px 80px;
}
.point__no {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  line-height: 1;
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.point__no {
  background: linear-gradient(135deg, var(--logo-1), var(--logo-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.point__no span {
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 6px;
  color: var(--cta);
  -webkit-text-fill-color: var(--cta);
}
.point__text {
  margin: 18px auto 0;
  max-width: 360px;
  font-size: 15px;
  color: var(--ink-2);
  text-align: center;
}
.point__text b {
  color: var(--ink);
}
.point__sub {
  margin: 26px auto 0;
  max-width: 360px;
  font-size: 13px;
  text-align: center;
  color: var(--ink-2);
}
.point--blue,
.screens,
.teachers {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-top), var(--blue-bottom));
  position: relative;
  overflow: hidden;
}
.point--blue .point__no,
.teachers .point__no {
  background: none;
  color: #fff;
}
.point--blue .point__no span {
  color: var(--yellow);
  -webkit-text-fill-color: var(--yellow);
}
.point--blue .point__text,
.point--blue .point__sub,
.teachers .point__sub {
  color: rgba(255, 255, 255, 0.92);
}
.point--blue .point__text b {
  color: var(--yellow);
}
.point--blue::before,
.screens::before,
.teachers::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  right: -170px;
  top: -90px;
  background: rgba(255, 255, 255, 0.08);
}

/* 好きな話題 */
.point--topics {
  padding-bottom: 40px;
}
.topics {
  margin-top: 28px;
}
.topics__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-2);
  transition:
    transform 0.35s var(--ease-spring),
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.chip:hover {
  transform: translateY(-2px);
}
.chip:active {
  transform: scale(0.94);
}
/* アプリの spSelectable と同じ、淡い青の地・濃い青の文字・青の枠 */
.chip[aria-selected="true"] {
  background: var(--p50);
  color: var(--p600);
  border-color: var(--cta);
}
.topics__talk {
  position: relative;
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.topics__scene {
  width: 168px;
  height: 168px;
  margin: 0 auto;
}
.topics__scene img {
  width: 100%;
  height: 100%;
  border-radius: 34px;
}
.topics__scene img.is-swap {
  animation: swap 0.6s var(--ease-pop);
}
@keyframes swap {
  0% {
    transform: scale(0.7) rotate(-6deg);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.topics__bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--ground);
}
.topics__face {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 28%;
}
.topics__en {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  min-height: 2.9em;
}
.topics__ja {
  font-size: 12px;
  color: var(--ink-2);
}
.scenes {
  margin: 34px -20px 0;
  display: grid;
  gap: 10px;
}
.scenes__row {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 44s linear infinite;
}
.scenes__row--rev {
  animation-direction: reverse;
  animation-duration: 52s;
}
.scenes__row img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

/* 端末の枠（ストアの絵と同じ、白い縁の角丸） */
.device {
  width: 248px;
  margin: 0 auto;
  padding: 7px;
  border-radius: 42px;
  background: #fff;
  box-shadow: var(--shadow-float);
}
.device img {
  border-radius: 36px;
  aspect-ratio: 640 / 1391;
  object-fit: cover;
}
.device--sm {
  width: 100%;
  padding: 5px;
  border-radius: 32px;
}
.device--sm img {
  border-radius: 27px;
}
.device-wrap {
  position: relative;
  margin-top: 32px;
  padding-bottom: 20px;
}
.device-wrap .device {
  height: 470px;
  overflow: hidden;
}
.device-wrap .device img {
  height: 100%;
  object-position: top;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ヒント */
.hint {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  margin: -190px auto 0;
  padding: 14px 14px 12px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 60px rgba(10, 14, 80, 0.4);
}
.hint__steps {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.hint__steps li {
  flex: 1;
  padding: 3px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  background: var(--ground);
  color: var(--ink-3);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.4s var(--ease-spring);
}
.hint__steps li.is-on {
  background: var(--hint-100);
  color: var(--hint-800);
}
.hint__steps li.is-now {
  transform: scale(1.06);
}
.hint__body {
  min-height: 124px;
}
.hint__q {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-2);
}
.hint__hint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.hint__words {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.hint__words span,
.hint__pattern,
.hint__full {
  animation: bubble-in 0.5s var(--ease-pop) both;
}
.hint__words span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}
.hint__words span:nth-child(2) {
  animation-delay: 0.08s;
}
.hint__words span:nth-child(3) {
  animation-delay: 0.16s;
}
.hint__words small {
  margin-left: 6px;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 700;
}
.hint__pattern,
.hint__full {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}
.hint__pattern {
  background: var(--hint-50);
}
.hint__pattern i {
  display: inline-block;
  width: 2.4em;
  height: 1.1em;
  margin: 0 0.1em;
  vertical-align: -0.2em;
  border-bottom: 2.5px solid var(--hint-500);
}
.hint__full {
  background: var(--green-50);
  color: var(--green-deep);
}
.hint__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  border: 0;
  border-radius: 999px;
  background: var(--hint-100);
  color: var(--hint-800);
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.35s var(--ease-spring);
}
.hint__btn:active {
  transform: scale(0.96);
}
.hint__btn.is-nudge {
  animation: wiggle 0.7s ease-in-out;
}
/* 電球（アプリのヒントの lightbulb.fill）。完成文まで見たら「はじめから」の戻る矢印に替える */
.bulb {
  width: 20px;
  height: 20px;
  flex: none;
  fill: var(--hint-500);
}
.bulb__reset,
.hint__btn.is-reset .bulb__on {
  display: none;
}
.hint__btn.is-reset .bulb__reset {
  display: inline;
}

/* 間違いを数えない */
.fix {
  position: relative;
  margin: 34px auto 0;
  max-width: 360px;
  display: grid;
  gap: 12px;
}
.fix__me {
  justify-self: end;
  max-width: 92%;
  padding: 10px 16px 12px;
  border-radius: 20px 20px 6px 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.fix__who {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-deep);
}
.fix__me p {
  font-size: 17px;
  font-weight: 800;
}
.fix__word {
  background: linear-gradient(var(--caution), var(--caution)) 0 56% / 0 2.5px no-repeat;
  transition:
    background-size 0.45s var(--ease-wipe),
    color 0.3s;
}
.badge-ok {
  --r: -3deg;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1.5px solid var(--green-300);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
}
.badge-ok svg {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
}
.badge-ok path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset 0.4s ease-out 1.1s;
}
.fix__card {
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translateY(24px) scale(0.94);
}
.fix__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--green-deep);
}
.fix__en {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 2px;
}
.fix__new {
  background: linear-gradient(var(--marker), var(--marker)) 0 88% / 0 0.42em no-repeat;
  transition: background-size 0.6s var(--ease-wipe);
}
.fix__ja {
  font-size: 12px;
  color: var(--ink-2);
}
.js .fix .fix__me {
  opacity: 0;
  transform: translateY(16px);
}
.fix.is-in .fix__me {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s,
    transform 0.7s var(--ease-pop);
}
.fix.is-in .badge-ok {
  animation: shout 0.6s var(--ease-pop) 0.7s forwards;
}
.fix.is-in .badge-ok path {
  stroke-dashoffset: 0;
}
.fix.is-in .fix__card {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s 1.5s,
    transform 0.9s var(--ease-pop) 1.5s;
}
.fix.is-in .fix__word {
  background-size: 100% 2.5px;
  color: var(--ink-3);
  transition-delay: 2.1s;
}
.fix.is-in .fix__new {
  background-size: 100% 0.42em;
  transition-delay: 2.4s;
}

/* ---------- 画面の横の並び ---------- */
.screens,
.teachers {
  padding: 84px 0 72px;
}
.screens .h2,
.teachers .h2 {
  padding: 0 20px;
}
.carousel {
  position: relative;
  margin-top: 30px;
}
.carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 19% 24px;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__track > li {
  flex: none;
  width: 62%;
  scroll-snap-align: center;
  text-align: center;
  transform: scale(0.86);
  opacity: 0.55;
  transition:
    transform 0.6s var(--ease-pop),
    opacity 0.4s;
}
.carousel__track > li.is-active {
  transform: none;
  opacity: 1;
}
.carousel__track p {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.carousel__track p b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--yellow);
}
.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}
.carousel__nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 800;
  transition:
    transform 0.3s var(--ease-spring),
    background 0.2s;
}
.carousel__nav button:hover {
  background: rgba(255, 255, 255, 0.28);
}
.carousel__nav button:active {
  transform: scale(0.9);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition:
    width 0.4s var(--ease-spring),
    background 0.3s;
}
.dots button[aria-selected="true"] {
  width: 24px;
  background: #fff;
}

/* 先生 */
.carousel--teachers .carousel__track > li {
  width: 54%;
}
.tcard img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 10%;
  border-radius: 27%;
  box-shadow:
    0 0 0 4px #fff,
    var(--shadow-float);
  background: #dbe7f7;
}
.carousel__track > li.is-active .tcard img {
  animation: bob 2.4s ease-in-out infinite;
}
.tcard figcaption {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}
.tcard figcaption b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---------- レッスン ---------- */
.nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 28px;
}
.nums div {
  padding: 14px 6px 12px;
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.nums dt {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}
.nums dd {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--cta);
}
.nums small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}
.covers {
  display: grid;
  gap: 10px;
  margin: 30px -20px 0;
}
.covers__row {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.covers__row--rev {
  animation-direction: reverse;
  animation-duration: 80s;
}
.covers__row img {
  width: 150px;
  height: 100px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.flow {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
.flow__step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}
.flow__step b {
  font-size: 16px;
  font-weight: 800;
}
.flow__step p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.flow__no {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--p100);
  color: var(--cta);
  font-weight: 800;
  font-size: 17px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.5s var(--ease-spring),
    border-color 0.3s;
}
.is-lit .flow__no {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  transform: scale(1.12);
}
.flow__rail {
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 2px;
  background: var(--p100);
}
.flow__rail i {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--p, 0) * 100%);
  border-radius: 2px;
  background: linear-gradient(var(--logo-1), var(--logo-2));
}

.story {
  margin-top: 44px;
  padding: 20px 16px 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.story__text {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
}
.story__frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.story__frames figure {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
}
.story.is-in figure {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s,
    transform 0.7s var(--ease-pop);
}
.story.is-in figure:nth-child(2) {
  transition-delay: 0.35s;
}
.story.is-in figure:nth-child(3) {
  transition-delay: 0.7s;
}
.story__frames figcaption {
  position: absolute;
  left: 4px;
  top: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 800;
}
.story__next img {
  filter: blur(6px) saturate(0.6);
  transform: scale(1.08);
  transition:
    filter 0.8s,
    transform 0.8s;
}
.story__q {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  font-size: 30px;
  font-weight: 800;
  color: var(--cta);
  background: rgba(238, 242, 255, 0.6);
  transition: opacity 0.6s;
}
.story.is-open .story__next img {
  filter: none;
  transform: none;
}
.story__q small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 800;
}
.story.is-open .story__q {
  opacity: 0;
}
.bubble--sm {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 16px 10px 44px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-card);
  background: var(--ground);
}
.bubble--sm .wave {
  top: 13px;
}

.more {
  margin-top: 12px;
  padding: 12px 16px 12px 52px;
  position: relative;
  border-radius: var(--radius-l);
  background: var(--p50);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
/* 「＋」は文字だと書体で上下にずれるので、線2本で描く */
.more::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background:
    linear-gradient(#fff, #fff) center / 12px 2.5px no-repeat,
    linear-gradient(#fff, #fff) center / 2.5px 12px no-repeat,
    var(--cta);
}
.more b {
  display: block;
  font-size: 14px;
  color: var(--p600);
}

/* ---------- 伸び ---------- */
.radar {
  margin: 26px auto 0;
  max-width: 340px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.radar svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.radar__grid polygon {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.radar__grid line {
  stroke: var(--line);
  stroke-width: 1;
}
.radar__first {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}
.radar__now {
  fill: rgba(34, 197, 94, 0.2);
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linejoin: round;
  transform: scale(0);
  transform-origin: 0 0;
}
.radar.is-in .radar__now {
  transform: scale(1);
  transition: transform 1.2s var(--ease-pop) 0.4s;
}
.radar__labels text {
  font-size: 11px;
  font-weight: 700;
  fill: var(--ink-2);
  font-family: var(--font);
}
.radar__legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}
.radar__legend li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 0;
  margin-right: 6px;
  vertical-align: middle;
  border-top: 2px dashed #94a3b8;
}
.radar__legend li.is-now::before {
  border-top: 3px solid var(--green);
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px auto 0;
  max-width: 340px;
}
.tiles li {
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.tiles li:nth-child(2) {
  transition-delay: 0.08s;
}
.tiles li:nth-child(3) {
  transition-delay: 0.16s;
}
.tiles li:nth-child(4) {
  transition-delay: 0.24s;
}
.tiles li > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}
.tiles b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}
.tiles small {
  font-size: 10px;
  color: var(--ink-3);
}
.growth .note {
  text-align: center;
}

/* ---------- 安心 ---------- */
.check {
  margin-top: 28px;
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.check li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.check li + li {
  border-top: 1px solid var(--line);
}
.check b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.check svg {
  width: 28px;
  height: 28px;
}
.check rect {
  fill: var(--p50);
  stroke: var(--p200);
  stroke-width: 1.5;
}
.check path {
  fill: none;
  stroke: var(--cta);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}
.check.is-in path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.45s ease-out;
}
.check.is-in li:nth-child(1) path {
  transition-delay: 0.3s;
}
.check.is-in li:nth-child(2) path {
  transition-delay: 0.65s;
}
.check.is-in li:nth-child(3) path {
  transition-delay: 1s;
}
.check.is-in li:nth-child(4) path {
  transition-delay: 1.35s;
}
.family {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--hint-50);
  border: 1px solid var(--hint-100);
  font-size: 13px;
  font-weight: 700;
  color: var(--hint-800);
  text-align: center;
}

/* ---------- 料金 ---------- */
.price {
  background: #fff;
}
.plan {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-left: 40px;
}
.plan .flow__rail {
  left: 13px;
  top: 18px;
  bottom: 40px;
}
.plan__step {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  border-radius: var(--radius-l);
  background: var(--ground);
}
.plan__step::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--p100);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.5s var(--ease-spring);
}
.plan__step.is-lit::before {
  background: var(--cta);
  border-color: var(--cta);
  transform: scale(1.15);
}
.plan__step b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}
.plan__step p {
  font-size: 12px;
  color: var(--ink-2);
}
.plan__tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--p50);
  color: var(--p600);
  font-size: 11px;
  font-weight: 800;
}
.plan__step--paid {
  background: var(--p50);
}
.plan__step--paid .plan__tag {
  background: #fff;
}
.plan__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.plan__cards div {
  position: relative;
  padding: 12px 10px 10px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid var(--p100);
  text-align: center;
}
.plan__cards span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
}
.plan__cards b {
  font-size: 20px;
}
.plan__cards em {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--green-deep);
  background: var(--green-50);
  border-radius: 999px;
  padding: 1px 0;
}

/* ---------- 学校・塾 ---------- */
.school {
  padding: 84px 20px 80px;
  color: #fff;
  background: radial-gradient(120% 80% at 100% 0, #3b3a9e 0, var(--p900) 60%);
}
.school__tag {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 3px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 800;
}
.school__list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.school__list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.school__list li:nth-child(2) {
  transition-delay: 0.08s;
}
.school__list li:nth-child(3) {
  transition-delay: 0.16s;
}
.school__list li:nth-child(4) {
  transition-delay: 0.24s;
}
.school__list b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  min-height: 58px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.35s var(--ease-spring);
}
.btn span {
  transition: transform 0.35s var(--ease-spring);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover span {
  transform: translateX(5px);
}
.btn--white {
  background: #fff;
  color: var(--p900);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
/* 学校の授業の GIGA 端末で使う、別の製品（学校向けの LP）へ */
.school__giga {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.school__giga:hover {
  background: rgba(255, 255, 255, 0.16);
}
.school__giga small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}
.school__giga b {
  grid-column: 1;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}
.school__giga span {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.3s var(--ease-spring);
}
.school__giga:hover span {
  transform: translateX(4px);
}

/* ---------- よくある質問 ---------- */
.faq__list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.faq details {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.faq summary {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 16px 44px 16px 16px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "Q";
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--cta);
  color: #fff;
  font-size: 13px;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2.5px solid var(--ink-3);
  border-bottom: 2.5px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-spring);
}
.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: -2px;
}
.faq details p {
  padding: 0 16px 16px 50px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
}
.faq details[open] p {
  animation: bubble-in 0.45s var(--ease-out);
}

/* ---------- さいご ---------- */
.end {
  position: relative;
  overflow: hidden;
  padding: 72px 20px 56px;
  color: #fff;
  background: linear-gradient(180deg, var(--blue-top), var(--blue-bottom));
  text-align: center;
}
.end__en {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
  font-size: 76px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-family: "Avenir Next", "Hiragino Sans", var(--font);
}
.end__en span {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 255, 255, 0.7);
}
.end__en span + span {
  color: var(--yellow);
  -webkit-text-stroke: 0;
}
.end__faces {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 150px;
  margin: 22px -20px -2px;
}
.end__faces img {
  width: 104px;
  margin: 0 -14px;
  animation: bob 2.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(10, 14, 80, 0.3));
}
.end__faces img:nth-child(3) {
  width: 124px;
  z-index: 1;
}
.end__faces img:nth-child(2) {
  animation-delay: -0.5s;
}
.end__faces img:nth-child(3) {
  animation-delay: -1s;
}
.end__faces img:nth-child(4) {
  animation-delay: -1.5s;
}
.end__faces img:nth-child(5) {
  animation-delay: -2s;
}
.end__box {
  position: relative;
  z-index: 2;
  padding: 20px 16px 16px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-float);
  color: var(--ink);
}
.end__box .fv__note {
  color: var(--ink-2);
  opacity: 1;
}

/* ---------- 下 ---------- */
.ft {
  padding: 40px 20px 120px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-2);
}
.ft ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 18px 0 14px;
}
.ft a {
  text-decoration: none;
}
.ft a:hover {
  text-decoration: underline;
}
.ft__small {
  margin-top: 6px;
  font-size: 10px;
  color: var(--ink-3);
}

/* ---------- 下に出すボタン ---------- */
.stick {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  width: min(calc(100% - 24px), 536px);
  transform: translate(-50%, 150%);
  transition: transform 0.6s var(--ease-pop);
}
.stick.is-on {
  transform: translate(-50%, 0);
}
.stick__btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 18px 10px 10px;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-top), var(--cta));
  box-shadow: 0 14px 34px rgba(30, 40, 200, 0.45);
}
.stick__btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-18deg);
  animation: shine 3.6s ease-in-out infinite;
}
.stick__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
}
.stick__btn > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
}
.stick__btn small {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
}
.stick__btn b {
  font-size: 16px;
  font-weight: 800;
}
.stick__btn i {
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  animation: poke 1.4s ease-in-out infinite;
}
@keyframes poke {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .rv,
  .js .pop,
  .js [data-split] .ch,
  .js .fix .fix__me,
  .fix__card,
  .story__frames figure,
  .badge-ok,
  .sticker,
  .stamp {
    opacity: 1 !important;
    transform: none !important;
  }
  .sticker--hint {
    transform: rotate(-12deg) !important;
  }
  .sticker--ok {
    transform: rotate(10deg) !important;
  }
  .radar__now {
    transform: none !important;
  }
  .h2 em {
    background-size: 100% 0.38em;
  }
  .check path,
  .badge-ok path {
    stroke-dashoffset: 0;
  }
  .strike {
    background-size: 100% 3px;
  }
  .fix__word {
    background-size: 100% 2.5px;
  }
  .fix__new {
    background-size: 100% 0.42em;
  }
}
