/* 教えてそれ！ サービス案内サイト — アプリの「夜空」デザインに合わせた配色・書体 */

@font-face {
  font-family: "Shippori Mincho Site";
  src: url("assets/fonts/shippori-mincho-site.woff2?v=20261005") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda Site";
  src: url("assets/fonts/bodoni-moda-site.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --sky0: #07161F;
  --sky1: #0E2E3A;
  --sky2: #1D4760;
  --sky3: #3E4394;
  --mint: #9BE3D0;
  --lav: #B9B3FF;
  --teal: #0F7777;
  --gold: #F3E3B5;
  --ink: #fff;
  --soft: rgba(255, 255, 255, .76);
  --dim: rgba(255, 255, 255, .52);
  --on-glow: #07232A;
  --line: rgba(255, 255, 255, .18);
  --mincho: "Hiragino Mincho ProN", "Shippori Mincho Site", "Yu Mincho", "YuMincho", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --didot: "Didot", "Bodoni 72", "Bodoni Moda Site", serif;
  --grad-text: linear-gradient(100deg, #fff 0%, var(--mint) 45%, var(--lav) 100%);
  --grad-button: linear-gradient(100deg, #C9F3E7, var(--mint) 40%, #A9B6FF);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--sky0);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
  border-radius: 6px;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- 夜空 ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 60% at 95% 0%, rgba(155, 227, 208, .20), transparent 60%),
    radial-gradient(90% 50% at 0% 100%, rgba(185, 179, 255, .24), transparent 70%),
    linear-gradient(165deg, var(--sky0) 0%, var(--sky1) 28%, var(--sky2) 58%, var(--sky3) 100%);
}

.sky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ページ末尾へ近づくほど地平線が明るむ（--dawn は script.js が 0〜1 で更新） */
.dawn {
  position: absolute;
  inset: 0;
  opacity: var(--dawn, 0);
  background:
    radial-gradient(130% 60% at 50% 120%, rgba(243, 227, 181, .7), rgba(233, 170, 200, .36) 36%, rgba(185, 179, 255, .16) 58%, transparent 76%);
  pointer-events: none;
}

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--soft);
}

.chap span {
  font-family: var(--didot);
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--mint);
}

.chap::after {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

.chap.center {
  justify-content: center;
}

.eyebrow {
  font-family: var(--didot);
  font-style: italic;
  font-size: 15px;
  letter-spacing: .22em;
  color: var(--mint);
}

h1,
h2 {
  font-family: var(--mincho);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.32;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  margin: 18px 0 26px;
}

h2 .grad,
h1 .grad {
  text-shadow: none;
  filter: drop-shadow(0 2px 18px rgba(155, 227, 208, .18));
}

h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
}

.lead {
  color: var(--soft);
  font-size: 15.5px;
  line-height: 2.05;
}

.lead.center,
.center {
  text-align: center;
}

.note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
  margin-top: 18px;
}

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  border: 1px solid var(--line);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 24px 50px -30px rgba(0, 0, 0, .6);
}

.arch {
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: #1A3040;
}

.arch img,
.round-photo img,
.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rim,
.arch,
.round-photo {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 24px 50px -16px rgba(0, 0, 0, .6), 0 0 50px -8px rgba(155, 227, 208, .35);
}

