/* =========================================================
   キカガク 長期コースLP  style.css
   レイアウト・ボタン・テキストはCSSで実装。
   複雑なタイトル/図/写真/矢印は提供アセット(svg/png/jpg)を配置。
   角丸はCSS。画像は images/ に集約(共通=無印, PC/SP差分=_pc/_sp)。
   ========================================================= */
:root{
  --white:#fff; --blue:#0075C2; --yellow:#FDD000; --ink:#373737;
  --orange:#F08300; --gray:#F2F5F9; --red:#E83820;
  --maxw:1590px;   /* フルブリード最大幅 */
  --cw:1192px;     /* コンテンツ最大幅 */
  --header-h:88px; --header-h-sp:60px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:clip;scroll-padding-top:100px;}  /* 固定ヘッダー分、ページ内リンクのオフセット */
body{overflow-x:clip;}
body{margin:0;font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Meiryo",sans-serif;color:var(--ink);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
p{margin:0;}
button{font-family:inherit;cursor:pointer;border:none;background:none;padding:0;}
.pc{display:block;} .sp{display:none;}
.br-sp{display:none;}   /* SP専用改行（PCでは無効） */

/* ---------- 共通: セクション見出し ---------- */
.sec-head{display:flex;flex-direction:column;align-items:center;gap:32px;text-align:center;}
.sec-head .sec-label{font-family:"Figtree",sans-serif;font-weight:600;color:var(--orange);font-size:20px;letter-spacing:.04em;margin:0;}
.sec-title{font-weight:700;font-size:38px;line-height:1.4;margin:0;color:var(--ink);}
.sec-title em{color:var(--orange);font-style:normal;}
.sec-bar{width:49px;height:3px;background:var(--orange);display:block;}

/* ---------- 共通: ボタン ---------- */
.btn-pill{display:inline-flex;align-items:center;gap:10px;background:var(--blue);color:#fff;font-weight:700;font-size:14px;padding:14px 30px;border-radius:50px;white-space:nowrap;transition:transform .2s,box-shadow .2s,opacity .2s;}
.btn-pill:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,117,194,.35);background:linear-gradient(270deg,#00A0E9 0%,#004EA2 100%);}
.btn-pill .ico{width:11px;height:auto;flex:0 0 auto;}
.btn-blue{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--blue);color:#fff;font-weight:700;border-radius:10px;transition:transform .2s,box-shadow .2s;}
.btn-blue:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,117,194,.35);background:linear-gradient(270deg,#00A0E9 0%,#004EA2 100%);}
.btn-blue .ico{width:36px;height:36px;flex:0 0 auto;}

/* =========================================================
   HEADER
   ========================================================= */
.header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 0 10px rgba(0,0,0,.1);}
.header-inner{width:100%;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 35px;}
.header-logo{flex:0 1 auto;min-width:120px;}         /* ロゴ最小幅120px */
.header-logo img{height:50px;width:auto;max-width:100%;}
.nav-pc{display:flex;align-items:center;gap:40px;flex:0 0 auto;}  /* ナビは縮まずロゴ側が縮む */
.nav-links{display:flex;align-items:center;gap:30px;}
.nav-links a{font-weight:700;font-size:14px;white-space:nowrap;transition:color .2s;}
.nav-links a:hover{color:var(--orange);}
.hamburger{display:none;width:22px;height:16px;position:relative;}
.hamburger span{position:absolute;left:0;width:100%;height:1.5px;background:var(--ink);border-radius:2px;transition:.3s;}
.hamburger span:nth-child(1){top:0;}.hamburger span:nth-child(2){top:7.25px;}.hamburger span:nth-child(3){top:14.5px;}
.hamburger.open span:nth-child(1){top:7.25px;transform:rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){top:7.25px;transform:rotate(-45deg);}
.sp-menu{position:fixed;top:0;right:-85%;width:80%;max-width:340px;height:100%;background:#fff;z-index:200;padding:84px 24px 24px;box-shadow:-6px 0 24px rgba(0,0,0,.15);transition:right .3s;overflow-y:auto;}
.sp-menu.open{right:0;}
.sp-menu ul{display:flex;flex-direction:column;gap:2px;margin-bottom:22px;}
.sp-menu li a{display:block;padding:14px 8px;font-weight:700;font-size:15px;border-bottom:1px solid #eee;}
.sp-menu .btn-pill{width:100%;justify-content:center;padding:16px;font-size:15px;}
.sp-menu-close{position:absolute;top:20px;right:20px;width:22px;height:22px;}
.sp-menu-close span{position:absolute;top:50%;left:0;width:100%;height:1.5px;background:var(--ink);border-radius:2px;}
.sp-menu-close span:nth-child(1){transform:rotate(45deg);}
.sp-menu-close span:nth-child(2){transform:rotate(-45deg);}
.sp-menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:150;opacity:0;visibility:hidden;transition:.3s;}
.sp-menu-overlay.open{opacity:1;visibility:visible;}

/* =========================================================
   HERO / KV
   ========================================================= */
/* Figmaの650pxはヘッダー高さを含むため、ヘッダー分だけKVを上へ引き上げて重ねる */
.hero{position:relative;width:100%;margin-top:calc(var(--header-h) * -1);aspect-ratio:1590/650;overflow:hidden;}
.hero .kv-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;}
.hero .kv-title-main{position:absolute;left:8.49%;top:23.5%;width:54.9%;height:auto;}
.hero .kv-badges{position:absolute;left:8.49%;top:50.2%;width:43.25%;display:flex;gap:2.9%;align-items:flex-start;}
.hero .kv-badges img{width:100%;height:auto;flex:1 1 0;min-width:0;}
.hero .hero-cta{position:absolute;left:8.49%;top:70.7%;width:31.45%;height:12.3%;font-size:clamp(15px,1.5vw,24px);}
.hero .hero-cta .ico{width:1.5em;height:1.5em;}   /* 矢印もボタンの文字サイズに連動（比率固定） */

/* =========================================================
   BANNER (オレンジグラデ帯・角丸50・KVへ-50px被り)
   ========================================================= */
.banner{position:relative;z-index:2;width:100%;margin-top:-50px;
  background:linear-gradient(90deg,#FDD000 0%,#ED6C00 100%);
  border-radius:50px 50px 0 0;padding:40px 20px;display:flex;justify-content:center;}
.bnn-set{width:auto;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:20px;}
.banner-link{display:block;transition:opacity .2s;}
.banner-link:hover{opacity:.9;}
.banner-graphic{width:723px;max-width:100%;height:auto;}
.banner-graphic.sp{width:335px;}
.banner-note{color:#fff;font-size:14px;line-height:1.6;text-align:center;font-weight:400;white-space:nowrap;}
.banner-note b{font-weight:700;}
.banner-note .s{font-size:10px;}

/* =========================================================
   GRADUATE カルーセル
   ========================================================= */
.grad-section{background:var(--gray);}
.carousel{position:relative;width:100%;max-width:var(--maxw);margin:0 auto;padding:22px 0;}
.car-viewport{width:74.97%;margin:0 auto;overflow:hidden;padding:8px 6px;}
.car-track{display:flex;gap:2.181%;align-items:stretch;transition:transform .45s cubic-bezier(.4,.1,.2,1);}
.car-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;background:center/contain no-repeat;transition:transform .2s,opacity .2s;}
.car-arrow.prev{left:2%;background-image:url(../images/carousel_btn_left.svg);}
.car-arrow.next{right:2%;background-image:url(../images/carousel_btn_right.svg);}
.car-arrow:hover{transform:translateY(-50%) scale(1.1);}
.car-arrow:disabled{opacity:.3;cursor:default;transform:translateY(-50%);}

/* カード共通(CSS実装) */
.card{flex:0 0 calc((100% - 2 * 2.181%)/3);container-type:inline-size;background:#fff;border-radius:10px;box-shadow:2px 2px 5px rgba(140,164,195,.2);display:flex;flex-direction:column;align-items:center;gap:16px;}
.card .face{width:26.32cqi;height:26.32cqi;flex:0 0 auto;border-radius:50%;background:var(--yellow) center/cover no-repeat;}
/* graduate */
/* graduateカードもPC固定px（Figma実寸。幅連動をやめる） */
.card.grad{padding:20px 0;}
.card.grad .face{width:100px;height:100px;}
.card.grad .g-profile{display:flex;gap:22px;align-items:center;}
.card.grad .g-name{background:var(--orange);border-radius:5px;padding:10px;color:#fff;line-height:1.2;}
.card.grad .g-name b{display:block;font-size:18px;white-space:nowrap;}
.card.grad .g-name small{font-size:16px;font-weight:700;}
.card.grad .g-outcome{font-weight:700;line-height:1.31;text-align:left;}
.card.grad .g-outcome .lead{font-size:22px;}
.card.grad .g-outcome small{font-size:18px;}
.card.grad .g-outcome .job{display:block;color:var(--orange);font-size:22px;}
/* voice */
/* voiceカードはPCでは固定px（Figma実寸・他コンテンツと同基準。幅連動をやめる） */
.card.voice{padding:20px;}
.card.voice .face{width:100px;height:100px;}
.card.voice .v-profile{display:flex;gap:15px;align-items:center;width:100%;min-width:0;}
.card.voice .v-badge{background:var(--yellow);border-radius:5px;padding:10px;display:flex;gap:10px;align-items:center;justify-content:flex-start;flex:1;min-width:0;}
.card.voice .v-badge .v-badge-ico{width:24px;height:auto;flex:0 0 auto;}
.card.voice .v-badge b{font-size:18px;color:var(--ink);line-height:1.3;text-align:left;min-width:0;overflow-wrap:anywhere;}
.card.voice .v-headline{color:var(--orange);font-weight:700;font-size:18px;line-height:1.31;width:100%;text-align:left;}
.card.voice .v-body{color:var(--ink);font-weight:400;font-size:16px;line-height:1.6;width:100%;text-align:left;}
.card.voice .v-body b{color:var(--orange);font-weight:700;}

/* =========================================================
   白パネル(rounded-top) on gray
   ========================================================= */
.panel-wrap{background:var(--gray);}
.panel{width:100%;background:#fff;border-radius:50px 50px 0 0;padding:80px 20px;display:flex;flex-direction:column;align-items:center;gap:70px;}

/* ---- BACKGROUND (学ぶべき理由) ---- */
.bg-body{display:flex;flex-direction:column;align-items:center;gap:30px;width:100%;max-width:var(--cw);}
.graph-box{background:var(--gray);border-radius:20px;padding:40px 20px;display:flex;flex-direction:column;align-items:center;gap:30px;width:100%;}
.graph-lead{text-align:center;font-weight:700;}
.graph-lead .s{display:block;font-size:18px;line-height:1.5;}
.graph-lead .l{display:block;font-size:28px;line-height:1.5;}
.graph-lead em{color:var(--orange);font-style:normal;}
.graph-img{width:min(680px,90%);height:auto;}
.down-tri{width:100px;height:auto;}
.chance-lead{font-weight:700;font-size:32px;text-align:center;}
.chance-lead em{color:var(--orange);font-style:normal;}
.chance-set{display:flex;gap:32px;align-items:stretch;width:100%;justify-content:center;}
.chance-card{background:var(--gray);border-radius:10px;overflow:hidden;flex:1;max-width:580px;display:flex;flex-direction:column;align-items:center;padding-bottom:20px;gap:20px;}
.chance-title{background:var(--orange);color:#fff;font-weight:700;font-size:24px;height:50px;display:flex;align-items:center;justify-content:center;width:100%;border-radius:10px 10px 0 0;}
.chance-row{display:flex;gap:20px;align-items:center;justify-content:center;padding:0 16px;}
.chance-ico{height:60px;width:auto;flex:0 0 auto;}
.chance-ico.wide{width:auto;}
.chance-row p{font-size:18px;line-height:1.5;}
.chance-row b{color:var(--orange);font-weight:700;}
.chance-pills{display:flex;flex-direction:column;gap:12px;align-items:center;width:100%;padding:0 16px;}
.pill{background:#fff;border-radius:10px;padding:10px 20px;display:flex;gap:10px;align-items:flex-end;justify-content:center;font-weight:700;}
.pill .pt{font-size:20px;line-height:1.3;}
.pill .pn{color:var(--orange);}
.pill .pn em{font-style:normal;font-size:40px;line-height:1;}
.pill .pn{font-size:22px;}
.pill.wide{gap:5px;}
.pill .pn2{color:var(--orange);font-size:28px;line-height:1;}
.note{font-size:12px;font-weight:400;color:var(--ink);text-align:center;}

/* ---- CURRICULUM (背景=薄グレー) ---- */
.curriculum{position:relative;background:var(--gray);border-radius:50px 50px 0 0;padding:80px 20px;display:flex;flex-direction:column;align-items:center;gap:70px;}
.points{display:flex;flex-direction:column;gap:100px;width:100%;max-width:var(--cw);}
.point{display:flex;gap:60px;align-items:center;width:100%;}
/* Point2 は DOM順(写真→テキスト)のまま row ⇒ 写真左・テキスト右 */
.point-txt{flex:1;display:flex;flex-direction:column;gap:26px;}
.point-no{font-family:"Figtree",sans-serif;font-weight:600;color:var(--orange);font-size:28px;line-height:1;}
.point-no em{font-style:normal;font-size:64px;}
.point-txt h3{font-weight:700;font-size:28px;line-height:1.5;margin:0;}
.point-body{font-size:16px;line-height:1.8;}
.point-body b{display:block;color:var(--orange);font-weight:700;font-size:18px;line-height:1.5;margin-bottom:4px;}
.point-img{flex:0 0 52.4%;}
.point-img img{width:100%;height:auto;border-radius:16px;}
.cur-table{width:100%;max-width:var(--cw);background:#fff;border-radius:20px;padding:40px 50px;display:flex;flex-direction:column;align-items:flex-start;}
.cur-table-title{font-weight:700;font-size:28px;color:var(--ink);margin:0 0 24px;line-height:1.5;}
.cur-table img{width:100%;height:auto;}

/* ---- VOICE ---- */
.voice-block{width:100%;display:flex;flex-direction:column;align-items:center;}
.voice-head{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:20px;}
.voice-catch{display:flex;align-items:center;justify-content:center;gap:16px;}
.voice-catch p{font-weight:700;font-size:22px;}
.voice-catch em{color:var(--orange);font-style:normal;font-size:28px;}
.voice-catch .fk{width:62px;height:auto;}
.voice-title{font-weight:700;font-size:32px;margin:0;text-align:center;}
.voice-block .carousel{padding-top:10px;}

/* ---- MERIT ---- */
.merit-set{display:flex;gap:32px;align-items:stretch;width:100%;max-width:var(--cw);justify-content:center;}
.merit-card{background:var(--gray);border-radius:10px;overflow:hidden;flex:1;max-width:580px;display:flex;flex-direction:column;}
.merit-ctitle{background:var(--orange);color:#fff;font-weight:700;font-size:24px;height:50px;display:flex;align-items:center;justify-content:center;}
.merit-img img{width:100%;height:260px;object-fit:cover;display:block;}
.merit-img.doda img{object-fit:cover;}   /* dodaも画像エリア全幅表示（92%カードと同様） */
.merit-points{display:flex;flex-direction:column;gap:20px;padding:20px 0;}
.mp{display:flex;gap:20px;align-items:center;padding:0 20px;}
.mp-no{width:64px;height:auto;flex:0 0 64px;}
.mp-bar{width:1px;align-self:stretch;background:var(--orange);flex:0 0 1px;}
.mp p{flex:1;font-size:16px;line-height:1.6;}
.mp b{color:var(--orange);font-weight:700;}

/* ---- 80%還付 ---- */
.off-block{width:100%;max-width:var(--cw);display:flex;flex-direction:column;align-items:center;gap:30px;}
.off-catch{display:flex;align-items:center;justify-content:center;gap:16px;}
.off-catch p{font-weight:700;font-size:32px;}
.off-catch em{color:var(--orange);font-style:normal;}
.off-catch em.big{font-size:50px;}
.off-catch .fk{width:62px;height:auto;}
.off-row{display:flex;gap:50px;align-items:flex-start;width:100%;}
.off-price{width:38%;max-width:420px;height:auto;flex:0 0 auto;}
.off-txt{flex:1;display:flex;flex-direction:column;gap:20px;}
.off-h{font-weight:700;font-size:24px;line-height:1.5;}
.off-h em{color:var(--orange);font-style:normal;}
.off-body{font-size:16px;line-height:1.8;}
.off-body b{color:var(--orange);font-weight:700;}
.off-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;}
.off-foot .note{text-align:left;font-size:13px;line-height:1.4;}
.off-illust{width:155px;height:auto;flex:0 0 auto;}

/* =========================================================
   CTA (最下部)
   ========================================================= */
.cta-section{background:linear-gradient(90deg,#FDD000 0%,#ED6C00 100%);padding:80px 20px;display:flex;flex-direction:column;align-items:center;gap:50px;}
.cta-head{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;}
.cta-sub{color:#fff;font-weight:700;font-size:24px;line-height:1.5;}
.cta-title{color:#fff;font-weight:700;font-size:36px;margin:0;}
.cta-underline{width:100%;height:6px;background:var(--yellow);}
.cta-body{width:100%;max-width:var(--cw);display:flex;gap:50px;align-items:center;justify-content:center;}
.cta-illust{flex:0 0 42%;max-width:500px;}
.cta-illust img{width:100%;height:auto;}
.cta-txt{flex:1;display:flex;flex-direction:column;gap:16px;align-items:flex-start;}
.cta-gift{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--orange);font-weight:700;font-size:22px;padding:10px 25px;border-radius:100px;}
.cta-gift img{width:24px;height:24px;}
.cta-lead{color:#fff;font-weight:700;font-size:22px;line-height:1.5;}
.cta-desc{color:#fff;font-weight:500;font-size:16px;line-height:1.5;}
.cta-btn{height:80px;padding:0 30px 0 40px;font-size:24px;align-self:stretch;max-width:470px;}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{background:#fff;padding:30px 0;}
.footer-inner{max-width:var(--maxw);margin:0 auto;padding:0 40px;display:flex;flex-direction:column;gap:25px;align-items:center;}
.footer-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.footer-logo img{height:50px;width:auto;}
.footer-nav{display:flex;gap:30px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.footer-nav a{font-size:14px;display:inline-flex;align-items:center;gap:6px;}
.footer-nav a.fn-strong{font-weight:700;}
.footer-nav a:hover{color:var(--orange);}
.footer-nav .ext{width:13px;height:13px;}
.footer-line{width:100%;height:2px;background:#f3f3f3;}
.footer-copy{display:flex;gap:16px;align-items:center;justify-content:center;text-align:center;}
.footer-copy .pmark{width:50px;height:50px;flex:0 0 50px;}
.footer-copy p{font-size:12px;}

/* =========================================================
   FLOAT CTA
   ========================================================= */
.float-cta{position:fixed;right:0;bottom:20px;z-index:120;width:330px;aspect-ratio:330/170;background:url(../images/float_cta.svg) center/contain no-repeat;opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .35s,transform .35s;}
.float-cta.show{opacity:1;transform:none;pointer-events:auto;}
.float-cta:hover{transform:translateY(-3px);}

/* =========================================================
   スクロールアニメーション
   ========================================================= */
.reveal{opacity:0;transform:translateY(42px);transition:opacity .8s ease,transform .8s ease;}
.reveal.in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none;}}

/* ヘッダー: フルナビ表示帯(865〜1240px)ではロゴ/ナビを縮小して接触を回避。
   ロゴは比率維持でスケール（縦潰れ防止）し、最小120pxまで縮む。 */
@media (min-width:865px) and (max-width:1240px){
  .nav-pc{gap:22px;}
  .nav-links{gap:18px;}
  .nav-links a{font-size:13px;}
  .header-logo{flex:0 1 218px;}            /* 218×42起点。min-width:120pxまで縮小 */
  .header-logo img{width:100%;height:auto;}/* 比率維持で縮小（縦潰れ防止） */
}

/* ヘッダー: タブレット狭幅(769〜864px)ではロゴが120px未満になるため、
   スマホ表示仕様（ハンバーガー）へ切り替える。 */
@media (min-width:769px) and (max-width:864px){
  html{scroll-padding-top:72px;}
  .header-inner{height:var(--header-h-sp);padding:0 24px;}
  .nav-pc{display:none;}
  .hamburger{display:block;}
  .header-logo{flex:0 0 auto;min-width:0;}
  .header-logo img{height:32px;width:auto;}
  .hero{margin-top:calc(var(--header-h-sp) * -1);}
}

/* カルーセル表示枚数
   voice: 1248px以上=3枚 / 1247px以下=2枚 / SP=1枚
   graduate: PC(1025px〜)=3枚 / タブレット(769〜1024)=2枚 / SP=1枚 */
@media (min-width:769px) and (max-width:1247px){
  .card.voice{flex:0 0 calc((100% - 2.181%) / 2);}
}
@media (min-width:769px) and (max-width:1024px){
  .card.grad{flex:0 0 calc((100% - 2.181%) / 2);}
}

/* =========================================================
   レスポンシブ (SP: 768px以下)
   ========================================================= */
@media (max-width:768px){
  .pc{display:none;} .sp{display:block;}

  .header-inner{height:var(--header-h-sp);padding:0 16px;}
  .header-logo img{height:30px;}
  .nav-pc{display:none;}
  .hamburger{display:block;}
  html{scroll-padding-top:72px;}   /* SPヘッダー分オフセット */

  /* HERO SP */
  .hero{margin-top:calc(var(--header-h-sp) * -1);aspect-ratio:375/650;}
  .hero .kv-title-main{left:5.33%;top:15.2%;width:89.3%;}
  .hero .kv-badges{left:5.33%;top:37.2%;width:89.3%;flex-wrap:wrap;gap:10px;}
  .hero .kv-badges img{flex:0 0 calc((100% - 10px) / 2);}   /* SPは2つ横並び＋3つ目改行 */
  .hero .hero-cta{left:5.33%;top:80%;width:89.3%;height:9.2%;font-size:18px;gap:16px;}
  .hero .hero-cta .ico{width:26px;height:26px;}

  /* 見出し */
  .sec-head{gap:24px;}
  .sec-title{font-size:24px;}
  .sec-head .sec-label{font-size:18px;}

  /* パネル */
  .panel{border-radius:30px 30px 0 0;padding:56px 16px;gap:44px;}

  /* background（SP: Figma準拠の文字サイズ・角丸・矢印） */
  .graph-box{border-radius:10px;padding:30px 20px;}
  .graph-lead .s{font-size:16px;}
  .graph-lead .l{font-size:18px;}
  .down-tri{width:60px;}                 /* 矢印を約半分に */
  .chance-lead{font-size:18px;}
  .chance-set{flex-direction:column;align-items:center;gap:15px;}
  .chance-card{max-width:100%;width:100%;border-radius:5px;}
  .chance-title{font-size:16px;height:40px;border-radius:5px 5px 0 0;}
  .chance-ico{height:65px;width:auto;}
  .chance-ico.wide{width:auto;}
  .chance-row p{font-size:16px;}
  .br-pc{display:none;}                   /* PCの手動改行をSPでは無効化 */
  .pill{border-radius:5px;padding:7px 15px;}
  .pill .pt{font-size:16px;}
  .pill .pn{font-size:16px;}
  .pill .pn em{font-size:32px;}
  .pill .pn2{font-size:22px;}

  /* curriculum */
  .curriculum{padding:56px 16px;gap:44px;}
  .points{gap:50px;}
  .point{flex-direction:column;gap:20px;}
  .point.p2{flex-direction:column-reverse;}
  .point-txt{gap:16px;}
  .point-img{flex:none;width:100%;}
  .point-img img{border-radius:10px;}          /* SPは写真の角丸を小さく */
  .point-no{font-size:18px;}
  .point-no em{font-size:44px;}
  .point-txt h3{font-size:20px;}
  .cur-table{padding:28px 20px;border-radius:10px;}
  .cur-table-title{font-size:20px;margin-bottom:16px;}

  /* voice 見出し */
  .voice-block{gap:20px;}
  .voice-head{margin-bottom:0;}
  .voice-block .carousel{padding:0;}
  .voice-catch p{font-size:14px;text-align:center;}
  .voice-catch em{font-size:16px;}
  .voice-catch .fk{width:46px;}
  .voice-title{font-size:22px;}
  .br-sp{display:inline;}                        /* SPのみ「学んだら」後で改行 */

  /* voice カード（SP: Figma実寸の固定px） */
  .card.voice{gap:10px;}
  .card.voice .v-profile{gap:10px;}
  .card.voice .face{width:70px;height:70px;}
  .card.voice .v-badge{padding:10px;gap:10px;border-radius:5px;}
  .card.voice .v-badge .v-badge-ico{width:20px;}
  .card.voice .v-badge b{font-size:16px;}
  .card.voice .v-headline{font-size:16px;}
  .card.voice .v-body{font-size:14px;}

  /* merit */
  .merit-set{flex-direction:column;align-items:center;gap:20px;}
  .merit-card{max-width:100%;width:100%;}
  .merit-ctitle{font-size:16px;height:40px;}
  .merit-img img{height:auto;aspect-ratio:1160 / 520;}   /* SPは縦を短く＝画像の縦横比に合わせる */
  .merit-points{gap:10px;}                                /* Point01/02の間隔を10pxに */
  .mp{gap:10px;padding:0 15px;}
  .off-catch p{font-size:22px;text-align:center;line-height:1.3;}   /* 中央寄せ＋行間を詰める */
  .off-catch em.big{font-size:40px;}
  .off-catch .fk{width:46px;}
  .off-row{flex-direction:column;align-items:center;gap:30px;}
  .off-price{width:100%;max-width:none;}                  /* merit_80off_sp.svg を div幅100% */
  .off-h{font-size:22px;}
  .off-foot{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px;}
  .off-foot .note{flex:1;}
  .off-illust{width:100px;}

  /* cta */
  .cta-section{background:#F08300;padding:60px 16px;gap:32px;}   /* SPはオレンジ単色 */
  .cta-sub{font-size:18px;}
  .cta-title{font-size:28px;}
  .cta-body{flex-direction:column;gap:24px;}
  .cta-illust{flex:none;width:100%;max-width:none;}             /* 画像を横幅100% */
  .cta-txt{align-items:stretch;text-align:left;}
  .cta-gift{width:100%;justify-content:flex-start;font-size:18px;}
  .cta-gift .cg-txt{flex:1;text-align:left;}                     /* 文言を左寄せ */
  .cta-lead{font-size:18px;}
  /* CTAボタン: 文字サイズ・gap・アイコンは KV の CTA（.hero-cta）と同設定に揃える。 */
  .cta-btn{width:100%;height:60px;font-size:18px;gap:16px;padding:0;}  /* KVボタンと同程度の高さ */
  .cta-btn .ico{width:26px;height:26px;}

  /* carousel SP: 1枚 */
  .car-viewport{width:82%;}
  .car-track{gap:16px;}
  .card{flex:0 0 100%;}
  .car-arrow{width:38px;height:38px;}
  .car-arrow.prev{left:8px;} .car-arrow.next{right:8px;}

  /* footer（SP: Figma準拠） */
  .footer{padding:0;}
  .footer-inner{padding:50px 20px;gap:20px;align-items:flex-start;}
  .footer-top{flex-direction:column;align-items:stretch;gap:20px;}
  .footer-logo{align-self:flex-start;}
  .footer-logo img{height:32px;}
  .footer-nav{width:100%;flex-direction:column;align-items:flex-end;gap:30px;}
  .footer-nav a{font-size:14px;}
  .footer-copy{flex-direction:row;justify-content:flex-start;align-items:center;text-align:left;gap:10px;}
  .footer-copy p{flex:1;}

  .float-cta{width:250px;right:0;bottom:0;}

  /* banner SP */
  .banner{margin-top:-30px;border-radius:30px 30px 0 0;padding:28px 16px;}
  .bnn-set{gap:10px;}
  .banner-graphic{width:335px;}
  .banner-note{font-size:12px;text-align:left;white-space:normal;}  /* SPは折り返しOK */
  .curriculum{border-radius:30px 30px 0 0;}
}

/* =========================================================
   タブレット（縦向き想定 769〜900px）
   PCレイアウトをベースに、余白と大きな見出しだけ程よく調整。
   901px以上(PC)・768px以下(SP)には影響しません。
   ========================================================= */
@media (min-width:769px) and (max-width:1024px){
  /* ヘッダー: ナビの詰まりを回避 */
  .nav-pc{gap:24px;}
  .nav-links{gap:18px;}
  .nav-links a{font-size:13px;}
  .btn-pill{padding:12px 22px;}

  /* KV: ヘッダー/バナーとの上下余白を確保。
     絶対配置(％)をやめてフロー配置＋中央寄せにすることで、要素間の余白は固定値で保ちつつ
     （タイトル/サブ/CTAの間隔は現状どおり）、KVの高さを広げた分を上下余白に回す。 */
  .hero{
    display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
    min-height:400px;box-sizing:border-box;
    padding-top:var(--header-h);   /* ヘッダー分を確保（865〜1024px=88px） */
    padding-bottom:50px;           /* バナー被り分を確保 */
  }
  .hero > *{margin-left:8.49%;}    /* 左オフセットは従来どおり */
  .hero .kv-title-main{position:static;left:auto;top:auto;width:54.9%;}
  .hero .kv-badges{position:static;left:auto;top:auto;width:43.25%;margin-top:20px;}
  .hero .hero-cta{position:static;left:auto;top:auto;width:auto;height:auto;
    min-width:300px;padding:10px 30px;margin-top:22px;font-size:clamp(15px,1.6vw,20px);
    white-space:nowrap;}   /* テキストに合わせて伸縮＋折り返し禁止（1000px前後の改行対策） */

  /* バナー: 画像・注釈を親要素ボックスの80%を上限に。注釈は上限で折り返す。 */
  .bnn-set{width:100%;}
  .banner-link{width:80%;max-width:723px;}   /* 画像は親の80%（PC実寸723pxは超えない） */
  .banner-graphic{width:100%;}
  .banner-note{max-width:80%;white-space:normal;}  /* 80%到達で改行（切れ防止） */

  /* 見出しと縦リズムを程よく圧縮 */
  .sec-title{font-size:30px;}
  .panel{padding:60px 24px;gap:52px;}
  .curriculum{padding:60px 24px;gap:52px;}
  .points{gap:64px;}
  .point{gap:40px;}
  .point-no em{font-size:52px;}
  .point-txt h3{font-size:24px;}
  .voice-title{font-size:28px;}

  /* カリキュラム: タブレットではテキストと画像の幅を同程度に（PCは画像が広い） */
  .point-txt{flex:1 1 0;min-width:0;}
  .point-img{flex:1 1 0;min-width:0;}

  /* チャンスセクション: 940px以下では2ボックスを縦組み（各ボックス最大580px） */
  /* ※実際の縦組み切替は下部の 769〜940px 用メディアクエリで指定 */

  /* メリット: 画像エリアは幅が縮んでも縦横比を保つ（正方形化を防止） */
  .merit-img img{height:auto;aspect-ratio:1160 / 520;}

  /* 受講生の声カード: v-badgeが126px以下になる幅ではアイコンの下にタイトルを配置。
     .card は container-type:inline-size でコンテンツ幅を判定。
     行レイアウトのv-badge幅 = コンテンツ幅 − アイコン100px − gap15px。
     v-badge≦126px ⇔ コンテンツ幅≦241px。 */
  @container (max-width:241px){
    .card.voice .v-profile{flex-direction:column;align-items:center;gap:10px;}
    .card.voice .v-badge{width:100%;flex:0 0 auto;}
  }

  .cta-section{padding:64px 24px;}
  .cta-title{font-size:30px;}
  .cta-sub{font-size:20px;}
  .cta-body{gap:32px;}
  /* CTAボタン: この帯はボタン幅が470pxまで伸びきらないため、KVのCTAと同じく
     テキストサイズを伸縮させて折り返しを禁止する（高さ80px固定なので2行になると溢れる）。 */
  .cta-btn{font-size:clamp(17px,2vw,22px);white-space:nowrap;}
  .off-catch em.big{font-size:44px;}

  /* コンテンツ帯の左右余白を少し確保 */
  .footer-inner{padding-left:24px;padding-right:24px;}
}

/* チャンスセクション: 940px以下で2ボックスを縦組み（各ボックス最大580px）。
   ※SP(≤768)は既存ルールで縦組み。PC(≥941)は横並びのまま。 */
@media (min-width:769px) and (max-width:940px){
  .chance-set{flex-direction:column;align-items:center;}
  .chance-card{width:100%;max-width:580px;}
}

/* KV: ハンバーガー帯(769〜864px)はヘッダー高さが60pxのため、上パディングも60pxに合わせる。 */
@media (min-width:769px) and (max-width:864px){
  .hero{padding-top:var(--header-h-sp);}
}
