/* ============================================================
   慶應 総合型選抜専門塾 LP
   スマホを基準に書き、900px以上でパソコン用に並べ替える
   見た目の方針：白・水色・青・オレンジの平らな色、太い角ゴシック、
   広めの字間。影やグラデーションはほぼ使わない
   ============================================================ */
@font-face{font-family:"Rob";font-weight:700;font-display:swap;src:url(../fonts/roboto-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Rob";font-weight:900;font-display:swap;src:url(../fonts/roboto-latin-900-normal.woff2) format("woff2")}

:root{
  --blue:#1F75CC;--pale:#E8F5FF;--pale2:#D3E9FB;
  --orange:#F28130;--orange-t:#E55B17;--cream:#FAF0D2;
  --gray:#E6E6E6;--gray2:#BFBFBF;--ink:#111;--sub:#666;
  --line:#06C755;--yellow:#F7D560;--gold:#D9B24C;
  --jp:"Noto Sans JP","Noto Sans CJK JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --en:"Rob","Roboto","Noto Sans JP",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:70px;-webkit-text-size-adjust:100%}
body{font-family:var(--jp);font-weight:700;color:var(--ink);background:#fff;line-height:1.6;letter-spacing:.06em;-webkit-font-smoothing:antialiased;overflow-x:hidden}
main{overflow-x:hidden}
@supports (overflow:clip){main{overflow-x:clip}}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
.br-pc{display:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- 共通 ---------- */
.sec{position:relative;padding:64px 0 60px}
.sec--tight{padding:8px 0 56px}
.sec--pale{background:var(--pale)}
.sec--round{border-radius:12px;margin:0 0 0}
.wrap{position:relative;width:100%;max-width:560px;margin:0 auto;padding:0 20px;z-index:1}
/* 上が丸くせり上がる区切り */
.arc{margin-top:36px}
.arc::before{content:"";position:absolute;left:-15%;right:-15%;top:-36px;height:90px;border-radius:50%;background:var(--pale)}
/* 斜めの帯のかざり */
.story::before,.wr::before,#road::before,#mentors::before{content:"";position:absolute;width:420px;height:76px;border-radius:38px;background:var(--pale);transform:rotate(-45deg);right:-190px;top:60px;z-index:0}
.story::after,.wr::after,#road::after{content:"";position:absolute;width:300px;height:26px;border-radius:13px;background:var(--pale);transform:rotate(-45deg);left:-120px;bottom:120px;z-index:0}
.story,.wr,#road,#mentors{overflow:hidden}

.label{display:table;margin:0 auto 14px;font-size:18px;color:var(--blue);border-bottom:3px solid var(--blue);padding:0 2px 4px}
.h2{text-align:center;font-size:clamp(21px,6.9vw,29px);line-height:1.6}
.h2--mt{margin-top:44px}
.b{color:var(--blue)}
.o{color:var(--orange-t)}
.lead{text-align:center;font-size:15px;line-height:1.9;margin-top:14px}
.txt{font-weight:400;font-size:15px;line-height:1.9}
.src{font-weight:400;font-size:11px;color:var(--sub);margin-top:14px;line-height:1.7;letter-spacing:.03em}
.src--c{text-align:center}
/* 文字の上の点 */
.em{position:relative;display:inline-block}
.em::before{content:"";position:absolute;left:50%;top:-.28em;width:.2em;height:.2em;border-radius:50%;background:currentColor;transform:translateX(-50%)}

/* ふわっと出す（JSが動くときだけ） */
.js .rv{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.js .rv.is-in{opacity:1;transform:none}

/* 写真の左下に白いラベル */
.tab{position:relative;border-radius:4px;overflow:hidden}
.tab img{width:100%;height:100%;object-fit:cover}
.tab figcaption{position:absolute;left:0;bottom:0;display:flex;align-items:center;gap:8px;background:#fff;font-size:15px;padding:8px 16px 4px 2px;border-radius:0 6px 0 0;line-height:1.4}
.tab figcaption svg{flex:0 0 18px;width:18px;height:18px;fill:var(--blue)}

/* 見出しつきの箱（灰色／青） */
.cmp{border:3px solid var(--gray);border-radius:4px;background:#fff;overflow:hidden}
.cmp__hd{display:flex;align-items:center;gap:8px;background:var(--gray);font-size:16px;padding:12px 16px;line-height:1.4}
.cmp__hd svg{flex:0 0 16px;width:16px;height:16px;fill:#fff}
.cmp__hd small{font-size:12px;margin-left:6px}
.cmp__bd{padding:16px}
.cmp--blue{border-color:var(--blue)}
.cmp--blue .cmp__hd{background:var(--blue);color:#fff}
.arrow-d{width:0;height:0;margin:8px auto;border-left:16px solid transparent;border-right:16px solid transparent;border-top:12px solid var(--gray2)}
.pass{flex:0 0 auto;font-size:13px;color:#fff;background:var(--orange);border-radius:3px;padding:2px 10px;letter-spacing:.14em}

/* オレンジの吹き出し */
.say{position:relative;display:table;margin:40px auto 26px;background:var(--orange);color:#fff;font-size:clamp(15px,4.7vw,19px);padding:12px 24px;border-radius:999px;text-align:center;line-height:1.5}
.say::after{content:"";position:absolute;left:50%;bottom:-11px;transform:translateX(-50%);border-left:10px solid transparent;border-right:10px solid transparent;border-top:12px solid var(--orange)}

/* ---------- 相談ボタン ---------- */
.pre{display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;color:var(--blue);margin-bottom:8px}
.pre i{width:14px;height:16px;background:linear-gradient(var(--blue),var(--blue)) 0 0/2.5px 100% no-repeat,linear-gradient(var(--blue),var(--blue)) 7px 0/2.5px 100% no-repeat;transform:skewX(24deg)}
.pre i:last-child{transform:skewX(-24deg)}
.btn{position:relative;display:flex;align-items:stretch;width:100%;max-width:350px;height:64px;margin:0 auto;border-radius:999px;background:var(--line);color:#fff;overflow:hidden;box-shadow:0 4px 0 rgba(0,0,0,.12);transition:transform .15s ease}
.btn:hover{transform:translateY(2px)}
.btn__l{flex:0 0 96px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--yellow);color:var(--ink);font-size:11px;line-height:1.1;clip-path:polygon(0 0,100% 0,84% 100%,0 100%);padding-right:10px}
.btn__l b{font-family:var(--en);font-size:26px;font-weight:900;line-height:1;letter-spacing:0}
.btn__l b small{font-family:var(--jp);font-size:12px;margin-left:1px}
.btn__r{flex:1;display:flex;flex-direction:column;justify-content:center;font-size:clamp(15px,4.5vw,17px);line-height:1.35;padding-left:6px}
.btn__r small{font-size:12px}
.btn__ic{position:absolute;right:12px;top:50%;width:40px;height:40px;transform:translateY(-50%);border:1.5px solid #fff;border-radius:50%;padding:9px;color:#fff}

/* ---------- ヘッダー ---------- */
.hd{position:fixed;top:0;left:0;right:0;z-index:50;transition:background .25s ease,box-shadow .25s ease}
.hd.is-scrolled{background:rgba(255,255,255,.96);box-shadow:0 1px 0 var(--gray)}
.hd__in{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;max-width:1160px;margin:0 auto}
.logo{display:flex;align-items:center;gap:8px}
.logo__m{width:32px;height:32px;border-radius:50%;border:2px solid var(--blue);display:grid;place-items:center;background:#fff}
.logo__m svg{width:14px;height:14px;fill:var(--blue)}
.logo__t small{display:block;font-size:8.5px;line-height:1.4;letter-spacing:.02em}
.logo__t b{display:block;font-size:13px;line-height:1.3}
.hd__nav{display:none}
.hd__btn{flex:0 0 auto;display:flex;align-items:center;gap:6px;background:var(--line);color:#fff;font-size:12px;border-radius:999px;padding:9px 14px}
.hd__btn svg{width:15px;height:15px}

/* ---------- 表紙 ---------- */
.hero{position:relative;background:var(--pale);overflow:hidden;padding-bottom:36px}
.hero::before,.hero::after{content:"";position:absolute;border-radius:60px;transform:rotate(-45deg);z-index:0}
.hero::before{width:640px;height:120px;background:var(--pale2);left:-200px;top:520px}
.hero::after{width:420px;height:60px;background:#F4FAFF;right:-150px;top:610px}
.hero__ph{position:relative;height:430px;padding-top:50px;z-index:1}
.hero__ph img{width:100%;height:100%;object-fit:cover;object-position:62% 18%}
.hero__ph::after{content:"";position:absolute;left:0;right:0;bottom:0;height:210px;background:linear-gradient(180deg,rgba(232,245,255,0),rgba(232,245,255,.92) 62%,var(--pale))}
.hero__in{position:relative;max-width:560px;margin:0 auto;z-index:2}
.hero__body{position:relative;margin-top:-112px;padding:0 20px}
.hero__circle{position:absolute;right:14px;top:-66px;width:104px;height:104px;border-radius:50%;background:var(--orange);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.15;z-index:2}
.hero__circle small{font-size:10.5px;letter-spacing:.02em}
.hero__circle b{font-family:var(--en);font-size:34px;font-weight:900;letter-spacing:0;line-height:1}
.hero__circle b span{font-family:var(--jp);font-size:12px;font-weight:700;margin-left:2px}
.hero__circle em{font-style:normal;font-size:13px;letter-spacing:.02em;margin-top:2px}
.hero__pre{position:relative;display:inline-block;color:var(--blue);font-size:19px;padding-top:12px;margin-bottom:8px;letter-spacing:.14em}
.dotrow{position:absolute;left:2px;top:0;display:flex;gap:17px}
.dotrow i{width:5px;height:5px;border-radius:50%;background:var(--blue)}
.hero__copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px;line-height:1.3}
.hero__copy span{background:#fff;white-space:nowrap}
.hero__c1{font-size:clamp(18px,5.85vw,26px);padding:6px 10px 7px}
.hero__c2{font-size:clamp(25px,8.3vw,37px);padding:6px 12px 8px}
.hero__sub{margin-top:14px;font-size:clamp(12.5px,3.7vw,15px);line-height:1.7}
.crowns{position:relative;margin-top:20px;background:#fff;border-radius:6px;display:flex;justify-content:space-around;padding:16px 6px 14px}
.crown{flex:1;display:flex;align-items:center;justify-content:center;gap:2px;text-align:center;min-width:0}
.crown svg{flex:0 0 auto;width:clamp(13px,4vw,18px);height:auto;aspect-ratio:30/60}
.crown__r{transform:scaleX(-1)}
.crown__t{font-size:clamp(8.5px,2.5vw,11px);line-height:1.3;letter-spacing:.02em;white-space:nowrap}
.crown__n{font-size:clamp(14px,4.2vw,19px);line-height:1.2;color:var(--orange-t);white-space:nowrap;letter-spacing:.02em}
.crown__n i{font-style:normal;font-family:var(--en);font-weight:900;font-size:1.75em;letter-spacing:0;line-height:1}
.crown__n--w{font-size:clamp(19px,5.9vw,26px);line-height:1.35}
.crown__s{font-size:clamp(8.5px,2.5vw,11px);line-height:1.3;letter-spacing:.02em;white-space:nowrap}
.crowns__cap{font-weight:400;font-size:9.5px;color:var(--sub);text-align:center;margin-top:8px;letter-spacing:.02em}
.hero__cta{margin-top:24px}

/* ---------- 塾長ストーリー ---------- */
.story{padding-top:56px}
.story__box{background:var(--pale);border-radius:8px;padding:28px 20px 24px}
.story__lead{display:table;font-size:18px;color:var(--blue);border-bottom:3px solid var(--blue);padding-bottom:4px;margin-bottom:10px}
.story__ttl{font-size:clamp(26px,8.2vw,34px);line-height:1.5}
.num{font-family:var(--en);font-weight:900;font-size:1.7em;line-height:1;color:var(--orange-t);letter-spacing:0;margin:0 2px}
.story__after{margin-top:10px;font-size:16px;line-height:1.7}
.story__after b{display:inline-block;margin-left:6px;font-size:26px;color:var(--orange-t);line-height:1.2}
.story__ph{margin-top:20px;height:250px}
.story__ph img{object-position:50% 14%}
.story__ba{margin-top:20px}
.story .cmp__bd li{position:relative;font-size:15px;line-height:1.6;padding:10px 0 10px 20px}
.story .cmp__bd li+li{border-top:1px dashed var(--gray2)}
.story .cmp__bd li::before{content:"";position:absolute;left:2px;top:19px;width:8px;height:8px;border-radius:50%;background:var(--gray2)}
.story .cmp--blue .cmp__bd{background:var(--pale)}
.story .cmp--blue .cmp__bd li{display:flex;align-items:center;gap:12px;padding-left:0;font-size:16px;line-height:1.4}
.story .cmp--blue .cmp__bd li::before{display:none}
.story .cmp--blue .cmp__bd li+li{border-top:1px dashed #A9CFF0}
.story .cmp--blue .cmp__bd small{display:block;font-size:11px;font-weight:400;color:var(--sub)}

/* ---------- どんな入試？ ---------- */
.grid-card{margin-top:24px;background:#fff;border:6px double #D9E3EC;border-radius:6px;padding:28px 12px 26px;text-align:center;background-image:linear-gradient(#EEF2F5 1px,transparent 1px),linear-gradient(90deg,#EEF2F5 1px,transparent 1px);background-size:18px 18px;background-position:center}
.grid-card h3{position:relative;font-size:clamp(19px,5.8vw,24px);line-height:1.55;padding-bottom:16px}
.grid-card h3::after{content:"";position:absolute;left:50%;bottom:0;width:52px;height:4px;border-radius:2px;background:var(--blue);transform:translateX(-50%)}
.facts{display:flex;flex-wrap:wrap;justify-content:center;gap:22px 12px;margin-top:24px}
.facts>div{flex:0 0 calc(50% - 6px)}
.ico{display:grid;place-items:center;width:100px;height:100px;margin:0 auto;border-radius:50%;background:var(--cream)}
.ico svg{width:56px;height:56px}
.facts p{font-size:15px;line-height:1.5;margin-top:10px}
.facts small{display:block;font-weight:400;font-size:11.5px;color:var(--sub)}
.ex{margin-top:16px}
.ex .cmp__hd{font-size:18px}
.ex .cmp__hd span{margin-left:auto;font-size:11px;background:#fff;color:var(--blue);border-radius:999px;padding:3px 10px;white-space:nowrap;letter-spacing:.02em}
.ex__sub{font-weight:400;font-size:12px;color:var(--sub);margin-bottom:10px}
.ex__t{display:table;font-size:13px;color:var(--blue);border-bottom:2px solid var(--blue);margin-bottom:10px;padding-bottom:1px}
.ex__t span{color:var(--sub);font-weight:400;margin-left:4px}
.ex ul{margin-bottom:18px}
.ex li{position:relative;font-size:14px;line-height:1.6;padding:6px 0 6px 18px;letter-spacing:.02em}
.ex li::before{content:"";position:absolute;left:2px;top:14px;width:8px;height:8px;border-radius:50%;background:var(--blue)}
.ex li small{display:block;font-weight:400;font-size:11.5px;color:var(--sub)}
.flowp{display:flex;align-items:center;gap:8px}
.flowp p{flex:1;border-radius:4px;background:var(--pale);padding:10px 6px;text-align:center;font-size:14px;line-height:1.4}
.flowp p small{display:block;font-size:10.5px;color:var(--blue)}
.flowp p span{font-size:11px;font-weight:400}
.flowp i{flex:0 0 auto;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:9px solid var(--gray2)}
.ab{display:flex;gap:8px}
.ab>div{flex:1;border-radius:4px;background:var(--pale);padding:10px 10px 12px}
.ab__nm{display:inline-block;font-size:12px;color:#fff;background:var(--blue);border-radius:3px;padding:1px 8px;margin-bottom:6px}
.ab p{font-size:12px;line-height:1.6;letter-spacing:.02em}
.ab .ab__q{font-size:11px;color:var(--orange-t);margin-bottom:2px}

/* ---------- 思いこみ／実際は ---------- */
.vs{display:flex;max-width:560px;margin:28px auto 0}
.vs__col{flex:1;padding:22px 9px 12px}
.vs__col--no{background:var(--gray)}
.vs__col--yes{background:var(--cream)}
.vs h3{text-align:center;font-size:16px;line-height:1.5;margin-bottom:14px}
.vs h3 span{font-size:22px}
.vs ul{background:#fff;border-radius:6px;padding:4px 10px}
.vs li{font-size:clamp(12.5px,3.75vw,14.5px);line-height:1.65;padding:16px 0 18px;letter-spacing:.03em}
.vs li+li{border-top:1px dashed var(--gray2)}
.vs li svg{display:block;width:30px;height:30px;margin:0 auto 8px}

/* ---------- 合格実績（二重わくの青い箱） ---------- */
.frame{position:relative;background:#3D74C7;color:#fff;border-radius:6px;padding:30px 24px 24px;outline:1.5px solid rgba(255,255,255,.75);outline-offset:-7px}
.frame__ttl{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;font-size:clamp(22px,6.6vw,27px);line-height:1.35;padding-bottom:16px}
.frame__ttl small{display:block;font-size:13px}
.frame__ttl svg{flex:0 0 22px;width:22px;height:44px}
.flip{transform:scaleX(-1)}
.frame__list li{position:relative;border-top:1px solid rgba(255,255,255,.45);padding:14px 0 14px;font-size:clamp(17px,5.2vw,20px);line-height:1.4}
.frame__list small{display:block;font-size:11.5px;font-weight:400;opacity:.9}
.frame__list span{display:inline-block;margin-left:10px;font-size:12px;background:#fff;color:#3D74C7;border-radius:3px;padding:1px 8px;vertical-align:2px;letter-spacing:.02em}
.frame__cap{font-weight:400;font-size:10px;opacity:.9;margin-top:8px;letter-spacing:.02em}

/* ---------- 講師のこだわり（横にめくる） ---------- */
.track{display:flex;gap:14px;padding:26px 20px 6px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;max-width:560px;margin:0 auto}
.track::-webkit-scrollbar{display:none}
.sc{flex:0 0 86%;max-width:340px;scroll-snap-align:center}
.sc .tab{height:200px}
.sc .tab figcaption{font-size:clamp(13px,3.9vw,15px)}
.sc p{font-weight:400;font-size:14px;line-height:1.8;margin-top:10px}
.pager{display:flex;justify-content:center;gap:6px;margin-top:14px}
.pager i{width:22px;height:4px;border-radius:2px;background:var(--gray2);transition:background .25s ease}
.pager i.on{background:var(--blue)}

/* ---------- こんな気持ち ---------- */
.clouds{margin-top:26px;display:flex;flex-direction:column;align-items:center;gap:14px}
.clouds li{position:relative;background:#EDEDED;border-radius:999px;padding:18px 34px;font-size:15px;line-height:1.6;text-align:center;min-width:250px}
.clouds li::before,.clouds li::after{content:"";position:absolute;background:#EDEDED;border-radius:50%;z-index:-1}
.clouds li::before{width:54px;height:38px;left:22px;top:-9px}
.clouds li::after{width:66px;height:42px;right:26px;bottom:-10px}
.clouds li:nth-child(odd){transform:translateX(-18px)}
.clouds li:nth-child(even){transform:translateX(18px)}
.bubble{position:relative;margin:38px auto 0;max-width:340px;border:3px solid var(--gray2);border-radius:44px;background:#fff;text-align:center;font-size:17px;line-height:1.7;padding:20px 16px}
.bubble::before{content:"";position:absolute;left:50%;top:-14px;width:22px;height:22px;background:#fff;border-left:3px solid var(--gray2);border-top:3px solid var(--gray2);transform:translateX(-50%) rotate(45deg)}
.wr .say{margin-top:28px}
.cream{background:var(--cream);border-radius:6px;padding:28px 22px 26px}
.cream h3{font-size:clamp(19px,5.8vw,23px);line-height:1.7}
.cream p{font-weight:400;font-size:14px;line-height:1.9;margin-top:12px}

/* ---------- 3つの特長 ---------- */
.fc{margin-top:36px}
.fc img{width:100%;height:190px;object-fit:cover;border-radius:4px}
.fc .fc__ceo{height:230px;object-position:50% 16%}
.fc__no{display:flex;align-items:baseline;gap:8px;margin-top:16px;font-family:var(--en);font-size:12px;color:var(--blue);letter-spacing:.12em}
.fc__no b{font-size:30px;font-weight:900;line-height:1;letter-spacing:0}
.fc h3{font-size:20px;line-height:1.6;margin-top:4px}
.fc .txt{margin-top:8px}

/* ---------- 合格までの道のり ---------- */
.steps{margin-top:28px}
.step{position:relative;display:flex;border:3px solid var(--gray2);border-radius:4px;background:#fff;overflow:hidden}
.step+.step{margin-top:26px;overflow:visible}
.step+.step::before{content:"";position:absolute;left:50%;top:-22px;transform:translateX(-50%);border-left:11px solid transparent;border-right:11px solid transparent;border-top:10px solid #B9DAF5}
.step__n{flex:0 0 56px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--blue);color:#fff;font-family:var(--en);font-size:11px;line-height:1.1;letter-spacing:.04em}
.step__n b{font-size:26px;font-weight:700;letter-spacing:0;margin-top:2px}
.step__b{flex:1;padding:14px 14px 16px}
.step__w{display:inline-block;font-size:11px;color:#fff;background:var(--orange);border-radius:999px;padding:1px 12px;margin-bottom:4px}
.step h3{font-size:18px;line-height:1.5}
.step p:not(.step__n){font-weight:400;font-size:13.5px;line-height:1.8;margin-top:4px}
.step--goal{border-color:var(--orange)}
.step--goal .step__n{background:var(--orange);font-size:12px;letter-spacing:.06em}
.step--goal .step__b{background:var(--cream)}
.step--goal h3{font-size:21px}

/* ---------- 料金 ---------- */
.pc{margin-top:20px}
.pc .cmp__hd{font-size:17px}
.pc .cmp__bd{text-align:center;padding:14px 12px 18px}
.pc__y{font-size:14px}
.pc__y b{font-family:var(--en);font-weight:900;font-size:46px;line-height:1.15;letter-spacing:0;color:var(--orange-t);margin:0 4px}
.pc__y small{font-weight:400;font-size:11px;color:var(--sub)}
.pc ul{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.pc li{font-size:12px;background:var(--pale);border-radius:999px;padding:3px 12px;color:var(--blue)}
.ent{margin-top:14px;display:flex;justify-content:space-between;align-items:center;background:#fff;border:3px solid var(--gray);border-radius:4px;padding:12px 18px;font-size:15px}
.ent b{font-family:var(--en);font-weight:700;font-size:23px;letter-spacing:0}
.ent b small{font-family:var(--jp);font-size:11px;margin-left:2px}

/* ---------- 講師紹介 ---------- */
.tc{position:relative;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:26px auto 0;padding:0 20px 4px;max-width:560px;z-index:1}
.tc::-webkit-scrollbar{display:none}
.tcard{position:relative;flex:0 0 72%;max-width:280px;height:230px;scroll-snap-align:center;border-radius:4px;overflow:hidden;background:#C9CED3}
.tcard__ph{position:absolute;inset:0;display:grid;place-items:end center}
.tcard__ph svg{width:150px;height:188px;opacity:.55}
.tcard::after{content:"";position:absolute;left:0;right:0;bottom:0;height:55%;background:linear-gradient(180deg,rgba(60,66,72,0),rgba(60,66,72,.8))}
.tcard__t{position:absolute;left:16px;right:12px;bottom:14px;color:#fff;font-size:20px;line-height:1.4;z-index:1}
.tcard__t small{display:block;font-size:11px;letter-spacing:.03em}
.tcard__t span{font-size:13px;margin-left:6px}

/* ---------- 塾長メッセージ ---------- */
.ms__pf{margin-top:16px}
.ms__pf img{width:100%;height:280px;object-fit:cover;object-position:50% 12%;border-radius:4px}
.ms__card{position:relative;margin:-36px 14px 0;background:var(--blue);color:#fff;border-radius:4px;padding:18px 18px 18px}
.ms__nm{font-size:24px;line-height:1.3;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.5)}
.ms__nm small{display:block;font-size:12px}
.ms__card ul{margin-top:10px}
.ms__card li{position:relative;font-weight:400;font-size:12.5px;line-height:1.7;padding-left:14px}
.ms__card li::before{content:"";position:absolute;left:2px;top:9px;width:5px;height:5px;border-radius:50%;background:#fff}
.ms__body{margin-top:32px}
.ms__body h3{font-size:22px;margin-bottom:10px}
.ms__body .txt+.txt{margin-top:16px}
.ms__sig{text-align:right;margin-top:20px;font-size:24px;line-height:1.3}
.ms__sig small{display:block;font-size:12px;color:var(--sub)}

/* ---------- 無料個別相談 ---------- */
.fin{position:relative;background:#3F86DA;color:#fff;padding:52px 0 56px;overflow:hidden}
.fin::before{content:"";position:absolute;inset:0;opacity:.22;background-image:radial-gradient(circle at 12px 12px,#fff 1.6px,transparent 2.2px);background-size:48px 48px}
.fin::after{content:"";position:absolute;width:520px;height:120px;border-radius:60px;background:rgba(255,255,255,.10);transform:rotate(-45deg);right:-220px;top:20px}
.fin__in{position:relative;max-width:560px;margin:0 auto;padding:0 20px;z-index:1}
.fin__top{display:flex;align-items:center;gap:12px;font-size:19px;line-height:1.55}
.fin__free{flex:0 0 76px;height:76px;border-radius:50%;background:var(--blue);display:grid;place-items:center;font-size:20px;transform:rotate(-12deg)}
.fin__ttl{font-size:clamp(28px,8.8vw,36px);line-height:1.4;margin-top:6px}
.fin__sub{display:table;margin-top:16px;font-size:14px;border-bottom:2px solid #fff;padding-bottom:2px}
.fin__chk{margin-top:10px}
.fin__chk li{position:relative;font-size:clamp(14px,4.2vw,16px);line-height:1.6;padding:5px 0 5px 34px}
.fin__chk li::before{content:"";position:absolute;left:0;top:7px;width:22px;height:22px;border-radius:50%;background:#fff}
.fin__chk li::after{content:"";position:absolute;left:6px;top:13px;width:9px;height:5px;border-left:2.5px solid var(--blue);border-bottom:2.5px solid var(--blue);transform:rotate(-45deg)}
.fin__card{position:relative;display:flex;align-items:center;gap:8px;margin-top:44px;background:#fff;color:var(--ink);border-radius:6px;padding:26px 14px 16px 10px;box-shadow:0 4px 0 rgba(0,0,0,.12)}
.fin__tab{position:absolute;left:-6px;top:-24px;background:var(--orange);color:#fff;border-radius:999px;padding:6px 22px 7px;font-size:13px;line-height:1.3}
.fin__tab b{font-family:var(--en);font-size:22px;font-weight:900;letter-spacing:0;margin-right:2px}
.fin__phone{flex:0 0 78px}
.fin__phone svg{width:78px;height:auto}
.fin__tx{flex:1;font-size:clamp(20px,6.2vw,24px);line-height:1.45}
.fin__tx small{display:block;font-size:14px;color:var(--blue);letter-spacing:.2em;padding-top:4px}
.fin__tx em{display:block;font-style:normal;font-size:15px}
.fin__ic{flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--blue);color:#fff;padding:10px;align-self:flex-end}
.fin__nt{font-weight:400;font-size:12px;line-height:1.8;margin-top:18px;letter-spacing:.03em}

/* ---------- フッター ---------- */
.foot{background:#fff;color:var(--sub);text-align:center;font-weight:400;font-size:11px;padding:26px 16px 130px;line-height:1.8;letter-spacing:.03em}
.foot__nm{color:var(--ink);font-weight:700}
.foot__nt{margin-top:8px;font-size:10px}
.foot__ln{margin-top:10px;display:flex;justify-content:center;gap:18px}
.foot__ln a{text-decoration:underline;text-underline-offset:3px}
.foot__cp{margin-top:8px;font-size:10px}

/* ---------- スマホ下の固定ボタン ---------- */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:rgba(166,210,255,.92);border-radius:14px 14px 0 0;transform:translateY(110%);transition:transform .3s ease}
.bar.is-show{transform:none}
.bar .pre{margin-bottom:6px}
.bar .btn{height:58px}

/* ---------- 幅のせまいスマホ（359px以下） ---------- */
@media (max-width:359px){
  .wrap,.hero__body,.fin__in{padding-left:16px;padding-right:16px}
  .hero__circle{width:92px;height:92px;right:10px;top:-58px}
  .hero__circle b{font-size:29px}
  .clouds li{min-width:0;padding:16px 24px;font-size:14px}
  .cream p br,.fc .txt br,.step p br,.step h3 br,.sc p br,.lead br{display:none}
  .ex .cmp__hd{font-size:15.5px}.ex .cmp__hd span{font-size:10px;padding:2px 8px}
  .clouds li:nth-child(odd),.clouds li:nth-child(even){transform:none}
  .frame{padding:26px 18px 20px}
  .fin__phone{flex-basis:62px}.fin__phone svg{width:62px}
  .btn__l{flex-basis:84px}
}

/* ============================================================
   パソコン（900px以上）
   ============================================================ */
@media (min-width:900px){
  .br-pc{display:inline}.br-sp{display:none}
  .sec{padding:104px 0 100px}
  .sec--tight{padding:20px 0 96px}
  .wrap{max-width:1040px;padding:0 32px}
  .wrap--narrow{max-width:800px}
  .wrap--mid{max-width:900px}
  .arc{margin-top:60px}
  .arc::before{top:-60px;height:150px}
  .story::before,.wr::before,#road::before,#mentors::before{width:900px;height:150px;border-radius:75px;right:-320px;top:120px}
  .story::after,.wr::after,#road::after{width:640px;height:54px;border-radius:27px;left:-240px;bottom:200px}
  .label{font-size:22px;margin-bottom:20px}
  .h2{font-size:40px}
  .h2--mt{margin-top:72px}
  .lead{font-size:18px;margin-top:20px}
  .txt{font-size:16px}
  .src{font-size:12.5px;margin-top:20px}
  .say{font-size:24px;padding:16px 40px;margin:64px auto 36px}
  .tab figcaption{font-size:18px;padding:10px 22px 6px 4px}
  .tab figcaption svg{flex-basis:22px;width:22px;height:22px}
  .cmp__hd{font-size:19px;padding:14px 22px}
  .cmp__bd{padding:22px 24px}
  .pre{font-size:15px}
  .btn{max-width:420px;height:76px}
  .btn__l{flex-basis:116px;font-size:13px}.btn__l b{font-size:32px}
  .btn__r{font-size:20px}.btn__r small{font-size:14px}
  .btn__ic{width:46px;height:46px;right:16px;padding:11px}

  /* ヘッダー */
  .hd__in{padding:14px 32px}
  .logo__m{width:40px;height:40px}.logo__m svg{width:18px;height:18px}
  .logo__t small{font-size:10.5px}.logo__t b{font-size:16px}
  .hd__nav{display:flex;gap:26px;margin-left:auto;font-size:14px}
  .hd__nav a{position:relative;padding:4px 0}
  .hd__nav a:hover{color:var(--blue)}
  .hd__btn{font-size:14px;padding:11px 22px;margin-left:8px}

  /* 表紙 */
  .hero{padding:0 0 64px;min-height:680px}
  .hero::before{width:1400px;height:230px;border-radius:115px;left:-420px;top:300px}
  .hero::after{width:900px;height:110px;border-radius:55px;right:auto;left:-260px;top:80px}
  .hero__ph{position:absolute;right:0;top:0;width:56%;height:100%;min-height:680px;padding-top:0}
  .hero__ph img{object-position:60% 20%}
  .hero__ph::after{left:0;right:auto;top:0;bottom:0;width:46%;height:auto;background:linear-gradient(90deg,var(--pale),rgba(232,245,255,0))}
  .hero__in{max-width:1160px;padding:0 32px}
  .hero__body{margin-top:0;padding:128px 0 0;width:560px}
  .hero__circle{right:-196px;top:336px;width:150px;height:150px}
  .hero__circle small{font-size:15px}.hero__circle b{font-size:52px}.hero__circle b span{font-size:17px}.hero__circle em{font-size:19px}
  .hero__pre{font-size:26px;padding-top:16px;margin-bottom:12px}
  .dotrow{gap:24.5px}.dotrow i{width:7px;height:7px}
  .hero__copy{gap:12px}
  .hero__c1{font-size:36px;padding:8px 16px 10px}
  .hero__c2{font-size:54px;padding:8px 18px 12px}
  .hero__sub{font-size:19px;margin-top:22px}
  .hero__sub br{display:none}
  .crowns{margin-top:28px;padding:22px 10px 20px;border-radius:8px}
  .crown{gap:6px}
  .crown svg{width:24px}
  .crown__t,.crown__s{font-size:13px}
  .crown__n{font-size:22px}.crown__n--w{font-size:32px}
  .crowns__cap{font-size:11px;text-align:left}
  .hero__cta{margin-top:30px;width:420px}

  /* 塾長ストーリー */
  .story{padding-top:96px}
  .story__box{display:grid;grid-template-columns:1fr 1fr;gap:10px 48px;padding:56px 56px 52px;border-radius:12px;align-items:start}
  .story__head{grid-column:1}
  .story__lead{font-size:22px;margin-bottom:14px}
  .story__ttl{font-size:46px}
  .story__after{font-size:21px;margin-top:14px}
  .story__after b{font-size:36px}
  .story__ph{grid-column:1;margin-top:16px;height:330px}
  .story__ba{grid-column:2;grid-row:1 / span 2;margin-top:0;align-self:center}
  .story .cmp__bd li{font-size:18px;padding:14px 0 14px 24px}
  .story .cmp__bd li::before{top:26px}
  .story .cmp--blue .cmp__bd li{font-size:21px}
  .story .cmp--blue .cmp__bd small{font-size:13px}
  .pass{font-size:16px;padding:3px 14px}
  .arrow-d{margin:14px auto;border-left-width:22px;border-right-width:22px;border-top-width:16px}

  /* どんな入試？ */
  .grid-card{margin-top:40px;padding:48px 32px 44px;background-size:24px 24px}
  .grid-card h3{font-size:30px;padding-bottom:22px}
  .grid-card h3 br{display:none}
  .facts{gap:20px 64px;margin-top:36px}
  .facts>div{flex:0 0 200px}
  .ico{width:132px;height:132px}.ico svg{width:74px;height:74px}
  .facts p{font-size:20px;margin-top:14px}.facts small{font-size:14px}
  .exs{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:32px;align-items:stretch}
  .ex{margin-top:0}
  .ex .cmp__hd{font-size:22px}.ex .cmp__hd span{font-size:13px;padding:4px 14px}
  .ex__sub{font-size:14px}
  .ex__t{font-size:15px;margin-bottom:12px}
  .ex ul{margin-bottom:24px}
  .ex li{font-size:17px;padding:8px 0 8px 22px}.ex li::before{top:19px}
  .ex li small{font-size:13px}
  .flowp p{font-size:17px;padding:14px 8px}.flowp p small{font-size:12px}.flowp p span{font-size:13px}
  .ab{gap:12px}.ab>div{padding:14px 16px 16px}
  .ab__nm{font-size:14px}.ab p{font-size:14.5px}.ab .ab__q{font-size:13px}

  /* 思いこみ／実際は */
  .vs{max-width:880px;margin-top:44px}
  .vs__col{padding:36px 28px 28px}
  .vs h3{font-size:22px;margin-bottom:20px}
  .vs h3 br{display:none}
  .vs h3 span{font-size:30px;margin-left:4px}
  .vs ul{padding:6px 24px}
  .vs li{display:flex;align-items:center;gap:16px;font-size:18px;padding:22px 0}
  .vs li br,.step p br{display:none}
  .vs li svg{flex:0 0 38px;width:38px;height:38px;margin:0}

  /* 合格実績 */
  .frame{max-width:860px;margin:0 auto;padding:48px 56px 40px;outline-offset:-10px}
  .frame__ttl{font-size:36px;gap:18px;padding-bottom:24px}
  .frame__ttl small{font-size:17px}
  .frame__ttl svg{flex-basis:30px;width:30px;height:60px}
  .frame__list{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
  .frame__list li{font-size:24px;padding:20px 0}
  .frame__list small{font-size:13px}
  .frame__list span{font-size:14px}
  .frame__cap{font-size:12px;margin-top:14px;text-align:center}

  /* 講師のこだわり */
  .sec--round{border-radius:0}
  .sec--round .h2 br{display:none}
  .track{max-width:1040px;padding:44px 32px 0;gap:28px;overflow:visible}
  .sc{flex:1;max-width:none}
  .sc .tab{height:230px}
  .sc .tab figcaption{font-size:15.5px;padding:9px 14px 5px 2px;gap:6px}
  .sc p{font-size:16px;margin-top:14px}
  .pager{display:none}

  /* こんな気持ち */
  .clouds{margin-top:44px;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:28px 30px}
  .clouds li{font-size:18px;padding:24px 44px;min-width:290px}
  .clouds li:nth-child(odd),.clouds li:nth-child(even){transform:none}
  .bubble{max-width:520px;font-size:22px;padding:28px 20px;margin-top:56px}
  .wr .say{margin-top:40px}
  .cream{max-width:800px;margin:0 auto;padding:48px 56px 44px;border-radius:8px}
  .cream h3{font-size:32px}
  .cream h3 br:first-of-type,.cream h3 br:last-of-type{display:none}
  .cream p{font-size:17px;margin-top:16px}

  /* 3つの特長 */
  .fcs{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:20px}
  .fc{margin-top:36px}
  .fc img,.fc .fc__ceo{height:220px}
  .fc__no{font-size:14px;margin-top:20px}.fc__no b{font-size:38px}
  .fc h3{font-size:21px;margin-top:6px}
  .fc .txt{font-size:15.5px;margin-top:10px}

  /* 合格までの道のり */
  .steps{margin-top:44px}
  .step+.step{margin-top:34px}
  .step+.step::before{top:-28px;border-left-width:14px;border-right-width:14px;border-top-width:13px}
  .step__n{flex-basis:92px;font-size:14px}.step__n b{font-size:38px}
  .step__b{padding:22px 28px 24px}
  .step__w{font-size:13px;padding:2px 16px;margin-bottom:6px}
  .step h3{font-size:24px}
  .step h3 br{display:none}
  .step p:not(.step__n){font-size:16px;margin-top:6px}
  .step--goal .step__n{font-size:16px}
  .step--goal h3{font-size:28px}

  /* 料金 */
  .pcs{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:40px}
  .pc{margin-top:0}
  .pc .cmp__hd{font-size:21px}
  .pc .cmp__bd{padding:24px 16px 30px}
  .pc__y{font-size:17px}.pc__y b{font-size:66px}.pc__y small{font-size:13px}
  .pc ul{margin-top:14px;gap:8px}
  .pc li{font-size:14.5px;padding:5px 18px}
  .ent{margin-top:24px;padding:20px 32px;font-size:19px}
  .ent b{font-size:32px}.ent b small{font-size:14px}

  /* 講師紹介 */
  .tc{max-width:1040px;padding:0 32px;gap:28px;margin-top:44px;overflow:visible}
  .tcard{flex:1;max-width:none;height:320px}
  .tcard__ph svg{width:200px;height:250px}
  .tcard__t{left:22px;bottom:20px;font-size:26px}
  .tcard__t small{font-size:13px}.tcard__t span{font-size:15px}

  /* 塾長メッセージ */
  .ms__grid{display:grid;grid-template-columns:400px 1fr;gap:64px;margin-top:36px;align-items:start}
  .ms__pf{margin-top:0;position:sticky;top:100px}
  .ms__pf img{height:400px}
  .ms__card{margin:-48px 20px 0;padding:24px 26px}
  .ms__nm{font-size:30px}.ms__nm small{font-size:14px}
  .ms__card li{font-size:14px}.ms__card li::before{top:11px}
  .ms__body{margin-top:0}
  .ms__body h3{font-size:30px;margin-bottom:16px}
  .ms__body .txt{font-size:17px;line-height:2}
  .ms__body .txt+.txt{margin-top:22px}
  .ms__sig{font-size:32px;margin-top:32px}.ms__sig small{font-size:14px}

  /* 無料個別相談 */
  .fin{padding:96px 0 92px}
  .fin::after{width:1100px;height:220px;border-radius:110px;right:-380px;top:60px}
  .fin__in{max-width:1040px;padding:0 32px;display:grid;grid-template-columns:1fr 460px;gap:20px 56px;align-items:center}
  .fin__top{font-size:26px;gap:18px}
  .fin__free{flex-basis:104px;height:104px;font-size:28px}
  .fin__ttl{font-size:54px;margin-top:10px}
  .fin__sub{font-size:18px;margin-top:24px}
  .fin__chk{margin-top:14px}
  .fin__chk li{font-size:20px;padding:7px 0 7px 44px}
  .fin__chk li::before{top:9px;width:28px;height:28px}
  .fin__chk li::after{left:8px;top:17px;width:11px;height:6px}
  .fin__card{margin-top:0;padding:40px 24px 28px 18px;gap:14px;border-radius:8px;transition:transform .15s ease}
  .fin__card:hover{transform:translateY(2px)}
  .fin__tab{left:-10px;top:-30px;font-size:17px;padding:8px 30px 9px}
  .fin__tab b{font-size:30px}
  .fin__phone{flex-basis:104px}.fin__phone svg{width:104px}
  .fin__tx{font-size:32px}.fin__tx small{font-size:18px}.fin__tx em{font-size:20px}
  .fin__ic{flex-basis:52px;width:52px;height:52px;padding:13px}
  .fin__nt{grid-column:1 / -1;font-size:14px;text-align:center;margin-top:12px}

  .foot{font-size:13px;padding:40px 16px 44px}
  .foot__nm br{display:none}
  .foot__nt,.foot__cp{font-size:12px}
  .bar{display:none}
}