.pill {
  position: absolute;
  z-index: 3;
  font-family: var(--mincho);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  padding: 7px 16px 7px 18px;
  border-radius: 30px;
  background: rgba(7, 22, 31, .58);
  border: 1px solid rgba(155, 227, 208, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-glow,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 54px;
  padding: 0 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.btn-glow {
  color: var(--on-glow);
  background: var(--grad-button);
  box-shadow: 0 10px 30px -8px rgba(155, 227, 208, .7), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.btn-glow span {
  font-weight: 400;
  font-size: 18px;
  transition: transform .25s;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(155, 227, 208, .85), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.btn-glow:hover span {
  transform: translateX(4px);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px var(--gutter);
  transition: background .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(7, 22, 31, .55);
  border-bottom-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 20px -4px rgba(155, 227, 208, .5);
}

.brand span {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .12em;
}

.brand em {
  font-style: normal;
  color: var(--mint);
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: .12em;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--soft);
  transition: color .2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), var(--lav));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  padding: 6px 14px;
  border: 1px solid rgba(155, 227, 208, .45);
  border-radius: 30px;
  color: var(--mint);
  white-space: nowrap;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- ヒーロー ---------- */
main>section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 110px;
}

.hero h1 {
  font-size: clamp(50px, 6.3vw, 92px);
  line-height: 1.22;
  margin: 22px 0 30px;
}

.hero h1 .line {
  display: block;
  white-space: nowrap;
}

/* 無料で始められることを、見出しのすぐ下で伝える */
.hero-free {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 12px 22px 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(155, 227, 208, .55);
  background: rgba(155, 227, 208, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 32px -12px rgba(155, 227, 208, .7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14.5px;
  letter-spacing: .06em;
  line-height: 1.6;
}

.hero-free-star {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-text);
  color: #07161F;
  font-size: 15px;
  box-shadow: 0 0 16px rgba(155, 227, 208, .6);
}

.hero-free b {
  font-size: 16.5px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-free small {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--dim);
}

.hero-lead {
  font-size: 16px;
  line-height: 2;
}

.hero-sub {
  margin-top: 14px;
  color: var(--soft);
  line-height: 2.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-visual {
  position: relative;
  height: min(660px, 76vh);
  min-height: 480px;
}

.frame {
  position: absolute;
}

.frame .arch {
  width: 100%;
  height: 100%;
}

.frame .arch img {
  transform: scale(1.04);
}

.frame .pill {
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero-a {
  left: 0;
  top: 17%;
  width: 48%;
  aspect-ratio: 4 / 5.2;
  animation: float 9s ease-in-out infinite;
}

.hero-b {
  right: 0;
  top: 33%;
  width: 44%;
  aspect-ratio: 4 / 5;
  animation: float 11s ease-in-out -4s infinite;
}

.hero-b img {
  object-position: 30% center;
}

.orbit {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 46%;
  overflow: visible;
}

.orbit path {
  fill: none;
  stroke: rgba(155, 227, 208, .6);
  stroke-width: 1.4;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.orbit-star {
  position: absolute;
  left: 52%;
  top: 9%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(155, 227, 208, .25), 0 0 26px 6px rgba(155, 227, 208, .8);
  animation: pulse 3.2s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--didot);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--dim);
}

.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--mint), transparent);
  transform-origin: top;
  animation: drip 2.4s ease-in-out infinite;
}

/* ---------- ステートメント ---------- */
.promise {
  padding-top: 60px;
  padding-bottom: 150px;
  text-align: center;
}

.keep {
  display: inline-block;
  white-space: nowrap;
}

.promise-text {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.9;
  letter-spacing: .06em;
}

/* ---------- 動画 ---------- */
.movies {
  padding-top: 10px;
  padding-bottom: 150px;
}

.movies .lead {
  margin-top: 18px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: clamp(14px, 4vw, 48px);
}

.movie {
  margin: 0;
}

.movie:nth-child(2) {
  margin-top: 44px;
}

.movie-frame {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #06121A;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 60px -24px rgba(155, 227, 208, .55);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}

.movie-frame img,
.movie-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.movie-frame img {
  transition: transform .6s;
}

a.movie-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 31, 0) 55%, rgba(7, 22, 31, .55));
}

a.movie-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 227, 208, .6);
  box-shadow: 0 36px 70px -30px rgba(0, 0, 0, .8), 0 0 70px -18px rgba(155, 227, 208, .8);
}

a.movie-frame:hover img {
  transform: scale(1.04);
}

.movie-play {
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-button);
  box-shadow: 0 10px 30px -6px rgba(155, 227, 208, .8), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .3s;
}

.movie-play::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 19px;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent var(--on-glow);
}

a.movie-frame:hover .movie-play {
  transform: scale(1.08);
}

.movie figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 0 4px;
}

.movie figcaption b {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: .1em;
}

.movie figcaption span {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--dim);
  white-space: nowrap;
}

/* ---------- βテストの入口 ---------- */
.status.beta-link {
  border-color: rgba(243, 227, 181, .6);
  color: var(--gold);
  background: rgba(243, 227, 181, .08);
}

.status.beta-link b {
  font-family: var(--didot);
  font-weight: 600;
  letter-spacing: .16em;
}

.status.beta-link i {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

a.status.beta-link:hover {
  background: rgba(243, 227, 181, .18);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
}

.hero-cta small {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--gold);
}

.launch .btn {
  flex: none;
}

