/* ============================================================
   みんなのAI相談室 solo LP
   深紺 × シアン/パープル（ネオンは線と発光のみ）× CTA=ビビッド黄
   DESIGN-GUIDELINE.md 準拠
   ============================================================ */

:root {
  --vwu: 1vw;
  --bg0: #021444;
  --bg1: #06246b;
  --bg2: #0a2d80;
  --ink: #eef3fb;
  --ink-dim: rgba(238, 243, 251, 0.78);
  --cyan: #4cc9f0;
  --purple: #3aa2e8;
  --line: rgba(120, 180, 255, 0.22);
  --card: rgba(255, 255, 255, 0.04);
  --grad: linear-gradient(100deg, #4cc9f0 0%, #3f8fe8 55%, #6a8bff 100%);
  --grad-deep: linear-gradient(100deg, #0e7ca8 0%, #1e5ec4 55%, #10358d 100%);
  --light: #f2f6fd;
  --ink-on-light: #16243c;
  --dim-on-light: rgba(22, 36, 60, 0.72);
  --accent-on-light: #0b5e80;
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: initial; }

body {
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  word-break: auto-phrase;
  line-break: strict;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
i { font-style: normal; }

::selection { background: var(--cyan); color: var(--bg0); }

.nw { white-space: nowrap; }
.sp-only { display: none; }
.pc-only { display: inline; }
@media (min-width: 0px) { .pc-only { display: none; } }
@media (min-width: 0px) { .sp-only { display: inline; } }

/* ---- ローディング ---- */
#loader {
  position: fixed; inset: 0; z-index: 80;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
#loader.done { transform: translateY(-101%); }
.loader-logo { width: clamp(180px, calc(24 * var(--vwu)), 240px); height: auto; }
.loader-line { width: 190px; height: 2px; border-radius: 2px; background: rgba(22, 36, 60, 0.12); overflow: hidden; }
.loader-line::before {
  content: ""; display: block; height: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  animation: loadbar 1.5s ease forwards;
}
@keyframes loadbar { to { transform: scaleX(1); } }
html.revealall #loader { display: none; }
@media (prefers-reduced-motion: reduce) { #loader { display: none; } }

/* ---- ノイズ ---- */
.noise {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---- ヘッダー ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px clamp(16px, calc(3 * var(--vwu)), 40px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22, 36, 60, 0.08);
  transition: transform 0.4s var(--ease-out);
}
.header.hide { transform: translateY(-100%); }
.gnav { display: flex; align-items: center; gap: clamp(16px, calc(2 * var(--vwu)), 30px); }
.gnav a {
  font-size: 13px; font-weight: 700; color: var(--ink-on-light);
  transition: color 0.25s;
}
.gnav a:hover { color: var(--accent-on-light); }
.header-logo img { height: 46px; width: auto; }
.header-cta {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: #fff;
  background: var(--grad-deep);
  padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(38, 64, 142, 0.28);
  transition: transform 0.35s var(--ease-out);
}
.header-cta:hover { transform: translateY(-2px); }
.menu-btn { display: none; }
@media (min-width: 0px) {
  .header { padding: 8px 14px; }
  .header-logo img { height: 38px; }
  .header-cta { display: none; }
  .gnav { display: none; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: none; cursor: pointer;
  }
  .menu-btn span {
    display: block; height: 2px; border-radius: 2px;
    background: #16243c;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
  }
  .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.sp-menu {
  position: fixed; inset: 0; z-index: 49;
  background: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 80px 28px 40px;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.sp-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.sp-menu a {
  padding: 14px 4px;
  font-size: 17px; font-weight: 700; color: var(--ink-on-light);
  border-bottom: 1px solid rgba(22, 36, 60, 0.1);
}
.sp-menu a:first-child { border-top: 1px solid rgba(22, 36, 60, 0.1); }
.sp-menu .sp-menu-cta {
  margin-top: 22px; border: none; border-radius: 999px;
  text-align: center; padding: 17px 10px;
  background: var(--grad-deep); color: #fff; font-weight: 900;
  box-shadow: 0 12px 30px rgba(38, 64, 142, 0.3);
}
/* sp-menu は常時使用 */

/* ============ FV ============ */
.hero {
  position: sticky; top: 0; z-index: 0;
  overflow: hidden;
  display: flex; align-items: center;
  min-height: 100svh;
}

/* FV以降はFVの上の階層としてスライドイン（エクスゲート式カーテン） */
.page-body {
  position: relative; z-index: 1;
  background: linear-gradient(175deg, #012a84 0%, var(--bg1) 45%, var(--bg2) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(rgba(3, 22, 76, 0.72) 0%, rgba(3, 22, 76, 0.85) 100%),
    url("../img/bg/bg_fv.jpg") center / cover no-repeat; /* IMG-01: codex生成後に差し替え */
}
#webgl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.hero-glow {
  position: absolute; pointer-events: none; z-index: 1;
  left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: calc(70 * var(--vwu)); height: calc(70 * var(--vwu)); max-width: 1000px; max-height: 1000px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.12) 0%, rgba(58, 162, 232, 0.07) 40%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(900px, calc(92 * var(--vwu))); margin: 0 auto;
  padding: 130px 0 130px;
  text-align: center;
}
/* FVラベル（塗りチップ。線＋トラッキング英字のアイブロウは禁止） */
.hero-label {
  display: inline-block;
  font-size: clamp(13px, calc(1.15 * var(--vwu)), 15px); font-weight: 900; letter-spacing: 0.1em;
  color: var(--cyan);
}

/* セクション見出し = 巨大英字ウォーターマーク（HERO'ZZ "Issue" 型） */
.sec-en {
  display: block;
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(3.4rem, calc(9 * var(--vwu)), 7rem); line-height: 0.9;
  color: rgba(133, 178, 255, 0.11);
  user-select: none;
}
.sec-en + .section-title, .sec-en + h1, .sec-en + h2 { margin-top: -0.52em; }
.section--light .sec-en { color: rgba(22, 36, 60, 0.08); }
.section-head--center .sec-en { text-align: center; }

/* マーカー強調（座布団・ライト面専用） */
.mk {
  background: linear-gradient(transparent 62%, rgba(76, 201, 240, 0.38) 62%);
  padding: 0 0.08em;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2rem, calc(4.6 * var(--vwu)), 4.2rem);
  line-height: 1.28; letter-spacing: 0.02em;
  margin-top: 22px;
}
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(0.55em); animation: chIn 0.7s var(--ease-out) forwards; animation-play-state: paused; }
.hero-title .grad.ch { animation: chIn 0.7s var(--ease-out) forwards, shine 5.5s ease-in-out infinite; animation-play-state: paused; }
html.loaded .hero-title .ch { animation-play-state: running; }
@keyframes chIn { to { opacity: 1; transform: none; } }
.hero-copy > *:not(.hero-title) { opacity: 0; animation: heroUp 0.9s var(--ease-out) forwards; animation-play-state: paused; }
html.loaded .hero-copy > *:not(.hero-title) { animation-play-state: running; }
.hero-copy > .hero-label { animation-delay: 0.05s; }
.hero-copy > .hero-sub { animation-delay: 0.55s; }
.hero-copy > .hero-band { animation-delay: 0.7s; }
.hero-copy > .hero-nums { animation-delay: 0.82s; }
.hero-copy > .hero-cta { animation-delay: 0.94s; }
.hero-copy > .hero-price { animation-delay: 1.06s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
html.revealall .hero-title .ch, html.revealall .hero-copy > * { animation: none !important; opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-title .ch, .hero-copy > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* FVの「未来」だけ、周期的に光の帯が走る */
.hero-title .grad {
  background-image:
    linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.95) 50%, transparent 68%),
    var(--grad);
  background-size: 220% 100%, 100% 100%;
  background-position: -120% 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  animation: shine 5.5s ease-in-out 2s infinite;
}
@keyframes shine {
  0%, 55% { background-position: -120% 0, 0 0; }
  78%, 100% { background-position: 220% 0, 0 0; }
}
.hero-sub {
  margin-top: 14px;
  font-size: clamp(15px, calc(1.5 * var(--vwu)), 19px); font-weight: 700;
  letter-spacing: 0.14em; color: var(--ink-dim);
}

.hero-band {
  margin-top: 26px;
  font-size: clamp(15px, calc(1.5 * var(--vwu)), 20px); font-weight: 900; line-height: 1.9;
}

/* 数字はバッジでなくタイポグラフィで見せる */
.hero-stats { margin-top: 20px; font-weight: 700; font-size: clamp(14px, calc(1.4 * var(--vwu)), 16px); color: var(--ink-dim); }
.hero-stats b {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(28px, calc(2.6 * var(--vwu)), 38px); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 3px; vertical-align: -0.06em;
}
.hero-stats b i { font-size: 0.6em; }

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

.hero-price { margin-top: 18px; font-size: clamp(13px, calc(1.25 * var(--vwu)), 14.5px); font-weight: 500; color: var(--ink-dim); }
.hero-price b {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(21px, calc(1.9 * var(--vwu)), 26px); line-height: 1;
  color: var(--ink); margin: 0 2px;
}
.hero-price small { font-size: 0.85em; margin-left: 2px; }
.hero-price-sub { margin-left: 12px; font-size: 0.95em; }
@media (min-width: 0px) { .hero-price-sub { display: block; margin-left: 0; margin-top: 4px; } }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: var(--font-en); font-size: 10px; letter-spacing: 0.4em; color: var(--ink-dim);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: hint 2.2s var(--ease-out) infinite;
}
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (min-width: 0px) {
  .hero { min-height: 0; }
  .hero-inner { padding: 92px 0 60px; text-align: left; }
  .hero-stats { line-height: 2; }
  .hero-title { font-size: clamp(1.72rem, calc(8 * var(--vwu)), 2.4rem); margin-top: 16px; }
  .hero-sub { margin-top: 10px; }
  .hero-band { margin-top: 18px; }
  .hero-stats { margin-top: 14px; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .cta-pill { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
}

/* ---- CTAピル（ビビッド黄＝青の海で唯一の暖色） ---- */
.cta-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 19px 44px; border-radius: 999px;
  background: linear-gradient(120deg, #1795cf 0%, #5559ec 100%);
  color: #fff; font-weight: 900; font-size: 16px; letter-spacing: 0.06em;
  box-shadow: 0 12px 44px rgba(76, 201, 240, 0.35), 0 3px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.cta-pill:hover { transform: translateY(-3px); box-shadow: 0 18px 56px rgba(76, 201, 240, 0.4), 0 4px 14px rgba(0, 0, 0, 0.4); }
.section--light .cta-pill {
  background: var(--grad-deep); color: #fff;
  box-shadow: 0 14px 36px rgba(38, 64, 142, 0.32);
}
.cta-pill--small { padding: 14px 30px; font-size: 14px; }
/* 主役CTAと競合させないセカンダリ（法人版への導線） */
.section--light .cta-pill--ghost {
  background: transparent; color: var(--ink-on-light);
  box-shadow: inset 0 0 0 1.5px rgba(22, 36, 60, 0.28);
}
.section--light .cta-pill--ghost:hover { background: rgba(22, 36, 60, 0.05); box-shadow: inset 0 0 0 1.5px rgba(22, 36, 60, 0.45); }
.tx-link { text-decoration: underline; text-underline-offset: 3px; }
.tx-link:hover { opacity: 0.75; }
.section-cta { margin-top: clamp(40px, calc(5 * var(--vwu)), 64px); text-align: center; }
@media (min-width: 0px) { .section-cta .cta-pill { width: 100%; } }

/* ---- 画像プレースホルダー（IMG-XX → codex生成分と差し替え） ---- */
.ph {
  position: relative; width: 100%;
  border: 1px dashed rgba(120, 180, 255, 0.45); border-radius: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(76, 201, 240, 0.08), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(58, 162, 232, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.02);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.ph--wide { aspect-ratio: 3 / 2; }
.ph--screen { aspect-ratio: 16 / 10; }
.ph-tag {
  font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: 0.2em;
  color: var(--cyan);
}
.ph-note { font-size: 12px; color: var(--ink-dim); padding: 0 18px; text-align: center; }
.section--light .ph { border-color: rgba(22, 36, 60, 0.3); background: rgba(22, 36, 60, 0.04); }
.section--light .ph-tag { color: var(--accent-on-light); }
.section--light .ph-note { color: var(--dim-on-light); }

/* ---- 生成ビジュアル：写真自体を主役にし、装飾は光と余白だけに限定 ---- */
.visual-card {
  position: relative; z-index: 0; margin: 0;
  isolation: isolate;
}
.visual-card img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover;
}
.visual-card--problem::before {
  content: ""; position: absolute; z-index: -1;
  inset: 18px -16px -16px 18px;
  border-radius: 8px 30px 8px 30px;
  background: linear-gradient(145deg, rgba(76, 201, 240, 0.34), rgba(64, 140, 232, 0.12) 46%, rgba(58, 162, 232, 0.3));
  filter: blur(1px);
}
.visual-card--problem img {
  border-radius: 30px 8px 30px 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 48px rgba(76, 201, 240, 0.09);
}
.visual-card--problem::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: 30px 8px 30px 8px;
  background:
    linear-gradient(110deg, rgba(3, 22, 76, 0.2), transparent 52%),
    linear-gradient(to top, rgba(3, 22, 76, 0.2), transparent 38%);
}
.visual-card--style::before {
  content: ""; position: absolute; z-index: -1;
  width: 58%; height: 62%; right: -16px; bottom: -16px;
  border-radius: 10px 28px 10px 28px;
  background: linear-gradient(145deg, rgba(76, 201, 240, 0.3), rgba(64, 140, 232, 0.15) 52%, rgba(58, 162, 232, 0.24));
}
.visual-card--style img {
  border-radius: 28px 10px 28px 10px;
  box-shadow: 0 30px 70px rgba(22, 36, 60, 0.2);
}
.visual-card--style::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: 28px 10px 28px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%);
}
@media (min-width: 0px) {
  .problem-visual, .style-visual { padding: 0 5px 14px 0; }
  .visual-card--problem::before { inset: 12px -10px -10px 12px; }
  .visual-card--style::before { right: -10px; bottom: -10px; }
  .visual-card--problem img, .visual-card--problem::after { border-radius: 22px 6px 22px 6px; }
  .visual-card--style img, .visual-card--style::after { border-radius: 22px 8px 22px 8px; }
}

/* ---- セクション共通 ---- */
.section { position: relative; padding: clamp(80px, calc(10 * var(--vwu)), 140px) 0; }
.section--tight { padding-top: clamp(20px, calc(3 * var(--vwu)), 40px); }
.container { width: min(1160px, calc(92 * var(--vwu))); margin: 0 auto; }
.container--narrow { width: min(860px, calc(92 * var(--vwu))); }
.section-head { margin-bottom: clamp(40px, calc(5 * var(--vwu)), 64px); }
.section-head--center { text-align: center; }
.section-title {
  font-weight: 900;
  font-size: clamp(1.6rem, calc(3.8 * var(--vwu)), 2.8rem); line-height: 1.42; margin-top: 18px;
}
.lead { margin-top: 18px; max-width: 42em; color: var(--ink-dim); font-size: clamp(14px, calc(1.3 * var(--vwu)), 16px); }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ライト面 */
.section--light { background: var(--light); color: var(--ink-on-light); }
.section--light .eyebrow { color: var(--accent-on-light); }
.section--light .eyebrow::before { background: var(--accent-on-light); }
.section--light .lead { color: var(--dim-on-light); }
.section--light + .section--light { margin-top: calc(-1 * clamp(80px, calc(10 * var(--vwu)), 140px) * 0); }

/* ============ S02 悩み（人物写真をうっすら） ============ */
#problem { position: relative; }
#problem::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(3, 22, 76, 0.86), rgba(3, 22, 76, 0.86)),
    url("../img/bg/bg_problem.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%);
}
#problem .container { position: relative; z-index: 1; }
.problem-wrap {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, calc(4 * var(--vwu)), 56px); align-items: center;
  margin-bottom: clamp(44px, calc(5 * var(--vwu)), 72px);
}
.problem-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, calc(6 * var(--vwu)), 88px);
}
.problem-list li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 19px 4px;
  border-bottom: 1px solid rgba(120, 180, 255, 0.16);
}
.problem-list li:nth-child(-n+2) { border-top: 1px solid rgba(120, 180, 255, 0.16); }
.problem-list b {
  font-family: var(--font-en); font-weight: 700; font-size: 21px; flex: none;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.problem-list p { font-size: clamp(14.5px, calc(1.35 * var(--vwu)), 16.5px); font-weight: 700; line-height: 1.72; }

.problem-close {
  margin-top: clamp(40px, calc(5 * var(--vwu)), 60px); text-align: center;
  font-size: clamp(1.05rem, calc(2.3 * var(--vwu)), 1.7rem); font-weight: 900; line-height: 1.6;
}
.problem-foot {
  margin-top: 16px; text-align: center;
  font-size: 13px; color: var(--ink-dim); line-height: 1.9;
}
@media (min-width: 0px) {
  .problem-wrap { grid-template-columns: 1fr; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li:nth-child(2) { border-top: none; }
}

/* ---- 実際のeラーニング講座画面（2段の緩やかな流し） ---- */
.screens { margin-top: clamp(46px, calc(6 * var(--vwu)), 76px); overflow: hidden; }
.screens-row { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.screens-row + .screens-row { margin-top: clamp(14px, calc(1.6 * var(--vwu)), 22px); }
.screens-track { display: flex; gap: clamp(14px, calc(1.6 * var(--vwu)), 22px); width: max-content; }
.screens-row--a .screens-track { animation: screens-l 68s linear infinite; }
.screens-row--b .screens-track { animation: screens-r 82s linear infinite; }
@keyframes screens-l { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes screens-r { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.screen-card {
  margin: 0; flex: none; width: clamp(232px, calc(25 * var(--vwu)), 380px);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(150, 200, 255, 0.14);
}
.screen-card img { display: block; width: 100%; height: auto; }
.screens-note { margin-top: clamp(20px, calc(2.4 * var(--vwu)), 30px); text-align: center; font-size: 13px; color: var(--ink-dim); line-height: 1.9; }
@media (prefers-reduced-motion: reduce) {
  .screens-row--a .screens-track, .screens-row--b .screens-track { animation: none; }
}

/* ============ S04 特徴（ライト面） ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid rgba(22, 36, 60, 0.1); border-radius: 16px;
  padding: 40px 30px 34px; text-align: center;
  box-shadow: 0 18px 50px rgba(22, 36, 60, 0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 28px 64px rgba(22, 36, 60, 0.13); }
.feature-num {
  display: block; font-family: var(--font-en); font-weight: 700;
  font-size: clamp(3.4rem, calc(6 * var(--vwu)), 4.8rem); line-height: 1;
  background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature-num i { font-size: 0.55em; }
.feature-txt {
  display: block; font-weight: 900; font-size: clamp(1.9rem, calc(3.4 * var(--vwu)), 2.6rem); line-height: 1.35;
  background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature-unit { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--accent-on-light); letter-spacing: 0.14em; }
.feature-card p { margin-top: 14px; font-size: 14px; color: var(--dim-on-light); }
@media (min-width: 0px) { .feature-grid { grid-template-columns: 1fr; gap: 14px; } .feature-card { padding: 30px 24px 26px; } }

/* ============ S05 カリキュラム（索引リスト型・箱なし） ============ */
.curri-grid { border-top: 1px solid rgba(22, 36, 60, 0.14); }
.curri-card { border-bottom: 1px solid rgba(22, 36, 60, 0.14); }
.curri-card summary {
  list-style: none; display: flex; align-items: center; gap: clamp(18px, calc(2.6 * var(--vwu)), 34px);
  padding: clamp(22px, calc(2.6 * var(--vwu)), 32px) 4px;
}
.curri-card summary::-webkit-details-marker { display: none; }
.curri-no {
  flex: none; width: clamp(58px, calc(6 * var(--vwu)), 78px);
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(2rem, calc(3 * var(--vwu)), 2.8rem); line-height: 1; letter-spacing: 0.02em;
  background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.curri-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.curri-name { font-weight: 900; font-size: clamp(17px, calc(1.6 * var(--vwu)), 21px); line-height: 1.5; }
.curri-desc { margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--dim-on-light); }
.curri-badge {
  order: 3; margin-top: 8px;
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent-on-light);
}
.curri-open { flex: none; width: 26px; height: 26px; position: relative; }
.curri-open::before, .curri-open::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--accent-on-light); border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.curri-open::before { width: 14px; height: 2px; }
.curri-open::after { width: 2px; height: 14px; }
.curri-card[open] .curri-open::after { transform: translate(-50%, -50%) scaleY(0); }
.curri-card ul { padding: 0 4px 26px calc(clamp(58px, calc(6 * var(--vwu)), 84px) + clamp(18px, calc(2.6 * var(--vwu)), 34px)); }
.curri-card ul li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 10px 0; font-size: 14.5px; font-weight: 700; line-height: 1.7;
  border-top: 1px solid rgba(22, 36, 60, 0.09);
}
.curri-card ul li:first-child { border-top: none; }
.curri-card ul li small { flex: none; font-family: var(--font-en); font-size: 12px; font-weight: 500; color: var(--dim-on-light); }
.curri-note { margin-top: 22px; font-size: 12.5px; color: var(--dim-on-light); }
@media (min-width: 0px) {
  .curri-card summary { gap: 14px; padding: 20px 2px; }
  .curri-no { width: 44px; font-size: 2rem; }
  .curri-card ul { padding: 0 2px 20px 58px; }
  /* 講座名が縮まず時間表記を押し出すため、狭幅では時間を次行に落とす */
  .curri-card ul li { flex-wrap: wrap; gap: 2px 12px; }
  .curri-card ul li small { flex-basis: 100%; }
}

/* ============ S06 随時追加（外枠なし・発光のみ） ============ */
#update {
  background:
    linear-gradient(rgba(3, 22, 76, 0.9), rgba(3, 22, 76, 0.86)),
    url("../img/bg/bg_update.jpg") center / cover no-repeat;
}
#price {
  background:
    linear-gradient(rgba(3, 22, 76, 0.9), rgba(3, 22, 76, 0.86)),
    url("../img/bg/bg_price2.jpg") center / cover no-repeat;
}

