/* ことばこ：イラスト＋アニメーション（階段・個別／一斉の対比） */
.stairs{position:relative;width:100%;max-width:380px;aspect-ratio:380/270;margin:0 auto}
.stairs .st{position:absolute;bottom:0;width:20%;border-radius:6px 6px 0 0;background:linear-gradient(180deg,rgba(143,208,236,.55),rgba(143,208,236,.14));border:1px solid rgba(143,208,236,.55);border-bottom:0;animation:stLight 12s 3 forwards}
.stairs .st1{left:0;height:14%}.stairs .st2{left:20%;height:28%;animation-delay:1.6s}.stairs .st3{left:40%;height:42%;animation-delay:3.2s}.stairs .st4{left:60%;height:56%;animation-delay:4.8s}.stairs .st5{left:80%;height:70%;animation-delay:6.4s}
@keyframes stLight{0%,8%{filter:brightness(1)}14%,60%{filter:brightness(1.7)}100%{filter:brightness(1.7)}}
.stairs .flagpole{position:absolute;right:6%;bottom:70%;width:2px;height:16%;background:#cfe8f6}
.stairs .flagpole::after{content:"";position:absolute;left:2px;top:0;border-left:22px solid #8fd0ec;border-top:7px solid transparent;border-bottom:7px solid transparent;transform-origin:0 50%;animation:flagWave 2s ease-in-out 8}
@keyframes flagWave{50%{transform:scaleX(.8)}}
.stairs .climber{position:absolute;width:19%;left:1%;bottom:14%;animation:climb 12s 3 forwards cubic-bezier(.4,0,.2,1)}
@keyframes climb{
 0%,8%{left:1%;bottom:14%}
 16%{left:11%;bottom:30%}  20%,24%{left:21%;bottom:28%}
 32%{left:31%;bottom:44%}  36%,40%{left:41%;bottom:42%}
 48%{left:51%;bottom:58%}  52%,56%{left:61%;bottom:56%}
 64%{left:71%;bottom:72%}  68%,100%{left:81%;bottom:70%}}
.compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:16px 0}
.cmp{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px 16px 14px;text-align:center;box-shadow:var(--shadow)}
.cmp svg{width:100%;height:auto;max-width:320px}
.cmp h3{margin:6px 0 2px;font-size:17px;color:var(--navy-deep);border:0;padding:0}.cmp h3::before{display:none}
.cmp p{margin:0;font-size:14px;color:var(--sub)}
.cmp .tch{fill:#173D6B}.cmp .stu{fill:#8fd0ec}.cmp .stu.me{fill:#2f8fc4}
.cmp .beam{stroke:#8fd0ec;stroke-width:2;fill:none;stroke-dasharray:5 5;animation:beam 1.6s linear 5}
@keyframes beam{to{stroke-dashoffset:-20}}
.cmp .pulse{transform-box:fill-box;transform-origin:center;animation:pulse 3s ease-in-out 3}
.cmp .pulse.p2{animation-delay:.75s}.cmp .pulse.p3{animation-delay:1.5s}.cmp .pulse.p4{animation-delay:2.25s}
@keyframes pulse{0%,60%,100%{transform:scale(1)}30%{transform:scale(1.25)}}
.dir-fig{display:grid;grid-template-columns:1fr minmax(240px,380px);gap:36px;align-items:center}
.dir-fig .stairs{margin:0}
@media(max-width:820px){.dir-fig{grid-template-columns:1fr}.dir-fig .stairs{max-width:300px}}
.tri .card img.ic{width:40px;height:40px;margin-bottom:6px}
@media(prefers-reduced-motion:reduce){.stairs .st,.stairs .climber,.stairs .flagpole::after,.cmp .beam,.cmp .pulse,.hop,.wv2{animation:none!important}.stairs .climber{left:81%;bottom:70%}}
.stairs.lt .st{background:linear-gradient(180deg,#8fd0ec,#cfe9f6);border:1px solid #6fb9dc;border-bottom:0}.stairs.lt .flagpole{background:#8aa4bd}.stairs.lt .flagpole::after{border-left-color:#2f8fc4}
.cmp .bk{animation:beam 1.6s linear 15,bkOn 6s linear 4}
.cmp .sp{transform-box:fill-box;transform-origin:center;animation:spOn 6s linear 4}
.cmp .bk1,.cmp .sp1{animation-delay:0s}.cmp .bk2,.cmp .sp2{animation-delay:0s,-4.5s}.cmp .bk3,.cmp .sp3{animation-delay:0s,-3s}.cmp .bk4,.cmp .sp4{animation-delay:0s,-1.5s}
.cmp .sp2{animation-delay:-4.5s}.cmp .sp3{animation-delay:-3s}.cmp .sp4{animation-delay:-1.5s}
@keyframes bkOn{0%,22%{opacity:1}28%,100%{opacity:.12}}
@keyframes spOn{0%,22%{transform:scale(1.28)}28%,100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.cmp .bk,.cmp .sp{animation:none!important;opacity:1}}.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 0}
.pillar{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px 14px 16px;text-align:center;box-shadow:var(--shadow)}
.pillar img{width:44px;height:44px;margin-bottom:6px}
.pillar b{display:block;color:var(--navy-deep);font-size:16px;line-height:1.5}
.pillar span{display:block;font-size:13px;color:var(--sub);margin-top:4px;line-height:1.6}
.pillar-arrow{display:flex;justify-content:center;margin:6px 0}
.pillar-arrow svg{width:34px;height:34px;animation:arrowDown 1.8s ease-in-out 6}
@keyframes arrowDown{50%{transform:translateY(7px)}}
.pillar-goal{background:linear-gradient(160deg,var(--navy-deep),var(--navy));color:#fff;border-radius:var(--r);padding:20px 22px;text-align:center;font-family:var(--display);font-size:clamp(17px,2.6vw,21px);line-height:1.8;letter-spacing:.04em;box-shadow:var(--shadow)}
.pillar-goal b{color:var(--sky)}
@media(max-width:700px){.pillars{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.pillar-arrow svg{animation:none!important}}.toyou{background:linear-gradient(165deg,#f1f8fd,#fbfdff 60%,#e4f2fa)}
.toyou .box{display:grid;grid-template-columns:minmax(150px,230px) 1fr;gap:32px;align-items:center}
.toyou .eyebrow{margin-bottom:6px}
.toyou h2{margin:0 0 14px}
.toyou p{margin:0 0 12px;line-height:2}
.toyou .trap{font-family:var(--display);font-size:clamp(20px,3vw,26px);color:var(--navy-deep);margin:14px 0}
.toyou .last{font-family:var(--display);font-size:clamp(17px,2.4vw,21px);color:var(--navy-deep);border-left:4px solid var(--sky-mid,#8fd0ec);padding-left:14px;margin-top:18px}
.bars{display:flex;align-items:flex-end;gap:5px;height:120px;margin-top:10px}
.bars i{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#2f8fc4,#8fd0ec);transform-origin:bottom;transform:scaleY(1)}
.js .reveal .bars i{transform:scaleY(.12)}
.js .reveal.in .bars i{animation:grow 1.2s cubic-bezier(.3,.7,.2,1) forwards}
.bars i:nth-child(1){height:10%}.bars i:nth-child(2){height:16%}.bars i:nth-child(3){height:24%}.bars i:nth-child(4){height:36%}.bars i:nth-child(5){height:52%}.bars i:nth-child(6){height:74%}.bars i:nth-child(7){height:100%}
.bars i:nth-child(2){animation-delay:.12s!important}.bars i:nth-child(3){animation-delay:.24s!important}.bars i:nth-child(4){animation-delay:.36s!important}.bars i:nth-child(5){animation-delay:.48s!important}.bars i:nth-child(6){animation-delay:.6s!important}.bars i:nth-child(7){animation-delay:.72s!important}
@keyframes grow{to{transform:scaleY(1)}}
.bars-cap{font-size:12.5px;color:var(--sub);text-align:center;margin-top:6px}
@media(max-width:760px){.toyou .box{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.js .reveal .bars i{transform:scaleY(1)!important;animation:none!important}}
/* スマホ：通塾時間（時刻を文字で、バーは目安） */
.tt-label .tt-time{display:none}
@media(max-width:700px){
 .tt-row{grid-template-columns:1fr;gap:5px;padding:10px 0}
 .tt-label{font-size:14px}
 .tt-label .tt-time{display:inline;margin-left:10px;color:var(--navy);font-size:14px;font-weight:700}
 .tt-bar{font-size:0}
 .tt-scale{grid-template-columns:1fr}
 .tt-scale>span:first-child{display:none}
 .tt-scale span{white-space:nowrap}
}