/* =========================================================
   Cebu'n Seas theme - main.css
   ロゴの紺・青・金をもとにした配色。見出しは明朝、本文はUDゴシック。
   ========================================================= */

:root {
  --navy: #0B2340;
  --navy-2: #122F55;
  --ink: #16263B;
  --muted: #5B6B7F;
  --cobalt: #2455C9;
  --cobalt-dark: #1A40A0;
  --sky: #E9F1FB;
  --paper: #F6F8FB;
  --gold: #C99A2E;
  --gold-soft: #F5E9C8;
  --border: #DCE4EE;
  --white: #fff;
  --line: #06C755;
  --line-dark: #05A849;

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --r-lg: 24px;
  --r-md: 14px;
  --r-sm: 8px;
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  letter-spacing: .03em;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  overflow-x: clip;
}
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--cobalt); text-underline-offset: .2em; }
a:hover { color: var(--cobalt-dark); }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, .stuck__answer, .cta-band__title { word-break: auto-phrase; text-wrap: balance; }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.u-sp { display: inline; }
.u-pc { display: none; }
@media (min-width: 768px) { .u-sp { display: none; } .u-pc { display: inline; } }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn--line { background: var(--line); color: #fff; }
.btn--line:hover { background: var(--line-dark); color: #fff; }
.btn--line .icon { width: 1.55em; height: 1.55em; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--lg { min-height: 60px; font-size: 17px; padding: 14px 32px; }
.btn--sm { min-height: 40px; font-size: 13px; padding: 8px 16px; }
.btn--block { display: flex; width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--cobalt); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
/* 上の細い帯は高さを固定し、スクロールで画面外へ流れるだけにする（高さが変わらないのでガクつかない） */
.site-header { position: sticky; top: -28px; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.admin-bar .site-header { top: 4px; }
@media (max-width: 782px) { .admin-bar .site-header { top: -28px; } }
.site-header__bar { background: var(--navy); color: rgba(255,255,255,.85); font-size: 12px; text-align: center; padding: 0 var(--gutter); height: 28px; line-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand__link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--navy); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: .08em; }
.brand__sub { font-size: 10.5px; color: var(--muted); letter-spacing: .02em; }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0;
  background: none; border: 0; padding: 4px; cursor: pointer; color: var(--navy);
}
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle__label { font-size: 10px; line-height: 1; white-space: nowrap; }
.site-header__line { white-space: nowrap; }
.brand__name { white-space: nowrap; }
@media (max-width: 480px) { .brand__sub { display: none; } .brand__name { font-size: 17px; } .site-header__inner { gap: 10px; } }
@media (max-width: 420px) { .site-header__line { display: none; } }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* mobile drawer */
.gnav {
  position: fixed; max-width: 100vw; left: 0; right: 0; top: calc(var(--header-h) + 25px); bottom: 0;
  background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.gnav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
.gnav__list { list-style: none; margin: 0; padding: 0; }
.gnav__list > li { border-bottom: 1px solid var(--border); }
.gnav__list a { display: block; padding: 16px 4px; color: var(--navy); font-weight: 700; text-decoration: none; }
.gnav__list a small { display: none; }
.gnav__list .sub-menu { list-style: none; padding: 0 0 8px 16px; margin: 0; }
.gnav__list .sub-menu a { padding: 8px 4px; font-weight: 400; font-size: 14px; }
.gnav__list .current-menu-item > a, .gnav__list .current_page_item > a { color: var(--cobalt); }
.gnav__cta { display: grid; gap: 10px; margin-top: 24px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .site-header__bar { text-align: right; padding-right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
  .menu-toggle { display: none; }
  .gnav {
    position: static; transform: none; visibility: visible; padding: 0; background: none; overflow: visible;
    display: flex; align-items: center; margin-left: auto;
  }
  .gnav__list { display: flex; gap: 2px; }
  .gnav__list > li { border: 0; position: relative; }
  .gnav__list > li > a { padding: 10px 12px; font-size: 14px; border-radius: 8px; line-height: 1.3; text-align: center; }
  .gnav__list > li > a small { font-size: 10px; }
  .gnav__list > li > a:hover { background: var(--sky); color: var(--cobalt); }
  .gnav__list .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
    box-shadow: 0 12px 30px rgba(11,35,64,.1);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
  }
  .gnav__list li:hover > .sub-menu, .gnav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .gnav__list .sub-menu a { padding: 8px 10px; border-radius: 6px; }
  .gnav__list .sub-menu a:hover { background: var(--sky); }
  .gnav__cta { display: none; }
}

/* ---------- section common ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 5.4vw, 38px); line-height: 1.5; letter-spacing: .04em;
  color: var(--navy); text-align: center;
}
.section-title--left { text-align: left; }
.section-lead { margin-top: 20px; color: var(--ink); max-width: 38em; }
.section-lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-more { margin-top: 32px; text-align: center; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 30%, var(--sky) 0 34%, transparent 34.2%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  padding: 40px 0 72px;
}
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 104px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}
.hero__heading { font-weight: 400; }
.hero__kicker {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: 13px; color: var(--cobalt); letter-spacing: .06em;
  padding: 4px 14px; border: 1px solid var(--cobalt); border-radius: 999px;
}
.hero__title {
  display: block; margin-top: 18px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(25px, 7.1vw, 46px); line-height: 1.45; letter-spacing: .02em; color: var(--navy);
}
.hero__title .nw { white-space: nowrap; }
@media (min-width: 1200px) { .hero__title { font-size: 50px; } }
.hero__lead { margin-top: 22px; font-size: clamp(15px, 3.8vw, 17px); max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero__actions .btn { white-space: nowrap; }
@media (max-width: 520px) { .hero__actions .btn { width: 100%; font-size: 16px; padding-left: 16px; padding-right: 16px; } }
.hero__facts { display: flex; gap: 0; margin-top: 36px; border-top: 1px solid var(--border); }
.hero__facts li { flex: 1; padding: 14px 8px 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.hero__facts li + li { border-left: 1px solid var(--border); padding-left: 14px; }
.hero__facts strong { display: block; white-space: nowrap; font-family: var(--font-display); font-size: clamp(17px, 4.4vw, 26px); color: var(--navy); font-weight: 800; letter-spacing: .02em; }

.hero__visual { position: relative; padding: 0 0 56px 0; }
@media (min-width: 960px) { .hero__visual { padding: 0 0 64px 40px; } }
.hero__photo { position: relative; }
.hero__photo::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px;
  border: 2px solid var(--gold); border-radius: var(--r-lg); z-index: 0;
}
.hero__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--sky); }
.hero__window {
  position: absolute; left: 0; bottom: 0; z-index: 2; width: 52%;
  background: #fff; padding: 8px 8px 4px; border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(11,35,64,.18);
}
@media (min-width: 960px) { .hero__window { left: 0; width: 46%; } }
.hero__window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: var(--sky); }
.hero__window figcaption { font-size: 11px; color: var(--muted); padding: 4px 2px 0; }

.note-card {
  position: absolute; z-index: 3; right: -6px; bottom: 8px; width: 168px;
  background: #fff; border-radius: 6px; padding: 14px 16px 12px;
  box-shadow: 0 10px 24px rgba(11,35,64,.16);
  transform: rotate(3deg);
  background-image: repeating-linear-gradient(transparent 0 25px, var(--sky) 25px 26px);
}
.note-card::before { content: ""; position: absolute; top: -9px; left: 50%; width: 56px; height: 18px; margin-left: -28px; background: var(--gold-soft); opacity: .9; transform: rotate(-4deg); }
.note-card__word { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--cobalt); line-height: 1; }
.note-card__text { font-size: 12.5px; line-height: 1.6; margin-top: 6px; }
.note-card__text em { font-style: normal; font-weight: 700; background: linear-gradient(transparent 60%, var(--gold-soft) 60%); }
.note-card__sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
@media (min-width: 960px) { .note-card { right: -20px; bottom: 40px; width: 190px; } }

/* ---------- stuck (悩み) ---------- */
.stuck__list { display: grid; gap: 12px; max-width: 960px; margin: 40px auto 0; }
@media (min-width: 768px) { .stuck__list { grid-template-columns: 1fr 1fr; gap: 16px 20px; } }
.stuck__list li {
  position: relative; padding: 20px 20px 20px 56px;
  background: var(--paper); border-radius: var(--r-md); font-weight: 700; line-height: 1.7;
}
.stuck__list li::before {
  content: "“"; position: absolute; left: 18px; top: 8px;
  font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--gold);
}
.stuck__answer {
  margin: 44px auto 0; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 4.6vw, 26px); line-height: 1.7; color: var(--navy);
}

/* ---------- method ---------- */
.method { background: var(--sky); }
.method__inner { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .method__inner { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
  .method__head { position: sticky; top: 120px; }
}
.method__photo { margin-top: 28px; }
.method__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: #fff; }
.steps { display: grid; gap: 16px; counter-reset: none; }
.steps__item {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: #fff; border-radius: var(--r-lg); padding: 28px 24px;
}
@media (min-width: 768px) { .steps__item { padding: 36px 36px; gap: 26px; } }
.steps__num {
  font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1;
  color: var(--gold); min-width: 1ch;
}
.steps__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }

/* ---------- points ---------- */
.points__grid { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .points__grid { grid-template-columns: 1fr 1fr; } }
.point { padding: 28px 4px; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) {
  .point { padding: 36px 32px; }
  .point:nth-child(odd) { border-right: 1px solid var(--border); padding-left: 0; }
  .point:nth-child(even) { padding-right: 0; }
}
.point__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }
.point__title::before { content: ""; display: block; width: 28px; height: 3px; background: var(--cobalt); margin-bottom: 14px; }