/* ---- 中間CTA: taskul型オーロラバンド ---- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; text-align: center;
  padding: clamp(56px, calc(8 * var(--vwu)), 108px) clamp(24px, calc(6 * var(--vwu)), 80px);
  background: #0a0e20; color: var(--ink);
  box-shadow: 0 34px 90px rgba(22, 36, 60, 0.35);
}
.cta-band .cta-band-sub { color: rgba(238, 243, 251, 0.78); }
.section--light .cta-band .cta-pill {
  background: linear-gradient(120deg, #1795cf 0%, #5559ec 100%); color: #fff;
  box-shadow: 0 12px 44px rgba(76, 201, 240, 0.35), 0 3px 12px rgba(0, 0, 0, 0.35);
}
.cta-band-blobs {
  position: absolute; inset: -22%;
  filter: blur(70px); opacity: 0.8;
  background:
    radial-gradient(38% 42% at 18% 30%, rgba(76, 201, 240, 0.5), transparent 70%),
    radial-gradient(34% 38% at 82% 26%, rgba(58, 162, 232, 0.48), transparent 70%),
    radial-gradient(40% 44% at 68% 84%, rgba(233, 110, 210, 0.3), transparent 70%),
    radial-gradient(30% 34% at 28% 88%, rgba(64, 140, 232, 0.42), transparent 70%);
  animation: blobs 16s ease-in-out infinite alternate;
}
@keyframes blobs {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(16deg) scale(1.22); }
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band-title { font-weight: 900; font-size: clamp(1.5rem, calc(3.4 * var(--vwu)), 2.5rem); line-height: 1.55; }
.cta-band-sub { margin: 14px auto 30px; color: var(--ink-dim); font-size: clamp(13.5px, calc(1.3 * var(--vwu)), 15.5px); }
@media (min-width: 0px) { .cta-band .cta-pill { width: 100%; } }
.section-head--nomargin { margin-bottom: 0; }

/* ============ S07 学習スタイル ============ */
.style-wrap {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, calc(4 * var(--vwu)), 56px); align-items: center;
}
.style-list { display: flex; flex-direction: column; gap: 6px; }
.style-list li { padding: 18px 6px; border-bottom: 1px solid rgba(22, 36, 60, 0.12); }
.style-list li:first-child { border-top: 1px solid rgba(22, 36, 60, 0.12); }
.style-list b { display: block; font-size: clamp(15px, calc(1.4 * var(--vwu)), 17px); font-weight: 700; color: var(--accent-on-light); }
.style-list p { margin-top: 4px; font-size: 14px; color: var(--dim-on-light); }
@media (min-width: 0px) { .style-wrap { grid-template-columns: 1fr; } }

