﻿/* fx.css : décors flottants 3D légers, CSS seul. Les animations sont coupées si prefers-reduced-motion est activé. */
.th main{position:relative}
.th main::before,.th main::after{content:"";position:fixed;z-index:-1;pointer-events:none;will-change:transform}
.th .stat,.th .card{transition:transform .35s,box-shadow .35s}
.th .stat:hover{transform:perspective(700px) rotateX(7deg) rotateY(-9deg) translateY(-4px)}
.th details.more{margin-top:26px;border-color:var(--ink);background:var(--cb)}
.th details.more summary{color:var(--ink)}
.th details.more[open] summary{margin-bottom:14px}
.th details.more .card{box-shadow:none}
.cta-bar.cta-only{justify-content:center}
.t-parent main::before{left:5vw;top:22vh;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.75);box-shadow:78vw 8vh 0 #FFE9A8,12vw 52vh 0 #FFD3DC,70vw 60vh 0 rgba(255,255,255,.8)}
.t-parent main::after{left:14vw;top:70vh;width:34px;height:34px;border-radius:50%;background:#F7A8B8;box-shadow:70vw -10vh 0 #FFE9A8,40vw -50vh 0 #fff,84vw 12vh 0 #F7A8B8}
.t-kinder main::before{left:4vw;top:26vh;width:34px;height:34px;border-radius:8px;background:#FF8E8E;box-shadow:84vw 6vh 0 #7DBBFF,10vw 50vh 0 #FFD93B,76vw 58vh 0 #7FD88C}
.t-kinder main::after{left:90vw;top:30vh;width:22px;height:22px;border-radius:50%;background:#2E86DE;box-shadow:-84vw 40vh 0 #E8453C,-40vw 56vh 0 #5CC96B}
body.t-elem{background-color:#FFFDF4;background-image:linear-gradient(rgba(232,162,90,.55) 2px,transparent 2px),linear-gradient(90deg,rgba(232,162,90,.55) 2px,transparent 2px),linear-gradient(rgba(232,162,90,.28) 1px,transparent 1px),linear-gradient(90deg,rgba(232,162,90,.28) 1px,transparent 1px);background-size:220px 220px,220px 220px,44px 44px,44px 44px}
.t-elem .band{background:#264D73}
.t-elem .band h1{display:inline-block;background:#FFFDF4;color:#264D73;border:3px solid #E8A25A;padding:6px 18px;letter-spacing:.3em;box-shadow:6px 6px 0 rgba(0,0,0,.2)}
.t-elem .band p{color:#FFFDF4}
.t-elem .band:after{display:block;content:"英";left:auto;right:6%;bottom:auto;top:22px;width:74px;height:74px;background:transparent;border:4px solid #E8604C;border-radius:8px;color:#E8604C;display:flex;align-items:center;justify-content:center;font:700 44px 'Shippori Mincho',serif;transform:rotate(-8deg)}
.t-elem main::before{content:"原稿用紙";writing-mode:vertical-rl;left:2vw;top:20vh;font:700 30px 'Shippori Mincho',serif;letter-spacing:.4em;color:rgba(38,77,115,.2)}
.t-elem main::after{right:4vw;top:34vh;width:15px;height:150px;background:linear-gradient(90deg,#F7C948 0 55%,#D9A400 55%);border-top:20px solid #F28B9B;clip-path:polygon(0 0,100% 0,100% 88%,50% 100%,0 88%);transform:rotate(24deg)}
.t-elem .stat{background:#fff;border:2px solid #E8A25A;border-radius:0;box-shadow:none}
.t-elem .stat:before{display:none}
.t-jh main::before{left:4vw;top:26vh;width:26px;height:26px;border-radius:4px;background:rgba(0,194,168,.55);box-shadow:86vw 6vh 0 rgba(0,87,255,.4),8vw 52vh 0 rgba(0,87,255,.3),78vw 60vh 0 rgba(0,194,168,.45)}
.t-jh main::after{left:92vw;top:40vh;width:44px;height:44px;border-radius:50%;background:rgba(0,87,255,.18);box-shadow:-80vw 10vh 0 rgba(0,194,168,.2)}
.t-hs main::before{left:6vw;top:24vh;width:6px;height:6px;border-radius:50%;background:#E6C877;box-shadow:80vw 6vh 0 #E6C877,20vw 40vh 0 3px #B8923A,66vw 52vh 0 #E6C877,36vw 66vh 0 #B8923A,90vw 30vh 0 #E6C877}
.t-hs main::after{left:80vw;top:56vh;width:120px;height:120px;border-radius:50%;background:radial-gradient(rgba(230,200,119,.35),transparent 70%)}
.t-adult main::before{left:4vw;top:30vh;width:170px;height:170px;border-radius:50%;background:rgba(196,103,58,.2);filter:blur(22px);box-shadow:70vw 20vh 0 rgba(43,43,46,.12)}
.t-adult main::after{left:60vw;top:60vh;width:120px;height:120px;border-radius:50%;background:rgba(196,103,58,.16);filter:blur(18px)}
.t-lit main::before{content:"A あ B い C う";writing-mode:vertical-rl;left:3vw;top:22vh;font:400 52px 'Shippori Mincho',serif;letter-spacing:.35em;color:rgba(139,58,43,.14)}
.t-lit main::after{content:"本 語 文 字";writing-mode:vertical-rl;right:3vw;top:30vh;font:400 44px 'Shippori Mincho',serif;letter-spacing:.35em;color:rgba(31,77,58,.14)}
.t-eiken main::before{content:"✓ ✓ ✓";writing-mode:vertical-rl;left:3vw;top:24vh;font:900 40px sans-serif;letter-spacing:.8em;color:rgba(198,40,57,.22)}
.t-eiken main::after{content:"✓ ✓";writing-mode:vertical-rl;right:3vw;top:44vh;font:900 36px sans-serif;letter-spacing:.8em;color:rgba(42,18,22,.12)}
.t-corp main::before{left:4vw;top:28vh;width:26px;height:34px;border-radius:3px;background:rgba(15,163,127,.28);box-shadow:84vw 8vh 0 rgba(23,32,43,.14),10vw 46vh 0 rgba(15,163,127,.22),74vw 56vh 0 rgba(23,32,43,.12)}
.t-fr main::before{left:4vw;top:26vh;width:9px;height:36px;border-radius:3px;background:#2B4AA8;box-shadow:86vw 8vh 0 #D62839,10vw 46vh 0 #D62839,76vw 58vh 0 #2B4AA8}
.t-fr main::after{left:92vw;top:36vh;width:6px;height:6px;border-radius:50%;background:#D62839;box-shadow:-80vw 10vh 0 #2B4AA8,-40vw 40vh 0 #D62839,-12vw 52vh 0 #2B4AA8}
@keyframes fl1{50%{transform:translate3d(0,-26px,0) rotate(8deg)}}
@keyframes fl2{50%{transform:translate3d(18px,22px,0) rotate(-10deg)}}
@keyframes tw{50%{opacity:.25}}
@keyframes rise{from{opacity:0;transform:translateY(26px) rotateX(12deg)}}
@keyframes stamp{from{opacity:0;transform:rotate(-14deg) scale(2.4)}}
@keyframes dash{to{background-position:24px 0}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes sway{50%{transform:rotate(-3deg) translateY(-6px)}}
@keyframes pinup{50%{bottom:36px}}
@media (prefers-reduced-motion:no-preference){
.th .stat,.th .card{animation:rise .7s cubic-bezier(.2,.7,.2,1) both}
.th .stat:nth-child(2){animation-delay:.08s}.th .stat:nth-child(3){animation-delay:.16s}.th .stat:nth-child(4){animation-delay:.24s}
.th main::before{animation:fl1 9s ease-in-out infinite}.th main::after{animation:fl2 12s ease-in-out infinite}
.t-hs main::before,.t-fr main::after{animation:tw 3.4s ease-in-out infinite}
.t-hs .band:before{animation:spin 120s linear infinite}
.t-fr .band:before{animation:tw 3.2s ease-in-out infinite}
.t-kinder .band:before{animation:fl1 6s ease-in-out infinite}
.t-elem .band:after{animation:sway 5s ease-in-out infinite}
.t-eiken .band:before{animation:stamp .6s ease-out .3s both}
.t-jh .band:before{animation:tw 2.2s ease-in-out infinite}
.t-corp .band:before{animation:dash 1.2s linear infinite}
.t-corp .band:after{animation:pinup 1.8s ease-in-out infinite}
}
@media (prefers-reduced-motion:reduce){.th main::before,.th main::after{animation:none}}
@media (max-width:700px){.th main::before,.th main::after{opacity:.55}}

.t-elem main::before{content:"英";writing-mode:horizontal-tb;letter-spacing:0;left:3vw;top:26vh;width:52px;height:52px;background:#FFFDF4;border:2px solid #E8A25A;color:#264D73;font:700 30px 'Shippori Mincho',serif;display:flex;align-items:center;justify-content:center;box-shadow:3px 3px 0 rgba(0,0,0,.15)}
.t-elem main::after{content:"語";right:4vw;left:auto;top:44vh;width:52px;height:52px;background:#FFFDF4;border:2px solid #E8A25A;clip-path:none;transform:none;color:#264D73;font:700 30px 'Shippori Mincho',serif;display:flex;align-items:center;justify-content:center;box-shadow:3px 3px 0 rgba(0,0,0,.15)}
.t-fr .band:before,.t-fr .band:after{display:none}
.scene{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;perspective:600px}
.th .band h1,.th .band p{position:relative;z-index:1}
.scene i{position:absolute;display:block;font-style:normal;will-change:transform,opacity}
.scene .up{animation:up 9s linear infinite}
.scene .down{animation:down 8s linear infinite;display:flex;align-items:center;justify-content:center;font:400 17px 'Mochiy Pop One',sans-serif;color:#2B2B6B}
.scene .cell{width:46px;height:46px;background:#FFFDF4;border:2px solid #E8A25A;color:#264D73;display:flex;align-items:center;justify-content:center;font:700 28px 'Shippori Mincho',serif;box-shadow:3px 3px 0 rgba(0,0,0,.2);animation:flip 7s ease-in-out infinite}
.scene .slide{left:0;animation:slide 4s linear infinite}
.scene .tw{animation:tw 3s ease-in-out infinite}
.scene .ring{width:170px;height:170px;border:1.5px solid rgba(230,200,119,.8);border-radius:50%;animation:orbit 18s linear infinite}
.scene .ring:after{content:"";position:absolute;left:50%;top:-5px;width:9px;height:9px;margin-left:-4px;border-radius:50%;background:#E6C877;box-shadow:0 0 10px 2px rgba(230,200,119,.8)}
.scene .bk{border-radius:50%;animation:bokeh 12s ease-in-out infinite}
.scene .lt{font:400 40px 'Shippori Mincho',serif;color:rgba(251,243,224,.24);animation:up 12s linear infinite}
.scene .route{left:6%;right:6%;bottom:30px;height:4px;background:repeating-linear-gradient(90deg,#0FA37F 0 12px,transparent 12px 24px);animation:dash 1.2s linear infinite}
.scene .pin{left:6%;bottom:36px;width:22px;height:22px;background:#0FA37F;border-radius:50% 50% 50% 0;transform:rotate(-45deg);animation:travel 9s ease-in-out infinite alternate}
.scene .doc{width:22px;height:28px;border-radius:3px;background:rgba(255,255,255,.14);border:1.5px solid rgba(255,255,255,.35);animation:flip 8s ease-in-out infinite}
.scene .tower{position:absolute;right:7%;bottom:0;width:104px;height:178px}
.scene .tower svg{display:block;width:100%;height:100%}
.scene .spark{width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 8px 3px rgba(255,255,255,.7);animation:tw 1.8s ease-in-out infinite}
@keyframes up{0%{transform:translate3d(0,0,0) scale(.8);opacity:0}12%{opacity:1}100%{transform:translate3d(var(--dx,0px),calc(-1 * var(--rise,340px)),0) scale(1.1);opacity:0}}
@keyframes down{0%{transform:translate3d(0,0,0) rotate(0);opacity:0}10%{opacity:1}100%{transform:translate3d(var(--dx,0px),340px,0) rotate(var(--r,360deg));opacity:0}}
@keyframes slide{from{transform:translate3d(-20vw,0,0) skewX(-25deg);opacity:0}15%{opacity:1}85%{opacity:1}to{transform:translate3d(110vw,0,0) skewX(-25deg);opacity:0}}
@keyframes flip{0%,100%{transform:translate3d(0,0,0) rotateY(0) rotate(var(--r,0deg))}50%{transform:translate3d(0,-14px,0) rotateY(38deg) rotate(var(--r,0deg))}}
@keyframes orbit{from{transform:rotateX(68deg) rotateZ(0)}to{transform:rotateX(68deg) rotateZ(360deg)}}
@keyframes bokeh{0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.25}50%{transform:translate3d(40px,-24px,0) scale(1.15);opacity:.5}}
@keyframes travel{from{left:6%}to{left:92%}}
@media (prefers-reduced-motion:reduce){.scene i{animation:none!important}}
@media (max-width:700px){.scene .tower{width:68px;height:116px;right:4%}.scene .cell:nth-child(n+5){display:none}.t-fr .band{text-align:left;padding-left:6vw;padding-right:92px}}

.t-elem main::before{content:"ABC";width:auto;height:auto;padding:8px 14px;font:700 22px 'Zen Maru Gothic',sans-serif;letter-spacing:.25em}
.t-elem main::after{content:"abc";width:auto;height:auto;padding:8px 14px;font:700 22px 'Zen Maru Gothic',sans-serif;letter-spacing:.25em}
.t-lit main::before{content:"A a B b C c";font:400 46px 'Shippori Mincho',serif;letter-spacing:.3em}
.t-lit main::after{content:"read · write";font:400 38px 'Shippori Mincho',serif;letter-spacing:.2em}
.scene .lt{font:400 30px 'Shippori Mincho',serif;color:rgba(251,243,224,.3)}
.scene .wc{display:flex;animation:flip 7s ease-in-out infinite}
.scene .wc b{width:30px;height:30px;margin-left:-2px;background:#FFFDF4;border:2px solid #E8A25A;display:flex;align-items:center;justify-content:center;font:700 17px 'Zen Maru Gothic',sans-serif;color:#264D73;box-shadow:2px 2px 0 rgba(0,0,0,.18)}
.scene .writer{position:absolute;right:5%;bottom:8px;width:300px;height:100px}
.scene .wline{display:block;width:300px;height:100px;overflow:visible}
.scene .wline path{fill:none;stroke:#FFFDF4;stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:draw 6s ease-in-out infinite}
.scene .pen{position:absolute;left:0;top:0;width:78px;height:15px;offset-path:path('M8 70 C28 18 52 18 62 58 S92 100 108 58 S140 14 156 56 S188 98 204 56 S236 22 262 52 S280 70 292 58');offset-anchor:0% 50%;offset-rotate:0deg;transform-origin:0 50%;transform:rotate(-38deg);animation:penmove 6s ease-in-out infinite}
.scene .pen svg{display:block;width:78px;height:15px}
@keyframes draw{0%{stroke-dashoffset:1;opacity:1}75%{stroke-dashoffset:0;opacity:1}92%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes penmove{0%{offset-distance:0%;opacity:1}75%{offset-distance:100%;opacity:1}92%{offset-distance:100%;opacity:1}100%{offset-distance:100%;opacity:0}}
@supports not (offset-path:path('M0 0')){.scene .pen{display:none}}
.scene .road{left:0;right:0;bottom:8px;height:3px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.55) 0 28px,transparent 28px 56px)}
.scene .bike{left:-170px;width:130px;height:72px;animation:ride 18s linear infinite}
.scene .bike svg{display:block;width:100%;height:100%;animation:bob .5s ease-in-out infinite alternate}
.scene .bike .wh{transform-box:fill-box;transform-origin:center;animation:spin .8s linear infinite}
.scene .bike .leg{transform-origin:53px 31px;animation:pedal .7s ease-in-out infinite alternate}
.scene .petal{width:10px;height:7px;border-radius:70% 0 70% 0;background:#FFC0D3;font-size:0}
.scene .tower{width:92px;height:184px}
@keyframes ride{from{transform:translateX(0)}to{transform:translateX(calc(100vw + 340px))}}
@keyframes bob{to{transform:translateY(-2px)}}
@keyframes pedal{from{transform:rotate(-14deg)}to{transform:rotate(14deg)}}
@media (prefers-reduced-motion:reduce){.scene .wline path{animation:none!important;stroke-dashoffset:0}.scene .pen{display:none}.scene .bike{left:35%}.scene .bike svg,.scene .bike .wh,.scene .bike .leg,.scene .wc{animation:none!important}}
@media (max-width:700px){.scene .tower{width:58px;height:116px}.scene .wc:nth-child(n+5){display:none}.scene .writer{transform:scale(.66);transform-origin:right bottom}}

@media (max-width:700px){
.t-eiken .band{padding-top:76px}
.t-eiken .band:before{width:56px;height:56px;right:10px;top:10px;font-size:20px;border-width:3px}
.t-elem .band{padding-top:70px}
.t-elem .band:after{width:50px;height:50px;font-size:28px;right:10px;top:10px}
}


/* ==================================================================== v2 — 19/11/2026
   Première passe graphique : corrections communes + retouches par classe (réutilise les thèmes existants). */
/* échelle typographique du bandeau (proche de l'accueil) */
.th .band h1{font-size:clamp(34px,6vw,64px);line-height:1.2}
.th .band p{font-size:clamp(14px,1.8vw,18px)}
.t-elem .band h1{letter-spacing:.2em}
/* couleurs de la montgolfière-cameo par classe */
.t-parent{--b1:#F28BA8;--b2:#fff;--b3:#FFE9A8}
.t-kinder{--b1:#E8453C;--b2:#FFD93B;--b3:#2E86DE}
.t-elem{--b1:#E8604C;--b2:#FFFDF4;--b3:#264D73}
.t-jh{--b1:#0057FF;--b2:#00E5C6;--b3:#fff}
.t-hs{--b1:#0E1F3F;--b2:#B8923A;--b3:#F3E3B3}
.t-adult{--b1:#C4673A;--b2:#F3E8DA;--b3:#2B2B2E}
.t-lit{--b1:#1F4D3A;--b2:#FBF3E0;--b3:#8B3A2B}
.t-eiken{--b1:#C62839;--b2:#fff;--b3:#2A1216}
.t-corp{--b1:#0FA37F;--b2:#fff;--b3:#17202B}
.t-fr{--b1:#2B4AA8;--b2:#fff;--b3:#D62839}
/* cameo : la montgolfière de l'accueil passe dans chaque bandeau */
.scene .cam{left:3.5%;top:12px;width:clamp(36px,4.2vw,58px);aspect-ratio:200/290;z-index:2;transform-origin:50% 8%;animation:camBob 5.5s ease-in-out infinite}
.scene .cam svg{display:block;width:100%;height:100%}
@keyframes camBob{50%{transform:translateY(-6px) rotate(2deg)}}
/* mouvement réduit (aussi testé dans fx.js) et pause hors écran */
.scene.still,.scene.still *{animation:none!important}
.scene.off,.scene.off *{animation-play-state:paused!important}
/* entrée du bandeau : un seul mouvement doux */
@keyframes bandIn{from{opacity:0;transform:translateY(14px)}}
@media (prefers-reduced-motion:no-preference){
.th .band h1,.th .band p{animation:bandIn .8s cubic-bezier(.2,.7,.2,1) both}
.th .band p{animation-delay:.12s}
}
/* 親子 : deux cercles (le parent et l'enfant) qui se rejoignent une fois, puis flottent */
.t-parent .band:before{display:none}
.scene .duo{right:7%;top:18px;width:190px;height:110px}
.scene .duo b{position:absolute;display:block;border-radius:50%}
.scene .duo b:first-child{left:20px;top:8px;width:84px;height:84px;background:#fff;animation:duoA 2.6s cubic-bezier(.2,.7,.2,1) both,duoBob 7s ease-in-out 2.6s infinite}
.scene .duo b:last-child{left:100px;top:34px;width:60px;height:60px;background:#FFE9A8;animation:duoB 2.6s cubic-bezier(.2,.7,.2,1) both,duoBob 6s ease-in-out 2.6s infinite reverse}
@keyframes duoA{from{transform:translate(-22px,10px)}}
@keyframes duoB{from{transform:translate(76px,-26px)}}
@keyframes duoBob{50%{transform:translateY(-7px)}}
/* 中学生 : une traversée du vélo, puis une pause */
@keyframes ride2{0%{transform:translateX(0)}42%,100%{transform:translateX(calc(100vw + 340px))}}
.scene .bike{animation-name:ride2}
/* 大人 : plus de décors flous fixes (coûteux) ; les halos du bandeau suffisent */
.t-adult main::before,.t-adult main::after{display:none}
/* 読み書き : le marque-page tombe une fois */
@keyframes markDrop{from{transform:translateY(-90px)}}
@media (prefers-reduced-motion:no-preference){.t-lit .band:before{animation:markDrop .9s cubic-bezier(.3,1.4,.5,1) .25s both}}
/* フランス語 : arches (fenêtres) + fil tricolore, sans tour ni étincelles */
.scene .arches{position:absolute;right:6%;bottom:0;top:auto;width:clamp(120px,17vw,220px);opacity:.55}
.scene .arches svg{display:block;width:100%;height:auto}
.scene .arches .lit{opacity:.12;animation:litGlow 7s ease-in-out infinite}
@keyframes litGlow{50%{opacity:.34}}
.scene .thread{left:0;right:0;bottom:0;height:5px;background:linear-gradient(90deg,#2B4AA8 0 33.3%,#fff 33.3% 66.6%,#D62839 66.6%);transform-origin:left;animation:thread 1.6s cubic-bezier(.2,.7,.2,1) .3s both}
@keyframes thread{from{transform:scaleX(0)}}
/* mobile : pas de décors fixes derrière le contenu ; cameo et groupes réduits ; les bandeaux alignés à gauche gardent le titre libre */
@media (max-width:700px){
.th main::before,.th main::after{display:none}
.scene .cam{width:34px;top:10px;left:4%}
.t-jh .scene .cam,.t-adult .scene .cam,.t-corp .scene .cam,.t-fr .scene .cam{left:auto;right:4%}
.scene .duo{transform:scale(.6);transform-origin:right top;right:2%;top:8px}
.scene .arches{width:112px;right:3%}
.t-fr .band{padding-right:6vw}
}

/* v2 (suite) : mobile — cases de mots (小学生) et anneau d'orbite (高校生) retirés, ils recouvrent le titre */
@media (max-width:700px){.scene .wc,.scene .ring{display:none}}


/* v2 (suite 2) — corrections de la revue du 19/11 */
/* Le gabarit d'origine annulait le retrait latéral de .wrap (.sec{padding:40px 0}) : le contenu touchait les bords sur mobile et les cartes inclinées débordaient de 1 à 3 px. */
main.wrap.sec{padding-left:max(16px,5vw);padding-right:max(16px,5vw)}
/* 園児 : chiffres en bleu marine (le bleu #2478E0 sur rose ou bleu pâle n'atteignait que 2,5 à 2,7 : < 3) */
.t-kinder .stat b{color:#2B2B6B}
/* animations sans propriété de mise en page : left/bottom remplacés par transform (corp) */
@keyframes travel{from{transform:translateX(0) rotate(-45deg)}to{transform:translateX(86vw) rotate(-45deg)}}
@keyframes pinup{50%{transform:translateY(-10px) rotate(-45deg)}}

/* v2 (suite 3) — フランス語 : les bâtonnets et points tricolores fixes derrière le contenu (main::before/::after) ressemblaient à des débris ; retirés (« sans clichés ») */
.t-fr main::before,.t-fr main::after{display:none}

/* v2 (suite 4) — décision du 19/11 : la montgolfière-cameo est retirée des bandeaux de classes (elle uniformisait les dix pages). Elle reste sur l'accueil. */
.scene .cam{display:none}

/* v2 (suite 5) — 中学生 / 大人 / 出張 : le sous-titre anglais (centré dans un bloc de 640 px par `margin:0 auto`) est aligné sur le bord gauche du titre aligné à gauche. Tailles, polices, couleurs et espacements verticaux inchangés. */
.t-jh .band p,.t-adult .band p,.t-corp .band p{margin-left:0}


/* v3 (passe 2) — 高校生 « Horizon » et 出張 « Itinéraire clair »
   Les décors d'origine (points dorés, halo, globe, rectangles, pointillés, épingle) sont retirés ; l'illustration est générée par fx.js dans .scene. */
.t-hs main::before,.t-hs main::after,.t-corp main::before,.t-corp main::after{display:none}
.scene .hz{position:absolute;right:0;bottom:0;height:100%;width:auto;aspect-ratio:560/320;pointer-events:none}
.scene .hz svg{display:block;width:100%;height:100%}
.hz .arcs{transform-box:view-box;transform-origin:470px 340px;animation:hzBreathe 9s ease-in-out infinite}
.hz .sun{animation:hzRise 2.6s cubic-bezier(.2,.7,.2,1) both}
@keyframes hzBreathe{50%{transform:scale(1.03)}}
@keyframes hzRise{from{transform:translateY(70px);opacity:0}}
.scene .rt{position:absolute;left:0;bottom:8px;pointer-events:none}
.rt .flow{stroke-dasharray:1;animation:rtDraw 2.4s cubic-bezier(.3,.6,.2,1) both}
@keyframes rtDraw{from{stroke-dashoffset:1}}
@media (max-width:700px){
.t-hs .band{padding:40px 6vw 90px}
.scene .hz{height:70%;opacity:.85}
.t-corp .band{padding:40px 6vw 104px}
}

/* v3 (passe 3) — 20/11
   (1) 出張 mobile : l'itinéraire descend de 8 px pour laisser 12 à 16 px sous le sous-titre (7 px avant) ; la hauteur du bandeau et les éléments suivants ne bougent pas.
   (2) Chiffres des cartes : le bleu de marque (#2478E0, 4,34 sur blanc) jurait avec les palettes 親子 / 小学生 / 読み書き ; remplacé par une teinte propre à chaque classe. Taille, police et disposition inchangées. */
@media (max-width:700px){.t-corp .scene .rt{bottom:4px}}
.t-parent .stat b{color:#A63D5F}
.t-elem .stat b{color:#B04A2C}
.t-lit .stat b{color:#1F4D3A}


/* v4 (passe 4) — 20/11
   (1) 出張 mobile : itinéraire descendu de 4 px (et non plus 8 puis 0) : voir la règle « .t-corp .scene .rt » de la passe 3, passée à bottom:4px.
   (2) 親子 / 読み書き : la montée des bulles et des lettres fantômes est bornée par --rise (défaut 340px : eiken, inchangé) ; fx.js choisit une voie libre hors du texte.
   (3) Responsive sous 314 px (défauts confirmés à 300 et 280 px sur un viewport réel, sans barre de défilement) : bouton menu repoussé hors écran par l'en-tête (32 px à 280 px) et cartes rognées de 16 px à 280 px par les colonnes de 280 px minimum.
       Les règles ne s'appliquent qu'en dessous de 314 px (largeur minimale naturelle de l'en-tête) : rien ne change à 320 px et au-delà. */
@media (max-width:313px){header{gap:8px;padding-left:3vw;padding-right:3vw}.logo{font-size:19px;padding:3px 10px}.cta{padding:7px 12px;font-size:14px}.hr{gap:6px}}
.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
/* v4 (4) 小学生 mobile : le crayon ne traverse plus le sous-titre — figure réduite de .66 à .60 et descendue de 8 px (la ligne ondulée reste entière dans le bandeau) */
@media (max-width:700px){.scene .writer{transform:translateY(8px) scale(.6)}}
/* v4 (5) 親子 : le décor est rogné par le bas arrondi du bandeau (60 px) — bulles et duo ne dépassent plus sur le fond de la page ; sur mobile le duo se place à 66 px du bord pour rester dans la partie droite du bandeau */
.t-parent .scene{border-radius:0 0 60px 60px}
/* v4 (6) 小学生 sous 311 px : l'étiquette du titre (police 34 px, interlettrage .2em) dépassait de 5 px à 300 px et de 24 px à 280 px (bord droit rogné) ; police 30 px et interlettrage .1em dans cet intervalle seulement */
@media (max-width:310px){.t-elem .band h1{font-size:30px;letter-spacing:.1em}}