/* ---------- fit ---------- */
.fit { background: var(--paper); }
.fit__inner { display: grid; gap: 20px; }
@media (min-width: 900px) { .fit__inner { grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; } }
.fit__col { border-radius: var(--r-lg); padding: 32px 24px; }
@media (min-width: 768px) { .fit__col { padding: 44px 40px; } }
.fit__col--yes { background: #fff; }
.fit__col--other { border: 2px dashed var(--border); color: var(--muted); }
.fit__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 18px; line-height: 1.5; }
.fit__col--other .fit__title { color: var(--ink); }
.check-list li { position: relative; padding: 10px 0 10px 36px; border-bottom: 1px dashed var(--border); line-height: 1.7; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- voices ---------- */
.voices { background: #fff; }
.voices__grid { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 900px) { .voices__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; } }
.voice { background: var(--paper); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; }
.voice .yt-lite { margin-bottom: 18px; }
.voice__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.55; color: var(--navy); margin-bottom: 10px; }
.voice p { font-size: 15px; }
.voice__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--pos, center 50%); border-radius: var(--r-md); margin-bottom: 18px; background: var(--sky); }
.voice__name { margin-top: auto; padding-top: 14px; font-size: 13px !important; color: var(--muted); font-weight: 700; }

.yt-lite {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; padding: 0; background: #000; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt-lite:hover img { opacity: 1; }
.yt-lite__btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--cobalt);
  display: grid; place-items: center;
}
.yt-lite__btn .icon { width: 28px; height: 28px; margin-left: 4px; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- teacher ---------- */
.teacher { background: var(--paper); }
.teacher__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .teacher__inner { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.teacher__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: #fff; }
.teacher__kana { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .1em; margin-top: 4px; }
.teacher__body p { margin-top: 16px; }
.teacher__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; }
.teacher__facts li { background: #fff; border-radius: var(--r-sm); padding: 10px 12px; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.teacher__movie { display: grid; gap: 20px; margin-top: 56px; align-items: center; }
@media (min-width: 900px) { .teacher__movie { grid-template-columns: 1fr 1.6fr; gap: 48px; } }
.teacher__movie h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); }
.teacher__movie p { margin-top: 8px; color: var(--muted); }

