:root{
  --bg:#ffffff;        /* ページ全体の背景を白に */
  --ink:#191970;       /* メインカラー（濃紺） */
  --muted:#555555;     /* 補助テキスト */
  --brand:#191970;     /* メインボタン色 */
  --accent:#4c4cff;    /* グラデーション用アクセント */
  --stroke:rgba(0,0,0,.08);
  --shadow:0 6px 16px rgba(0,0,0,.1);
  --wrap:min(1120px, 92vw);
  --header-h: 80px;
}
*{box-sizing:border-box}
html{
  scroll-behavior: smooth;

  scroll-padding-top: calc(var(--header-h) + 8px);
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  line-height:1.7;
  font-family: 'Noto Sans JP', sans-serif;
}

p{
  color: #333;
}


/* ===== Slide-in on scroll ===== */
.js-slide-up{
  /* カスタマイズ可能な変数（例：--su-distance: 40px; --su-duration:.8s; --su-delay:.2s;） */
  --su-distance: 24px;
  --su-duration: .6s;
  --su-delay: 0s;

  opacity: 0;
  transform: translateY(var(--su-distance));
  transition:
    transform var(--su-duration) cubic-bezier(.2,.7,.2,1),
    opacity   var(--su-duration) ease;
  transition-delay: var(--su-delay);
  will-change: transform, opacity;
}

.js-slide-up.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* モーション削減設定のユーザーにはアニメ無しで即表示 */
@media (prefers-reduced-motion: reduce){
  .js-slide-up{ opacity:1; transform:none; transition:none; }
}


/* ===== Header ===== */
.site-header{
  position: sticky; top:0; z-index: 50;
  background:#fff;
  border-bottom:1px solid var(--stroke);
  box-shadow:0 0 0 rgba(0,0,0,0);
  transition: box-shadow .2s ease, backdrop-filter .2s ease;
}
.site-header.is-scrolled{
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  backdrop-filter:saturate(120%) blur(4px);
}
.header__inner{
  width:var(--wrap);
  margin-inline:auto;
  height:80px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:0 8px;
}

