/* H ティザー：画像なし。グラデが動く → MAKERS U-18 11期 募集開始まで ◯日（平さん案・2026-11-20） */
.t-hero{background:var(--red);justify-content:flex-start;padding-top:clamp(56px,10svh,110px);isolation:isolate}
.flow{position:absolute;inset:-20%;z-index:0;filter:blur(70px) saturate(1.1)}
.flow i{position:absolute;border-radius:50%;mix-blend-mode:screen;will-change:transform}
.flow .b1{width:60vmax;height:48vmax;left:52%;top:-10%;background:radial-gradient(closest-side,var(--pink),transparent);animation:d1 14s ease-in-out infinite alternate}
.flow .b2{width:46vmax;height:40vmax;left:-6%;top:58%;background:radial-gradient(closest-side,var(--orange),transparent);animation:d2 17s ease-in-out infinite alternate}
.flow .b3{width:38vmax;height:34vmax;left:78%;top:70%;background:radial-gradient(closest-side,var(--yellow),transparent);opacity:.85;animation:d3 12s ease-in-out infinite alternate}
.flow .b4{width:70vmax;height:56vmax;left:10%;top:10%;background:radial-gradient(closest-side,#FF2E86,transparent);mix-blend-mode:normal;opacity:.55;animation:d4 20s ease-in-out infinite alternate}
@keyframes d1{to{transform:translate(-18vw,14vh) scale(1.15)}}
@keyframes d2{to{transform:translate(22vw,-16vh) scale(.9)}}
@keyframes d3{to{transform:translate(-26vw,-10vh) scale(1.2)}}
@keyframes d4{to{transform:translate(14vw,8vh) scale(1.1) rotate(20deg)}}
.grain{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.5;mix-blend-mode:overlay;background-size:180px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncR type='linear' slope='3.2' intercept='-1.1'/><feFuncG type='linear' slope='3.2' intercept='-1.1'/><feFuncB type='linear' slope='3.2' intercept='-1.1'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}

.t-hero .head{position:relative;z-index:2}
.t-hero .title__en{font-size:min(9.6vw,15svh,150px);letter-spacing:-.02em;line-height:.95}
.t-lead{display:block;overflow:hidden;margin-top:clamp(10px,2svh,22px);font:900 min(3.4vw,5.6svh,48px)/1.2 var(--jp);letter-spacing:-.01em}
.t-lead>span{display:block}
.t-lead b{display:inline-block;font-weight:900;border:3px solid #fff;border-radius:6px;padding:0 .3em .04em;margin-right:.35em}

.t-count{position:relative;z-index:2;margin-top:clamp(4px,1svh,12px);display:flex;align-items:flex-end;gap:clamp(16px,2.4vw,36px);flex-wrap:wrap}
.t-days{display:flex;align-items:baseline;gap:.08em;font-family:var(--num);line-height:.86}
.t-days b{font-weight:400;font-size:min(22vw,34svh,340px);letter-spacing:.005em;font-variant-numeric:proportional-nums;font-kerning:normal}
.t-days i{font-style:normal;font:900 min(4.4vw,7svh,64px)/1 var(--jp)}
.t-hms{display:flex;flex-direction:column;gap:8px;font-size:min(2.6vw,4.4svh,36px);font-weight:700;padding-bottom:min(2.4vw,3.6svh,34px)}
.t-hms strong{display:flex;align-items:baseline;gap:.12em;font-weight:700;white-space:nowrap}
.t-hms i{font:700 max(17px,.5em)/1 var(--jp);font-style:normal;margin-right:.45em}
.t-hms em{font-style:normal;font-size:17px;font-weight:500;letter-spacing:.06em;opacity:.95}
.t-days b.is-tick,.t-hms span.is-tick{animation:tick .3s var(--e)}

.t-hero .base{margin-top:auto;align-items:flex-end}
.t-hero .catch{font-size:min(3vw,5svh,44px);margin-top:0}

/* 入場：グラデが先に動き出し、文字が下から立ち上がる */
.js .t-hero .flow{opacity:0;transform:scale(1.15)}
.js .t-hero .title__en>span,.js .t-lead>span{transform:translateY(108%)}
.js .t-count,.js .t-hero .base{opacity:0;transform:translateY(16px)}
.ready .t-hero .flow{opacity:1;transform:none;transition:opacity 1.4s ease,transform 2.4s var(--e)}
.ready .t-hero .title__en>span{transform:none;transition:transform .9s cubic-bezier(.16,.8,.1,1) .7s}
.ready .t-lead>span{transform:none;transition:transform .8s cubic-bezier(.16,.8,.1,1) .95s}
.ready .t-count{opacity:1;transform:none;transition:opacity .6s ease 1.2s,transform .8s var(--e) 1.2s}
.ready .t-hero .base{opacity:1;transform:none;transition:opacity .6s ease 1.5s,transform .8s var(--e) 1.5s}
.land .t-hero .title__en>span,.land .t-lead>span{transform:none}
.land .t-count,.land .t-hero .base,.land .t-hero .flow{opacity:1;transform:none}

/* SP（2026-11-24 本人「スマホのレイアウトみなおして」）：上＝名前／中＝募集開始まで◯日／下＝コピーと日程。
   画面の高さを3つの塊で使い切る。日数は幅いっぱいまで大きくする */
@media (max-width:600px){
  .t-hero{padding-top:clamp(28px,5.5svh,56px);justify-content:flex-start}
  /* 見出しの箱を外して「MAKERS U-18」と「募集開始まで」を別の塊に置く */
  .t-hero .head,.t-hero .title{display:contents}
  .t-hero .title__en,.t-lead{position:relative;z-index:2}
  .t-hero .title__en{font-size:11.6vw;line-height:1}
  .t-lead{margin-top:auto;padding-top:14px;font-size:6.6vw}
  .t-lead b{border-width:2px}
  .t-count{flex-direction:column;align-items:flex-start;gap:0;margin-top:6px}
  .t-days{margin-left:-.03em;gap:.04em}
  .t-days b{font-size:min(52vw,27svh)}
  .t-days i{font-size:min(13vw,7.4svh)}
  .t-hms{gap:6px;font-size:8vw;padding-bottom:0;margin-top:10px}
  .t-hms i{font-size:17px;margin-right:.5em}
  .t-hero .base{margin-top:auto;padding-top:18px;display:block}
  .t-hero .catch{font-size:min(10.6vw,5.6svh);line-height:1.16}
  .t-hero .catch span{display:block}
  .t-hero .side{display:block;margin-top:min(18px,2.4svh);padding-top:min(14px,2svh);border-top:1px solid rgba(255,255,255,.5)}
  .t-hero .facts{gap:min(10px,1.4svh)}
  .t-hero .facts div{display:block}
  .t-hero .facts dt{font-size:15px;letter-spacing:.06em;margin-bottom:1px}
  .t-hero .facts dd{font-size:17px;letter-spacing:.02em}
  .flow{filter:blur(50px)}
}
/* 低いスマホ（Safari のバー込みで 720 未満）：コピーを1行に戻して、最初の画面に日程まで収める */
@media (max-width:600px) and (max-height:720px){
  .t-hero .catch{font-size:7.2vw}
  .t-hero .catch span{display:inline-block}
  .t-days b{font-size:min(52vw,25svh)}
}
/* さらに低い画面（SE 級）：日程を「ラベル＋値」の1行ずつにして、固定ボタンの下にもぐらせない */
@media (max-width:600px) and (max-height:600px){
  .t-hero{padding-top:22px}
  .t-lead{padding-top:8px}
  .t-days b{font-size:min(52vw,22svh)}
  .t-hms{margin-top:6px;gap:3px}
  .t-hero .base{padding-top:10px}
  .t-hero .side{margin-top:8px;padding-top:8px}
  .t-hero .facts{gap:4px}
  .t-hero .facts div{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px}
  .t-hero .facts dd{font-size:16px;letter-spacing:0}
}
@media (prefers-reduced-motion:reduce){
  .flow i{animation:none}
  .js .t-hero .flow,.js .t-hero .title__en>span,.js .t-lead>span,.js .t-count,.js .t-hero .base{opacity:1!important;transform:none!important;transition:none!important}
}

/* 2026-11-20 本人「もっとグラデを動かしたい」→ canvas で光の塊を大きく速く動かす（CSS の .flow は JS が無いときの保険） */
.flow-c{position:absolute;inset:0;width:100%;height:100%;z-index:0;filter:blur(40px) saturate(1.15);transform:scale(1.08)}
.has-flow .flow{display:none}
.js .t-hero .flow-c{opacity:0}
.ready .t-hero .flow-c{opacity:1;transition:opacity 1.2s ease}
@media (prefers-reduced-motion:reduce){.js .t-hero .flow-c{opacity:1!important}}

/* 2026-11-24 本人「これ系の日本語フォント（新ゴ系）・一旦代用」→ 無料で Web に載せられる LINE Seed JP（最も太い 800）に差し替え。足りない字は Noto Sans JP */
:root{--jp:"LINE Seed JP","Noto Sans JP",system-ui,sans-serif}
.t-lead,.t-hero .catch{letter-spacing:-.04em;font-feature-settings:"palt"}
.t-hero .facts dt,.t-days i,.t-hms i{font-feature-settings:"palt"}

/* 2026-11-24 平さん「1番上のやつ、ロゴでええ説ない？」→ 英字の見出しを公式ロゴ（白）に差し替え */
.t-hero .t-logo{line-height:0;padding-bottom:0}
.t-hero .t-logo img{display:block;width:min(62vw,900px,calc(15svh * 6.93));height:auto}
@media (max-width:600px){
  .t-hero .t-logo img{width:100%}
}

/* 2026-11-24 本人: ①日数・日・時分秒の下端をそろえる ②日程の行送りをそろえる ③白いセクションは外してヒーロー1枚に */
.t-days{align-items:flex-end}
.t-days b{line-height:.74;display:block}
.t-days i{line-height:.8;display:block;transform:translateY(var(--hi-y,0))}
.t-hms{padding-bottom:0;transform:translateY(var(--hms-y,0))}
.t-hero .facts{gap:14px}
.t-hero .facts div{display:block}
.t-hero .facts dt,.t-hero .facts dd{line-height:1.4;margin:0}
.t-hero .facts dt{margin-bottom:2px}
.t-hero .facts .facts__note{font-family:var(--jp);font-size:13px;font-weight:500;opacity:.85;letter-spacing:.02em;margin-top:2px}
.t-about{font-size:15px;font-weight:700;line-height:1.4;margin-bottom:14px;font-feature-settings:"palt"}
.hero{min-height:100svh}
@media (max-width:600px){ .t-hms{transform:none} .t-about{font-size:14px;margin-bottom:10px} }
@media (max-width:600px) and (max-height:720px){ .t-about{display:none} .t-hero .facts .facts__note{display:none} }
@media (max-width:600px) and (max-height:600px){
  .t-hero .facts{gap:4px}
  .t-hero .facts div{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px}
  .t-hero .facts dt{margin-bottom:0}
}
/* 下端合わせ（インクの下端を実測して合わせた値・数字の大きさに比例） */
:root{--hi-y:calc(min(22vw,34svh,340px)*.057);--hms-y:calc(min(22vw,34svh,340px)*.079)}
@media (max-width:600px){:root{--hi-y:calc(min(52vw,27svh)*.057)}}
@media (max-width:600px) and (max-height:720px){:root{--hi-y:calc(min(52vw,25svh)*.057)}}
@media (max-width:600px) and (max-height:600px){:root{--hi-y:calc(min(52vw,22svh)*.057)}}
@media (max-width:600px) and (max-height:820px){ .t-about{display:none} }
.t-about{margin-bottom:-6px}
@media (max-width:600px){ .t-about{margin-bottom:10px} .t-hms{margin-top:min(16px,1.6svh)} }
/* 2026-11-24 本人「たてのここつまりすぎ」→ SP の日数と時分秒の間を日数の大きさに比例して空ける */
@media (max-width:600px){ .t-hms{margin-top:calc(min(52vw,27svh)*.13)} }
@media (max-width:600px) and (max-height:820px){ .t-days b{font-size:min(52vw,24.5svh)} :root{--hi-y:calc(min(52vw,24.5svh)*.057)} .t-hms{margin-top:calc(min(52vw,24.5svh)*.13)} }
@media (max-width:600px) and (max-height:720px){ .t-days b{font-size:min(52vw,23svh)} :root{--hi-y:calc(min(52vw,23svh)*.057)} .t-hms{margin-top:calc(min(52vw,23svh)*.12)} }
@media (max-width:600px) and (max-height:600px){ .t-days b{font-size:min(52vw,20svh)} :root{--hi-y:calc(min(52vw,20svh)*.057)} .t-hms{margin-top:calc(min(52vw,20svh)*.1)} }

/* 2026-11-24 本人「個々のテキストも詰まりすぎ・レイアウトで工夫」→ 日程を「見出し左・日付右」の表組みにして罫線で区切る。
   「私塾」の一行はコピーの直下へ（コピーとその説明を1組に）。以前の .facts / .t-about の指定はここで上書きする */
.t-about{display:block;font-size:17px;font-weight:700;line-height:1.5;margin:12px 0 0;letter-spacing:.02em}
.t-hero .facts{display:block;width:100%;min-width:min(372px,100%);border-bottom:1px solid rgba(255,255,255,.45)}
.t-hero .facts div{display:grid;grid-template-columns:104px 1fr;column-gap:14px;align-items:baseline;padding:13px 0;border-top:1px solid rgba(255,255,255,.45)}
.t-hero .facts dt{font-size:14px;letter-spacing:.04em;line-height:1.5;margin:0}
.t-hero .facts dd{grid-column:2;font-size:16px;line-height:1.5;letter-spacing:.01em;margin:0;white-space:nowrap}
.t-hero .facts .facts__note{display:block;font-size:13px;margin-top:3px;white-space:normal}
@media (max-width:600px){
  .t-about{font-size:min(15px,3.9vw);margin:10px 0 0}
  .t-hero .side{margin-top:min(22px,2.6svh);padding-top:0;border-top:0}
  .t-hero .facts{min-width:0}
  .t-hero .facts div{grid-template-columns:25vw 1fr;column-gap:3vw;padding:min(13px,1.6svh) 0}
  .t-hero .facts dt{font-size:min(13px,3.4vw)}
  .t-hero .facts dd{font-size:min(15px,3.85vw)}
  .t-hero .facts .facts__note{font-size:min(12px,3.2vw)}
}
@media (max-width:600px) and (max-height:720px){
  .t-about{display:block}
  .t-hero .facts .facts__note{display:none}
}
@media (max-width:600px) and (max-height:600px){
  .t-about{display:none}
  .t-hero .side{margin-top:10px}
  .t-hero .facts div{display:grid;padding:6px 0}
}
@media (max-width:600px) and (max-height:780px){ .t-hero .facts .facts__note{display:none} }

/* 2026-11-25 本人「君の狂気に惚れているを出すタイミング遅すぎ・スマホは上から順で」→ 入場を詰めて、上から順に出す */
.ready .t-hero .title__en>span{transition:transform .8s cubic-bezier(.16,.8,.1,1) .15s}
.ready .t-lead>span{transition:transform .7s cubic-bezier(.16,.8,.1,1) .3s}
.ready .t-count{transition:opacity .5s ease .45s,transform .7s var(--e) .45s}
.js .t-hero .base{opacity:1;transform:none}
.js .t-hero .msg,.js .t-hero .side{opacity:0;transform:translateY(14px)}
.ready .t-hero .msg{opacity:1;transform:none;transition:opacity .5s ease .6s,transform .7s var(--e) .6s}
.ready .t-hero .side{opacity:1;transform:none;transition:opacity .5s ease .75s,transform .7s var(--e) .75s}
.land .t-hero .msg,.land .t-hero .side{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js .t-hero .msg,.js .t-hero .side{opacity:1!important;transform:none!important;transition:none!important}}

/* 2026-11-25 平さん修正: 現HPのコピー（2行）・参加費無料・SNSボタン。参加費無料は訴求なので SP の低い画面でも隠さない */
.t-about span{display:block}
.t-hero .facts .facts__note{display:block!important}
.sns{display:flex;gap:10px;list-style:none;margin:0;padding:0}
.sns a{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.6);border-radius:50%;color:#fff;transition:background .2s,color .2s}
.sns a:hover{background:#fff;color:var(--red,#e0457b)}
.sns svg{width:17px;height:17px;fill:currentColor}
.sns__note{font-family:var(--jp);font-weight:800;font-size:12px;letter-spacing:-.01em;line-height:1}
@media (max-width:600px){
  .sns{gap:8px;margin-top:min(12px,1.4svh)}
  .sns a{width:36px;height:36px}
  .sns svg{width:15px;height:15px}
}
.sns a{text-decoration:none}

/* 2026-11-25 平さん fb: 日本語は Zen Kaku Gothic Antique の Black。数字は Zen が弱いのでヒラギノ角ゴで補う（無い端末は Noto Sans JP 900 の数字）。
   日数の数字も Dela Gothic One（ポップすぎる）からこの数字へ */
@font-face{font-family:"U18 Digits";font-weight:800 900;font-display:swap;unicode-range:U+30-39;
  src:local("HiraginoSans-W8"),local("Hiragino Sans W8"),local("HiraKakuStdN-W8"),local("HiraginoSans-W7"),local("Hiragino Sans W7"),local("HiraKakuProN-W6"),url("digits-noto-900.woff2") format("woff2")}
@font-face{font-family:"U18 Digits";font-weight:100 799;font-display:swap;unicode-range:U+30-39;
  src:local("HiraginoSans-W6"),local("Hiragino Sans W6"),local("HiraKakuProN-W6"),url("digits-noto-900.woff2") format("woff2")}
:root{--jp:"U18 Digits","Zen Kaku Gothic Antique","Noto Sans JP",system-ui,sans-serif;--num:"U18 Digits","Noto Sans JP",sans-serif}
.t-days b{font-weight:900;letter-spacing:-.02em}

/* SNS: SP は最上段の右へ（下の固定ボタンに隠れない）。PC は日程の下のまま */
.sns--top{display:none}
@media (max-width:600px){
  .sns--side{display:none}
  .sns--top{display:flex;position:absolute;top:max(10px,env(safe-area-inset-top));right:var(--pad);margin:0;gap:8px}
  .sns--top a{width:32px;height:32px;position:relative}
  .sns--top a::after{content:"";position:absolute;inset:-5px}
  .sns--top svg{width:14px;height:14px}
  .sns--top .sns__note{font-size:11px}
}
/* ヒラギノの数字は 1 の左右が広い → 文中の「11」は詰める。ボタンは行の高さを書体に任せない（Zen は行が高い） */
.n{letter-spacing:-.08em;margin-right:.04em}
.pill{line-height:1.2}
@media (max-width:600px){
  .t-hero{padding-top:max(54px,5.5svh)}
}
@media (max-width:600px) and (max-height:600px){
  .t-hero{padding-top:46px}
  .sns--top{top:8px}
  .sns--top a{width:30px;height:30px}
}
/* 2行のコピー・参加費無料・上段のSNSが増えたぶんを、SP の高さ帯ごとに取り戻す（1画面に日程まで収める） */
@media (max-width:600px){
  .t-hero{padding-bottom:80px}
}
@media (max-width:600px) and (max-height:780px){
  .t-hero .catch{font-size:7.2vw}
  .t-hero .catch span{display:inline-block}
  .t-days b{font-size:min(52vw,23svh)}
  :root{--hi-y:calc(min(52vw,23svh)*.057)}
  .t-hms{margin-top:calc(min(52vw,23svh)*.12)}
}
@media (max-width:600px) and (max-height:720px){
  .t-hero{padding-top:50px}
  .t-days b{font-size:min(52vw,20.5svh)}
  .t-hms{margin-top:calc(min(52vw,20.5svh)*.12)}
  .t-hero .side{margin-top:14px}
}
@media (max-width:600px) and (max-height:720px){
  .t-lead{padding-top:8px}
  .t-days b{font-size:min(52vw,19.5svh)}
  .t-hms{margin-top:calc(min(52vw,19.5svh)*.12)}
}
/* 数字と「日」は同じ基線に置く。字面の下端合わせ（「日」・日時の行）と数字の左右の余白は main.js の fit() が実測して入れる */
.t-days{align-items:baseline;margin-left:0;gap:0}
.t-days i{transform:none;margin-left:.2em}
.t-hms{transform:none}
@media (max-width:600px) and (min-height:781px) and (max-height:820px){ .t-days b{font-size:min(52vw,23.5svh)} }
@media (max-width:600px) and (max-height:720px){ .t-days b{font-size:min(52vw,18.6svh)} }
@media (max-width:600px) and (min-height:781px) and (max-height:820px){ .t-days b{font-size:min(52vw,23svh)} }
@media (max-width:600px) and (max-height:640px){
  .t-hero{padding-top:46px}
  .sns--top{top:8px}
  .sns--top a{width:30px;height:30px}
  .t-days b{font-size:min(52vw,17.5svh)}
  .t-hero .base{padding-top:10px}
  .t-hero .side{margin-top:8px}
}
@media (max-width:600px) and (min-height:781px) and (max-height:820px){ .t-days b{font-size:min(52vw,22.2svh)} }
@media (max-width:600px) and (max-height:640px){ .t-days b{font-size:min(52vw,16.6svh)} }
/* ヒラギノの数字は背が高い（字面が約 .84em）→ 上の「11期 募集開始まで」に当たらないよう、PC は数字を少し下げて間をとる */
@media (min-width:601px){
  .t-days b{font-size:min(22vw,31svh,340px)}
  .t-count{margin-top:calc(min(22vw,31svh,340px)*.075)}
}
@media (max-width:600px){ .t-count{margin-top:10px} }
@media (max-width:600px) and (min-height:781px) and (max-height:820px){ .t-days b{font-size:min(52vw,21.6svh)} }
@media (max-width:600px) and (max-height:640px){ .t-days b{font-size:min(52vw,16svh)} }
/* 検収（2026-11-25）: SE 級（高さ600以下）でも「私塾」の2行を出す。日数と余白を一段詰めて場所を作る */
@media (max-width:600px) and (max-height:600px){
  .t-about{display:block;font-size:13px;line-height:1.4;margin:6px 0 0}
  .t-days b{font-size:min(52vw,14svh)}
  .t-hms{margin-top:calc(min(52vw,14svh)*.14)}
  .t-hero .base{padding-top:6px}
  .t-hero .side{margin-top:8px}
  .t-hero .facts div{padding:4px 0}
}
@media (max-width:600px) and (max-height:600px){ .t-days b{font-size:min(52vw,calc(14svh + (100svh - 548px)*.4))} }
/* 2026-11-25 本人「noteのロゴはnの方」→ 文字の note をやめて n のマーク（note 公式アイコンの形） */
.sns svg.sns__n{width:13px;height:13px}
@media (max-width:600px){ .sns--top svg.sns__n{width:12px;height:12px} }
/* 2026-11-25 本人「やっぱり四角の枠つける・見た目で中心に」→ 枠は戻す。左右の内側の余白は main.js の boxFit() が字面（インク）を実測して、見た目の中心に合わせる */
.t-lead b{padding:var(--bt,0) var(--br,.3em) var(--bb,.04em) var(--bl,.3em)}

/* 2026-11-25 本人「数字のフォントは Zen Kaku Gothic に」→ ヒラギノで補うのをやめ、数字も日本語も Adobe Fonts の zen-kaku-gothic-antique（キット hha0ktg・どの端末も同じ）。
   読み込めなかったときは Google Fonts の Zen Kaku Gothic Antique */
:root{--jp:"zen-kaku-gothic-antique","Zen Kaku Gothic Antique","Noto Sans JP",system-ui,sans-serif;--num:"zen-kaku-gothic-antique","Zen Kaku Gothic Antique","Noto Sans JP",sans-serif}
.n{letter-spacing:0;margin-right:0}
/* Zen の数字はヒラギノより背が低い → PC はヒラギノ用に詰めた分を戻す（数字を大きく・上との間を元どおり） */
@media (min-width:601px){
  .t-days b{font-size:min(22vw,34svh,340px)}
  .t-count{margin-top:clamp(4px,1svh,12px)}
}

/* 2026-11-25 本人「数字は Noto Sans JP・ほかの日本語は Zen Kaku Gothic Antique」→ 0〜9 だけ Noto Sans JP（自前サーバーに置いた数字だけのファイル＝どの端末も同じ）。日本語は Adobe の Zen のまま */
@font-face{font-family:"U18 Num";font-weight:800 900;font-display:swap;unicode-range:U+30-39;src:url("digits-noto-900.woff2") format("woff2")}
@font-face{font-family:"U18 Num";font-weight:600 799;font-display:swap;unicode-range:U+30-39;src:url("digits-noto-700.woff2") format("woff2")}
@font-face{font-family:"U18 Num";font-weight:100 599;font-display:swap;unicode-range:U+30-39;src:url("digits-noto-500.woff2") format("woff2")}
:root{--jp:"U18 Num","zen-kaku-gothic-antique","Zen Kaku Gothic Antique","Noto Sans JP",system-ui,sans-serif;--num:"U18 Num","Noto Sans JP",sans-serif}
/* 2026-11-25 本人「PC の 11日、ちょっと上すぎ・少し下げたい」→ 見出しとの間を広げる */
@media (min-width:601px){ .t-count{margin-top:clamp(20px,5svh,56px)} }
/* 2026-11-25 本人「SNS アイコンはプレエントリーボタンの上に」→ PC は日程の下・ボタンの上（従来どおり）。
   SP は最上段をやめ、下に固定したプレエントリーボタンのすぐ上に並べる（ボタンと一緒に固定）。そのぶんヒーローの下の余白を足す */
@media (max-width:600px){
  .sns--top{display:none}
  .sns--side{display:flex;position:fixed;left:20px;bottom:calc(16px + 52px + 10px + env(safe-area-inset-bottom,0px));z-index:10;margin:0;gap:8px}
  .sns--side a{width:34px;height:34px;position:relative}
  .sns--side a::after{content:"";position:absolute;inset:-5px}
  .sns--side svg{width:14px;height:14px}
  .sns--side svg.sns__n{width:12px;height:12px}
  .t-hero{padding-bottom:126px}
  .t-hero{padding-top:clamp(28px,5.5svh,56px)}
}
/* SNS を下に固定したぶん（約45px）、SP の日数を高さ帯ごとに詰める */
@media (max-width:600px){ .t-days b{font-size:min(52vw,24svh)} }
@media (max-width:600px) and (max-height:820px){ .t-days b{font-size:min(52vw,18.5svh)} }
@media (max-width:600px) and (max-height:780px){ .t-days b{font-size:min(52vw,19.5svh)} }
@media (max-width:600px) and (max-height:720px){ .t-days b{font-size:min(52vw,15.5svh)} }
@media (max-width:600px) and (max-height:640px){ .t-days b{font-size:min(52vw,13svh)} }
@media (max-width:600px) and (max-height:600px){ .t-days b{font-size:min(52vw,calc(10svh + (100svh - 548px)*.4))} }
/* 帯の境目でこぼれないよう、日数は画面の高さに比例させる（コピーが2行になる 781〜820 は別の式） */
@media (max-width:600px) and (min-height:601px) and (max-height:780px){ .t-days b{font-size:min(52vw,calc((100svh - 505px)*.6))} .t-hms{margin-top:10px} }
@media (max-width:600px) and (min-height:781px) and (max-height:820px){ .t-days b{font-size:min(52vw,calc((100svh - 575px)*.6))} .t-hms{margin-top:10px} }
@media (max-width:600px) and (min-height:781px){ .t-days b{font-size:min(52vw,calc((100svh - 575px)*.6))} .t-hms{margin-top:10px} }

/* ===== SP 組み直し（2026-11-25 本人）: 日数に最小サイズ・ロゴは半分・コピーは1行・余白は画面の高さに比例 =====
   これより上の SP の高さ帯ごとの指定は、ここでまとめて上書きする（html を付けて優先度を上げている）。
   縦の並び: ロゴ → 11期 募集開始まで → 日数 → 時分秒 → コピー → 私塾2行 → 日程 →（固定）SNS・プレエントリー
   --F が日数の大きさ。画面の高さから他の要素の分（--K）を引いた残りで決め、下限 --Fmin を割らない */
@media (max-width:600px){
  html{--Fmin:96px;--K:calc(372px + 34vw);--F:clamp(var(--Fmin),calc((100svh - var(--K))*.707),52vw)}
  html .t-hero{padding-top:clamp(18px,4.2svh,44px);padding-bottom:126px}
  html .t-hero .t-logo img{width:54%}
  html .t-lead{margin-top:auto;padding-top:clamp(10px,2.4svh,26px);font-size:6.6vw}
  html .t-count{margin-top:clamp(6px,1.4svh,14px)}
  html .t-days b{font-size:var(--F)}
  html .t-days i{font-size:calc(var(--F)*.3)}
  html .t-hms{margin-top:clamp(8px,2svh,18px);gap:clamp(3px,.8svh,6px);font-size:min(8vw,4.6svh)}
  html .t-hms em{font-size:min(17px,2.5svh)}
  html .t-hero .base{margin-top:auto;padding-top:clamp(10px,2.6svh,26px)}
  html .t-hero .catch{font-size:7.4vw;line-height:1.16}
  html .t-hero .catch span{display:inline-block}
  html .t-about{display:block;font-size:clamp(12.5px,2.2svh,15px);line-height:1.45;margin:clamp(4px,1.1svh,10px) 0 0}
  html .t-hero .side{margin-top:clamp(8px,2.2svh,22px);padding-top:0;border-top:0}
  html .t-hero .facts div{display:grid;grid-template-columns:25vw 1fr;column-gap:3vw;padding:clamp(4px,1.5svh,13px) 0}
  html .t-hero .facts dt{font-size:min(13px,3.4vw)}
  html .t-hero .facts dd{font-size:min(15px,3.85vw);letter-spacing:.01em}
  html .t-hero .facts .facts__note{font-size:min(12px,3.2vw);margin-top:clamp(0px,.4svh,3px)}
}
/* 低い画面（iPhone SE 級）: 日数は下限 96px のまま、余白のほうを詰めて1画面に収める */
@media (max-width:600px) and (max-height:620px){
  html .t-hero{padding-top:14px}
  html .t-lead{padding-top:6px}
  html .t-count{margin-top:4px}
  html .t-hms{margin-top:6px}
  html .t-hero .base{padding-top:8px}
  html .t-about{margin-top:3px}
  html .t-hero .side{margin-top:6px}
  html .t-hero .facts div{padding:4px 0}
}
/* 2026-11-25 本人「君の狂気に惚れているだけ出るのが遅すぎ」→ 原因: 旧版（style.css）の指定で .catch だけ「3秒後の land ＋さらに1秒待ち」まで隠れていた。
   コピーは .msg（私塾の2行と一緒の塊）の入場で出す。.catch 単独の隠し・遅延は外す */
.js .t-hero .catch,.land .t-hero .catch{opacity:1;transform:none;transition:none}
/* 2026-11-25 本人「募集開始まで↔11日 と 日付↔君の狂気… を等間隔に」「SP はコピーを上に寄せる」
   → SP: コピーは時分秒の下に、見出し↔数字と同じ間隔で置く（間隔は main.js の gapFit() が実測して --gap に入れる）。
     余った高さは コピーの塊と日程の間に回し、日程は下（SNS・ボタンの上）に据える */
@media (max-width:600px){
  html .t-hero .base{margin-top:var(--gap,24px);padding-top:0;flex:1 1 auto;display:flex;flex-direction:column}
  html .t-hero .side{margin-top:auto;padding-top:clamp(12px,2.4svh,24px)}
}
@media (max-width:600px){
  html .t-hero .catch{margin-top:0}
  html .t-hero .side{padding-top:clamp(6px,1.4svh,16px)}
}
@media (max-width:600px){ html .t-hero .base{align-items:stretch} }

/* ===== PC 組み直し（2026-11-25 本人「デバイスによって縦が途切れる・どのデバイスでも崩れないように」）=====
   原因: 大きさが「横幅基準」と「固定px」の混在で、横長で低い画面（例 1710x759）だと中身が 100svh を超え、.hero の overflow:hidden で下が切れていた。
   直し方: PC は全部の大きさを 1つの単位 --u で決める。--u は横幅と高さの小さい方に合わせる（基準 1440x960 で 14.4px）。
   どの縦横比でも同じ比率のまま縮むので、1画面に収まる。読めなくなる小さい文字だけ下限を持たせ、それで収まらない極端に低い窓はスクロールで全部見える（切らない） */
@media (min-width:601px){
  html{--u:min(1.4vw,1.46svh,24px)}
  html .hero{height:auto;min-height:100svh;max-height:none}
  html .t-hero{padding-top:calc(var(--u)*6.2);padding-bottom:calc(var(--u)*3)}
  html .t-hero .t-logo img{width:calc(var(--u)*62);max-width:100%}
  html .t-lead{margin-top:calc(var(--u)*1.25);font-size:calc(var(--u)*3.33)}
  html .t-lead b{border-width:max(2px,calc(var(--u)*.2))}
  html .t-count{margin-top:calc(var(--u)*3.1);gap:calc(var(--u)*2.4)}
  html .t-days b{font-size:calc(var(--u)*21.25)}
  html .t-days i{font-size:calc(var(--u)*4.4)}
  html .t-hms{font-size:calc(var(--u)*2.5);gap:calc(var(--u)*.55)}
  html .t-hms i{font-size:max(12px,.5em)}
  html .t-hms em{font-size:max(12px,calc(var(--u)*1.18))}
  html .t-hero .base{margin-top:auto;padding-top:calc(var(--u)*2)}
  html .t-hero .catch{font-size:calc(var(--u)*3)}
  html .t-about{font-size:max(13px,calc(var(--u)*1.18));margin-top:calc(var(--u)*.8)}
  html .t-hero .side{gap:max(10px,calc(var(--u)*1.4))}
  html .t-hero .facts{min-width:min(calc(var(--u)*26),100%)}
  html .t-hero .facts div{grid-template-columns:max(84px,calc(var(--u)*7.2)) 1fr;column-gap:calc(var(--u)*1);padding:max(7px,calc(var(--u)*.9)) 0}
  html .t-hero .facts dt{font-size:max(12px,calc(var(--u)*.97))}
  html .t-hero .facts dd{font-size:max(13px,calc(var(--u)*1.11))}
  html .t-hero .facts .facts__note{font-size:max(11px,calc(var(--u)*.9))}
  html .sns--side a{width:max(32px,calc(var(--u)*2.8));height:max(32px,calc(var(--u)*2.8))}
  html .sns--side svg{width:42%;height:42%}
  html .sns--side svg.sns__n{width:32%;height:32%}
  html .t-hero .hero__cta{font-size:max(14px,calc(var(--u)*1.25));padding:calc(var(--u)*1.25) calc(var(--u)*2.1)}
}
/* 縦長のタブレット等（601px以上で縦のほうが長い）: コピーと日程を横に並べると当たるので、縦に積む */
@media (min-width:601px) and (max-aspect-ratio:1/1){
  html .t-hero .base{display:flex;flex-direction:column;align-items:flex-start;gap:calc(var(--u)*2.4)}
  html .t-hero .side{width:min(100%,calc(var(--u)*40))}
  html .t-hero .facts{width:100%}
}
@media (min-width:601px){
  html .t-hero .facts div{grid-template-columns:calc(max(12px,var(--u)*.97)*7.8) 1fr}
  html .t-hero .facts dt{white-space:nowrap}
}
/* 2026-11-25 本人「SP は日程も持ち上げる・余白を空けすぎない・コピーの大きさで調整（2行でもよい）」
   → 日程は私塾の2行のすぐ下（同じ間隔 --gap）。余った高さはコピーを大きくして埋める（main.js の catchFit()。入りきる最大の大きさ・必要なら2行）。
     それでも余る分だけ、ロゴの下に回す */
@media (max-width:600px){
  html .t-hero .base{flex:0 0 auto}
  html .t-hero .side{margin-top:var(--gap,16px);padding-top:0}
  html .t-lead{margin-top:auto}
  html .t-hero .catch.is-2 span{display:block}
  html .t-hero .catch{line-height:1.14}
}
/* 2026-11-25 本人「余った高さは SNS アイコンとプレエントリーボタンの間で空ける」
   → SP: 上から同じ間隔（--gap）で積む（ロゴ↔募集開始までも同じ）。SNS は日程のすぐ下に置き（固定をやめる）、余りは SNS と下の固定ボタンの間に出す */
@media (max-width:600px){
  html .t-lead{margin-top:calc(var(--gap,16px) + 6px)}
  html .sns--side{position:static;margin-top:calc(var(--gap,16px) + 4px)}
  html .t-hero{padding-bottom:calc(16px + 52px + 18px + env(safe-area-inset-bottom,0px))}
}