/* ---------- start (料金・流れ) ---------- */
.start__inner { display: grid; gap: 40px; }
@media (min-width: 960px) { .start__inner { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.start__text { margin-top: 20px; padding: 24px; background: var(--sky); border-radius: var(--r-md); }
.start__actions { display: grid; gap: 12px; margin-top: 24px; max-width: 420px; }
.flow { position: relative; display: grid; gap: 0; }
.flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-bottom: 28px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--border); }
.flow__num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px;
}
.flow h3 { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-top: 10px; }
.flow p { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ---------- courses ---------- */
.courses { background: var(--navy); color: #fff; }
.courses .section-title { color: #fff; }
.courses .section-lead { color: rgba(255,255,255,.85); }
.course { display: block; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r-lg); overflow: hidden; transition: transform .2s; }
.course:hover { transform: translateY(-3px); color: var(--ink); }
.course__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sky); }
.course__body { padding: 22px 22px 26px; }
.course__title { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.course__body p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.course--main { display: grid; margin-top: 44px; background: var(--gold-soft); }
.course--main .course__body { padding: 28px 24px; }
.course--main .course__title { font-size: clamp(22px, 5vw, 30px); }
.course--main .course__body p { color: var(--ink); font-size: 15px; }
.course__tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--gold); padding: 2px 12px; border-radius: 999px; margin-bottom: 10px; }
.course__more { display: inline-flex; align-items: center; gap: .4em; margin-top: 16px; font-weight: 700; color: var(--cobalt); border-bottom: 1px solid currentColor; }
@media (min-width: 900px) {
  .course--main { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .course--main .course__body { padding: 48px; }
  .course--main .course__img { height: 100%; aspect-ratio: auto; min-height: 320px; }
}
.courses__grid { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 640px) { .courses__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .courses__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; } }

/* ---------- FAQ ---------- */
.faq__list { margin-top: 40px; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 44px; font-weight: 700; line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; position: absolute; left: 4px; top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--cobalt); }
.faq__item summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 18px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 18px no-repeat;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { position: relative; padding: 0 12px 24px 44px; color: var(--muted); }
.faq__a::before { content: "A"; position: absolute; left: 4px; top: -4px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--gold); }

