@charset "UTF-8";
/* =========================================================
   合同会社StudyGame 公式サイト
   コンセプト：勉強が、好きになる。（ゲーム×勉強）
   カラー：白 × 青 × 水色（アクセント：黄色）
   モバイルファースト：〜767px スマホ / 768px〜 タブレット / 1024px〜 PC
   ========================================================= */

:root {
  --c-white: #ffffff;
  --c-blue: #0a5bd6;
  --c-blue-dark: #063c91;
  --c-navy: #0b2a5b;
  --c-sky: #35b8f5;
  --c-sky-light: #bfe9ff;
  --c-bg-tint: #eef8ff;
  --c-text: #1d2a3a;
  --c-text-sub: #5b6b80;
  --c-border: #d8e8f5;
  --c-yellow: #ffd23f;
  --c-yellow-dark: #f5b700;

  --grad-main: linear-gradient(135deg, var(--c-blue) 0%, var(--c-sky) 100%);
  --grad-hero: linear-gradient(160deg, #0a5bd6 0%, #1e8ef0 45%, #5fd0ff 100%);

  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 6px 20px rgba(10, 91, 214, .12);
  --shadow-hover: 0 16px 34px rgba(10, 91, 214, .24);

  --header-h: 64px;
  --font-ja: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Meiryo", sans-serif;
  --font-en: "Poppins", sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--font-ja); color: var(--c-text);
  background: var(--c-white); line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
main { overflow-x: clip; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.pc-only { display: none; }
.sp-only { display: inline; }

/* ---------- 共通 ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 880px; }
.section { padding: 64px 0; position: relative; }
.section--tint { background: var(--c-bg-tint); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__en {
  font-family: var(--font-en); font-weight: 800; font-size: .8rem; letter-spacing: .2em;
  color: var(--c-sky); display: inline-flex; align-items: center; gap: 8px;
}
.section__en::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c-yellow); transform: rotate(45deg); }
.section__en--light { color: var(--c-sky-light); }
.section__title { font-size: 1.65rem; font-weight: 900; line-height: 1.35; }
.section__title--light { color: var(--c-white); }
.section__title .num { font-family: var(--font-en); font-size: 1.6em; color: var(--c-blue); line-height: 1; margin: 0 2px; }
.section__desc { margin-top: 8px; color: var(--c-sky-light); }

/* ---------- ボタン ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px; font-weight: 800;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--primary { background: var(--grad-main); color: var(--c-white); }
.btn--yellow { background: var(--c-yellow); color: var(--c-navy); box-shadow: 0 5px 0 var(--c-yellow-dark), var(--shadow); }
.btn--yellow:hover { box-shadow: 0 8px 0 var(--c-yellow-dark), var(--shadow-hover); }
.btn--outline { background: var(--c-white); color: var(--c-blue); border: 2px solid var(--c-blue); box-shadow: none; }
.btn--outline:hover { background: var(--c-blue); color: var(--c-white); }
.btn--small { padding: 8px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
/* キラッと光るエフェクト */
.btn__shine {
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

.link-arrow { color: var(--c-blue); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.link-arrow::after { content: " ›"; display: inline-block; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- ロゴ ---------- */
.logo { display: flex; align-items: center; gap: 8px; }
.logo__mark { width: 40px; height: 40px; transition: transform .3s; }
.logo:hover .logo__mark { transform: rotate(-10deg) scale(1.08); }
.logo__text { font-family: var(--font-en); font-weight: 900; font-size: 1.3rem; letter-spacing: -.01em; }
.logo__study { color: var(--c-blue); }
.logo__game { color: var(--c-sky); }
.logo--white .logo__text { color: var(--c-white); }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--c-border); box-shadow: 0 4px 16px rgba(10,91,214,.08); }
.header__inner {
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }

.hamburger { position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--c-bg-tint); }
.hamburger span {
  position: absolute; left: 11px; width: 22px; height: 3px; border-radius: 2px;
  background: var(--c-blue); transition: transform .3s, opacity .3s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gnav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  height: calc(100vh - var(--header-h)); padding-bottom: 32px;
  background: var(--c-white); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.gnav.is-open { opacity: 1; visibility: visible; transform: none; }
.gnav__list li { border-bottom: 1px solid var(--c-border); }
.gnav__list a { display: block; padding: 18px 24px; font-weight: 800; }
.gnav__list a::after { content: "›"; float: right; color: var(--c-sky); }
.gnav__cta { display: flex; margin: 24px 16px 0; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero); color: var(--c-white);
  padding: 40px 0 110px;
}
.hero::before { /* きらきらドット */
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero__symbols .sym {
  position: absolute; font-family: var(--font-en); font-weight: 900;
  color: rgba(255,255,255,.22); animation: floaty 7s ease-in-out infinite; user-select: none;
}
.sym--1 { top: 8%;  left: 4%;  font-size: 3rem; }
.sym--2 { top: 70%; left: 6%;  font-size: 2.2rem; animation-delay: -2s; }
.sym--3 { top: 14%; right: 6%; font-size: 2.6rem; animation-delay: -4s; }
.sym--4 { top: 60%; right: 4%; font-size: 2rem; animation-delay: -1s; }
.sym--5 { top: 40%; left: 46%; font-size: 1.6rem; color: rgba(255,210,63,.7) !important; animation-delay: -3s; }
.sym--6 { top: 85%; left: 40%; font-size: 2.2rem; animation-delay: -5s; }
.sym--7 { top: 4%;  left: 55%; font-size: 1.8rem; animation-delay: -2.5s; }
.sym--8 { top: 78%; right: 30%; font-size: 1.8rem; color: rgba(255,210,63,.6) !important; animation-delay: -1.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-18px) rotate(10deg); }
}

.hero__inner {
  position: relative; max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  backdrop-filter: blur(4px); margin-bottom: 20px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-yellow); box-shadow: 0 0 0 0 rgba(255,210,63,.8); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,210,63,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } }

.hero__title { font-size: 2.9rem; font-weight: 900; line-height: 1.2; letter-spacing: .02em; margin-bottom: 20px; }
.hero__title .line { display: block; animation: popIn .8s cubic-bezier(.2,1.4,.4,1) both; }
.hero__title .line--accent { animation-delay: .15s; }
.hero__title .line--accent {
  color: var(--c-yellow); text-shadow: 0 4px 0 rgba(6,60,145,.35);
}
.hero__title .bang { color: var(--c-white); }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.9); } to { opacity: 1; transform: none; } }

.hero__lead { font-size: 1.05rem; font-weight: 700; margin-bottom: 28px; line-height: 1.9; }
.hero__lead strong { font-size: 1.25em; font-weight: 900; }
.hero__lead .x { color: var(--c-yellow); }
.hero__note { font-size: .75rem; opacity: .85; margin-top: 12px; }

.store-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-navy); color: var(--c-white);
  padding: 10px 20px; border-radius: 14px; min-width: 170px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2); transition: transform .2s;
}
.store-btn:hover { transform: translateY(-3px) scale(1.03); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-en); font-weight: 800; font-size: 1.05rem; text-align: left; }
.store-btn small { font-size: .62rem; font-weight: 600; opacity: .85; }
.store-btn--white { background: var(--c-white); color: var(--c-navy); }