/* Brand */
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand__logo{ width:28px; height:28px; object-fit:contain; }
.brand__text{ font-weight:900; letter-spacing:.02em; color:#191970; }

/* Nav */
.gnav{ position:relative; }
.gnav__menu{
  display:flex; align-items:center; gap:18px;
  list-style:none; margin:0; padding:0;
}
.gnav__menu a{
  text-decoration:none; color:var(--ink);
  font-weight:600; font-size:14px;
}
.gnav__menu a:hover{ color:#000; }

/* CTA in header */
.btn.btn--nav{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:#191970; color:#fff; font-weight:800;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.btn.btn--nav:hover{ filter:brightness(1.05); }

/* Hamburger */
.gnav__toggle{
  display:none;
  position:relative;
  width:40px; height:40px;
  border:none; background:transparent; padding:0; margin:0;
}
.gnav__toggle span{
  position:absolute; left:10px; right:10px; height:2px; background:#191970;
  transition:transform .2s ease, opacity .2s ease, top .2s ease;
}
.gnav__toggle span:nth-child(1){ top:12px; }
.gnav__toggle span:nth-child(2){ top:19px; }
.gnav__toggle span:nth-child(3){ top:26px; }
.site-header.is-open .gnav__toggle span:nth-child(1){ top:19px; transform:rotate(45deg); }
.site-header.is-open .gnav__toggle span:nth-child(2){ opacity:0; }
.site-header.is-open .gnav__toggle span:nth-child(3){ top:19px; transform:rotate(-45deg); }

/* Responsive */
@media (max-width: 768px){
  .gnav__toggle{
    display:block;
    cursor: pointer;
  }
  .gnav__menu{
    position:absolute; right:0; top:64px;
    width:min(92vw, 360px);
    display:block;
    background:#fff; border:1px solid var(--stroke);
    border-radius:12px; box-shadow:0 10px 24px rgba(0,0,0,.12);
    padding: 10px; max-height:0; overflow:hidden;
    transition:max-height .25s ease, padding .2s ease;
    display: none;
  }
  .site-header.is-open .gnav__menu{
    max-height:70svh;
    display: block;
   
  }
  .gnav__menu li{ border-bottom:1px solid var(--stroke); }
  .gnav__menu li:last-child{ border-bottom:none; }
  .gnav__menu a{ display:block; padding:12px 6px; }

  /* CTAは一番下で目立たせる */
  .gnav__cta{ padding-top:6px; }
  .gnav__cta .btn--nav{ width:100%; text-align:center; }
}


/* ========== MV ========== */
.mv{
  position:relative;
  min-height:70svh;
  display:grid;
  place-items:center;
  isolation:isolate;
  overflow:hidden;
  border-bottom:1px solid var(--stroke);
  background:#fff;
}


@media (max-width: 768px){
  .mv{
    padding: 15px;
  }
}

.mv__bg{
  position:absolute; inset:0; z-index:-2;
}
.mv__bg img{
  width:100%; height:100%; object-fit:cover;
  display:block;
  filter:brightness(1) contrast(1.05);
}
.mv__overlay{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(1000px 600px at 70% 20%, rgba(25,25,112,.15), transparent 60%),
    radial-gradient(800px 500px at 20% 80%, rgba(76,76,255,.12), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.95));
}

/* 内側 */
.mv__inner{
  width: 55%;
  padding:clamp(32px,4vw,56px) 0;
  display:grid;
  padding-right: 20px;
  gap:22px;
  text-align:center;
  color:var(--ink);
  margin-left: auto;
}

@media (max-width: 768px){
  .mv__inner{
    width: calc(100%);
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
  }
}

.mv__lead{
  margin:0;
  font-size:clamp(14px,2.2vw,16px);
  letter-spacing:.04em;
  color:var(--ink);
  font-weight:500;
}

.mv__title{
  margin:0;
  font-size:clamp(26px,5.2vw,44px);
  line-height:1.4;
  text-wrap:balance;
  color:var(--ink);
  
}

.mv__cred{
  margin:2px 0 0;
  font-size:clamp(13px,2vw,15px);
  color:var(--muted);
}
.mv__cred span{
  color:#fff;
  background:var(--brand);
  padding:2px 8px;
  border-radius:999px;
  margin-right:6px;
  font-weight:600;
}

.mv__cta{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:900px;
  margin-inline:auto;
}
.mv__btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  text-decoration:none;
  color:#fff;
  background:var(--brand);
  padding:14px 18px;
  border-radius:999px;
  font-weight:800;
  border:none;
  box-shadow:var(--shadow);
  transition:transform .15s ease, filter .15s ease;
  text-align:center;
}
.mv__btn:hover{ transform:translateY(-1px); filter:brightness(1.05); }
.mv__btn--accent{
  background:linear-gradient(135deg, var(--brand), var(--accent));
}

.mv__micro{
  margin:2px 10px 0;
  font-size:12px;
  color:var(--muted);
}

.sp-br{ display:none; }
@media (max-width: 520px){
  .sp-br{ display:inline; }
}

@media (max-width: 768px){

}

/* ===== Problem Section ===== */
.sec{
  padding: clamp(36px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--stroke);
  background: #fff; /* 白ベース */
}
.sec__inner{
  width: var(--wrap);
  margin-inline: auto;
}
.sec__title{
  margin: 0 0 16px;
  font-size: clamp(20px, 3.6vw, 28px);
  line-height: 1.3;
  color: var(--ink); /* #191970 */
  text-align: center;
  text-wrap: balance;
}
.sec__body{
  max-width: 100%;
  margin-inline: auto;
  color: var(--ink);
}
.sec__body p{
  margin: 0 0 12px;
  line-height: 1.9;
}
.callout{
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.04);
  position: relative;
}
.callout::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--brand) 24%, transparent);
}
.callout p{ margin: 0 0 10px; }
.callout p:last-child{ margin-bottom: 0; }




/* ===== Reason Section ===== */
.grid-2{
  display:grid;
  gap:clamp(20px, 4vw, 40px);
  align-items:center;
}
@media(min-width: 900px){
  .grid-2{ grid-template-columns: 1fr 1fr; }
}

.sec--reason .sec__title{
  text-align:left;
}

.sec__body p{ margin:0 0 14px; }
.sec--reason .callout{
  margin-top:18px;
  padding:16px 18px;
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fafafa;
  box-shadow:0 3px 10px rgba(0,0,0,.03);
}