/* ---------- post cards ---------- */
.blog-latest { background: var(--paper); }
.post-grid { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .post-grid--2 { grid-template-columns: 1fr 1fr; } }
.post-grid--3 { margin-top: 20px; }
.card { background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.card__link:hover .card__title { color: var(--cobalt); }
.card__thumb img, .thumb-placeholder { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.thumb-placeholder {
  display: grid; place-items: center; background: var(--navy);
  background-image: radial-gradient(circle at 80% 20%, rgba(36,85,201,.6), transparent 55%);
  color: var(--gold); font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; font-size: 15px;
}
.card__body { padding: 16px 18px 20px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.card__cat { background: var(--sky); color: var(--cobalt); padding: 0 8px; border-radius: 4px; font-weight: 700; }
.card__title { font-size: 16px; font-weight: 700; line-height: 1.6; margin-top: 6px; color: var(--navy); transition: color .2s; }
.card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 64px 0; border-top: 6px solid var(--gold); }
@media (min-width: 768px) { .cta-band { padding: 88px 0; } }
.cta-band__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.cta-band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 5.4vw, 36px); line-height: 1.5; }
.cta-band__text p { margin-top: 14px; color: rgba(255,255,255,.85); }
.cta-band__actions { display: grid; gap: 12px; }
.cta-band__note { font-size: 13px; color: rgba(255,255,255,.7); text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: #071A31; color: rgba(255,255,255,.75); padding: 56px 0 100px; font-size: 14px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 32px; } }
.site-footer__inner { display: grid; gap: 36px; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.site-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .08em; line-height: 1.2; }
.site-footer__brand img { width: 40px; height: 40px; border-radius: 50%; }
.site-footer__brand small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.site-footer__desc { margin-top: 16px; line-height: 1.9; max-width: 32em; }
.site-footer__sns { display: flex; gap: 16px; margin-top: 20px; }
.site-footer__sns a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.site-footer__nav { display: grid; gap: 8px 32px; grid-template-columns: 1fr 1fr; align-content: start; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { padding: 5px 0; }
.site-footer__list a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer__list a:hover { color: #fff; text-decoration: underline; }
.site-footer__list small { margin-left: .4em; font-size: 11px; opacity: .7; }
.site-footer__copy { text-align: center; font-size: 12px; margin-top: 40px; color: rgba(255,255,255,.5); }

/* ---------- fixed CTA (mobile) ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); box-shadow: 0 -4px 18px rgba(11,35,64,.12);
  transform: translateY(110%); transition: transform .3s;
}
.fixed-cta.is-visible { transform: none; }
.fixed-cta .btn { min-height: 48px; font-size: 14px; padding: 8px; }
.fixed-cta__mail {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 700; font-size: 13px; text-decoration: none; line-height: 1.3;
}
@media (min-width: 900px) { .fixed-cta { display: none; } }

/* ---------- page hero / breadcrumbs ---------- */
.page-hero { background: var(--sky); padding: 24px 0 36px; }
@media (min-width: 768px) { .page-hero { padding: 32px 0 56px; } }
.page-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 6vw, 42px); line-height: 1.45; color: var(--navy); margin-top: 16px; letter-spacing: .04em; }
.page-hero__desc { margin-top: 14px; color: var(--muted); max-width: 44em; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #9AAABB; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { display: inline-block; max-width: 22em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* ---------- entry content（本文） ---------- */
.page-body { padding: 48px 0 80px; }
.entry-content { font-size: 16px; line-height: 2; }
.entry-content--page { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content > .alignwide { max-width: 1160px; margin-left: auto; margin-right: auto; }
.entry-content--page > .alignwide { width: calc(100% + 160px); max-width: calc(100vw - 2 * var(--gutter)); margin-left: 50%; transform: translateX(-50%); }
.entry-content--page > .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 4.8vw, 28px); line-height: 1.55; color: var(--navy);
  margin-top: 2.4em; padding: 0 0 12px; border-bottom: 2px solid var(--navy);
}
.entry-content h3 { font-size: clamp(18px, 4.2vw, 21px); font-weight: 700; line-height: 1.6; color: var(--navy); margin-top: 2em; padding-left: 14px; border-left: 4px solid var(--gold); }
.entry-content h4 { font-size: 17px; font-weight: 700; margin-top: 1.8em; color: var(--navy); }
.entry-content ul:not([class]), .entry-content ol:not([class]) { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: var(--r-sm); }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-content blockquote { border-left: 4px solid var(--border); padding: 4px 0 4px 20px; color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--sky); }
.entry-content .wp-block-button__link { border-radius: 999px; font-weight: 700; }
.entry-content .wp-block-embed iframe, .entry-content video { width: 100%; }
.entry-content .wp-block-embed__wrapper { position: relative; }
.entry-content .has-text-align-center { text-align: center; }
/* 既存ページのVK Blocks・Snow Monkey Formsとの相性調整 */
.entry-content--page .vk_heading, .entry-content--page .vk_heading_title { font-family: var(--font-display); }
.entry-content--page .wp-block-cover, .entry-content--page .wp-block-group.has-background { border-radius: 0; }
.entry-content .smf-form, .entry-content .wpforms-container { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- blog layout ---------- */
.blog-layout { display: grid; gap: 48px; padding-top: 40px; padding-bottom: 80px; }
@media (min-width: 1024px) { .blog-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.post__header { margin-bottom: 28px; }
.post__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 5.6vw, 34px); line-height: 1.55; color: var(--navy); margin-top: 16px; letter-spacing: .03em; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.post-meta__cat { background: var(--sky); color: var(--cobalt); text-decoration: none; padding: 0 10px; border-radius: 4px; font-weight: 700; }
.post__thumb { margin-bottom: 32px; }
.post__thumb img { width: 100%; border-radius: var(--r-md); }
.post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post__tags a { font-size: 13px; color: var(--muted); text-decoration: none; background: var(--paper); padding: 4px 10px; border-radius: 4px; }

.toc { margin: 2em 0; background: var(--paper); border-radius: var(--r-md); padding: 18px 22px; }
.toc__title { font-weight: 700; cursor: pointer; color: var(--navy); }
.toc__list { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: toc; font-size: 15px; line-height: 1.7; }
.toc__item { margin: 0 !important; padding: 5px 0; }
.toc__item--h2 { counter-increment: toc; }
.toc__item--h2::before { content: counter(toc) ". "; color: var(--gold); font-weight: 700; }
.toc__item--h3 { padding-left: 1.6em; font-size: 14px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--cobalt); text-decoration: underline; }

