/* =========================================================
   きょうやる受験塾（/kyouyaru/ 配下専用）
   スクールオーク本体の style.css とは独立。V23 LP と同じトーン：
   ネイビー #0a2858 / ブルー #0b5df5 / マーカー黄 #fff27a / CTA だけ LINE 緑
========================================================= */
:root {
  --navy: #0a2858;
  --blue: #0b5df5;
  --blue-soft: #8fb8ff;
  --marker: #fff27a;
  --line: #06c755;
  --line-hover: #05b34c;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --rule: #e2e8f0;
  --paper: #ffffff;
  --wash: #f1f5f9;
  --wash-blue: #f4f8ff;
  --radius: 24px;
  --max: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.4; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.ky-wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.ky-marker { background: linear-gradient(transparent 58%, var(--marker) 58%); padding: 0 2px; }
.ky-blue { color: var(--blue); }
.ky-note { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- ヘッダー ---------- */
.ky-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.ky-header__bar {
  max-width: 1080px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 16px;
}
.ky-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 18px; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.ky-logo__mark {
  display: inline-flex; width: 26px; height: 26px; border-radius: 8px;
  align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-size: 15px;
}
.ky-nav { display: flex; gap: 4px; margin-left: auto; }
.ky-nav a {
  font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.ky-nav a:hover, .ky-nav a[aria-current="page"] { background: var(--wash); color: var(--navy); }
.ky-header__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--line); color: #fff; text-decoration: none;
  font-weight: 900; font-size: 14px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}
.ky-header__cta:hover { background: var(--line-hover); }
@media (max-width: 860px) {
  .ky-header__bar { flex-wrap: wrap; gap: 8px 12px; padding: 8px 16px 0; }
  .ky-header__cta { margin-left: auto; }
  .ky-nav {
    order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 4px 12px 8px;
    overflow-x: auto; scrollbar-width: none;
  }
  .ky-nav::-webkit-scrollbar { display: none; }
}

/* ---------- パンくず ---------- */
.ky-crumbs { font-size: 12px; color: var(--muted); padding: 14px 0 0; }
.ky-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ky-crumbs li + li::before { content: "›"; margin-right: 4px; }
.ky-crumbs a { color: var(--muted); }

/* ---------- ヒーロー ---------- */
.ky-hero { background: linear-gradient(180deg, var(--wash-blue), #fff); padding: 40px 0 48px; }
.ky-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.ky-hero__eyebrow {
  display: inline-block; background: var(--navy); color: #fff; font-weight: 900;
  font-size: 13px; padding: 4px 12px; border-radius: 999px;
}
.ky-hero__eyebrow b { color: var(--marker); }
.ky-hero h1 { margin-top: 16px; font-size: clamp(30px, 6vw, 44px); font-weight: 900; line-height: 1.3; }
.ky-ribbon { display: inline-block; transform: skewX(-6deg); padding: 2px 12px; color: #fff; margin: 3px 0; }
.ky-ribbon > span { display: inline-block; transform: skewX(6deg); }
.ky-ribbon--navy { background: var(--navy); }
.ky-ribbon--blue { background: var(--blue); }
.ky-ribbon b { color: var(--marker); font-weight: 900; }
.ky-hero__lead { margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.75; }
.ky-hero__photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.ky-hero__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ky-hero__badge {
  position: absolute; left: 12px; bottom: 12px; background: rgba(10,40,88,0.92); color: #fff;
  border-radius: 14px; padding: 8px 12px; font-size: 13px; line-height: 1.5; font-weight: 700;
}
.ky-hero__badge strong { display: block; font-size: 17px; font-weight: 900; }
.ky-hero .ky-cta { margin-top: 24px; }
@media (max-width: 640px) {
  .ky-hero { padding: 24px 0 36px; }
  .ky-hero__grid { grid-template-columns: 1fr; }
  .ky-hero__photo { order: -1; display: grid; grid-template-columns: 124px 1fr; align-items: center; }
  .ky-hero__photo img { aspect-ratio: 3 / 4; height: auto; }
  .ky-hero__badge { position: static; background: none; padding: 0 16px; font-size: 14px; }
  .ky-hero__badge strong { font-size: 20px; margin: 2px 0 4px; }
}

/* ---------- CTA ---------- */
.ky-cta { text-align: center; }
.ky-cta__hook { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.ky-cta__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 440px; margin: 0 auto;
  min-height: 64px; padding: 10px 20px 10px 10px; border-radius: 999px;
  background: var(--line); color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px rgba(6,95,70,0.18); transition: background .15s;
}
.ky-cta__btn:hover { background: var(--line-hover); }
.ky-cta__icon {
  display: inline-flex; width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px;
  align-items: center; justify-content: center; background: #fff; color: var(--line);
  font-size: 11px; font-weight: 900; letter-spacing: -0.02em;
}
.ky-cta__label { flex: 1; font-size: 17px; font-weight: 900; line-height: 1.4; }
.ky-cta__arrow { font-size: 20px; font-weight: 900; }
.ky-cta__note { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.ky-cta__note b { color: var(--navy); }
.ky-cta--dark .ky-cta__hook { color: var(--blue-soft); }
.ky-cta--dark .ky-cta__note { color: #cbd5e1; }
.ky-cta--dark .ky-cta__note b { color: #fff; }

/* ---------- セクション共通 ---------- */
.ky-section { padding: 56px 0; }
.ky-section + .ky-section { border-top: 1px solid var(--wash); }
.ky-section--wash { background: var(--wash-blue); }
.ky-chapter__label {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; color: var(--blue);
}
.ky-chapter__label span { background: var(--blue); color: #fff; border-radius: 6px; padding: 1px 7px; font-size: 12px; letter-spacing: .06em; }
.ky-chapter__title { margin-top: 12px; font-size: clamp(26px, 5vw, 32px); font-weight: 900; line-height: 1.35; }
.ky-chapter__lead { margin-top: 16px; color: var(--text); }
.ky-point {
  margin-top: 32px; border-left: 4px solid var(--blue); padding-left: 16px;
  font-size: 21px; font-weight: 900; line-height: 1.55;
}

.ky-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: inset 0 0 0 1px var(--rule); }
.ky-card--feature { box-shadow: inset 0 0 0 2px var(--blue), 0 10px 30px rgba(11,93,245,0.12); }
.ky-card--muted { background: var(--wash); box-shadow: none; }
.ky-card__title { font-size: 15px; font-weight: 900; color: var(--blue); }
.ky-card--muted .ky-card__title { color: var(--muted); }
.ky-stack { display: grid; gap: 16px; margin-top: 24px; }
.ky-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
@media (max-width: 640px) { .ky-two { grid-template-columns: 1fr; } }

/* 番号付きリスト */
.ky-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.ky-steps li { display: flex; gap: 12px; align-items: flex-start; }
.ky-num {
  display: inline-flex; width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px;
  align-items: center; justify-content: center; background: var(--blue); color: #fff; font-weight: 900; font-size: 14px;
}
.ky-num--muted { background: #cbd5e1; color: #475569; }
.ky-steps strong { display: block; font-size: 17px; font-weight: 900; line-height: 1.5; }
.ky-steps small { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.ky-tag { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 900; color: var(--blue); background: var(--wash-blue); border-radius: 999px; padding: 1px 10px; }
.ky-result { margin-top: 16px; font-weight: 900; }

/* セルフチェック（JSなし：:has でカウント） */
.ky-checkwrap { counter-reset: hit; }
.ky-check { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ky-check label {
  display: flex; gap: 12px; align-items: center; cursor: pointer;
  padding: 12px 14px; border-radius: 16px; background: var(--wash);
  font-weight: 700; line-height: 1.5; transition: background .15s;
}
.ky-check input { position: absolute; opacity: 0; pointer-events: none; }
.ky-check__box {
  display: inline-flex; width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px;
  align-items: center; justify-content: center; background: #fff; color: transparent;
  box-shadow: inset 0 0 0 2px #cbd5e1; font-weight: 900;
}
.ky-check input:checked + .ky-check__box { background: var(--blue); color: #fff; box-shadow: none; }
.ky-check label:has(input:checked) { background: var(--wash-blue); counter-increment: hit; }
.ky-check input:focus-visible + .ky-check__box { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.ky-check__score { display: flex; justify-content: flex-end; align-items: baseline; gap: 6px; margin-top: 14px; font-weight: 900; }
.ky-check__score output::after { content: counter(hit); }
.ky-check__score output { font-size: 34px; line-height: 1; color: var(--blue); min-width: 1.2em; text-align: center; }

/* 塾長 */
.ky-profile { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin-top: 24px; }
.ky-profile img { border-radius: 20px; aspect-ratio: 3 / 4; object-fit: cover; }
.ky-profile__role { font-size: 13px; font-weight: 900; color: var(--blue); }
.ky-profile__name { font-size: 22px; font-weight: 900; line-height: 1.45; margin-top: 4px; }
.ky-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.ky-facts div { background: var(--wash); border-radius: 14px; padding: 10px; text-align: center; }
.ky-facts small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.ky-facts b { font-size: 15px; font-weight: 900; }
.ky-quote { margin: 0; font-size: 16px; line-height: 1.9; color: var(--text); }
.ky-quote p + p { margin-top: 10px; }
@media (max-width: 640px) {
  .ky-profile { grid-template-columns: 110px 1fr; gap: 14px; }
  .ky-profile__name { font-size: 18px; }
}

/* 横スワイプ */
.ky-swipe {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 20px 16px; margin: 24px -20px 0; scrollbar-width: thin;
}
.ky-swipe > article { flex: 0 0 min(84%, 340px); scroll-snap-align: start; display: flex; flex-direction: column; }
.ky-swipe h3 { margin-top: 10px; font-size: 20px; font-weight: 900; }
.ky-swipe p { margin-top: 6px; font-size: 15px; color: var(--text); line-height: 1.75; }
.ky-swipe figure { margin: 14px 0 0; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--rule); margin-top: auto; }
.ky-swipe figure img { width: 100%; }
.ky-step-label { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .08em; padding: 3px 12px; }
.ky-swipe__hint { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* 分析シート */
.ky-sheet { margin: 32px auto 0; max-width: 420px; }
.ky-sheet a { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,42,0.12), inset 0 0 0 1px var(--rule); }
.ky-sheet a img { max-height: 520px; width: 100%; object-fit: cover; object-position: top; }
.ky-sheet figcaption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }

/* 料金 */
.ky-terms { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ky-terms li { background: var(--wash-blue); color: var(--navy); font-weight: 900; font-size: 14px; border-radius: 999px; padding: 4px 14px; }
.ky-terms li::before { content: "✓ "; color: var(--blue); }
.ky-price { margin-top: 20px; }
.ky-price__head { font-weight: 900; color: var(--blue); }
.ky-price__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ky-price__rows div { background: var(--wash); border-radius: 16px; padding: 12px; }
.ky-price__rows small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.ky-price__rows b { font-size: 26px; font-weight: 900; line-height: 1.3; }
.ky-price__rows span { display: block; font-size: 12px; color: var(--muted); }
.ky-price__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 15px; font-weight: 700; }
.ky-price__list li::before { content: "✓ "; color: var(--blue); }

/* FAQ */
.ky-faq { display: grid; gap: 12px; margin-top: 24px; }
.ky-faq details { background: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: inset 0 0 0 1px var(--rule); }
.ky-faq summary { cursor: pointer; font-weight: 900; list-style: none; display: flex; gap: 10px; justify-content: space-between; }
.ky-faq summary::-webkit-details-marker { display: none; }
.ky-faq summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1.3; }
.ky-faq details[open] summary::after { content: "−"; }
.ky-faq summary span::before { content: "Q. "; color: var(--blue); }
.ky-faq details p { margin-top: 12px; color: var(--text); }

/* コラムカード */
.ky-posts { display: grid; gap: 16px; margin-top: 24px; }
.ky-post {
  display: block; text-decoration: none; color: inherit; background: #fff; border-radius: 20px; padding: 20px;
  box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .15s;
}
.ky-post:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.ky-post__meta { font-size: 12px; font-weight: 700; color: var(--muted); }
.ky-post__cat { color: var(--blue); margin-right: 8px; }
.ky-post h3 { margin-top: 6px; font-size: 18px; font-weight: 900; line-height: 1.5; }
.ky-post p { margin-top: 8px; font-size: 14px; color: var(--text); line-height: 1.75; }
.ky-more { margin-top: 16px; text-align: right; font-weight: 700; }

/* 最終CTA */
.ky-final { background: var(--navy); color: #fff; padding: 56px 0; text-align: center; }
.ky-final__eyebrow { color: var(--blue-soft); font-weight: 700; font-size: 15px; }
.ky-final h2 { color: #fff; margin-top: 10px; font-size: clamp(24px, 5vw, 30px); font-weight: 900; line-height: 1.45; }
.ky-final__facts { list-style: none; margin: 24px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 440px; }
.ky-final__facts li { background: rgba(255,255,255,0.08); border-radius: 14px; padding: 10px 6px; }
.ky-final__facts small { display: block; font-size: 12px; color: var(--blue-soft); font-weight: 700; }
.ky-final__facts b { font-size: 15px; }
.ky-final__text { margin: 20px auto 0; max-width: 440px; font-size: 14px; color: #cbd5e1; line-height: 1.8; }
.ky-final .ky-cta { margin-top: 24px; }

/* フッター */
.ky-footer { background: #061a3a; color: #cbd5e1; font-size: 13px; padding: 28px 0 32px; }
.ky-footer__inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.ky-footer a { color: #e2e8f0; }
.ky-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ---------- 記事 ---------- */
.ky-article { padding: 8px 0 56px; }
.ky-article__cat { margin-top: 20px; display: inline-block; font-size: 12px; font-weight: 900; color: var(--blue); background: var(--wash-blue); border-radius: 999px; padding: 2px 12px; }
.ky-article h1 { margin-top: 12px; font-size: clamp(24px, 5vw, 32px); font-weight: 900; line-height: 1.45; }
.ky-article__meta { margin-top: 12px; font-size: 13px; color: var(--muted); }
.ky-article__lead { margin-top: 24px; font-size: 17px; line-height: 1.95; }
.ky-article__body { font-size: 17px; line-height: 1.95; }
.ky-article__body p { margin-top: 20px; }
.ky-article__body h2 {
  margin-top: 56px; padding: 14px 18px; border-radius: 16px;
  background: var(--navy); color: #fff; font-size: 22px; font-weight: 900; line-height: 1.5;
}
.ky-article__body h3 { margin-top: 32px; font-size: 19px; font-weight: 900; border-left: 4px solid var(--blue); padding-left: 12px; }
.ky-article__body ul, .ky-article__body ol { margin: 16px 0 0; padding-left: 1.4em; }
.ky-article__body li + li { margin-top: 6px; }
.ky-article__body strong { font-weight: 900; }
.ky-box { margin-top: 24px; border-radius: 20px; padding: 18px 20px; background: var(--wash); }
.ky-box--blue { background: var(--wash-blue); box-shadow: inset 0 0 0 1px #cfe0ff; }
.ky-box__title { font-weight: 900; color: var(--navy); font-size: 15px; }
.ky-box ul { margin-top: 8px; }
.ky-box p:first-child { margin-top: 0; }
.ky-toc { margin-top: 32px; border-radius: 20px; padding: 18px 22px; box-shadow: inset 0 0 0 1px var(--rule); }
.ky-toc__title { font-weight: 900; font-size: 15px; }
.ky-toc ol { margin: 10px 0 0; padding-left: 1.3em; font-size: 15px; line-height: 1.8; }
.ky-toc a { color: var(--text); text-decoration: none; }
.ky-toc a:hover { color: var(--blue); text-decoration: underline; }
.ky-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; line-height: 1.6; }
.ky-table th, .ky-table td { border: 1px solid var(--rule); padding: 10px 12px; text-align: left; vertical-align: top; }
.ky-table th { background: var(--wash-blue); font-weight: 900; color: var(--navy); }
.ky-author { display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 16px; border-radius: 20px; background: var(--wash); }
.ky-author img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; object-position: top; flex-shrink: 0; }
.ky-author__name { font-weight: 900; }
.ky-author p { font-size: 14px; line-height: 1.7; color: var(--text); margin: 2px 0 0; }
.ky-inline-cta { margin-top: 40px; border-radius: var(--radius); padding: 24px 20px; background: var(--wash-blue); box-shadow: inset 0 0 0 2px var(--blue); }
.ky-inline-cta__title { font-size: 19px; font-weight: 900; line-height: 1.5; text-align: center; }
.ky-inline-cta__text { margin: 10px 0 18px; font-size: 15px; color: var(--text); text-align: center; line-height: 1.8; }

/* 塾長追記待ち（公開前に必ず差し替え） */
.ky-todo { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #fff7cc; box-shadow: inset 0 0 0 2px #f59e0b; font-size: 15px; }
.ky-todo::before { content: "【塾長追記】"; font-weight: 900; color: #b45309; }

/* スマホ幅の細かい調整 */
@media (max-width: 640px) {
  .ky-price__list { grid-template-columns: 1fr; }
  .ky-facts div, .ky-final__facts li { padding: 10px 4px; }
  .ky-facts b, .ky-final__facts b { font-size: 14px; letter-spacing: -0.02em; }
}

/* =========================================================
   v2（2026-09-30）：FV・比較・入会後にできること
========================================================= */

/* ---------- FV（1画面に収め、次のセクションを覗かせる） ---------- */
.ky-fv { background: linear-gradient(180deg, #eaf2ff 0%, #f7faff 70%, #fff 100%); padding: 28px 0 20px; }
.ky-fv__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.ky-fv__kicker { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; font-weight: 900; color: var(--navy); }
.ky-fv__kicker span { background: var(--navy); color: #fff; border-radius: 999px; padding: 3px 10px; }
.ky-fv__kicker span b { color: var(--marker); }
.ky-fv h1 { margin-top: 12px; font-weight: 900; }
.ky-fv__h1-small { display: block; font-size: 15px; color: var(--blue); letter-spacing: 0; margin-bottom: 6px; }
.ky-fv__h1-main { display: block; font-size: clamp(34px, 7.4vw, 50px); line-height: 1.22; }
.ky-fv__sub { margin-top: 12px; font-size: 17px; font-weight: 700; line-height: 1.7; }
.ky-fv__chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ky-fv__chips li { background: #fff; box-shadow: inset 0 0 0 1.5px #cfe0ff; color: var(--navy); border-radius: 999px; font-size: 13px; font-weight: 900; padding: 4px 11px; }
.ky-fv__chips li::before { content: "✓ "; color: var(--blue); }
.ky-fv .ky-cta { margin-top: 18px; }
.ky-fv .ky-cta__btn { margin: 0; }
.ky-fv .ky-cta { text-align: left; }
.ky-fv .ky-cta__hook, .ky-fv .ky-cta__note { text-align: center; max-width: 440px; }

/* 塾長の写真 ＋ 実際のLINE画面（入会後に届くもの）を重ねる */
.ky-fv__visual { position: relative; min-height: 420px; }
.ky-fv__photo { position: absolute; left: 0; top: 0; width: 64%; border-radius: 22px; overflow: hidden; background: var(--navy); box-shadow: 0 16px 40px rgba(10,40,88,0.18); }
.ky-fv__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.ky-fv__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(10,40,88,0.95) 45%); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.45; }
.ky-fv__photo figcaption b { display: block; font-size: 16px; font-weight: 900; }
.ky-phone { position: absolute; right: 0; top: 18%; width: 52%; border-radius: 26px; padding: 7px; background: #0f172a; box-shadow: 0 20px 44px rgba(15,23,42,0.28); }
.ky-phone img { border-radius: 20px; width: 100%; }
.ky-phone__label { position: absolute; z-index: 2; right: 30%; top: 12%; transform: rotate(-4deg); background: var(--marker); color: var(--navy); font-size: 12px; font-weight: 900; padding: 3px 9px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); white-space: nowrap; }

.ky-scrollcue { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 18px auto 0; color: var(--blue); font-size: 13px; font-weight: 900; text-decoration: none; }
.ky-scrollcue::after { content: ""; width: 12px; height: 12px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); animation: ky-bounce 1.6s ease-in-out infinite; }
@keyframes ky-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
@media (prefers-reduced-motion: reduce) { .ky-scrollcue::after { animation: none; } }

@media (max-width: 760px) {
  .ky-fv { padding: 16px 0 14px; }
  .ky-fv__grid { grid-template-columns: 1fr; gap: 0; }
  .ky-fv__h1-small { font-size: 13px; margin-bottom: 4px; }
  .ky-fv__sub { font-size: 15px; margin-top: 8px; }
  .ky-fv__chips { margin-top: 10px; }
  .ky-fv__visual { order: 2; min-height: 0; height: 200px; margin-top: 14px; }
  .ky-fv__photo { width: 46%; height: 200px; }
  .ky-fv__photo img { height: 200px; aspect-ratio: auto; }
  .ky-phone { width: 50%; top: 10px; right: 0; height: 190px; overflow: hidden; padding: 5px 5px 0; border-radius: 20px 20px 0 0; }
  .ky-phone img { border-radius: 16px 16px 0 0; }
  .ky-fv__text { display: contents; }
  .ky-fv__copy { order: 1; }
  .ky-fv .ky-cta { order: 3; margin-top: 14px; }
  .ky-fv .ky-cta__btn { margin: 0 auto; }
  .ky-fv .ky-cta__hook, .ky-fv .ky-cta__note { margin-left: auto; margin-right: auto; }
  .ky-fv .ky-scrollcue { order: 4; margin-top: 10px; }
}
@media (max-width: 860px) {
  /* スマホではナビを細くして、FVに高さを回す */
  .ky-nav a { font-size: 13px; padding: 4px 9px; }
  .ky-nav { padding-bottom: 6px; }
}

/* ---------- 比較表 ---------- */
.ky-compare { margin-top: 24px; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 8px; }
.ky-compare table { border-collapse: separate; border-spacing: 0; min-width: 680px; width: 100%; font-size: 14px; line-height: 1.55; }
.ky-compare th, .ky-compare td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); background: #fff; }
.ky-compare thead th { font-size: 13px; font-weight: 900; color: var(--muted); background: var(--wash); }
.ky-compare thead th:first-child { border-top-left-radius: 14px; }
.ky-compare tbody th { font-weight: 900; color: var(--navy); width: 92px; position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--rule); }
.ky-compare .is-us { background: var(--wash-blue); color: var(--ink); font-weight: 700; box-shadow: inset 2px 0 0 var(--blue), inset -2px 0 0 var(--blue); }
.ky-compare thead .is-us { background: var(--blue); color: #fff; font-size: 14px; border-radius: 14px 14px 0 0; box-shadow: none; }
.ky-compare thead th:last-child { border-top-right-radius: 14px; }
.ky-compare td.is-us { width: 30%; min-width: 150px; }
.ky-compare tbody tr:last-child .is-us { box-shadow: inset 2px 0 0 var(--blue), inset -2px 0 0 var(--blue), inset 0 -2px 0 var(--blue); }
.ky-compare .is-us b { color: var(--blue); }
.ky-compare__hint { display: none; font-size: 12px; font-weight: 700; color: var(--muted); text-align: right; margin-top: 12px; }
@media (max-width: 700px) { .ky-compare__hint { display: block; } }
.ky-together { margin-top: 20px; border-radius: 18px; background: var(--navy); color: #fff; padding: 16px 18px; font-weight: 700; line-height: 1.7; }
.ky-together b { color: var(--marker); }

/* ---------- 入会後にできること（アイコン） ---------- */
.ky-can { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ky-can li { background: #fff; border-radius: 18px; padding: 14px 10px 12px; text-align: center; box-shadow: inset 0 0 0 1px var(--rule); }
.ky-can__icon { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: var(--wash-blue); color: var(--blue); }
.ky-can__icon svg { width: 26px; height: 26px; }
.ky-can b { display: block; margin-top: 8px; font-size: 14px; font-weight: 900; line-height: 1.4; }
.ky-can small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.ky-can__plan { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 900; color: var(--blue); }
@media (max-width: 520px) { .ky-can { grid-template-columns: repeat(2, 1fr); } }

/* 読者の切り替え（本人／保護者） */
.ky-who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.ky-who > div { border-radius: 18px; padding: 16px; background: var(--wash); }
.ky-who p:first-child { font-size: 13px; font-weight: 900; color: var(--blue); }
.ky-who p + p { margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.65; }
@media (max-width: 520px) { .ky-who { grid-template-columns: 1fr; } }

/* FVをスマホ1画面に収め、次のセクションの見出しを覗かせる */
@media (max-width: 760px) {
  .ky-fv { padding-top: 12px; }
  .ky-fv__kicker { font-size: 12px; }
  .ky-fv h1 { margin-top: 8px; }
  .ky-fv__h1-main { font-size: 33px; }
  .ky-fv__chips { flex-wrap: nowrap; gap: 4px; }
  .ky-fv__chips li { font-size: 12px; padding: 3px 8px; white-space: nowrap; }
  .ky-fv__visual { height: 168px; margin-top: 12px; }
  .ky-fv__photo, .ky-fv__photo img { height: 168px; }
  .ky-phone { height: 160px; top: 8px; }
  .ky-phone__label { right: auto; left: 44%; top: -6px; font-size: 11px; }
  .ky-fv .ky-cta { margin-top: 12px; }
  .ky-fv .ky-cta__hook { font-size: 13px; margin-bottom: 6px; }
  .ky-fv .ky-cta__btn { min-height: 58px; }
  .ky-fv .ky-cta__note { margin-top: 6px; }
  .ky-fv .ky-scrollcue { margin-top: 6px; }
  #check.ky-section { padding-top: 28px; }
}