.sec__img img{
  max-width:100%;
  border-radius:12px;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
}

.table-scroll{
  overflow-x: scroll;
}


/* ===== Method Section ===== */
.sec--method { background:#fff; }
.sec--method .sec__title { text-align:center; }
.sec--method .sec__lead{
  max-width: 860px;
  margin: 0 auto 22px;
  color: var(--ink);
}
.sec--method .sec__lead p{ margin:0; line-height:1.9; }

.type-grid{
  display:grid;
  gap: clamp(14px, 2.8vw, 22px);
  grid-template-columns: 1fr;
  margin: 18px 0 6px;
}
@media (min-width: 720px){
  .type-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 1040px){
  .type-grid{ grid-template-columns: repeat(4,1fr); }
}

.type-card{
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:18px;
  background:#fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.04);
  display:grid;
  align-content:start;
  gap:8px;
  min-height: 180px;
}
.type-badge{
  align-self:start;
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  color:#fff;
  background: var(--brand);
  padding:4px 10px;
  border-radius:999px;
  text-align: center;
}
.type-title{
  margin: 0;
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--ink);
}
.type-desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

/* セクション末尾本文 */
.sec--method .sec__body{
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--ink);
}
.sec--method .sec__body p{ margin:0; }


/* ===== Plan Section ===== */
.sec--plan { background:hsl(230, 100%, 24%); }
.sec--plan .sec__title{ text-align:center; margin-bottom:28px; color: #fff;}

/* プランカード */
.plan-card{
  background:#fff;
  border:1px solid var(--stroke);
  border-radius:14px;
  box-shadow:0 3px 12px rgba(0,0,0,.05);
  padding:24px;
  max-width:680px;
  margin:0 auto;
}
.plan-title{
  margin:0 0 10px;
  font-size:20px;
  font-weight:700;
  color:var(--ink);
}

.plan-support{
  display:inline-block;
  color: #ff4500; 
  font-weight: 800;
  font-size: 24px;
  margin-top: 0;
}
.plan-price{
  font-size:48px;
  font-weight:800;
  color:rgb(255, 78, 78);
  margin:0 0;
}
.plan-price span{ font-size:20px; color:var(--muted); margin-left:4px; }
.plan-features{ list-style:none; padding:0; margin:0; }
.plan-features li{
  margin:6px 0;
  padding-left:4px;
  color:var(--ink);
}

/* 比較表 */
.compare-title{ margin:0 0 14px; font-size:18px; color:var(--ink); }
.compare-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width: 800px;
}
.compare-table th,
.compare-table td{
  border:1px solid var(--stroke);
  padding:10px;
  text-align:center;
  background-color: #fff;
}
.compare-table th{
  background:#f0f3fa;
  font-weight:700;
  color:var(--ink);
}
.compare-table td:first-child{ text-align:left; font-weight:600; }
.compare-note{
  font-size:12px;
  color:var(--muted);
  text-align:left;
}


/* ===== Apply Section ===== */
.sec--apply{ background:#fff; }
.sec--apply .sec__title{ text-align:center; }
.apply-lead{
  text-align:center;
  color:var(--muted);
  margin: 8px auto 18px;
}

/* 小見出し */
.apply-sub{
  text-align:center;
  margin: 18px 0 10px;
  font-size: clamp(20px, 3.2vw, 28px);
  color: var(--ink);
}

/* ベネフィット（チェック付きカード） */
.apply-benefits{
  display:grid;
  gap: 10px;
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto 16px;
  padding: 0;
  list-style: none;
}
@media(min-width: 720px){
  .apply-benefits{ grid-template-columns: 1fr 1fr; }
}
.apply-benefits li{
  position: relative;
  border:1px solid var(--stroke);
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.05);
  padding:12px 14px 12px 42px;
  color: var(--ink);
  line-height:1.8;
}
.apply-benefits li::before{
  content:"";
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  width:22px; height:22px; border-radius:50%;
  background: var(--brand);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.apply-benefits li::after{
  content:"✓";
  position:absolute; left:12px; top:50%; transform:translateY(-52%);
  width:22px; height:22px; display:grid; place-items:center;
  color:#fff; font-weight:900; font-size:14px;
}

/* 申込フロー（3ステップ） */
.apply-steps{
  display:grid;
  grid-template-columns: 1fr;
  gap: 40px;
  counter-reset: apply-step;
  max-width: 1100px;
  margin: 0 auto 16px;
  padding: 0 4px;
}
@media(min-width: 900px){
  .apply-steps{
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 3vw, 18px);
  }
}