.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 18px; margin-top: 56px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-md); }
.author-box__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--sky); }
.author-box__label { font-size: 12px; color: var(--muted); }
.author-box__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy); }
.author-box__name span { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 10px; }
.author-box__text { font-size: 14px; line-height: 1.8; margin: 8px 0 10px; }
@media (max-width: 520px) { .author-box { grid-template-columns: 1fr; } }

.post-cta { margin-top: 24px; padding: 28px 24px; background: var(--navy); color: #fff; border-radius: var(--r-md); }
.post-cta__title { font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.post-cta__text { margin-top: 8px; color: rgba(255,255,255,.85); font-size: 15px; }
.post-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 18px; }
.post-cta .text-link { color: #fff; }

.post-nav { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-md); text-decoration: none; color: var(--navy); font-weight: 700; font-size: 14px; line-height: 1.6; height: 100%; }
.post-nav a:hover { border-color: var(--cobalt); }
.post-nav span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.post-nav__next { text-align: right; }
.related { margin-top: 56px; }
.related__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy); }

.sidebar { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 120px; } }
.side-box { border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.side-box--cta { background: var(--sky); border: 0; display: grid; gap: 12px; }
.side-box__kicker { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy); }
.side-box__lead { font-size: 14px; line-height: 1.8; }
.side-box__title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.side-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.side-list li { padding: 7px 0; border-bottom: 1px dashed var(--border); line-height: 1.6; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--ink); text-decoration: none; }
.side-list a:hover { color: var(--cobalt); }

.search-form { display: flex; gap: 6px; }
.search-form__input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-sm); font: inherit; font-size: 15px; }
.search-form__btn { height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }

.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-sm); text-decoration: none; color: var(--navy); font-weight: 700; }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-numbers.dots { border: 0; }

.empty, .notfound { padding: 24px 0 64px; display: grid; gap: 20px; }
.notfound__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.notfound__list small { margin-left: .4em; color: var(--muted); }