.growth { margin-top: clamp(48px, calc(6 * var(--vwu)), 80px); }
.growth-title {
  text-align: center; font-weight: 900; font-size: clamp(17px, calc(1.7 * var(--vwu)), 21px); margin-bottom: 26px;
}
.growth-flow {
  display: flex; justify-content: space-between; gap: 8px;
  counter-reset: growth;
}
.growth-flow li {
  position: relative; counter-increment: growth;
  flex: 1; text-align: center; padding: 0 18px;
  font-size: 14px; font-weight: 700; line-height: 1.7;
}
.growth-flow li::before {
  content: "0" counter(growth);
  display: block; margin-bottom: 8px;
  font-family: var(--font-en); font-weight: 700; font-size: clamp(1.7rem, calc(2.4 * var(--vwu)), 2.2rem); line-height: 1;
  background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.growth-flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 12px; right: -9px;
  width: 12px; height: 12px;
  border-top: 2px solid rgba(22, 36, 60, 0.32);
  border-right: 2px solid rgba(22, 36, 60, 0.32);
  transform: rotate(45deg);
}
.growth-flow li:last-child {
  background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 0px) {
  .growth-flow { flex-direction: column; gap: 26px; width: fit-content; margin-inline: auto; }
  .growth-flow li { display: flex; align-items: baseline; gap: 14px; text-align: left; padding: 0; }
  .growth-flow li::before { margin-bottom: 0; font-size: 1.5rem; flex: none; }
  .growth-flow li:not(:last-child)::after { top: auto; bottom: -19px; left: 8px; right: auto; transform: rotate(135deg); }
}