.step{
  position: relative;
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.05);
  padding: 18px 16px 16px 16px;
  overflow: visible; /* 矢印を外側に出す */
  list-style: none;
}

.step-title{
  margin: 6px 0 6px;
  font-size: 16px;
  color: var(--ink);
}
.step-desc{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.8;
}

/* ステップ番号の丸バッジ */
.step-badge{
  display:grid; place-items:center;
  width: 34px; height: 34px; border-radius:50%;
  background: var(--brand); color:#fff; font-weight:800; font-size:14px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

/* ステップ用ボタン */
.step-btn{
  display:inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f5ff;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid color-mix(in oklab, var(--brand) 20%, #fff 80%);
}
.step-btn--accent{
  background: linear-gradient(135deg, var(--brand), color-mix(in oklab, var(--brand) 35%, #7aa0ff 65%));
  color:#fff;
  border: none;
  box-shadow:0 6px 16px rgba(25,25,112,.18);
}

/* 矢印：PCは横 ›、SPは縦 ↓（タブレット2列対応の必要なし → PC/SPのみ表示） */
@media (min-width: 900px){
  .apply-steps .step:not(:last-child)::after{
    content: "›";
    position: absolute;
    right: -18px; top: 50%;
    transform: translateY(-50%);
    font-size: 32px; font-weight: 800; color: var(--brand);
    pointer-events: none;
  }
}
@media (max-width: 899px){
  .apply-steps .step:not(:last-child)::after{
    content: "›";
    position: absolute;
    left: 50%; bottom: -40px;
    transform: translateX(-50%) rotate(90deg);
    font-size: 24px; font-weight: 800; color: var(--brand);
    pointer-events: none;
  }
}

/* セクション末尾CTA */
.apply-cta{
  text-align:center;
  margin-top: clamp(16px, 3.2vw, 24px);
}
.apply-cta .cta-btn--big{
  max-width: 820px;
  margin: 0 auto 10px;
}
.apply-note{
  font-size:12px;
  color: var(--muted);
  margin: 0;
}



/* ===== CTA Section ===== */
.sec--cta{
  background:#fff;
  text-align:center;
  padding: clamp(40px, 6vw, 80px) 20px;
}
.cta-btn{
  display:block;
  margin:10px auto;
  max-width:640px;
  padding:18px 22px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-size:18px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
  transition:transform .15s ease, filter .15s ease;
}
.cta-btn:hover{ transform:translateY(-2px); filter:brightness(1.05); }

.cta-btn--accent{
  background:linear-gradient(135deg, var(--brand), var(--accent));
}

.cta-note{
  margin-top:16px;
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}

/* ===== Flow Section ===== */
.sec--flow { background:#fff; }
.sec--flow .sec__title { text-align:center; margin-bottom:24px; }

/* レイアウト */
.flow-grid{
  display:grid;
  gap: 50px;
  grid-template-columns: 1fr;           /* SP: 1列 */
  counter-reset: step;                   /* 番号カウンタ初期化 */
}
@media (min-width: 767px){
  .flow-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3.2vw, 24px);
  }

}
@media (min-width: 1200px){
  .flow-grid{ grid-template-columns: repeat(4, 1fr); }  /* PC: 4列 */
}

.flow-card{
  position: relative;
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.05);
  overflow:hidden;
  display:grid;
  align-content:start;
}

@media (min-width:1200px){
  /* 矢印をカード外に出すため可視化 */
  .flow-card{ overflow: visible; }

  .flow-card:not(:last-child)::after{
    content: "›";
    position: absolute;
    right: -20px;               /* gapに応じて調整可：-16〜-24pxあたり */
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    font-weight: 800;
    color: var(--brand);
    pointer-events: none;
  }
}

/* タブレット：2列のときは矢印なし */
@media (min-width:7680px) and (max-width:1199px){
  .flow-card::after{ content: none !important; }
}

/* スマホ：1列のとき、下向き矢印 ↓ を各カード間に表示 */
@media (max-width:768px){
  /* 下方向へ少しはみ出すので可視化 */
  .flow-card{ overflow: visible; }

  .flow-card:not(:last-child)::after{
    content: ">";
    position: absolute;
    left: 50%;
    bottom: -14px;              /* ここも調整可：-10〜-18px */
    transform: translateX(-50%) ;
    font-size: 24px;
    font-weight: 800;
    color: var(--brand);
    pointer-events: none;
  }
}

/* サムネイル */
.sec--flow .flow-thumb{
  aspect-ratio: 3 / 2;
  width: 100%;
  background:#f4f6fb;
  overflow:hidden;
  display: grid;
  place-items: center;           /* 縦横センター */
}

/* 以前の width:100% / object-fit:cover を確実に上書きするためセレクタを強め、末尾配置 */
.sec--flow .flow-thumb img{
  width: auto;
  height: auto;
  max-width: min(220px, 92%);
  max-height: calc(100% - 40px); /* padding分を考慮してはみ出し防止 */
  padding: 20px;
  object-fit: contain;           /* 枠内に収める */
  display:block;
}
/* タイトル・本文 */
.flow-title{
  margin:14px 16px 6px;
  font-size:16px;
  color:var(--ink);
}
.flow-desc{
  margin:0 16px 18px;
  color:var(--muted);
  line-height:1.9;
}

/* --- 左上の番号バッジ（01/02/03/04） --- */
.flow-card::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 10px; left: 10px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); /* #191970 */
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  outline: 2px solid #fff; /* 画像の上でも視認性を確保 */
  z-index: 1;
}