.comments { margin-top: 56px; }
.comments__title { font-size: 18px; color: var(--navy); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-sm); font: inherit; }
.comment-form .submit { background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 12px 28px; font-weight: 700; cursor: pointer; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 本文ブロックの補正（既存ページ・記事） ---------- */
.entry-content ul.wp-block-list:not([class*="is-style"]),
.entry-content ol.wp-block-list:not([class*="is-style"]) { list-style: revert; padding-left: 1.4em; }
.entry-content h2.has-text-align-center { border-bottom: 0; padding-bottom: 0; }
.entry-content h2.has-text-align-center::after { content: ""; display: block; width: 48px; height: 3px; margin: 14px auto 0; background: var(--gold); }
.entry-content .alignfull > .wp-block-group__inner-container,
.entry-content .alignfull.is-layout-constrained > *,
.entry-content .alignfull.is-layout-flow > * { max-width: 1000px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.entry-content .alignfull.is-layout-flow > * + *,
.entry-content .alignfull.is-layout-constrained > * + * { margin-top: 1.2em; }
.entry-content .wp-block-button__link:not(.has-background) { background: var(--cobalt); color: #fff; }
.entry-content .wp-block-button__link { padding: 14px 32px; }

/* ---------- サイドバーのウィジェット ---------- */
.widget h2, .widget .wp-block-heading { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 10px; font-family: var(--font-body); }
.widget ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.widget li { padding: 7px 0; border-bottom: 1px dashed var(--border); line-height: 1.6; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--ink); text-decoration: none; }
.widget a:hover { color: var(--cobalt); }
.widget .wp-block-search__label { display: block; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget .wp-block-search__input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-sm); font: inherit; }
.widget .wp-block-search__button { height: 44px; margin: 0; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }

/* =========================================================
   v2: 動き・グラデーション・追加コンポーネント
   ========================================================= */

/* ---------- 背景グラデーション ---------- */
.hero {
  background:
    radial-gradient(900px 600px at 92% 18%, rgba(59,182,224,.28), transparent 62%),
    radial-gradient(700px 500px at 8% 92%, rgba(36,85,201,.14), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F7FC 70%, #EAF1FA 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; max-width: 760px; aspect-ratio: 1;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201,154,46,.14), transparent 60%);
}
.method { background: linear-gradient(160deg, #EAF2FC 0%, #E3EEFA 55%, #EEF4FB 100%); }
.fit, .teacher, .blog-latest { background: linear-gradient(180deg, #F6F8FB 0%, #EEF3F9 100%); }
.courses {
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(36,85,201,.55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(59,182,224,.25), transparent 60%),
    linear-gradient(180deg, #0B2340 0%, #0E2B50 100%);
}
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background-image: linear-gradient(120deg, #0B2340, #10305C 60%, #0B2340);
}
/* ゆっくり動く光。背景の再描画ではなく transform だけで動かす（スクロールが重くならない） */
.cta-band::before {
  content: ""; position: absolute; inset: -25% -15%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 400px at 80% 25%, rgba(36,85,201,.7), transparent 60%),
    radial-gradient(500px 400px at 15% 85%, rgba(201,154,46,.25), transparent 60%);
  animation: cs-drift 16s ease-in-out infinite alternate; will-change: transform;
}
@keyframes cs-drift { from { transform: translate3d(-4%, -2%, 0); } to { transform: translate3d(4%, 3%, 0); } }

/* ---------- スクロールで現れる ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal--left { transform: translateX(-26px); }
html.js .reveal--right { transform: translateX(26px); }
html.js .reveal--scale { transform: scale(.96); }
html.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
html.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
html.js .reveal-stagger.is-in > :nth-child(2) { transition-delay: .08s; }
html.js .reveal-stagger.is-in > :nth-child(3) { transition-delay: .16s; }
html.js .reveal-stagger.is-in > :nth-child(4) { transition-delay: .24s; }
html.js .reveal-stagger.is-in > :nth-child(5) { transition-delay: .32s; }
html.js .reveal-stagger.is-in > :nth-child(6) { transition-delay: .40s; }
html.js .reveal-stagger.is-in > :nth-child(n+7) { transition-delay: .46s; }

/* ヒーローは読み込み時に順番に */
html.js .hero__copy > * { opacity: 0; transform: translateY(16px); animation: cs-up .7s cubic-bezier(.2,.7,.2,1) forwards; }
html.js .hero__copy > :nth-child(2) { animation-delay: .1s; }
html.js .hero__copy > :nth-child(3) { animation-delay: .2s; }
html.js .hero__copy > :nth-child(4) { animation-delay: .3s; }
html.js .hero__copy > :nth-child(5) { animation-delay: .4s; }
html.js .hero__visual { opacity: 0; animation: cs-in .9s ease .25s forwards; }
html.js .note-card { animation: cs-note 1s cubic-bezier(.2,.7,.2,1) .7s both; }
@keyframes cs-up { to { opacity: 1; transform: none; } }
@keyframes cs-in { to { opacity: 1; } }
@keyframes cs-note { from { opacity: 0; transform: rotate(3deg) translateY(16px) scale(.9); } to { opacity: 1; transform: rotate(3deg); } }

/* ---------- ボタンの効果 ---------- */
.btn { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn:hover::after { left: 125%; }
.btn--line { box-shadow: 0 6px 18px rgba(6,199,85,.28); }
.btn--line:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6,199,85,.38); }
.btn--line:active { transform: translateY(0); }
.btn--line .icon--line { transition: transform .3s; }
.btn--line:hover .icon--line { transform: rotate(-8deg) scale(1.1); }
.btn--ghost:hover, .btn--light:hover { transform: translateY(-2px); }
.hero .btn--lg { animation: cs-glow 2.8s ease-in-out infinite; }
@keyframes cs-glow { 0%,100% { box-shadow: 0 6px 18px rgba(6,199,85,.28); } 50% { box-shadow: 0 10px 30px rgba(6,199,85,.5); } }
.course { transition: transform .25s, box-shadow .25s; }
.course:hover { box-shadow: 0 20px 44px rgba(0,0,0,.25); }
.course__img { transition: transform .5s ease; }
.course:hover .course__img { transform: scale(1.04); }
.course { overflow: hidden; }
.card { transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,35,64,.12); }
.card__thumb { overflow: hidden; }
.card__thumb img { transition: transform .5s ease; }
.card:hover .card__thumb img { transform: scale(1.05); }
.steps__item, .point, .voice { transition: transform .25s, box-shadow .25s; }
.steps__item:hover { transform: translateX(6px); box-shadow: 0 14px 30px rgba(11,35,64,.1); }

/* ---------- ヘッダー（スクロール時） ---------- */
.site-header { transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,35,64,.1); }

/* ---------- 数字のカウントアップ ---------- */
.hero__facts strong[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- 動画セクション ---------- */
.movie { background: linear-gradient(180deg, #0B2340 0%, #10305C 100%); color: #fff; }
.movie .section-title { color: #fff; }
.movie__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .movie__inner { grid-template-columns: 1.35fr 1fr; gap: 56px; } }
.movie__text p { color: rgba(255,255,255,.85); margin-top: 16px; }
.movie__text .section-title { text-align: left; }
.movie__points { display: grid; gap: 10px; margin-top: 24px; }
.movie__points li { position: relative; padding-left: 30px; font-size: 15px; color: rgba(255,255,255,.95); }
.movie__points li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #061a2e;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 30px 60px rgba(0,0,0,.4);
}
.video-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #061a2e; }
.video-frame__play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(11,35,64,.1), rgba(11,35,64,.6)); transition: opacity .3s;
}
.video-frame__play-icon { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--cobalt); animation: cs-pulse 2.4s infinite; }
.video-frame__play-icon .icon { width: 34px; height: 34px; margin-left: 4px; }
.video-frame__play-text { font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.video-frame.is-playing .video-frame__play { opacity: 0; pointer-events: none; }
@keyframes cs-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- 流れる写真ギャラリー ---------- */
/* 端のフェードは mask ではなく重ねたグラデーションで表現（mask は動く要素だと毎フレーム再描画されて重い） */
.marquee { position: relative; overflow: hidden; padding: 8px 0; contain: paint; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: cs-marquee 60s linear infinite; will-change: transform; }
.marquee:hover .marquee__track, .marquee.is-offscreen .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 170px; width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--sky); flex-shrink: 0; }
@media (min-width: 768px) { .marquee__track img { height: 230px; } }
@keyframes cs-marquee { to { transform: translateX(-50%); } }
.gallery-strip { padding: 56px 0 0; }
.gallery-strip .section-title { margin-bottom: 24px; }

/* ---------- 下層ページ共通 ---------- */
.page-hero--photo { position: relative; overflow: hidden; padding: 56px 0 72px; color: #fff; background: var(--navy); }
@media (min-width: 768px) { .page-hero--photo { padding: 88px 0 100px; } }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,35,64,.95) 0%, rgba(11,35,64,.6) 60%, rgba(11,35,64,.3) 100%); }
.page-hero--photo .container { position: relative; z-index: 1; }
.page-hero--photo .page-hero__title { color: #fff; }
.page-hero--photo .breadcrumbs, .page-hero--photo .breadcrumbs a { color: rgba(255,255,255,.7); }
.page-hero--photo .page-hero__desc { color: rgba(255,255,255,.88); }
.page-hero__kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gold); margin-top: 20px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 26px; align-items: center; }
.page-hero__actions .text-link { color: #fff; }

.lead-block { max-width: 760px; margin: 0 auto; text-align: center; }
.lead-block .section-title { margin-bottom: 20px; }
.feature-rows { display: grid; gap: 48px; margin-top: 48px; }
.feature-row { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .feature-row { grid-template-columns: 1fr 1fr; gap: 56px; } .feature-row--rev .feature-row__media { order: 2; } }
.feature-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--sky); box-shadow: 0 18px 40px rgba(11,35,64,.12); }
.feature-row__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--gold); line-height: 1; }
.feature-row__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 4.6vw, 28px); color: var(--navy); line-height: 1.5; margin: 8px 0 14px; }
.feature-row p + p { margin-top: 12px; }