.site-footer p a {
  text-underline-offset: 4px;
}

/* ---------- 機能紹介 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding-top: 70px;
  padding-bottom: 150px;
}

.feature.reverse .feature-photo {
  order: 2;
}

.feature-photo {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: 999px 999px 32px 32px;
  overflow: hidden;
  background: #1A3040;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 80px -20px rgba(155, 227, 208, .35);
}

.feature.reverse .feature-photo {
  border-radius: 32px 999px 999px 32px;
  aspect-ratio: 4 / 4.4;
}

.feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 22, 31, .45));
}

.free-card {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 22px 28px;
}

.free-num {
  font-family: var(--mincho);
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.free-num b {
  font-family: var(--didot);
  font-weight: 400;
  font-size: 76px;
  margin-right: 4px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.free-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
}

.free-note {
  font-size: 12px;
  color: var(--dim);
  margin-top: 6px;
}

.merits {
  display: grid;
  gap: 12px;
}

.merits li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 22px;
  border-radius: 16px;
  transition: transform .3s, border-color .3s;
}

.merits li:hover {
  transform: translateX(6px);
  border-color: rgba(155, 227, 208, .5);
}

.merits b {
  font-family: var(--didot);
  font-weight: 400;
  font-size: 20px;
  color: var(--mint);
  line-height: 1.4;
}

.merits p {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.8;
  margin-top: 2px;
}

/* 日程調整 */
.flow-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: .08em;
}

.flow-chips li {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 30px;
  color: var(--soft);
}

.flow-chips li+li {
  position: relative;
  margin-left: 30px;
}

.flow-chips li+li::before {
  content: "";
  position: absolute;
  right: calc(100% + 6px);
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, .3);
}

.flow-chips .on {
  color: var(--mint);
  border-color: var(--mint);
  box-shadow: 0 0 16px -4px rgba(155, 227, 208, .7);
}

.calendar-wrap {
  position: relative;
  padding: 60px 0 52px;
}

.calendar {
  padding: 26px 30px 24px;
  max-width: 440px;
  margin-left: auto;
}

.cal-head {
  font-family: var(--didot);
  font-size: 26px;
  margin-bottom: 14px;
}

.cal-head small {
  font-size: 14px;
  color: var(--dim);
  margin-left: 6px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 4px;
  text-align: center;
  font-family: var(--didot);
  font-size: 16px;
}

.cal-grid span {
  display: grid;
  place-items: center;
  height: 40px;
}

.cal-grid .wd {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--dim);
  height: 26px;
}

.cal-grid .out {
  color: rgba(255, 255, 255, .3);
}

.cal-grid .cand,
.cal-grid .fixed {
  justify-self: center;
  width: 40px;
  border-radius: 50%;
}

.cal-grid .cand {
  border: 1.5px solid var(--mint);
  color: var(--mint);
}

.cal-grid .fixed {
  background: linear-gradient(135deg, var(--mint), var(--lav));
  color: var(--on-glow);
  font-weight: 700;
  box-shadow: 0 0 22px rgba(155, 227, 208, .7);
}

.round-photo {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 4%;
  width: 118px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  animation: float 8s ease-in-out infinite;
}

.toast {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 50, 64, .8), rgba(30, 40, 90, .7));
}

.toast i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-style: normal;
  font-weight: 700;
  color: var(--on-glow);
  background: linear-gradient(135deg, var(--mint), var(--lav));
}

.toast b {
  display: block;
  font-size: 14px;
}

.toast small {
  font-size: 12px;
  color: var(--soft);
}

/* ---------- 5つのステップ ---------- */
.steps-section {
  padding-top: 60px;
  padding-bottom: 150px;
}

.section-head {
  margin-bottom: 50px;
}

.section-head.center {
  text-align: center;
}

.constellation {
  position: relative;
  margin-top: 20px;
}

.constellation-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 134px;
  overflow: visible;
}

.constellation-line polyline {
  fill: none;
  stroke: rgba(155, 227, 208, .55);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1200;
  stroke-dashoffset: 0;
}

.js .constellation:not(.in) polyline {
  stroke-dashoffset: 1200;
}