/* キャラクタービジュアル */
.hero__visual { position: relative; width: min(78vw, 360px); aspect-ratio: 1; }
.hero__ring {
  position: absolute; inset: -8%; border-radius: 50%;
  border: 3px dashed rgba(255,255,255,.5); animation: spin 30s linear infinite;
}
.hero__ring--2 { inset: -18%; border: 2px solid rgba(255,255,255,.2); animation-duration: 50s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__icon {
  position: relative; width: 100%; height: 100%;
  border-radius: 24%; overflow: hidden;
  border: 6px solid var(--c-white);
  box-shadow: 0 24px 50px rgba(6,60,145,.45);
  animation: bob 4s ease-in-out infinite;
}
.hero__icon img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

.bubble {
  position: absolute; z-index: 2; white-space: nowrap;
  background: var(--c-white); color: var(--c-navy); font-weight: 800; font-size: .8rem;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(6,60,145,.3);
  animation: bubbleIn .6s cubic-bezier(.2,1.5,.4,1) both, floaty 5s ease-in-out infinite;
}
.bubble b { color: var(--c-blue); }
.bubble--1 { top: 6%; left: -8%; animation-delay: .8s, 0s; }
.bubble--2 { bottom: 12%; right: -10%; animation-delay: 1.1s, -2s; }
.bubble--3 {
  top: 44%; right: -12%; background: var(--c-yellow); font-family: var(--font-en); font-weight: 900;
  animation-delay: 1.4s, -1s;
}
@keyframes bubbleIn { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero__wave svg { width: 100%; height: 70px; }

/* ---------- 流れる帯 ---------- */
.marquee {
  overflow: hidden; background: var(--c-yellow); color: var(--c-navy);
  transform: rotate(-2deg); margin: -10px -20px 0; position: relative; z-index: 2;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.marquee__track {
  display: flex; gap: 28px; width: max-content; padding: 12px 0;
  font-family: var(--font-en); font-weight: 900; font-size: 1.05rem; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- コンセプト ---------- */
.worries { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.worry {
  position: relative; background: var(--c-bg-tint); border-radius: var(--radius-lg);
  padding: 18px 20px 18px 76px; font-size: .95rem; color: var(--c-text-sub);
}
.worry b { color: var(--c-text); font-size: 1.1em; }
.worry__face { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 2.4rem; }

.concept__arrow { display: flex; justify-content: center; margin: 24px 0; }
.concept__arrow span {
  width: 0; height: 0; border-left: 28px solid transparent; border-right: 28px solid transparent;
  border-top: 26px solid var(--c-sky); animation: nudge 1.4s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateY(6px); } }

.concept__answer { text-align: center; }
.concept__answer-lead { font-weight: 800; font-size: 1.1rem; color: var(--c-text-sub); }
.concept__answer-main { font-size: 2rem; font-weight: 900; margin: 4px 0 16px; }
.hl {
  color: var(--c-blue);
  background: linear-gradient(transparent 62%, var(--c-yellow) 62%);
  padding: 0 4px;
}
.concept__answer-text { color: var(--c-text-sub); line-height: 2; }

/* ---------- 特長 ---------- */
.feature-list { display: grid; gap: 24px; }
.feature {
  position: relative; background: var(--c-white); border-radius: var(--radius-lg);
  padding: 36px 24px 28px; text-align: center; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow-hover); }
.feature__num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-en); font-weight: 900; font-style: italic; font-size: 1.1rem;
  background: var(--grad-main); color: var(--c-white);
  padding: 4px 18px; border-radius: 999px;
}
.feature__icon {
  width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 3rem;
  background: radial-gradient(circle at 30% 30%, #fff, var(--c-sky-light));
}
.feature__title { font-size: 1.25rem; font-weight: 900; color: var(--c-blue); line-height: 1.45; margin-bottom: 12px; }
.feature__text { font-size: .92rem; color: var(--c-text-sub); text-align: left; }

/* ---------- ゲーム ---------- */
.game-main {
  display: grid; gap: 24px; align-items: center;
  background: linear-gradient(135deg, #f4fbff, #e3f4ff);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 40px;
  border: 2px solid var(--c-border);
}
.game-main__img { position: relative; max-width: 320px; margin: 0 auto; }
.game-main__img img { border-radius: 24%; box-shadow: var(--shadow-hover); }
.game-main__badge {
  position: absolute; top: -10px; right: -10px;
  background: var(--c-yellow); color: var(--c-navy);
  font-family: var(--font-en); font-weight: 900; font-size: .75rem;
  padding: 6px 12px; border-radius: 999px; transform: rotate(8deg);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.game-main__catch { color: var(--c-sky); font-weight: 800; }
.game-main__title { font-family: var(--font-en); font-weight: 900; font-size: 2.2rem; color: var(--c-blue); line-height: 1.2; }
.game-main__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.game-main__tags li { font-size: .75rem; font-weight: 700; background: var(--c-white); color: var(--c-blue); border: 1px solid var(--c-sky-light); padding: 2px 12px; border-radius: 999px; }
.game-main__text { color: var(--c-text-sub); margin-bottom: 20px; }
.game-main__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tabs__btn {
  padding: 10px 22px; border-radius: 999px; background: var(--c-bg-tint);
  color: var(--c-blue); font-weight: 800; font-size: .9rem; transition: background .2s, color .2s;
}
.tabs__btn.is-active { background: var(--c-blue); color: var(--c-white); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.soft-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.soft-card a { display: block; transition: transform .2s; }
.soft-card a:hover { transform: translateY(-4px); }
.soft-card__img { aspect-ratio: 1; border-radius: 24%; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 10px; }
.soft-card__img img { width: 100%; height: 100%; object-fit: cover; }
.soft-card__img--ph {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--c-sky-light) 0 12px, #d8f1ff 12px 24px);
  font-family: var(--font-en); font-weight: 900; color: var(--c-blue); line-height: 1.2;
}
.soft-card__date { display: inline-block; font-size: .7rem; font-weight: 800; color: var(--c-white); background: var(--c-sky); padding: 1px 10px; border-radius: 999px; }
.soft-card__date--soon { background: var(--c-yellow); color: var(--c-navy); }
.soft-card h3 { font-size: .95rem; font-weight: 900; margin-top: 4px; }
.soft-card__platform { font-size: .75rem; color: var(--c-text-sub); }

/* ---------- こんな人におすすめ ---------- */
.target-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.target a {
  display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%;
  background: var(--c-white); border-radius: var(--radius-lg); padding: 20px 12px;
  text-align: center; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow);
  border-bottom: 5px solid var(--c-sky-light); transition: transform .2s, border-color .2s;
}
.target a:hover { transform: translateY(-5px); border-color: var(--c-sky); }
.target__label { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: var(--c-white); font-weight: 900; font-size: 1.05rem; }
.target__label--1 { background: linear-gradient(135deg, #35b8f5, #7fe0ff); }
.target__label--2 { background: linear-gradient(135deg, #1e8ef0, #35b8f5); }
.target__label--3 { background: linear-gradient(135deg, #0a5bd6, #1e8ef0); }
.target__label--4 { background: linear-gradient(135deg, #063c91, #0a5bd6); }

/* ---------- ステップ ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--c-white); border: 2px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 28px 20px 24px; text-align: center;
}
.step__no {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-en); font-weight: 800; font-size: .8rem; color: var(--c-sky); letter-spacing: .1em;
}
.step__no b { font-size: 2rem; color: var(--c-blue); }
.step__icon { display: block; font-size: 2.8rem; margin: 6px 0; }
.step h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--c-text-sub); }

/* ---------- 料金プラン ---------- */
.plan { background: var(--grad-hero); overflow: hidden; }
.plan::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 2px); background-size: 28px 28px;
}
.plan .container { position: relative; }
.plan-grid { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; }
.plan-card {
  position: relative; background: var(--c-white); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center; box-shadow: 0 16px 40px rgba(6,60,145,.3);
}
.plan-card--premium { border: 4px solid var(--c-yellow); }
.plan-card__ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--c-yellow); color: var(--c-navy); font-weight: 900; font-size: .85rem;
  padding: 4px 20px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.plan-card__name { font-weight: 900; font-size: 1.2rem; color: var(--c-blue); }
.plan-card__price { font-family: var(--font-en); font-weight: 900; font-size: 3rem; line-height: 1.2; color: var(--c-navy); margin: 8px 0 16px; }
.plan-card__price .yen { font-size: .5em; margin-right: 2px; }
.plan-card__price small { font-size: .35em; color: var(--c-text-sub); font-family: var(--font-ja); }
.plan-card__list { text-align: left; margin-bottom: 24px; }
.plan-card__list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed var(--c-border); font-weight: 700; font-size: .92rem; }
.plan-card__list li::before {
  content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-sky); color: var(--c-white); font-size: .7rem; font-weight: 900;
}
.plan-card--premium .plan-card__list li::before { background: var(--c-yellow); color: var(--c-navy); }
.plan__note { text-align: center; color: var(--c-sky-light); font-size: .78rem; margin-top: 20px; }

/* ---------- トピックス ---------- */
.topics-grid { display: grid; gap: 20px; }
.topic-card a { display: block; transition: transform .2s; }
.topic-card a:hover { transform: translateY(-4px); }
.thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow); transition: box-shadow .2s;
}
.topic-card a:hover .thumb { box-shadow: var(--shadow-hover); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.topic-card a:hover .thumb img { transform: scale(1.05); }
.thumb__ph { font-family: var(--font-en); font-weight: 900; color: rgba(255,255,255,.8); letter-spacing: .1em; font-size: .8rem; }
.thumb__cat {
  position: absolute; top: 10px; left: 10px; background: var(--c-white); color: var(--c-blue);
  font-size: .7rem; font-weight: 800; padding: 2px 10px; border-radius: 999px;
}
.thumb--img { background: var(--c-sky-light); }
.thumb--c1 { background: linear-gradient(135deg, #0a5bd6, #35b8f5); }
.thumb--c2 { background: linear-gradient(135deg, #35b8f5, #9be4ff); }
.thumb--c3 { background: linear-gradient(135deg, #4a8cff, #7fd3ff); }
.thumb--c4 { background: linear-gradient(135deg, #063c91, #35b8f5); }
.topic-card__body { padding: 12px 4px 0; }
.topic-card time { font-family: var(--font-en); font-size: .8rem; color: var(--c-sky); font-weight: 700; }
.topic-card h3 { font-size: 1rem; font-weight: 800; line-height: 1.5; }

/* ---------- 保護者の方へ ---------- */
.parents__box {
  background: var(--c-white); border-radius: var(--radius-lg); padding: 32px 20px;
  box-shadow: var(--shadow); display: grid; gap: 24px;
}
.parents__head p:last-child { color: var(--c-text-sub); margin-top: 12px; }
.parents__list { display: grid; gap: 16px; }
.parents__list li { display: flex; gap: 14px; align-items: flex-start; }
.parents__list li > span {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.6rem; background: var(--c-bg-tint);
}
.parents__list h3 { font-size: 1.02rem; font-weight: 900; color: var(--c-blue); }
.parents__list p { font-size: .88rem; color: var(--c-text-sub); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--c-white); border: 2px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--c-sky); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 52px 18px 56px; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-blue); color: var(--c-white); font-family: var(--font-en); font-weight: 900; font-size: .85rem;
}
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--c-sky); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px 56px; color: var(--c-text-sub); }

/* ---------- 更新情報 ---------- */
.news-list { background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.news-list li + li { border-top: 1px solid var(--c-border); }
.news-list a { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 12px; padding: 16px 20px; transition: background .2s; }
.news-list a:hover { background: var(--c-bg-tint); }
.news-list time { font-family: var(--font-en); font-size: .85rem; color: var(--c-text-sub); }
.news-list__title { grid-column: 1 / -1; font-weight: 700; }
.tag { font-size: .7rem; font-weight: 800; padding: 1px 10px; border-radius: 999px; align-self: center; text-align: center; }
.tag--game { background: var(--c-blue); color: var(--c-white); }
.tag--info { background: var(--c-sky-light); color: var(--c-blue-dark); }
.tag--event { background: var(--c-yellow); color: var(--c-navy); }
.tag--company { background: var(--c-sky); color: var(--c-white); }

/* ---------- 会社情報 ---------- */
.mission {
  text-align: center; padding: 40px 20px; margin-bottom: 32px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% 20%, #e7f6ff, transparent 60%), radial-gradient(circle at 80% 80%, #fff6d6, transparent 60%), var(--c-white);
  border: 2px solid var(--c-border);
}
.mission__label { font-family: var(--font-en); font-weight: 900; letter-spacing: .3em; color: var(--c-sky); font-size: .8rem; }
.mission__text { font-size: 1.6rem; font-weight: 900; color: var(--c-blue); line-height: 1.5; margin: 8px 0 12px; }
.mission__sub { color: var(--c-text-sub); }

.about-grid { display: grid; gap: 16px; }
.about-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 160px; padding: 24px; border-radius: var(--radius-lg); color: var(--c-white);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.about-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px;
  border-radius: 50%; background: rgba(255,255,255,.18); transition: transform .4s;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.about-card:hover::after { transform: scale(1.5); }
.about-card--company { background: linear-gradient(135deg, #0a5bd6, #3a86ff); }
.about-card--recruit { background: linear-gradient(135deg, #1aa9ea, #35d0ff); }
.about-card--contact { background: linear-gradient(135deg, #063c91, #1a7fe0); }
.about-card__en { font-family: var(--font-en); font-weight: 900; font-size: .8rem; letter-spacing: .2em; opacity: .85; }
.about-card__ja { font-size: 1.5rem; font-weight: 900; }
.about-card__desc { font-size: .85rem; opacity: .95; }

/* ---------- ダウンロードCTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--grad-hero); color: var(--c-white); padding: 64px 0; }
.cta__symbols span {
  position: absolute; font-family: var(--font-en); font-weight: 900; font-size: 5rem;
  color: rgba(255,255,255,.12); animation: floaty 8s ease-in-out infinite;
}
.cta__symbols span:nth-child(1) { top: 10%; left: 5%; }
.cta__symbols span:nth-child(2) { bottom: 5%; left: 30%; animation-delay: -2s; }
.cta__symbols span:nth-child(3) { top: 15%; right: 8%; color: rgba(255,210,63,.35); animation-delay: -4s; }
.cta__symbols span:nth-child(4) { bottom: 10%; right: 25%; animation-delay: -6s; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.cta__icon { width: 160px; }
.cta__icon img { border-radius: 24%; border: 5px solid var(--c-white); box-shadow: 0 20px 40px rgba(6,60,145,.4); animation: bob 4s ease-in-out infinite; }
.cta__lead { font-weight: 800; color: var(--c-yellow); }
.cta__title { font-size: 2rem; font-weight: 900; line-height: 1.35; margin: 4px 0 24px; }

/* ---------- フッター ---------- */
.footer { background: var(--c-navy); color: var(--c-white); padding: 48px 0 96px; }
.footer__top { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.footer__tagline { color: var(--c-sky-light); font-weight: 700; font-size: .9rem; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.footer__col h4 { font-size: .95rem; font-weight: 900; margin-bottom: 10px; color: var(--c-sky); }
.footer__col li { margin-bottom: 6px; font-size: .85rem; opacity: .9; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.footer__sns { display: flex; gap: 12px; }
.footer__sns a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12); font-family: var(--font-en); font-weight: 800; font-size: .75rem;
  transition: background .2s, transform .2s;
}
.footer__sns a:hover { background: var(--c-sky); transform: translateY(-3px); }
.footer__copy { font-size: .75rem; opacity: .7; }

/* ---------- スマホ追従バー ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  padding: 8px 8px 8px 10px; border-radius: 18px; box-shadow: 0 10px 30px rgba(6,60,145,.25);
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,1.2,.4,1);
}
.sticky-cta.is-show { transform: none; }
.sticky-cta img { width: 40px; height: 40px; border-radius: 10px; }
.sticky-cta__text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.sticky-cta__text b { font-family: var(--font-en); font-weight: 900; color: var(--c-blue); }
.sticky-cta__text span { font-size: .72rem; color: var(--c-text-sub); }

.pagetop {
  position: fixed; right: 16px; bottom: 88px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-main); color: var(--c-white); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s;
}
.pagetop.is-show { opacity: 1; pointer-events: auto; }
.pagetop:hover { transform: translateY(-4px); }

/* ---------- スクロールで出現 ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1.2); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   タブレット（768px〜）
   ========================================================= */
@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .sp-only { display: none; }
  .pc-only { display: inline; }
  .container { padding: 0 24px; }
  .section { padding: 96px 0; }
  .section__title { font-size: 2.1rem; }

  .header__cta { display: inline-flex; }

  .hero { padding: 64px 0 140px; }
  .hero__title { font-size: 4rem; }
  .hero__wave svg { height: 110px; }

  .worries { grid-template-columns: repeat(3, 1fr); }
  .worry { padding: 24px 16px; text-align: center; }
  .worry__face { position: static; transform: none; display: block; margin-bottom: 8px; }
  .concept__answer-main { font-size: 2.8rem; }

  .feature-list { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .game-main { grid-template-columns: 280px 1fr; padding: 40px; gap: 40px; }
  .soft-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  .target-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .target a { font-size: .95rem; padding: 28px 16px; }
  .target__label { width: 92px; height: 92px; font-size: 1.2rem; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .step:not(:last-child)::after {
    content: "▶"; position: absolute; right: -28px; top: 50%; transform: translateY(-50%);
    color: var(--c-sky); font-size: 1.1rem;
  }

  .plan-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .plan-card--premium { transform: scale(1.04); }

  .topics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .topic-card--large { grid-column: 1 / -1; }

  .parents__box { grid-template-columns: 1fr 1.2fr; padding: 48px; gap: 40px; align-items: center; }

  .news-list a { grid-template-columns: 110px 90px 1fr; align-items: center; }
  .news-list__title { grid-column: auto; }

  .mission__text { font-size: 2.2rem; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }

  .cta__inner { flex-direction: row; justify-content: center; text-align: left; gap: 56px; }
  .cta__icon { width: 220px; }
  .cta__title { font-size: 2.6rem; }
  .store-btns--center { justify-content: flex-start; }

  .footer { padding-bottom: 32px; }
  .footer__top { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; }

  .sticky-cta { display: none; }
  .pagetop { bottom: 24px; right: 24px; }
}

/* =========================================================
   PC（1024px〜）
   ========================================================= */
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .gnav {
    position: static; height: auto; padding: 0; transform: none; opacity: 1; visibility: visible;
    background: none; overflow: visible; margin-left: auto;
  }
  .gnav__list { display: flex; gap: 2px; }
  .gnav__list li { border: none; }
  .gnav__list a { padding: 8px 12px; border-radius: 999px; font-size: .9rem; transition: background .2s, color .2s; }
  .gnav__list a::after { content: none; }
  .gnav__list a:hover { background: var(--c-bg-tint); color: var(--c-blue); }
  .gnav__cta { display: none; }

  .hero { padding: 72px 0 160px; }
  .hero__inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 40px; }
  .hero__copy { flex: 1; }
  .hero__title { font-size: 5rem; }
  .hero__lead { font-size: 1.2rem; }
  .store-btns { justify-content: flex-start; }
  .hero__visual { width: 420px; flex-shrink: 0; margin-right: 40px; }
  .bubble { font-size: .9rem; }

  .topics-grid { grid-template-columns: repeat(4, 1fr); }
  .topic-card--large { grid-column: span 2; grid-row: span 2; }
  .topic-card--large h3 { font-size: 1.3rem; }
  .topic-card--large .thumb { aspect-ratio: 16 / 11; }

  .about-card { min-height: 220px; }
}

/* 動きを減らす設定への配慮 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