.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--sky); transition: transform .4s; }
.photo-grid img:hover { transform: scale(1.03); }
.photo-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .photo-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.info-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.info-table th, .info-table td { padding: 16px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.8; }
.info-table th { width: 32%; color: var(--navy); font-weight: 700; background: var(--sky); }
@media (max-width: 600px) { .info-table th, .info-table td { display: block; width: 100%; } .info-table th { padding-bottom: 6px; } .info-table td { padding-top: 6px; } }

.quote-card { background: #fff; border-left: 5px solid var(--gold); border-radius: var(--r-md); padding: 24px 24px 24px 28px; box-shadow: 0 10px 30px rgba(11,35,64,.06); }
.quote-card p + p { margin-top: 10px; }
.quote-card__name { font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 12px !important; }

.video-grid { display: grid; gap: 24px; margin-top: 36px; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.video-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); margin: 14px 0 6px; }
.video-card p { font-size: 14px; color: var(--muted); }
.video-card .video-frame { box-shadow: 0 18px 40px rgba(11,35,64,.14); }

.price-box { background: #fff; border: 2px solid var(--gold); border-radius: var(--r-lg); padding: 28px 24px; text-align: center; }
.price-box__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.price-box__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 7vw, 44px); color: var(--navy); line-height: 1.2; margin: 6px 0; }
.price-box__value small { font-size: 16px; margin-left: 4px; }
.price-box__note { font-size: 13px; color: var(--muted); }