.constellation polyline {
  transition: stroke-dashoffset 2.4s cubic-bezier(.4, 0, .2, 1) .3s;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.steps li {
  text-align: center;
  padding: 0 8px;
}

.steps li:nth-child(even) {
  padding-top: 90px;
}

.node {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  font-family: var(--didot);
  font-size: 18px;
  background: rgba(7, 22, 31, .75);
  border: 1px solid rgba(155, 227, 208, .7);
  box-shadow: 0 0 0 6px rgba(155, 227, 208, .08), 0 0 22px -4px rgba(155, 227, 208, .6);
}

.steps h3 {
  font-family: var(--mincho);
  font-size: 21px;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.steps p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--soft);
}

.steps .goal .node {
  background: linear-gradient(135deg, var(--mint), var(--lav));
  color: var(--on-glow);
  border: 0;
  width: 52px;
  height: 52px;
  margin-top: -4px;
  box-shadow: 0 0 0 8px rgba(185, 179, 255, .15), 0 0 40px 4px rgba(155, 227, 208, .6);
  animation: pulse 3s ease-in-out infinite;
}

.steps .goal h3 {
  font-size: 26px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- ギャラリー ---------- */
.gallery {
  padding-top: 40px;
  padding-bottom: 140px;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.gallery .section-head {
  padding: 0 var(--gutter);
}

.gallery h2 {
  margin-bottom: 0;
}

/* 自動で流しつつ、指やトラックパッドで横にも動かせる（流れはscript.jsで止めない） */
.marquee {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  padding: 30px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee::-webkit-scrollbar {
  display: none;
}

.marquee.dragging {
  cursor: grabbing;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 26px;
  width: max-content;
}

.marquee img {
  -webkit-user-drag: none;
}

.marquee figure {
  position: relative;
  flex: 0 0 auto;
  width: 210px;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  background: #1A3040;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 20px 40px -20px rgba(0, 0, 0, .7);
}

.marquee figure:nth-child(even) {
  margin-top: 44px;
}

.marquee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee figcaption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(7, 22, 31, .6);
  border: 1px solid rgba(155, 227, 208, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.gallery .note {
  padding: 0 var(--gutter);
}

/* ---------- 安心 ---------- */
.safety {
  padding-top: 20px;
  padding-bottom: 150px;
}

.safety h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.safety-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.safety-list li {
  padding: 30px 28px;
}

.safety-list .icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--on-glow);
  background: linear-gradient(135deg, var(--mint), var(--lav));
  box-shadow: 0 0 22px -4px rgba(155, 227, 208, .7);
  margin-bottom: 16px;
  font-size: 14px;
}

.safety-list h3 {
  font-family: var(--mincho);
  font-size: 19px;
  margin-bottom: 8px;
}

.safety-list p {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.9;
}

/* ---------- はじめよう ---------- */
.finale {
  padding-top: 20px;
  padding-bottom: 120px;
  text-align: center;
}

.collage {
  position: relative;
  height: 440px;
  max-width: 620px;
  margin: 0 auto 50px;
}

.collage .arch {
  position: absolute;
}

.c1 {
  left: 4%;
  top: 60px;
  width: 34%;
  aspect-ratio: 3 / 4;
}

.c2 {
  right: 6%;
  top: 0;
  width: 32%;
  aspect-ratio: 3 / 4;
}

.c3 {
  left: 33%;
  top: 170px;
  width: 34%;
  aspect-ratio: 1 / 1.1;
  z-index: 2;
}

.c1 img {
  object-position: center 30%;
}

.finale h2 {
  font-size: clamp(36px, 5.4vw, 66px);
}

.launch {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  margin-top: 50px;
  padding: 22px 30px 22px 22px;
}

.launch img {
  border-radius: 14px;
  box-shadow: 0 0 30px -4px rgba(155, 227, 208, .6);
}

.launch b {
  font-size: 16px;
}

.launch p {
  font-size: 12.5px;
  color: var(--soft);
  line-height: 1.8;
  margin-top: 4px;
}

/* ---------- お問い合わせ ---------- */
.contact {
  padding-bottom: 90px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 4vw, 48px);
}

.contact h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 8px 0 14px;
}

.contact-card p:not(.eyebrow) {
  font-size: 14px;
  color: var(--soft);
}

.contact-mail {
  display: inline-block;
  margin: 14px 0 4px;
  font-family: var(--didot);
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  word-break: break-all;
  border-bottom: 1px solid rgba(155, 227, 208, .5);
}

.contact-card .note {
  margin-top: 12px;
  color: var(--dim);
  font-size: 12px;
}

