/* 子ども建築士教室 LP（/gakugaku・/mokei-elite）共通 v2（2026-10-31 作り直し）
   色は body のクラスで切り替える：.t-kids（黄・オレンジ）／.t-mokei（青・青緑） */
.t-kids {--main:#f8d400;--main2:#ff8a1f;--pale:#fff7cf;--on-main:#2b2b2b;--btn:#f8d400;--btn-ink:#2b2b2b;--accent-txt:#ff7a00}
.t-mokei{--main:#2f7fc8;--main2:#16a6b6;--pale:#e4f1fb;--on-main:#fff;--btn:#2f7fc8;--btn-ink:#fff;--accent-txt:#1f6fb8}
:root{--ink:#333;--sub:#666;--bg:#f6f6f4;--line:#e6e2d8;--line-green:#06c755;
  --round:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;
  --sans:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);font-size:16px;line-height:2;letter-spacing:.03em;-webkit-text-size-adjust:100%;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
p{margin:0}
.u-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:100}
.skip-link:focus{left:8px}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.narrow{max-width:760px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:var(--round);font-weight:800;margin:0;line-height:1.5;letter-spacing:.06em}

/* ボタン（矢印つきの丸ボタン） */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px 30px;border-radius:999px;font-weight:700;text-decoration:none;font-size:15.5px;border:0;cursor:pointer;font-family:inherit;transition:transform .2s}
.pill:hover{transform:translateY(-2px)}
.pill::after{content:"\2192";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.4);font-size:13px;line-height:1;flex:none}
.pill.no-arrow::after{display:none}
.pill-main{background:var(--btn);color:var(--btn-ink)}
.pill-sub{background:var(--main2);color:#fff}
.pill-line{background:var(--line-green);color:#fff}
.pill-white{background:#fff;color:var(--ink)}
.pill-ghost{background:#fff;color:var(--ink);border:2px solid var(--ink)}

/* ヘッダー */
.hd{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;background:rgba(255,255,255,.96);backdrop-filter:blur(6px)}
.hd-logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:13px;line-height:1.4}
.hd-logo img{width:34px;height:34px}
.hd-logo small{display:block;font-size:11px;color:var(--sub);font-weight:400}
.hd-nav{display:flex;gap:6px;align-items:center}
.hd-nav a{text-decoration:none;font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px}
.hd-nav a:hover{background:var(--pale)}
.hd-cta{background:var(--main2);color:#fff!important;padding:9px 18px!important}
@media(max-width:760px){.hd-nav a:not(.hd-cta){display:none}}

/* ヒーロー */
.hero{position:relative;padding:30px 0 70px;overflow:hidden}
.hero::before{content:"";position:absolute;right:-8%;top:-30%;width:62%;height:120%;background:var(--main);border-radius:0 0 0 60%;z-index:0}
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1.05fr;gap:30px;align-items:center}
.hero-tag{display:inline-block;background:var(--ink);color:#fff;font-size:12.5px;font-weight:700;padding:4px 14px;border-radius:999px;letter-spacing:.08em}
.hero h1{font-size:clamp(38px,6.4vw,66px);line-height:1.45;margin:18px 0 18px;letter-spacing:.1em}
.hero h1 .c1{color:var(--main)} .hero h1 .c2{color:var(--main2)}
.t-kids .hero h1 .c1{color:#e9b800}
/* 見出しが長いとき（1行目が9文字ほど）。2行に収める */
.hero h1.is-long{font-size:clamp(26px,calc(10.6vw - 6px),50px);letter-spacing:.04em}
.hero h1.is-long .nw,.hero h1.is-8 .nw{white-space:nowrap}
/* 1行が8文字ほどの見出し（建築エリート） */
.hero h1.is-8{font-size:clamp(28px,calc(12vw - 7px),56px);letter-spacing:.04em}
.hero-lead{font-size:15px;line-height:2.1;color:#444}
/* リード文の頭のひとこと（コースの合言葉）。1行で独立させて少し強く */
.hero-lead .lead-key{display:block;font-family:var(--round);font-weight:800;font-size:18px;color:var(--ink);letter-spacing:.06em;line-height:1.6;margin-bottom:10px}
.hero-lead .lead-key .nw{white-space:nowrap}
.facts{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.fact{width:118px;height:118px;border-radius:50%;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.35;position:relative;padding-top:10px}
.fact b{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:var(--main);color:var(--on-main);font-size:11px;padding:3px 10px;border-radius:6px;white-space:nowrap}
.fact span{font-family:var(--round);font-weight:800;font-size:17px}
.fact small{font-size:11px;color:var(--sub)}
.hero-visual{position:relative}
.hero-photo{width:100%;aspect-ratio:1/1;border-radius:50%;overflow:hidden;border:8px solid #fff;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-badge{position:absolute;left:-6%;bottom:-4%;width:210px;height:210px;border-radius:50%;background:#fff;border:3px solid var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:16px}
.hero-badge p{font-family:var(--round);font-weight:800;font-size:16px;line-height:1.45}
.hero-badge p small{display:block;font-size:12px;color:var(--sub);font-weight:700}
.hero-badge .pill{min-height:42px;padding:6px 18px;font-size:13.5px}
.hero-chara{position:absolute;right:-2%;bottom:-8%;width:130px;filter:drop-shadow(0 6px 8px rgba(0,0,0,.15))}
.hero-chara.round{width:110px;border-radius:50%;border:5px solid #fff;background:#fff}
@media(max-width:860px){
  .hero::before{right:-30%;top:auto;bottom:0;width:120%;height:58%;border-radius:60% 60% 0 0}
  .hero .wrap{grid-template-columns:1fr}
  .hero-visual{max-width:440px;margin:20px auto 40px;width:88%}
  .hero-badge{width:160px;height:160px;left:-8%}
  .hero-badge p{font-size:13.5px}
  .facts{justify-content:center}
  .fact{width:104px;height:104px}
}

/* 見出しまわり（大きな英字のうすい文字＋ラベル） */
.sec{position:relative;padding:90px 0}
.ghost{position:absolute;left:50%;transform:translateX(-50%);top:30px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(60px,12vw,140px);font-weight:700;color:rgba(0,0,0,.05);white-space:nowrap;pointer-events:none;letter-spacing:.02em;z-index:0}
.sec>*{position:relative;z-index:1}
.label{display:inline-block;background:var(--main);color:var(--on-main);font-weight:800;font-family:var(--round);font-size:14px;padding:4px 12px;letter-spacing:.1em}
.center{text-align:center}
.sec-title{font-size:clamp(24px,4.4vw,36px);margin:14px 0 26px}
.sec-text{line-height:2.3;font-size:15.5px}

/* キャラの吹き出し */
.talk{display:flex;gap:14px;align-items:center;margin:16px 0}
.talk.r{flex-direction:row-reverse}
.ava{width:64px;height:64px;border-radius:50%;overflow:hidden;flex:none;background:var(--pale);border:3px solid #fff;box-shadow:0 3px 10px rgba(0,0,0,.1)}
.ava img{width:100%;height:100%;object-fit:cover}
.ava.cut img{object-fit:contain;object-position:50% 12%;transform:scale(1.5) translateY(16%)}
.bub{position:relative;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.07);padding:12px 16px;font-size:14.5px;line-height:1.8;flex:1}
.bub b{display:block;font-size:11.5px;color:var(--accent-txt)}
.dialog{max-width:640px;margin:30px auto 0}

/* POINT（写真とテキストが左右交互） */
.points{background:var(--bg);padding:40px 0 60px}
.pt{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;margin:60px 0}
.pt-photo{overflow:hidden;margin-left:calc(-1 * max(24px,(100vw - 1120px)/2 + 24px));border-radius:0 140px 140px 0;aspect-ratio:5/4}
.pt.rev .pt-photo{order:2;margin-left:0;margin-right:calc(-1 * max(24px,(100vw - 1120px)/2 + 24px));border-radius:140px 0 0 140px}
.pt-photo img{width:100%;height:100%;object-fit:cover}
.pt-no{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;background:var(--main);color:var(--on-main);font-family:var(--round);font-weight:800;line-height:1;vertical-align:middle;margin-right:10px}
.pt-no small{font-size:11px;letter-spacing:.1em}
.pt-no span{font-size:32px}
.pt h3{display:inline;font-size:22px;vertical-align:middle}
.pt-sub{font-family:var(--round);font-weight:800;color:var(--accent-txt);font-size:21px;margin:22px 0 14px;line-height:1.6}
.pt p.tx{font-size:15px;line-height:2.2}
@media(max-width:860px){
  .pt,.pt.rev{grid-template-columns:1fr;gap:24px;margin:40px 0}
  .pt-photo,.pt.rev .pt-photo{order:0;margin:0 -24px 0 -24px;border-radius:0 0 90px 0}
  .pt.rev .pt-photo{border-radius:0 0 0 90px}
}

/* 募集中のコース（色の帯） */
.band{background:var(--main);color:var(--on-main);padding:80px 0;position:relative}
.band .label{background:#fff;color:var(--ink)}
.slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:30px}
.slot{background:#fff;color:var(--ink);border-radius:20px;padding:22px 20px;text-align:center;box-shadow:0 6px 0 rgba(0,0,0,.08);display:flex;flex-direction:column;align-items:center;gap:8px}
.slot-day{font-family:var(--round);font-weight:800;font-size:22px;line-height:1.4}
.slot-day small{display:block;font-family:var(--sans);font-weight:400;font-size:13px;color:var(--sub)}
.slot-st{font-size:12px;font-weight:700;background:var(--main2);color:#fff;padding:3px 12px;border-radius:999px}
.slot-st.few{background:#e8590c}
.slot-st.full{background:#888}
.slot a{margin-top:6px;font-weight:700;font-size:14px;text-decoration:none;background:var(--ink);color:#fff;padding:9px 18px;border-radius:999px}
.slot.is-full{opacity:.8}
.slot.is-full a{background:#fff;border:2px solid #888;color:#555}
.info{background:#fff;color:var(--ink);border-radius:20px;padding:10px 26px;margin-top:26px}
.info div{display:grid;grid-template-columns:8em 1fr;gap:14px;padding:14px 0;border-bottom:1px dashed var(--line)}
.info div:last-child{border-bottom:0}
.info dt{font-weight:700}
.info dd{margin:0}
.price{font-family:var(--round);font-weight:800;font-size:28px}
.price small{font-family:var(--sans);font-weight:400;font-size:13px}
.note{font-size:13px;color:var(--sub);line-height:1.9}
@media(max-width:600px){.info div{grid-template-columns:1fr;gap:2px}}

/* 流れ */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;list-style:none;padding:0;margin:30px 0 0;counter-reset:st}
.steps li{background:#fff;border-radius:20px;padding:26px 18px 20px;text-align:center;box-shadow:0 6px 20px rgba(0,0,0,.06);position:relative}
.steps li::before{counter-increment:st;content:"STEP " counter(st);display:inline-block;background:var(--main);color:var(--on-main);font-weight:800;font-family:var(--round);font-size:12px;padding:3px 12px;border-radius:999px;margin-bottom:8px}
.steps b{display:block;font-family:var(--round);font-size:18px}
.steps p{font-size:14px;line-height:1.9;margin-top:6px}
@media(max-width:760px){.steps{grid-template-columns:1fr}}
.safe{margin:22px auto 0;max-width:640px;text-align:center;background:var(--pale);border-radius:999px;padding:12px 20px;font-weight:700}

/* フォーム */
.form{background:#fff;border-radius:24px;padding:28px 24px;margin-top:26px;box-shadow:0 6px 24px rgba(0,0,0,.06)}
.hp{position:absolute;left:-9999px}
.field{margin-bottom:18px}
.field>label,.field>p.lbl{display:block;font-weight:700;font-size:15px;margin:0 0 6px}
.field>label.opt{display:flex;font-weight:400;margin:0}
.field input[type=text],.field input[type=email],.field input[type=tel],.field select,.field textarea{width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid #cfc8bb;border-radius:10px;background:#fff}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:600px){.row{grid-template-columns:1fr}}
.req{color:#c0392b;font-size:12px;margin-left:4px}
.opts{display:grid;gap:8px}
.opt{display:flex;gap:10px;align-items:flex-start;border:1px solid #cfc8bb;border-radius:10px;padding:10px 12px;font-size:15px;line-height:1.7;cursor:pointer;background:#fff}
.opt input{margin-top:5px;width:18px;height:18px;flex:none}
.opt .hint{display:block;font-size:12.5px;color:var(--sub)}
.submit{width:100%;min-height:60px;font-size:17px}
.error{display:none;margin-top:14px;color:#c0392b;font-weight:700}
.done{display:none;background:#fff;border-radius:24px;padding:24px;margin-top:20px;box-shadow:0 6px 24px rgba(0,0,0,.06)}
.foot-note{font-size:12.5px;color:var(--sub);margin-top:14px;line-height:1.8}

/* 最後の帯 */
.cta{background:var(--main);color:var(--on-main);padding:60px 0;position:relative;overflow:hidden}
.cta::before{content:"";position:absolute;left:30%;top:-40%;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.18)}
.cta .wrap{position:relative;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.cta h2{font-size:clamp(22px,3.6vw,30px)}
.cta p{margin-top:10px;font-size:14px}
.cta-btns{display:flex;gap:14px;flex-wrap:wrap}
.cta-btns .pill{min-height:72px;padding:12px 40px;font-size:17px}
.cta-chara{position:absolute;right:16px;bottom:-14px;width:110px}
.cta-chara.round{width:96px;border-radius:50%;border:4px solid #fff}
@media(max-width:860px){.cta .wrap{grid-template-columns:1fr}.cta-chara{display:none}}
.more{padding:50px 0;text-align:center}
.more p{font-size:14px}
.more a{color:var(--accent-txt)}
footer{background:var(--main);color:var(--on-main);text-align:center;font-size:12px;padding:16px 10px;opacity:.95}
footer a{margin:0 8px}
/* はみ出し防止（大きな英字・左右いっぱいの写真） */
html{overflow-x:clip}
.sec,.points,.band{overflow:hidden}
.sec{padding:70px 0 80px}
.ghost{top:6px;font-size:clamp(46px,9vw,110px)}
.slot p:last-child{display:flex;flex-direction:column;align-items:center;gap:10px}
.slot a{white-space:nowrap}
.slots{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.sec>.ghost{position:absolute;z-index:0}
.hero-badge .pill{white-space:nowrap}
@media(max-width:860px){.hero-badge p{font-size:12.5px}.hero-badge .pill{font-size:12.5px;padding:4px 14px;min-height:36px}.hero::before{right:0;width:100%;border-radius:120px 0 0 0}}
/* 写真の見切れ対策：PCは上寄りで切り取り、スマホは切らずに元の形のまま */
.pt-photo img{object-position:50% 30%}
@media(max-width:860px){
  .pt-photo,.pt.rev .pt-photo{aspect-ratio:auto}
  .pt-photo img{height:auto}
  .hero-photo img{object-position:50% 40%}
}

/* どっちがいい？（キッズ楽学と建築エリートの比較）。今いるページの列に .is-here */
.cmp{width:100%;border-collapse:separate;border-spacing:0;margin-top:26px;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.06);font-size:14.5px;line-height:1.7;text-align:left}
.cmp th,.cmp td{padding:12px 14px;border-bottom:1px solid #eee;vertical-align:top}
.cmp tr:last-child th,.cmp tr:last-child td{border-bottom:0}
.cmp thead th{font-family:var(--round);font-size:16px;text-align:center;color:#fff}
.cmp thead th:first-child{background:#fff}
.cmp thead th.k{background:#f2b800;color:#2b2b2b}
.cmp thead th.m{background:#2f7fc8}
.cmp tbody th{width:6.5em;font-weight:700;color:var(--sub);font-size:13px}
.cmp td.is-here{background:var(--pale)}
.cmp thead th a{color:inherit}
.cmp-note{margin-top:14px;font-weight:700}
@media(max-width:600px){.cmp{font-size:13px}.cmp th,.cmp td{padding:10px 8px}.cmp tbody th{width:4.6em}}
@media(min-width:601px){.cmp tbody th{white-space:nowrap;width:7em}}
/* ヒーロー：写真の子どもが隠れないよう、バッジは右下・キャラは左上に */
.hero-badge{left:auto;right:-6%}
.hero-chara{right:auto;left:-4%;bottom:auto;top:-6%}
.hero-photo img{object-position:50% 50%}
@media(max-width:860px){.hero-badge{left:auto;right:-8%}.hero-chara{left:-6%;top:-8%}.hero-photo img{object-position:50% 50%}}
.hero-badge p small{white-space:nowrap;font-size:11px}
.pt-photo.wide{aspect-ratio:auto}.pt-photo.wide img{height:auto}
@media(min-width:861px){.pt-photo.wide{margin-left:0;border-radius:40px 140px 140px 40px}.pt.rev .pt-photo.wide{margin-right:0;border-radius:140px 40px 40px 140px}}

/* 募集中のコース：横長の小さめカード＋「残り○席」（2026-11-01） */
.slots{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.slot{flex-direction:row;justify-content:space-between;align-items:center;text-align:left;padding:14px 16px 14px 20px;gap:10px;border-radius:16px}
.slot-day{font-size:19px}
.slot-day small{font-size:12px}
.slot p:last-child{flex-direction:column;align-items:flex-end;gap:6px}
.slot-st{font-size:13px;padding:4px 12px;white-space:nowrap}
.slot-st b{font-size:18px;margin:0 2px;font-family:var(--round)}
.slot a{margin-top:0;padding:7px 16px;font-size:13px}
@media(max-width:400px){.slot-day{font-size:17px}}