.timeline { display: grid; gap: 0; margin-top: 36px; }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 0 0 26px; }
.timeline li::before { content: ""; position: absolute; left: 110px; top: 10px; bottom: -4px; width: 2px; background: var(--border); margin-left: -1px; }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 110px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-left: -6px; box-shadow: 0 0 0 4px #fff; }
.timeline__year { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 15px; text-align: right; padding-right: 22px; }
.timeline__body { padding-left: 22px; }
.timeline__body h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.timeline__body p { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 76px 1fr; } .timeline li::before, .timeline li::after { left: 76px; } .timeline__year { padding-right: 16px; font-size: 13px; } }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-list li { font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--cobalt); border: 1px solid var(--border); }

/* ---------- お問い合わせフォーム ---------- */
.contact-layout { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; } }
.contact-side { display: grid; gap: 16px; }
.contact-side__box { background: var(--sky); border-radius: var(--r-lg); padding: 24px; }
.contact-side__box h2 { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.contact-side__box p { font-size: 14px; }
.contact-side__box .btn { margin-top: 14px; }
.cs-form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 22px; }
@media (min-width: 768px) { .cs-form { padding: 40px; } }
.cs-form__row { margin-bottom: 20px; }
.cs-form label, .cs-form legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 15px; }
.cs-form .req { display: inline-block; font-size: 11px; color: #fff; background: #C83A3A; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: middle; }
.cs-form input[type="text"], .cs-form input[type="email"], .cs-form input[type="tel"], .cs-form select, .cs-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); font: inherit; font-size: 16px; background: #fff;
}
.cs-form textarea { min-height: 150px; }
.cs-form input:focus, .cs-form select:focus, .cs-form textarea:focus { outline: 2px solid var(--cobalt); border-color: var(--cobalt); }
.cs-form fieldset { border: 0; padding: 0; margin: 0; }
.cs-form .radio-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cs-form .radio-row label { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.cs-form__note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cs-form__submit { width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .2s, transform .2s; }
.cs-form__submit:hover { background: var(--cobalt); transform: translateY(-2px); }
.cs-form .hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: var(--r-md); margin-bottom: 24px; font-weight: 700; }
.notice--ok { background: #E6F7EC; color: #1B6B3A; }
.notice--ng { background: #FBE9E9; color: #A52A2A; }

/* ---------- 記事内ボックス ---------- */
.entry-content .cs-box { background: var(--sky); border-radius: var(--r-md); padding: 20px 22px; border-left: 5px solid var(--cobalt); }
.entry-content .cs-box > p:first-child { font-size: 16px; color: var(--navy); }
.entry-content .cs-box ul { margin-top: 8px; }
.entry-content .cs-box li { line-height: 1.8; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-stagger > *, html.js .hero__copy > *, html.js .hero__visual, html.js .note-card { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .marquee__track, .cta-band::before, .hero .btn--lg, .video-frame__play-icon { animation: none !important; }
}

/* 横方向のはみ出し防止（スクロール前のアニメーション位置が画面外に出るため） */
.site-main, .cta-band, .site-footer, .section, .page-hero { overflow-x: clip; }

/* お問い合わせ：Instagram DM の案内 */
.contact-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--r-md); background: var(--sky); color: var(--navy); font-size: 14px; line-height: 1.7; }
.contact-note .icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; }
.contact-note a { color: var(--cobalt); font-weight: 700; text-decoration: underline; }

/* 講師プロフィールのヘッダー：七瀬の写真をはっきり見せる */
.page-hero--photo .page-hero__bg[style*="object-position"] { opacity: .95; }
.page-hero--photo:has(.page-hero__bg[style*="object-position"])::after { background: linear-gradient(90deg, rgba(11,35,64,.94) 0%, rgba(11,35,64,.62) 42%, rgba(11,35,64,.08) 100%); }

/* ---------- 大人のオンライン英会話教室ガイド（キーワード対策） ---------- */
.guide { background: #fff; }
.guide__grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .guide__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.guide__item { background: var(--paper); border-radius: var(--r-lg); padding: 26px 24px; border-top: 4px solid var(--cobalt); }
.guide__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.55; color: var(--navy); margin-bottom: 12px; }
.guide__item p { font-size: 15px; }
.compare { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.compare__table caption { text-align: left; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-size: 15px; }
.compare__table th, .compare__table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare__table thead th { background: var(--sky); color: var(--navy); font-weight: 700; }
.compare__table tbody th { color: var(--navy); font-weight: 700; white-space: nowrap; background: #fafcff; }
.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
.compare__table .is-us { background: #eef4ff; color: var(--navy); font-weight: 700; }
.compare__table thead .is-us { background: var(--cobalt); color: #fff; }