.contact-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  font-size: 36px;
  text-decoration: none;
  color: var(--on-glow);
  background: var(--grad-button);
  box-shadow: 0 0 0 10px rgba(155, 227, 208, .1), 0 0 50px -6px rgba(155, 227, 208, .7);
  transition: transform .3s;
}

.contact-mark:hover {
  transform: scale(1.06) rotate(-6deg);
}

/* ---------- フッター ---------- */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px var(--gutter) 44px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 30px;
  align-items: center;
  font-size: 12px;
  color: var(--dim);
}

.site-footer .brand span {
  font-size: 15px;
  color: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 22px;
}

.site-footer nav a {
  color: var(--soft);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--mint);
}

.site-footer p {
  grid-column: 1 / -1;
}

.site-footer small {
  grid-column: 1 / -1;
  font-family: var(--didot);
  letter-spacing: .1em;
}

/* ---------- 公開前／公開後の出し分け（html[data-launch]） ---------- */
[data-launch="soon"] .when-live,
[data-launch="live"] .when-soon {
  display: none !important;
}

a.status {
  text-decoration: none;
  transition: background .25s;
}

a.status:hover {
  background: rgba(155, 227, 208, .12);
}

/* ---------- アクセシビリティ ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--sky0);
  border: 1px solid var(--mint);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

.anchor-top {
  position: absolute;
  top: 0;
}

h1,
h2,
h3,
summary {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.text-link {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(155, 227, 208, .45);
  text-underline-offset: 4px;
  margin-left: 6px;
  transition: text-decoration-color .2s;
}

.text-link:hover {
  text-decoration-color: var(--mint);
}

.lead .text-link {
  margin: 0 2px;
}

/* ---------- モバイルのメニュー ---------- */
.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(7, 22, 31, .4);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s, top .3s;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 24px;
}

.menu-open .menu-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.menu-toggle:focus-visible,
summary:focus-visible,
.web-badge:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ---------- ヒーローの要点 ---------- */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--soft);
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

/* ---------- 先生の選び方 ---------- */
.pick-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-left: 18px;
  border-left: 1px solid rgba(155, 227, 208, .35);
}

.pick-points li {
  display: grid;
  gap: 2px;
}

.pick-points b {
  font-size: 14.5px;
  letter-spacing: .08em;
  color: var(--mint);
}

.pick-points span {
  font-size: 13px;
  line-height: 1.8;
  color: var(--soft);
}

/* ---------- ジャンル ---------- */
.genres {
  max-width: var(--max);
  margin: 70px auto 0;
  padding: 0 var(--gutter);
}

.genres-title {
  font-family: var(--mincho);
  font-size: 20px;
  letter-spacing: .1em;
  text-align: center;
  margin-bottom: 26px;
}

.genre-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}

/* 押せる見た目にしない（ホバーの変化なし） */
.genre-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  padding: 18px 22px;
  background: rgba(7, 22, 31, .72);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.genre-list b,
.genre-list span {
  grid-column: 1;
}

.genre-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
}

.genre-list b {
  font-size: 14px;
  letter-spacing: .06em;
}

.genre-list span {
  font-size: 12px;
  line-height: 1.75;
  color: var(--dim);
}

/* ---------- 料金 ---------- */
.pricing {
  padding-top: 20px;
  padding-bottom: 150px;
}

.price-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}

.price-card {
  padding: 26px 30px;
}

.price-role {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--mint);
}

.price-amount {
  margin-top: 6px;
  font-family: var(--mincho);
  font-size: 18px;
  line-height: 1.2;
}

.price-amount b {
  font-family: var(--didot);
  font-weight: 400;
  font-size: 54px;
  margin-right: 4px;
  font-variant-numeric: lining-nums tabular-nums;
}

.price-amount small {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--soft);
  margin-left: 6px;
}

.price-sub {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--soft);
}

.learner {
  display: flex;
  flex-direction: column;
  padding: 34px 34px 30px;
}

.learner .price-amount b {
  font-size: 96px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-free {
  margin-top: auto;
  padding-top: 26px;
  font-size: 14.5px;
  line-height: 1.9;
  letter-spacing: .06em;
}

.price-free b {
  display: inline-block;
  margin-top: 4px;
  font-size: 22px;
  color: var(--mint);
}

.price-plans {
  display: grid;
  gap: 14px;
  align-content: start;
}

.price-card.plus {
  border-color: rgba(185, 179, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 40px -14px rgba(185, 179, 255, .7);
}

.price-card.plus .price-role {
  color: var(--lav);
}

.price-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--soft);
}