/* --- フロー矢印（PC/スマホのみ表示、Tablet=2列は非表示） --- */
.flow-card{ position: relative; }

/* PC: 4列（カード間に ›） */
@media (min-width:1200px){
  .flow-card:not(:last-child)::after{
    content: "›";
    position: absolute;
    right: -20px;               /* gapに応じて調整 */
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    font-weight: 800;
    color: var(--brand);
    pointer-events: none;
  }
}

/* Tablet: 2列（矢印は表示しない） */
@media (min-width: 820px) and (max-width: 1199px){
  .sec--flow .flow-thumb{
    aspect-ratio: 6 / 2;

  }
  .flow-card::after{ content: none !important; }
}

/* SP: 1列（各カードの下に ↓） */
@media (max-width:819px){
  .flow-card:not(:last-child)::after{
    content: ">";
    position: absolute;
    left: 50%;
    bottom: -47px;
    transform: translateX(-50%) rotate(90deg);
    font-size: 24px;
    font-weight: 800;
    color: var(--brand);
    pointer-events: none;
  }

  .sec--flow .flow-thumb{
    aspect-ratio: auto;
  }
}
 

/* ===== Result Section ===== */
.sec--result{ background:#fafafa; }
.sec--result .sec__title{ text-align:center; margin-bottom:18px; }

.kpi-card{
  border:1px solid var(--stroke);
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  padding: clamp(16px, 3vw, 24px);
  display:grid;
  gap: clamp(12px, 2vw, 18px);
  align-items:center;
}
@media (min-width: 900px){
  .kpi-card{ grid-template-columns: 1fr 1.2fr; }
}

.kpi-number{
  text-align:center;
  border-right:none;
  padding: 6px 0;
}
@media (min-width: 900px){
  .kpi-number{
    border-right:1px solid var(--stroke);
    padding-right: clamp(10px, 2.2vw, 18px);
  }
}
.kpi-label{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  color:#fff;
  background:var(--brand);
  padding:4px 10px;
  border-radius:999px;
  margin-bottom:10px;
}
.kpi-score{
  display:block;
  font-weight:900;
  line-height:1;
  color:var(--brand);
  font-size: clamp(48px, 8.5vw, 80px); /* 最も目立たせる */
  letter-spacing:.02em;
}
.kpi-score span{ font-size: .55em; margin-left: .06em; }
.kpi-sub{
  display:block;
  margin-top:8px;
  color:var(--ink);
  font-size: clamp(13px, 1.8vw, 14px);
}

.kpi-copy{
  color:var(--ink);
  padding-left:0;
}
@media (min-width: 900px){
  .kpi-copy{ padding-left: clamp(10px, 2.2vw, 18px); }
}
.kpi-copy p{ margin:0 0 10px; }
.kpi-copy em{ font-style: normal; font-weight:700; color: var(--brand); }


/* ===== Result Section ===== */
.sec--result{ background:#fafafa; }
.sec--result .sec__title{
  text-align:center;
  margin-bottom:24px;
}

.ba-grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(14px, 4vw, 30px);
  align-items:center;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 720px){
  .ba-grid{ grid-template-columns: 1fr; }
}

.ba-box{
  background:#fff;
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:20px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
}
.ba-label{
  font-size:14px;
  font-weight:700;
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.ba-before .ba-label{ color:#d33; }
.ba-after .ba-label{ color:var(--brand); }

.ba-score{
  font-size: clamp(36px, 6vw, 60px);
  font-weight:900;
  margin:0 0 8px;
  color:var(--ink);
}
.ba-score span{ font-size:.6em; margin-left:2px; }

.ba-desc{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}

.ba-arrow{
  text-align:center;
  font-size: clamp(16px, 3vw, 20px);
  font-weight:700;
  color:var(--brand);
}
.ba-change{
  display:inline-block;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(25,25,112,.08);
}

/* ===== Proof / Voices Section ===== */
.sec--proof{ background:#fff; }
.sec--proof .sec__title{ text-align:center; margin-bottom:24px; }

/* 衝撃のビフォーアフター（2カード） */
.ba-cards{
  display:grid;
  gap: clamp(14px, 3vw, 22px);
  grid-template-columns: 1fr;
  margin-bottom: clamp(22px, 4vw, 32px);
}
@media (min-width: 900px){
  .ba-cards{ grid-template-columns: 1fr 1fr; }
}
.ba{
  border:1px solid var(--stroke);
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
  padding: clamp(16px, 2.4vw, 22px);
}
.ba__label{
  margin:0 0 6px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}
.ba__lead{
  margin:0 0 12px;
  color:var(--ink);
}

/* 数字を最も目立たせる */
.ba__numbers{
  display:grid; grid-template-columns: 1fr auto 1fr; align-items:center;
  gap: clamp(10px, 2vw, 16px);
}
.ba__before, .ba__after{
  display:block;
  text-align:center;
  font-weight:900;
  color:var(--ink);
  font-size: clamp(34px, 6.8vw, 64px);
  line-height:1;
}
.ba__before span, .ba__after span{ font-size:.55em; margin-left:.12em; }
.ba__arrow{
  display:inline-block;
  padding:.4em .8em;
  border-radius:999px;
  background:rgba(25,25,112,.08);
  color:var(--brand);
  font-weight:800;
  font-size: clamp(12px, 2.2vw, 14px);
}

/* 合格コメントカード */
.ba--pass .quote{
  margin: 6px 0 0;
  padding: 12px 14px;
  background:#fafafa;
  color:var(--ink);
  border-radius:10px;
}
/* 感謝の声（保護者） */
.voices__title{
  text-align:center;
  margin: clamp(18px, 3.5vw, 26px) 0 12px;
  color: var(--ink);
  font-size: clamp(20px, 3.2vw, 28px);
}
.voice-grid{
    /* grid-template-columns: repeat(3, 1fr); 
    display:grid;
    gap: clamp(14px, 2.8vw, 22px);
    margin-bottom: clamp(18px, 3vw, 26px); */

}
@media (min-width: 900px){
  .voice-grid{
    display: block;
  }
}
.voice-card{
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.05);
  padding:16px;
  margin-bottom: 20px;
}
.voice-head{
  display:flex; gap:20px; align-items:center; margin-bottom:8px;
}
.voice-head img{
  width:100px; height:100px; border-radius:50%; object-fit:cover;
  border:1px solid var(--stroke);
}
.voice-head strong{
  display:block;
  color:var(--ink);
  font-size: 20px;
}
.voice-meta{ display:block; font-size:16px; color:var(--muted); }
.voice-card p{ margin:0; color:var(--ink); line-height:1.85; }
.voice-card p strong{ color: var(--brand); }

.voice-media{
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end:0;
    unicode-bidi: isolate;
}

.voice-media--student{
  border: #191970 5px double;
  border-radius: 10px;
  overflow: hidden;
}

.voice-media > img{
  max-width: 100%;
  width: 100%;
}

/* 受講生の声（画像＋引用） */
.student-grid{
  display:grid;
  gap: clamp(14px, 2.8vw, 22px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .student-grid{ grid-template-columns: repeat(3, 1fr); }
}
.student-quote{
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.05);
  overflow:hidden;
}
.student-quote img{
  width:100%;
  object-fit:cover;
  display:block;
  background:#f2f4fa;
}
.student-quote .quote{
  margin:0; padding:14px 16px;
height: 100%;
  background:#fafafa;
  color:var(--ink);
}
.student-quote .quote p{ margin:0; line-height:1.8; }
.student-quote .quote strong{ color: var(--brand); }


/* ===== Final CTA Section ===== */
.sec--cta-final{
  background:#f9f9ff;
  text-align:center;
  padding: clamp(50px, 8vw, 100px) 20px;
}
.cta-btn--big{
  display:block;
  margin:14px auto;
  max-width:720px;
  padding:22px 28px;
  border-radius:999px;
  font-size:20px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  transition:transform .15s ease, filter .15s ease;
}
.cta-btn--big:hover{ transform:translateY(-3px); filter:brightness(1.05); }

.cta-btn{ color:#fff; background:var(--brand); }
.cta-btn--accent{
  background:linear-gradient(135deg, var(--brand), var(--accent));
}


/* ===== 代表の挨拶 ===== */
.message-grid{
  display:grid;
  gap: clamp(20px, 4vw, 40px);
  align-items:start;
  margin-bottom: clamp(40px, 6vw, 60px);
}
@media(min-width: 900px){
  .message-grid{ grid-template-columns: 1fr 2fr; }
}
.message-photo{
  text-align:center;
}
.message-photo img{
  max-width:220px;
  border-radius:50%;
  box-shadow:0 4px 14px rgba(0,0,0,.1);
}
.message-name{
  margin-top:10px;
  font-size:14px;
  font-weight:600;
  color:var(--ink);
}
.message-body p{ margin:0 0 14px; line-height:1.9; }

/* ===== クロージングCTA ===== */
.closing-cta{
  text-align:center;
  padding: clamp(30px, 6vw, 60px) 20px;
  background:#fafafa;
  border-radius:16px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}
.closing-lead{
  font-size: clamp(16px, 2.8vw, 20px);
  font-weight:600;
  color:var(--ink);
  margin:0 0 20px;
  line-height:1.6;
}
.closing-cta .cta-btn--big{
  max-width:720px;
  margin:0 auto 14px;
}
.closing-cta .cta-note{
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}


/* ===== FAQ Section ===== */
.sec--faq{ background:#fff; }
.sec--faq .sec__title{
  text-align:center;
  margin-bottom: clamp(18px, 3.5vw, 26px);
}

.faq{
  border:1px solid var(--stroke);
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.04);
  padding:0;
  overflow:hidden;
}
.faq + .faq{ margin-top:12px; }

.faq__q{
  list-style:none;
  cursor:pointer;
  margin:0;
  padding:16px 18px;
  font-weight:700;
  color:var(--ink);
  position:relative;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__q::after{
  content:"+";
  position:absolute;
  right:16px; top:50%;
  transform:translateY(-50%);
  font-weight:900;
  color:var(--brand);
}
.faq[open] .faq__q::after{ content:"−"; }

/* 本文 */
.faq__a{
  padding: 16px 18px;
  color:#333;
  line-height:1.9;
  background:#fafafa;
}


/* ===== Legal Section ===== */
.sec--legal{ background:#fff; }
.sec--legal .sec__title{ margin-bottom: 14px; }

.legal-grid{
  display:flex;
  justify-content: center;
  gap: 50px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px){
  .legal-grid{ grid-template-columns: repeat(2, 1fr); }
}

.legal-card{

}
.legal-title{
  margin:0;
  font-size:16px;
  font-weight:800;
  color:var(--ink);
}

.legal-title:hover{ filter:brightness(1.05); }
.legal-desc{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}


/* ===== Footer ===== */
.footer{
  background:#191970;
  text-align:center;
  padding:16px 10px;
}
.footer p{
  margin:0;
  font-size:14px;
  color:#fff;
}