:root{--bg:#f4f6fa;--paper:#fff;--text:#16263c;--muted:#5b6d82;--border:#dce4ef;--blue:#2459c4;--blue-dark:#17439c;--light:#eaf1ff;--green:#087b62;--red:#b83543;--navy:#172d50;--shadow:0 10px 32px rgba(22,38,60,.06);--radius:18px;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Sans','Yu Gothic UI','Meiryo',sans-serif;color:var(--text);background:var(--bg);font-size:16px;line-height:1.65;-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #5c91ff;outline-offset:3px}button{border:0;color:inherit}img,svg{max-width:100%}.shell{max-width:1100px;margin:0 auto;padding:0 24px}.header{background:var(--paper);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.header-inner{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}.logo{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none!important}.logo-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--blue);color:white;flex-shrink:0}.logo-mark svg{width:23px;height:23px}.logo-word{font-size:21px;line-height:1;font-weight:850;letter-spacing:-.06em}.logo-sub{font-size:10px;font-weight:600;display:block;letter-spacing:.04em;color:var(--muted);margin-top:4px}.nav{display:flex;gap:8px;align-items:center}.nav a,.nav button{font-size:13px;font-weight:650;padding:8px 12px;border-radius:9px;background:none;color:var(--muted);white-space:nowrap}.nav a:hover,.nav button:hover{background:var(--light);text-decoration:none;color:var(--blue)}.nav .active{background:var(--light);color:var(--blue)}.main{padding-top:26px;padding-bottom:36px}.hero{position:relative;overflow:hidden;background:linear-gradient(132deg,#152d51 5%,#204888 78%,#2359c4);border-radius:24px;box-shadow:var(--shadow);padding:42px 40px;color:white;display:flex;gap:20px;align-items:center;min-height:325px}.hero-copy{flex:1;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800;color:var(--blue);margin-bottom:10px}.hero .eyebrow{color:#c8ddff}.hero h1{font-size:clamp(28px,4.5vw,44px);line-height:1.27;margin:4px 0 15px;letter-spacing:-.05em;font-weight:850}.hero p{color:#d9e7fc;font-size:14px;line-height:1.8;margin:0 0 20px}.hero-art{width:240px;flex-shrink:0;opacity:.95}.hero-art svg{display:block;width:100%}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.hero .btn-primary{background:white;color:var(--navy)}.hero .btn-secondary{background:transparent;color:white;border-color:#7092c5}.pill-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;border-radius:999px;background:#e8eef8;color:var(--blue-dark);padding:4px 9px}.hero .pill{background:rgba(255,255,255,.10);color:#e2eeff}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;border:1px solid var(--border);border-radius:var(--radius);background:var(--border);overflow:hidden;margin-top:16px}.stat{background:var(--paper);padding:17px;text-align:center}.stat strong{display:block;font-size:22px;line-height:1.25;letter-spacing:-.045em;color:var(--navy);font-variant-numeric:tabular-nums}.stat small{font-size:11px;color:var(--muted)}.section{margin:32px 0}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:13px}.section h2,.section-head h2{margin:0;font-size:23px;font-weight:820;letter-spacing:-.035em;line-height:1.4}.section-head p{font-size:13px;color:var(--muted);margin:4px 0 0}.section-head a{font-size:12px;white-space:nowrap;font-weight:650}.daily{background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;display:flex;align-items:center;gap:16px;box-shadow:var(--shadow)}.daily .icon-tile{background:#e5efff;color:var(--blue);width:50px;height:50px;border-radius:13px}.daily-copy{flex:1;min-width:0}.daily-copy h2{font-size:18px;margin:0;letter-spacing:-.025em}.daily-copy p{font-size:12px;color:var(--muted);margin:3px 0 0}.daily-copy .eyebrow{font-size:10px;margin-bottom:3px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mode-card{background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);padding:19px 17px;text-align:left;min-height:158px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;position:relative;text-decoration:none!important;color:var(--text);transition:transform .15s,border-color .15s,box-shadow .15s}.mode-card:hover{transform:translateY(-2px);border-color:#a4bdec;box-shadow:var(--shadow)}.mode-card.featured{border:1.5px solid #86abea;background:linear-gradient(160deg,#fff,#f4f8ff)}.mode-card h3{margin:4px 0 0;font-size:16px;font-weight:790;letter-spacing:-.025em}.mode-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.mode-card .mode-meta{font-size:11px;color:var(--blue-dark);margin-top:auto;font-weight:700;display:flex;align-items:center;gap:6px;padding-top:9px}.mode-card .pill{position:absolute;top:16px;right:12px;font-size:10px}.icon-tile{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--light);color:var(--blue);flex-shrink:0}.icon-tile svg{width:21px;height:21px}.icon-tile.c0{background:#edf2ff;color:#3d5bb8}.icon-tile.c1{background:#e7f5f0;color:#167961}.icon-tile.c2{background:#f0edfc;color:#6d50b8}.icon-tile.c3{background:#fff0e5;color:#a75422}.icon-tile.c4{background:#e8f2fb;color:#276698}.training-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.training-grid .mode-card{min-height:133px;padding:13px}.training-grid h3{font-size:14px}.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.article-card{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--border);border-radius:13px;padding:14px;color:var(--text);text-decoration:none!important}.article-card:hover{border-color:#a4bdec}.article-card strong{font-size:14px;display:block}.article-card small{color:var(--muted);font-size:12px}.article-card .arrow{margin-left:auto;color:var(--blue);flex-shrink:0}.notice{border:1px solid var(--border);border-radius:13px;background:#f8faff;padding:14px 16px;font-size:12px;color:var(--muted);line-height:1.75}.notice strong{color:var(--text)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;min-height:44px;border-radius:11px;font-weight:750;font-size:14px;text-decoration:none!important;white-space:nowrap;transition:background .15s}.btn-primary{background:var(--blue);color:white}.btn-primary:hover{background:var(--blue-dark)}.btn-secondary{background:white;border:1px solid var(--border);color:var(--text)}.btn-secondary:hover{background:var(--light)}.btn-ghost{background:transparent;color:var(--blue);padding:9px 11px}.btn-danger{background:#fff1f2;color:var(--red);border:1px solid #f0cbd0}.btn-block{width:100%}.btn svg{width:16px;height:16px}.hidden,[hidden]{display:none!important}.panel{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.narrow{max-width:740px;margin:0 auto}.test-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.test-top h1{font-size:18px;line-height:1.45;margin:0;letter-spacing:-.025em}.test-top .sub{font-size:12px;color:var(--muted)}.timer{background:white;border:1px solid var(--border);border-radius:10px;padding:7px 12px;white-space:nowrap;font-weight:750;color:var(--navy);font-variant-numeric:tabular-nums;font-size:14px}.timer.urgent{color:var(--red);border-color:#edc6c9}.progress-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:6px}.progress{height:6px;border-radius:999px;background:#e1e8f3;overflow:hidden;margin-bottom:20px}.progress>div{height:100%;background:var(--blue);border-radius:999px;transition:width .2s}.qpanel{padding:24px}.q-tags{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-bottom:10px}.q-tag{background:var(--light);color:var(--blue-dark);border-radius:6px;padding:3px 8px;font-size:11px;font-weight:750}.q-tag.level{background:#eef1f6;color:var(--muted)}.question-title{font-size:20px;line-height:1.6;margin:0 0 18px;letter-spacing:-.02em}.stimulus{margin:12px 0 20px;border:1px solid var(--border);border-radius:13px;background:#f8fafd;padding:14px;display:flex;align-items:center;justify-content:center;min-height:80px}.stimulus .question-svg{max-width:310px;width:100%;max-height:250px;display:block}.sequence{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-weight:800;font-size:clamp(18px,4vw,27px);font-variant-numeric:tabular-nums;letter-spacing:-.035em}.sequence .mark{color:var(--blue);background:#e2ebff;min-width:36px;text-align:center;border-radius:7px;padding:2px 8px}.conditions{margin:0;padding-left:1.3em;font-size:14px;line-height:1.8;width:100%}.options{display:grid;grid-template-columns:1fr;gap:9px}.options.visual-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{background:white;border:1.5px solid var(--border);border-radius:12px;text-align:left;min-height:55px;padding:12px;display:flex;gap:10px;align-items:center;color:var(--text);font-size:14px;line-height:1.5;overflow-wrap:anywhere}.choice:not(:disabled):hover{border-color:#90ace3;background:#f7faff}.choice.selected{border-color:var(--blue);background:#edf4ff;box-shadow:0 0 0 1px var(--blue)}.choice.correct{border-color:var(--green);background:#edf9f4}.choice.wrong{border-color:var(--red);background:#fff3f3}.choice-letter{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;background:#edf1f6;border-radius:7px;font-size:12px;font-weight:800;color:var(--muted)}.choice.selected .choice-letter{background:var(--blue);color:white}.choice-visual{flex-direction:column;align-items:flex-start;gap:5px;padding:10px;min-height:102px}.choice-visual .question-svg{width:100%;height:84px;display:block}.choice:disabled{opacity:1;cursor:default}.q-actions{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:19px}.q-actions .btn-primary{min-width:130px}.memory-box{padding:25px 15px;text-align:center;border:1px dashed #a6bce3;background:#f6f9ff;border-radius:13px;margin:15px 0}.memory-box p{margin:0 0 12px;color:var(--muted);font-size:14px}.memory-box strong{font-size:19px}.memory-text{font-size:clamp(23px,6vw,37px);letter-spacing:.02em;font-weight:850;line-height:1.6;color:var(--blue);font-variant-numeric:tabular-nums;word-break:break-word}.memory-box .question-svg{display:block;width:185px;margin:8px auto}.feedback{margin-top:14px;padding:13px 14px;border-radius:10px;background:#f3f6fb;font-size:13px}.feedback.good{background:#eaf8f2;color:#095e4b}.feedback.bad{background:#fff1f3;color:#8c2834}.feedback strong{display:block;margin-bottom:4px}.result-hero{background:linear-gradient(145deg,#172d50,#2459c4);color:#fff;border-radius:20px;padding:27px;text-align:center}.result-hero .eyebrow{color:#c7dbff}.result-hero h1{font-size:21px;margin:0}.score-value{font-size:64px;font-weight:850;letter-spacing:-.085em;line-height:1.12;font-variant-numeric:tabular-nums}.score-value span{font-size:20px;letter-spacing:0;font-weight:650;color:#cdddf9}.result-hero .score-caption{font-size:13px;color:#d9e7ff}.result-hero .result-note{font-size:11px;color:#cdddf9;margin:12px 0 0}.result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}.result-grid .panel{padding:14px 17px;box-shadow:none}.result-grid small{color:var(--muted);display:block;font-size:12px}.result-grid strong{font-size:23px;line-height:1.5;font-variant-numeric:tabular-nums}.result-section{margin:18px 0}.result-section h2{font-size:19px;margin:0 0 13px}.bar-row{margin:13px 0}.bar-label{display:flex;justify-content:space-between;gap:10px;font-size:13px;font-weight:650}.bar-label span:last-child{font-variant-numeric:tabular-nums;color:var(--blue-dark)}.bar{height:9px;background:#e8eef8;border-radius:8px;overflow:hidden;margin-top:5px}.bar i{display:block;height:100%;background:var(--blue);border-radius:8px}.review{border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-bottom:8px}.review summary{padding:13px;cursor:pointer;display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;list-style:none}.review summary::-webkit-details-marker{display:none}.review summary:after{content:'＋';margin-left:auto;color:var(--muted)}.review[open] summary:after{content:'－'}.review-status{width:23px;height:23px;border-radius:6px;display:grid;place-items:center;flex-shrink:0;font-size:13px;background:#e8f8f1;color:var(--green)}.review-status.bad{background:#ffedf0;color:var(--red)}.review-status.skip{background:#edf1f6;color:var(--muted)}.review-body{border-top:1px solid var(--border);padding:14px;font-size:13px}.review-body p{margin:7px 0}.review-body .question-svg{max-width:230px}.review-answer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.review-answer svg{width:85px;height:70px}.result-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.result-actions .btn{flex:1}.empty{text-align:center;padding:36px 15px;color:var(--muted)}.history-list{display:grid;gap:8px}.history-item{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:12px;background:#fff;padding:13px}.history-item strong{display:block;font-size:14px}.history-item small{font-size:11px;color:var(--muted)}.history-score{margin-left:auto;font-size:22px;font-weight:820;color:var(--blue-dark);white-space:nowrap;font-variant-numeric:tabular-nums}.history-chart{width:100%;max-height:220px}.article{max-width:760px;margin:0 auto}.article h1{font-size:32px;line-height:1.45;letter-spacing:-.04em;margin:6px 0 14px}.article h2{font-size:21px;line-height:1.5;margin:27px 0 10px}.article p,.article li{font-size:15px;line-height:1.9}.article .lead{color:var(--muted)}.article .sample{background:#f4f7fc;border-radius:12px;padding:15px;border:1px solid var(--border);font-weight:650}.article details{background:#f7f9fd;border:1px solid var(--border);border-radius:10px;margin:10px 0;padding:12px}.article details summary{font-weight:700;cursor:pointer}.article details p{margin:6px 0}.article table{width:100%;border-collapse:collapse;font-size:13px}.article th,.article td{padding:10px;border-bottom:1px solid var(--border);text-align:left}.article .related{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.footer{border-top:1px solid var(--border);background:#fff;padding:25px 0 35px;color:var(--muted)}.footer .shell{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.footer .footer-text{font-size:11px;margin:8px 0;max-width:400px}.footer-links{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:12px}.footer-links a{color:var(--muted)}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-only{display:none}.toast{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:100;background:#172d50;color:white;padding:10px 15px;border-radius:10px;font-size:13px;max-width:90vw;text-align:center;box-shadow:var(--shadow)}.intro{max-width:760px;margin:0 auto}.intro h1{margin:0 0 10px;font-size:28px}.intro .lead{color:var(--muted);font-size:14px}.intro dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.intro dl div{border:1px solid var(--border);border-radius:10px;padding:12px;background:#f9fbff}.intro dt{font-size:11px;color:var(--muted)}.intro dd{margin:0;font-weight:800;font-size:18px}.intro-actions{display:flex;gap:10px;margin-top:17px}.intro-actions .btn-primary{flex:1}.status-banner{padding:12px;background:#fff5df;color:#79521c;font-size:12px;border-radius:10px;margin-bottom:15px}.home-faq details{background:white;border:1px solid var(--border);border-radius:12px;padding:12px 16px;margin-bottom:8px;font-size:13px}.home-faq summary{font-weight:700;cursor:pointer}.home-faq p{margin:7px 0;color:var(--muted)}
@media(max-width:760px){.shell{padding:0 15px}.header-inner{min-height:58px}.logo-mark{width:32px;height:32px;border-radius:9px}.logo-word{font-size:19px}.logo-sub{font-size:9px}.nav{gap:2px}.nav a,.nav button{font-size:12px;padding:7px 8px}.nav .desktop-nav{display:none}.main{padding-top:16px}.hero{padding:26px 20px;min-height:0;gap:0;display:block;border-radius:19px}.hero-copy{max-width:100%}.hero h1{font-size:32px;margin:6px 0 11px}.hero p{font-size:13px;max-width:95%;margin-bottom:17px}.hero-art{position:absolute;right:-50px;top:-23px;width:195px;opacity:.13;transform:rotate(12deg)}.hero-actions{gap:7px}.hero .btn{padding:11px 12px;font-size:13px;flex:1}.pill-row{margin-top:13px}.stat{padding:12px 4px}.stat strong{font-size:20px}.stat small{font-size:10px}.section{margin:24px 0}.section h2,.section-head h2{font-size:20px}.section-head p{font-size:12px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mode-card{padding:13px;min-height:145px;gap:4px;border-radius:14px}.mode-card h3{font-size:14px}.mode-card p{font-size:11px}.mode-card .pill{font-size:9px;right:9px;top:12px;padding:3px 6px}.mode-card .icon-tile{height:34px;width:34px}.daily{padding:13px;gap:10px}.daily .icon-tile{width:38px;height:38px}.daily-copy h2{font-size:16px}.daily-copy p{font-size:11px}.daily .btn{min-height:38px;padding:8px 10px;font-size:12px}.training-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.training-grid .mode-card{min-height:111px}.article-grid{grid-template-columns:1fr;gap:8px}.article-card{padding:12px}.panel{padding:17px;border-radius:15px}.qpanel{padding:16px}.question-title{font-size:18px}.stimulus{padding:9px}.stimulus .question-svg{max-width:260px;max-height:230px}.test-top h1{font-size:15px}.test-top .sub{font-size:11px}.timer{font-size:13px;padding:6px 9px}.q-actions .btn-primary{min-width:115px}.result-hero{padding:22px 15px}.score-value{font-size:58px}.result-grid .panel{padding:11px 12px}.result-grid strong{font-size:20px}.article h1{font-size:26px}.article h2{font-size:19px}.article p,.article li{font-size:14px}.footer .shell{display:block}.footer-links{margin-top:12px}.mobile-only{display:block}.intro h1{font-size:24px}.intro-actions .btn{font-size:13px}.history-item{padding:10px}.history-item strong{font-size:13px}.history-score{font-size:19px}}
@media(max-width:360px){.shell{padding:0 10px}.hero h1{font-size:28px}.nav a,.nav button{font-size:11px;padding:6px}.mode-card h3{font-size:13px}.daily-copy h2{font-size:14px}.daily .btn{padding:7px}.hero-actions .btn{white-space:normal}.mode-card .pill{font-size:8px}.result-actions .btn{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.mode-meta svg{width:13px;height:13px;flex-shrink:0}.empty>svg{width:40px;height:40px;color:var(--blue);opacity:.7}.article .eyebrow{margin-bottom:2px}.article .sample .sequence{font-size:23px;justify-content:flex-start}.article .notice{margin:16px 0}.article .breadcrumb{font-size:12px;color:var(--muted);margin-bottom:18px}.article .citation-link{font-size:13px}.mode-card .pill{max-width:90px}.article a:not(.btn){overflow-wrap:anywhere}

@media(max-width:760px){.hero br.desktop-nav{display:none}.hero p{max-width:100%}.hero .btn{white-space:normal}.hero .btn span[data-icon]{display:inline-flex}}