.price-offer span {
  padding: 5px 14px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--on-glow);
  background: linear-gradient(100deg, #F6E9C4, #F2DCA9);
}

.price-notes {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  max-width: 860px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
}

.price-notes li {
  padding-left: 1em;
  text-indent: -1em;
}

.price-notes li::before {
  content: "※";
}

/* ---------- よくある質問 ---------- */
.faq {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(30px, 6vw, 80px);
  padding-top: 20px;
  padding-bottom: 150px;
}

.faq-head {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 10px 0 18px;
}

.faq-more {
  margin-top: 26px;
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .04em;
  transition: color .2s;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--mint);
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--mint);
  border-bottom: 1.5px solid var(--mint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-list details p {
  padding: 0 40px 24px 0;
  font-size: 14px;
  line-height: 2;
  color: var(--soft);
}

/* ---------- ストアのボタン（公開後） ---------- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 46px;
}

/* 公式バッジ（Apple・Googleの配布物をそのまま使う。高さを揃えるだけで加工しない）。
   Googleの画像は上下に透明の余白（各11.6%）があるため、その分だけ大きく表示して余白を打ち消す。 */
.store-badge,
.web-badge {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border-radius: 12px;
  transition: transform .25s, box-shadow .25s;
}

.store-badge img {
  display: block;
  height: 52px;
  width: auto;
}

.store-badge.google img {
  height: 67.7px;
  margin: -7.85px 0;
}

.web-badge {
  gap: 10px;
  padding: 0 18px 0 14px;
  color: #fff;
  text-decoration: none;
  background: #000;
  border: 1px solid #a6a6a6;
}

.web-badge svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.web-badge span {
  display: grid;
  line-height: 1.15;
  text-align: left;
}

.web-badge small {
  font-size: 10px;
  letter-spacing: .04em;
}

.web-badge b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
}

.store-badge:hover,
.web-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(155, 227, 208, .6);
}

.store-badge:active,
.web-badge:active {
  transform: translateY(0) scale(.98);
}

.store-badge:focus-visible,
.web-badge:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.store-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--dim);
}

.btn-glow:active,
.btn-ghost:active {
  transform: translateY(0) scale(.98);
}

.site-footer .legal a {
  color: var(--dim);
}

/* ---------- 404 ---------- */
.lost {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 90px;
}

.lost h1 {
  font-size: clamp(38px, 6vw, 72px);
  margin: 18px 0 26px;
}