/* ============ S08 おすすめ ============ */
.reco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(48px, calc(7 * var(--vwu)), 96px); }
.reco-grid li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 19px 4px; font-size: clamp(14.5px, calc(1.4 * var(--vwu)), 16.5px); font-weight: 700; line-height: 1.72;
  border-bottom: 1px solid rgba(22, 36, 60, 0.12);
}
.reco-txt { flex: 1; min-width: 0; }
.reco-grid li:nth-child(-n+2) { border-top: 1px solid rgba(22, 36, 60, 0.12); }
.reco-grid li::before {
  content: "✓"; flex: none; margin-top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #fff;
  background: var(--grad-deep);
}
@media (min-width: 0px) {
  .reco-grid { grid-template-columns: 1fr; }
  .reco-grid li:nth-child(2) { border-top: none; }
}

/* ============ 受講者の声（カードごとに顔を変えず、引用の"間"で見せる） ============ */
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.voice-card {
  position: relative; background: #fff; border-radius: 18px;
  padding: clamp(30px, calc(3.2 * var(--vwu)), 40px) clamp(24px, calc(2.6 * var(--vwu)), 32px) clamp(26px, calc(2.8 * var(--vwu)), 34px);
  box-shadow: 0 18px 50px rgba(22, 36, 60, 0.08);
}
.voice-card::before {
  content: "“"; position: absolute; top: 6px; right: 22px;
  font-family: var(--font-en); font-size: 5.4rem; line-height: 1;
  color: rgba(38, 64, 142, 0.13);
}
.voice-head { position: relative; display: flex; align-items: center; gap: 14px; }
.voice-ic {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 8px 20px rgba(22, 36, 60, 0.22);
}
.voice-ic svg { width: 25px; height: 25px; }
.voice-ic--a { background: linear-gradient(140deg, #0e7ca8, #2f6fd0); }
.voice-ic--b { background: linear-gradient(140deg, #2f6fd0, #1e56c4); }
.voice-ic--c { background: linear-gradient(140deg, #1e56c4, #0a7fc0); }
.voice-meta { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.voice-meta b {
  font-family: var(--font-en); font-weight: 700; font-size: 1.5rem; line-height: 1;
  background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.voice-meta span { font-size: 13px; font-weight: 700; color: var(--dim-on-light); }
.voice-body { margin-top: 16px; font-size: 14px; line-height: 2; color: var(--ink-on-light); }
.voice-note { margin-top: 22px; font-size: 12px; color: var(--dim-on-light); }
@media (min-width: 0px) { .voice-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ============ 運営会社・監修者 ============ */
.sv-list { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.sv-card {
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(20px, calc(3 * var(--vwu)), 44px);
  padding: clamp(26px, calc(3 * var(--vwu)), 36px) 0;
  border-top: 1px solid rgba(22, 36, 60, 0.14);
}
.sv-card:last-child { border-bottom: 1px solid rgba(22, 36, 60, 0.14); }
.sv-org { font-size: 12.5px; font-weight: 700; color: var(--accent-on-light); line-height: 1.8; }
.sv-name { margin-top: 10px; font-size: clamp(1.2rem, calc(2.2 * var(--vwu)), 1.5rem); font-weight: 900; }
.sv-en { display: block; margin-top: 6px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--dim-on-light); }
.sv-body p { font-size: 14px; line-height: 2; color: var(--dim-on-light); }
.sv-body p + p { margin-top: 10px; }
@media (min-width: 0px) { .sv-card { grid-template-columns: 1fr; gap: 14px; } }

/* ============ S09 料金 ============ */
/* 主役プラン：他の3枚と顔を変える（濃いグラデ地＋フラッグ） */
.plan-hero {
  position: relative; max-width: 1000px; margin: 0 auto;
  border-radius: 22px; padding: clamp(30px, calc(3.6 * var(--vwu)), 46px) clamp(24px, calc(3.4 * var(--vwu)), 48px) clamp(28px, calc(3.2 * var(--vwu)), 40px);
  background: linear-gradient(120deg, rgba(23, 149, 207, 0.3) 0%, rgba(30, 94, 196, 0.26) 55%, rgba(58, 162, 232, 0.26) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(150, 200, 255, 0.26);
}
.plan-hero-flag {
  position: absolute; top: 0; left: clamp(24px, calc(3.4 * var(--vwu)), 48px); transform: translateY(-50%);
  display: inline-block; padding: 9px 22px; border-radius: 999px;
  background: linear-gradient(120deg, #1795cf 0%, #5559ec 100%);
  color: #fff; font-size: 12.5px; font-weight: 900; letter-spacing: 0.1em;
  box-shadow: 0 10px 26px rgba(76, 201, 240, 0.34);
}
.plan-hero-body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, calc(3 * var(--vwu)), 48px); align-items: center;
}
.plan-hero-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--cyan); }
.plan-hero-name h3 { margin-top: 8px; font-size: clamp(1.5rem, calc(3 * var(--vwu)), 2.2rem); font-weight: 900; line-height: 1.35; }
.plan-hero-desc { margin-top: 14px; font-size: 14px; line-height: 1.9; color: var(--ink-dim); }
.plan-hero-price { text-align: right; }
.plan-hero-price > b {
  display: block; font-family: var(--font-en); font-weight: 700;
  font-size: clamp(3rem, calc(6.4 * var(--vwu)), 4.6rem); line-height: 1;
}
.plan-hero-price > b small { font-size: 0.32em; font-family: var(--font-body); font-weight: 900; margin-left: 5px; }
.plan-tax { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink-dim); }
.plan-permonth {
  display: inline-block; margin-top: 14px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); font-size: 13px; font-weight: 700;
}
.plan-permonth b { font-family: var(--font-en); font-size: 1.35em; margin: 0 2px; }
.plan-hero-cta { margin-top: clamp(24px, calc(3 * var(--vwu)), 34px); text-align: center; }

.plan-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; max-width: 1000px; margin: clamp(22px, calc(2.6 * var(--vwu)), 34px) auto 0;
}
.plan-card {
  border-radius: 18px; padding: clamp(26px, calc(3 * var(--vwu)), 34px) clamp(22px, calc(2.4 * var(--vwu)), 30px);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(120, 180, 255, 0.18);
}
.plan-name { font-size: clamp(1.05rem, calc(1.8 * var(--vwu)), 1.25rem); font-weight: 900; }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.plan-price b { font-family: var(--font-en); font-weight: 700; font-size: clamp(2.1rem, calc(3.6 * var(--vwu)), 2.7rem); line-height: 1; }
.plan-price b small { font-size: 0.36em; font-family: var(--font-body); font-weight: 900; margin-left: 3px; }
.plan-price em { font-style: normal; font-size: 12.5px; color: var(--ink-dim); }
.plan-permonth--card { margin-top: 14px; }
.plan-detail { margin-top: 18px; }
.plan-detail li {
  position: relative; padding-left: 15px; margin-top: 9px;
  font-size: 13px; line-height: 1.85; color: var(--ink-dim);
}
.plan-detail li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.plan-renew {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(120, 180, 255, 0.18);
  font-size: 12px; line-height: 1.85; color: var(--ink-dim);
}
@media (min-width: 0px) {
  .plan-grid { grid-template-columns: 1fr; gap: 14px; }
  .plan-hero-body { grid-template-columns: 1fr; }
  .plan-hero-price { text-align: left; margin-top: 4px; }
  .plan-hero-cta .cta-pill { width: 100%; }
}
.price-notes { max-width: 1000px; margin: clamp(28px, calc(3 * var(--vwu)), 38px) auto 0; }
.price-notes-title { font-weight: 900; font-size: 14px; }
.price-notes ul { margin-top: 10px; }
.price-notes li {
  position: relative; padding-left: 16px;
  font-size: 13.5px; color: var(--ink-dim); line-height: 1.9;
}
.price-notes li::before { content: "・"; position: absolute; left: 0; color: var(--cyan); }

/* ============ S10 法人版との違い ============ */
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 960px; margin: 0 auto; }
.compare-card {
  border-radius: 18px;
  padding: clamp(28px, calc(3.6 * var(--vwu)), 42px);
  background: #fff; border: 1px solid rgba(22, 36, 60, 0.1);
  box-shadow: 0 18px 50px rgba(22, 36, 60, 0.08);
}
.compare-card--solo {
  background: linear-gradient(160deg, #0f3d8e 0%, #10358d 55%, #076dad 100%);
  border: none; color: var(--ink);
  box-shadow: 0 26px 70px rgba(22, 36, 60, 0.3);
}
.compare-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: #fff; background: var(--grad-deep); border-radius: 999px;
  padding: 4px 14px; line-height: 1.7;
}
.compare-card--solo .compare-label { background: #fff; color: #16243c; }
.compare-card h3 { margin-top: 14px; font-size: clamp(18px, calc(1.9 * var(--vwu)), 22px); font-weight: 900; line-height: 1.5; }
.compare-card h3 i { font-family: var(--font-en); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare-card dl { margin-top: 18px; }
.compare-card dl > div {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px;
  padding: 12px 0; border-top: 1px solid rgba(22, 36, 60, 0.1);
  font-size: 14px; line-height: 1.8;
}
.compare-card--solo dl > div { border-top-color: rgba(255, 255, 255, 0.16); }
.compare-card dt { color: var(--dim-on-light); font-weight: 500; }
.compare-card--solo dt { color: rgba(238, 243, 251, 0.75); }
.compare-card dd { font-weight: 700; }
.compare-card .cta-pill--small { margin-top: 22px; width: 100%; }
.compare-card--solo .cta-pill--small {
  background: linear-gradient(120deg, #1795cf 0%, #5559ec 100%); color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
@media (min-width: 0px) { .compare-grid { grid-template-columns: 1fr; } }

/* ============ S11 FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 12px;
  background: #fff; border: 1px solid rgba(22, 36, 60, 0.08);
  box-shadow: 0 10px 30px rgba(22, 36, 60, 0.06);
}
.faq-item summary {
  list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 18px 58px 18px 22px; font-size: 15px; font-weight: 700; line-height: 1.7;
  position: relative; transition: background-color 0.25s;
}
.faq-item summary:hover { background: rgba(76, 201, 240, 0.06); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 18px; font-weight: 700; color: var(--accent-on-light); line-height: 1;
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary::before {
  content: "Q"; flex: none;
  font-family: var(--font-en); font-weight: 700; font-size: 16px;
  background: var(--grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.faq-item p {
  padding: 0 22px 20px 52px;
  font-size: 14px; color: var(--dim-on-light);
}
@media (min-width: 0px) {
  .faq-item summary { padding: 15px 44px 15px 16px; font-size: 14px; }
  .faq-item summary::after { right: 14px; }
  .faq-item p { padding: 0 16px 16px 46px; }
}

/* ============ S12 申込 ============ */
.apply {
  overflow: hidden;
  background:
    radial-gradient(52% 42% at 12% 8%, rgba(76, 201, 240, 0.12), transparent 68%),
    radial-gradient(46% 40% at 88% 20%, rgba(58, 162, 232, 0.12), transparent 68%),
    linear-gradient(rgba(3, 22, 76, 0.86), rgba(3, 22, 76, 0.93)),
    url("../img/bg/bg_apply.jpg") center / cover no-repeat,
    #080d1e;
}
.apply-box {
  position: relative;
  background: #fff; color: var(--ink-on-light);
  border-radius: 20px; padding: clamp(24px, calc(4 * var(--vwu)), 48px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}
.apply-direct { text-align: center; padding: 34px 0 10px; }
.apply-direct-note { margin-top: 14px; font-size: 12.5px; color: var(--dim-on-light); }
.apply-note { margin-top: 20px; }
.apply-note li {
  position: relative; padding-left: 17px; margin-top: 8px;
  font-size: 12.5px; line-height: 1.95; color: var(--dim-on-light);
}
.apply-note li::before { content: "※"; position: absolute; left: 0; }
.apply-contact {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(22, 36, 60, 0.12);
  font-size: 13px; color: var(--dim-on-light);
}
.apply-contact a { color: var(--accent-on-light); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.apply-contact a:hover { opacity: 0.75; }

/* ---- footer ---- */
.footer { padding: 64px 0 110px; text-align: center; background: var(--light); color: var(--dim-on-light); font-size: 13px; letter-spacing: 0.08em; }
.footer-logo { width: 160px; height: auto; margin: 0 auto 18px; }
.footer-company { font-weight: 700; color: var(--ink-on-light); }
.footer-links { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(20px, calc(3 * var(--vwu)), 34px); }
.footer-links a {
  display: inline-block; padding-bottom: 3px;
  color: var(--accent-on-light); font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.footer-links a:hover { opacity: 0.75; }
.footer-copy { margin-top: 22px; font-family: var(--font-en); font-size: 11px; opacity: 0.85; }

/* ---- SP固定CTA ---- */
.sp-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(3, 22, 76, 0.85); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(120, 180, 255, 0.16);
  transform: translateY(110%); transition: transform 0.45s var(--ease-out);
  display: none;
}
.sp-cta.is-show { transform: none; }
.sp-cta a {
  display: flex; align-items: center; justify-content: center;
  padding: 15px 10px; border-radius: 999px;
  background: linear-gradient(120deg, #1795cf 0%, #5559ec 100%);
  color: #fff; font-weight: 900; font-size: 15px; letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(76, 201, 240, 0.35);
}
@media (min-width: 0px) { .sp-cta { display: block; } .footer { padding-bottom: 140px; } }

/* ---- ホワホワ発光オーブ（JSがdata-orbsセクションに生成） ---- */
.has-orbs { position: relative; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(48px);
  animation: orbFloat var(--dur, 12s) ease-in-out var(--delay, 0s) infinite alternate;
}
.orb--cyan { background: radial-gradient(circle, rgba(76, 201, 240, 0.3), transparent 70%); }
.orb--violet { background: radial-gradient(circle, rgba(58, 162, 232, 0.26), transparent 70%); }
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(var(--dx, 40px), var(--dy, -30px)) scale(var(--s, 1.15)); }
}
html.revealall .orb { animation: none; }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* ---- リビール ---- */
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
html.revealall .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
html.revealall .hero { min-height: 760px; position: relative; }
html.revealall .sp-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint::after { animation: none; }
  .cta-band-blobs { animation: none; }
}

/* =====================================================================
   ▼ sp.html 専用（承認済みSPデザインを640px列で使用・FVは支給画像）
   ===================================================================== */

/* PCでは vw 系サイズを「viewport 640px 相当」に固定（崩れ防止の要） */
@media (min-width: 735px) { :root { --vwu: 5.6px; } }

/* ---- FV = 支給画像（カーテンscrollは使わない） ---- */
.hero { position: relative; min-height: 0; display: block; overflow: visible; z-index: auto; }
.hero::before { display: none; }
.fv-img { display: block; width: 100%; height: auto; }

/* ---- CTA: FVの光の色（シアン→ブルー）に合わせて発光 ---- */
.cta-pill {
  background: linear-gradient(120deg, #29b6f2 0%, #3e6bff 100%);
  box-shadow: 0 12px 40px rgba(41, 182, 242, 0.4), 0 3px 12px rgba(2, 16, 60, 0.5);
}
.cta-pill:hover { box-shadow: 0 18px 52px rgba(41, 182, 242, 0.48), 0 4px 14px rgba(2, 16, 60, 0.5); }
.section--light .cta-pill { background: var(--grad-deep); box-shadow: 0 14px 36px rgba(38, 64, 142, 0.32); }

/* ---- PC(≥735px): 640px列を中央固定・背景は専用ステージ ---- */
@media (min-width: 735px) {
  body {
    width: 560px; max-width: 560px; margin: 0 auto;
    background: transparent;
    box-shadow: 0 0 110px rgba(1, 10, 40, 0.65), 0 0 0 1px rgba(120, 180, 255, 0.14);
  }
  /* 列に合わせて固定要素を中央へ */
  .header, .sp-menu, .sp-cta { left: 50%; right: auto; margin-left: -280px; width: 560px; }
  .noise { opacity: 0.03; }

  /* 背景ステージ（グラデ＋回路グリッド＋光芒。粒子canvasはJSが描画） */
  .bg-stage {
    position: fixed; inset: 0; z-index: -1; overflow: hidden;
    background:
      radial-gradient(820px 620px at 12% 10%, rgba(41, 182, 242, 0.2), transparent 62%),
      radial-gradient(900px 700px at 88% 88%, rgba(41, 182, 242, 0.14), transparent 60%),
      radial-gradient(520px 420px at 82% 18%, rgba(58, 162, 232, 0.12), transparent 65%),
      linear-gradient(168deg, #0a3e94 0%, #042778 52%, #021a5e 100%);
  }
  /* 回路調の微細グリッド（FVの基板柄を淡く反復） */
  .bg-stage::before {
    content: ""; position: absolute; inset: 0;
    background:
      repeating-linear-gradient(0deg, rgba(140, 190, 255, 0.055) 0 1px, transparent 1px 72px),
      repeating-linear-gradient(90deg, rgba(140, 190, 255, 0.055) 0 1px, transparent 1px 72px);
    mask-image: radial-gradient(1200px 900px at 50% 40%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(1200px 900px at 50% 40%, #000 30%, transparent 78%);
  }
  /* FVの光の筋を思わせる斜めの光芒 */
  .bg-stage::after {
    content: ""; position: absolute; left: -12%; right: -12%; top: 34%; height: 260px;
    background: linear-gradient(100deg, transparent 8%, rgba(41, 182, 242, 0.2) 34%, rgba(126, 160, 255, 0.24) 50%, rgba(41, 182, 242, 0.16) 66%, transparent 92%);
    filter: blur(46px);
    transform: rotate(-9deg);
  }
  .bg-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
}
@media (max-width: 734px) { .bg-stage { display: none; } }

/* ---- PC(≥1180px): 左右レール（列の外の余白を作り込む） ---- */
.pc-rail { display: none; }
@media (min-width: 1180px) {
  .pc-rail { display: flex; position: fixed; z-index: 1; pointer-events: none; }
  .pc-rail--l {
    left: calc(50% - 320px - 150px); top: 0; bottom: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  }
  .rail-label {
    writing-mode: vertical-rl; font-size: 12px; font-weight: 700; letter-spacing: 0.3em;
    color: rgba(160, 210, 255, 0.9);
    padding: 10px 7px; border: 1px solid rgba(140, 190, 255, 0.4); border-radius: 999px;
  }
  .rail-copy {
    writing-mode: vertical-rl; font-size: 21px; font-weight: 900; letter-spacing: 0.24em;
    color: #fff; text-shadow: 0 4px 30px rgba(2, 16, 60, 0.6);
  }
  .pc-rail--r {
    right: calc(50% - 320px - 150px); top: 0; bottom: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  }
  .rail-stats {
    writing-mode: vertical-rl; font-size: 13px; font-weight: 700; letter-spacing: 0.22em;
    color: rgba(210, 230, 255, 0.85);
  }
  .rail-stats b { font-family: var(--font-en); font-size: 1.5em; color: #7fd4ff; letter-spacing: 0.06em; }
  .rail-line { width: 1px; height: 120px; background: linear-gradient(to bottom, transparent, rgba(41, 182, 242, 0.8), transparent); }
}

/* ---- 640px列でのサイズ最適化（間延び対策） ---- */
.container, .container--narrow { width: auto; margin: 0; padding: 0 22px; }
.section { padding: 68px 0; }
.section--tight { padding-top: 24px; }
.cta-band { margin: 0; }
.growth-flow { row-gap: 26px; }

/* ghost（法人版導線）はCTA色上書きの影響を受けないよう再宣言 */
.section--light .cta-pill--ghost,
.section--light .cta-pill--ghost:hover {
  background: transparent; color: var(--ink-on-light);
  box-shadow: inset 0 0 0 1.5px rgba(22, 36, 60, 0.28);
}
.section--light .cta-pill--ghost:hover { background: rgba(22, 36, 60, 0.05); box-shadow: inset 0 0 0 1.5px rgba(22, 36, 60, 0.45); }

/* FV直下: Problemは画像から間を空けず始める */
#problem { padding-top: 26px; }
#problem::before {
  background:
    linear-gradient(to bottom, #012a84 0%, rgba(1, 42, 132, 0.4) 90px, rgba(3, 22, 76, 0.86) 240px, rgba(3, 22, 76, 0.86) 100%),
    url("../img/bg/bg_problem.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
}

/* =====================================================================
   ▼ 2026-08-25 修正ラウンド: CTA刷新・追従CTA常時表示・学習後の変化拡大
   ===================================================================== */

/* ---- CTA: 過去LPで実証済みの型（緑グラデ＋立体影＋シャイン）。青の海で唯一浮く色 ---- */
.cta-pill, .section--light .cta-pill {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #21c15e 0%, #0aa64c 100%);
  color: #fff; font-weight: 900;
  box-shadow: 0 5px 0 #077a37, 0 10px 22px rgba(2, 12, 40, 0.35);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), filter 0.22s;
}
.cta-pill:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 7px 0 #077a37, 0 12px 26px rgba(2, 12, 40, 0.38); }
.cta-pill:active { transform: translateY(3px); box-shadow: 0 2px 0 #077a37, 0 5px 12px rgba(2, 12, 40, 0.35); }
.cta-pill::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 160% 0; background-repeat: no-repeat;
  pointer-events: none; animation: cta-shine 5s ease-in-out infinite;
}
@keyframes cta-shine { 0% { background-position: 160% 0; } 14% { background-position: -60% 0; } 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .cta-pill::after { animation: none; } }
/* ghost（法人版導線）は枠線のまま＝緑上書きを打ち消し */
.section--light .cta-pill--ghost, .section--light .cta-pill--ghost:hover {
  background: transparent; color: var(--ink-on-light);
  box-shadow: inset 0 0 0 1.5px rgba(22, 36, 60, 0.28);
}
.section--light .cta-pill--ghost::after { display: none; }

/* ---- 追従CTA: 初めから表示・申込セクションでのみ隠す ---- */
.sp-cta { display: block; transform: translateY(0); }
.sp-cta.at-apply { transform: translateY(110%); }
.sp-cta-micro {
  text-align: center; font-size: 11.5px; font-weight: 900; letter-spacing: 0.04em;
  color: #a8f0c6; margin-bottom: 7px;
}
.sp-cta a { box-shadow: 0 4px 0 #077a37, 0 8px 18px rgba(2, 12, 40, 0.35); }

/* ---- 学習後の変化: 列幅に負けないサイズに拡大 ---- */
.growth-title { font-size: 21px; margin-bottom: 30px; }
.growth-flow { row-gap: 30px; gap: 30px; }
.growth-flow li { font-size: 17.5px; gap: 18px; }
.growth-flow li::before { font-size: 2.5rem; }
.growth-flow li:not(:last-child)::after { width: 12px; height: 12px; bottom: -22px; left: 12px; }

/* 悩みの締め: 宣言なので強気のサイズで */
.problem-close { font-size: 23px; line-height: 1.75; margin-top: 40px; }
.problem-foot { margin-top: 14px; }

/* 追従CTAのボタンも緑CTA体系に統一（シャイン付き） */
.sp-cta a {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #21c15e 0%, #0aa64c 100%);
  box-shadow: 0 4px 0 #077a37, 0 12px 26px rgba(10, 166, 76, 0.4);
}
.sp-cta a::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 160% 0; background-repeat: no-repeat;
  pointer-events: none; animation: cta-shine 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .sp-cta a::after { animation: none; } }

/* 運営会社責任者／監修者のロールラベル（2026-08-25クライアント指示） */
.sv-role {
  display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 999px;
  background: var(--grad-deep); color: #fff;
  font-size: 12px; font-weight: 900; letter-spacing: 0.1em;
}

/* =====================================================================
   ▼ CTA最終形（緑・カラーグロー全廃）＋ヘッダー静的化
   青面 = 白ピル×紺文字 ／ ライト面・白カード内 = 紺グラデ×白文字
   影は「下辺の立体」＋「無彩色の落ち影」のみ。色付きグローは金輪際禁止
   ===================================================================== */
.cta-pill {
  background: #fff; color: #0d2357;
  box-shadow: 0 4px 0 #bac7e2, 0 10px 22px rgba(2, 12, 40, 0.32);
}
.cta-pill:hover { transform: translateY(-2px); filter: none; box-shadow: 0 6px 0 #bac7e2, 0 12px 26px rgba(2, 12, 40, 0.34); }
.cta-pill:active { transform: translateY(2px); box-shadow: 0 2px 0 #bac7e2, 0 5px 12px rgba(2, 12, 40, 0.3); }
/* シャイン（キラっ）は白地で見える薄シアンに */
.cta-pill::after {
  background: linear-gradient(105deg, transparent 42%, rgba(90, 170, 255, 0.28) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 160% 0; background-repeat: no-repeat;
}
/* ライト面・白カード内は紺グラデ×白文字 */
.section--light .cta-pill, .apply-box .cta-pill {
  background: var(--grad-deep); color: #fff;
  box-shadow: 0 4px 0 #081f52, 0 10px 22px rgba(22, 36, 60, 0.28);
}
.section--light .cta-pill:hover, .apply-box .cta-pill:hover { box-shadow: 0 6px 0 #081f52, 0 12px 26px rgba(22, 36, 60, 0.3); }
.section--light .cta-pill::after, .apply-box .cta-pill::after {
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 160% 0; background-repeat: no-repeat;
}
/* 青カード内（solo比較カード）は白ピル */
.compare-card--solo .cta-pill--small { background: #fff; color: #0d2357; box-shadow: 0 4px 0 #bac7e2, 0 8px 18px rgba(2, 12, 40, 0.3); }
/* ghostは枠線のみ（再確認） */
.section--light .cta-pill--ghost, .section--light .cta-pill--ghost:hover {
  background: transparent; color: var(--ink-on-light);
  box-shadow: inset 0 0 0 1.5px rgba(22, 36, 60, 0.28);
}
.section--light .cta-pill--ghost::after { display: none; }
/* 追従CTA（濃紺バー上）= 白ピル */
.sp-cta a {
  background: #fff; color: #0d2357;
  box-shadow: 0 4px 0 #bac7e2, 0 8px 18px rgba(2, 12, 40, 0.32);
}
.sp-cta a::after {
  background: linear-gradient(105deg, transparent 42%, rgba(90, 170, 255, 0.28) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 160% 0; background-repeat: no-repeat;
}
.sp-cta-micro { color: #cfe4ff; }

/* ヘッダーはFVに被せない＝通常フローで上に置く（スクロール追従しない） */
.header { position: static; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; }
.header.hide { transform: none; }
@media (min-width: 735px) { .header { margin-left: 0; width: auto; } }

/* オーロラバンド内（濃紺地）は白ピル */
.section--light .cta-band .cta-pill, .cta-band .cta-pill {
  background: #fff; color: #0d2357;
  box-shadow: 0 4px 0 #bac7e2, 0 10px 22px rgba(2, 12, 40, 0.32);
}
.cta-band .cta-pill::after {
  background: linear-gradient(105deg, transparent 42%, rgba(90, 170, 255, 0.28) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 160% 0; background-repeat: no-repeat;
}