/* ---------- 演出 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1), filter 1.1s;
  transition-delay: var(--d, 0s);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}

.js .hero-copy>*,
.js .hero-visual {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.3s cubic-bezier(.2, .7, .2, 1) forwards;
}

.js .hero-copy> :nth-child(2) {
  animation-delay: .15s;
}

.js .hero-copy> :nth-child(3) {
  animation-delay: .45s;
}

.js .hero-copy> :nth-child(4) {
  animation-delay: .6s;
}

.js .hero-copy> :nth-child(5) {
  animation-delay: .75s;
}

.js .hero-copy> :nth-child(6) {
  animation-delay: .9s;
}

.js .hero-visual {
  animation-delay: .3s;
  animation-duration: 1.8s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .55;
  }
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    opacity: 1;
  }

  70% {
    transform: scaleY(1);
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}


/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .site-header {
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .status {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .site-header {
    background: rgba(7, 22, 31, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .menu-open .site-nav {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutter) 22px;
    font-size: 15px;
    background: rgba(7, 22, 31, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .menu-open .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .menu-open .site-nav a::after {
    display: none;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  /* 1列のときは見出しを固定しない（開いた回答に重なるため） */
  .faq-head {
    position: static;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 104px;
    padding-bottom: 100px;
  }

  .hero-visual {
    order: -1;
    height: 360px;
    min-height: 0;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 64px);
    margin: 16px 0 22px;
  }

  .hero-lead {
    font-size: 14.5px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-actions a {
    flex: 1 1 auto;
  }

  .scroll-cue {
    display: none;
  }

  .promise {
    padding-bottom: 100px;
  }

  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
    padding-top: 30px;
    padding-bottom: 110px;
    gap: 34px;
  }

  .feature.reverse .feature-photo {
    order: 0;
  }

  .feature-photo {
    max-width: 440px;
    width: 88%;
    margin: 0 auto;
  }

  .feature.reverse .feature-photo {
    margin-left: 0;
  }

  .schedule .calendar-wrap {
    order: 2;
  }

  .calendar {
    margin: 0 auto;
  }

  .round-photo {
    width: 92px;
    left: auto;
    right: 0;
  }

  .calendar-wrap {
    padding-bottom: 60px;
  }

  .toast {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    white-space: nowrap;
  }

  .constellation-line {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 1px solid rgba(155, 227, 208, .4);
    margin-left: 22px;
  }

  .steps li,
  .steps li:nth-child(even) {
    text-align: left;
    padding: 0 0 34px 38px;
    position: relative;
  }

  .steps li:last-child {
    padding-bottom: 0;
  }

  .node {
    position: absolute;
    left: -22px;
    top: -6px;
    margin: 0;
  }

  .steps .goal .node {
    left: -26px;
    margin: 0;
  }

  .steps h3 {
    font-size: 19px;
    margin-bottom: 4px;
  }

  .steps p br {
    display: none;
  }

  .marquee figure {
    width: 150px;
  }

  .marquee figure:nth-child(even) {
    margin-top: 30px;
  }

  .safety-list {
    grid-template-columns: 1fr;
  }

  .collage {
    height: 340px;
  }

  .c3 {
    top: 130px;
  }

  .launch {
    display: flex;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-mark {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-free {
    gap: 10px;
    padding: 10px 18px 10px 12px;
    font-size: 13px;
    letter-spacing: .02em;
  }

  .hero-free b {
    display: block;
    font-size: 15.5px;
  }

  .brand span {
    font-size: 15px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero-visual {
    height: 300px;
  }

  .lead br {
    display: none;
  }

  .hero-sub {
    font-size: 13.5px;
  }

  .hero-lead br {
    display: none;
  }

  .promise-text {
    font-size: clamp(16px, 5vw, 20px);
    letter-spacing: .02em;
  }

  .flow-chips {
    gap: 8px;
    font-size: 11px;
  }

  .flow-chips li {
    padding: 5px 11px;
  }

  .flow-chips li+li {
    margin-left: 14px;
  }

  .flow-chips li+li::before {
    width: 14px;
    right: calc(100% + 4px);
  }

  .free-card {
    padding: 18px;
    gap: 14px;
  }

  .free-num b {
    font-size: 56px;
  }

  .free-title {
    font-size: 14px;
  }

  .merits li {
    padding: 14px 16px;
    gap: 14px;
  }

  .calendar {
    padding: 20px 16px;
  }

  .cal-grid span {
    height: 34px;
  }

  .cal-grid .cand,
  .cal-grid .fixed {
    width: 34px;
  }

  .collage {
    height: 280px;
  }

  .c3 {
    top: 110px;
  }

  .launch {
    flex-direction: column;
    text-align: center;
  }

  .movie:nth-child(2) {
    margin-top: 28px;
  }

  .movie-frame {
    border-radius: 18px;
  }

  .movie-play {
    right: 12px;
    top: 12px;
    width: 48px;
    height: 48px;
  }

  .movie-play::before {
    left: 19px;
    top: 15px;
    border-width: 9px 0 9px 14px;
  }

  .movie figcaption {
    flex-direction: column;
    gap: 0;
  }

  .status {
    padding: 5px 11px;
    letter-spacing: .08em;
  }

  .price-card,
  .learner {
    padding: 22px 20px;
  }

  .learner .price-amount b {
    font-size: 72px;
  }

  .price-amount b {
    font-size: 44px;
  }

  .genre-list {
    grid-template-columns: 1fr 1fr;
  }

  .genre-list li {
    padding: 14px 14px 16px;
    column-gap: 8px;
  }

  .genre-icon {
    width: 26px;
    height: 26px;
  }

  .genre-list b {
    font-size: 13px;
    letter-spacing: .02em;
  }

  .genre-list span {
    font-size: 11px;
    letter-spacing: 0;
  }

  .faq-list summary {
    font-size: 14.5px;
    padding-right: 36px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .store-buttons {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal],
  .js .hero-copy>*,
  .js .hero-visual {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .js .constellation:not(.in) polyline {
    stroke-dashoffset: 0;
  }
}