:root{color-scheme:light;--navy:#091a31;--deep:#101e34;--ink:#192b41;--sub:#62748a;--blue:#1763f4;--blue2:#0c83ec;--line:#e5eaf1;--bg:#f5f7fb;--white:#fff;--green:#078969;--orange:#b56a05;--radius:17px;font-family:Inter,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--blue)}.shell{min-height:100vh;display:flex}.sidebar{width:248px;min-height:100vh;flex-shrink:0;background:#08182c;color:white;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:26px 16px 18px;box-shadow:3px 0 24px #091e3012}.brand{display:flex;align-items:center;gap:11px;padding:3px 8px}.brand-mark{width:43px;height:43px;border-radius:12px;background:linear-gradient(138deg,#00a5e9,#2d54ec);display:grid;place-items:center;font-size:19px;font-weight:900;letter-spacing:-2px;box-shadow:0 6px 18px #0672ef4f}.brand-mark span{transform:skew(-6deg)}.brand-main{font-size:16px;font-weight:850;letter-spacing:.075em}.brand-sub{font-size:8px;color:#9bb1cc;letter-spacing:.19em;margin-top:4px}.sidebar-divider{height:1px;background:#1d3048;margin:27px 9px 24px}.nav-label{font-size:10px;font-weight:760;color:#708aaa;letter-spacing:.14em;padding:0 14px;margin-bottom:13px}.management-label{margin-top:35px}.sidenav{display:grid;gap:5px}.nav-item{width:100%;padding:13px 12px;color:#aebdd1;background:transparent;text-align:left;border:1px solid transparent;border-radius:10px;display:flex;align-items:center;gap:13px;font-weight:670;transition:.15s}.nav-item:hover{color:#fff;background:#122841}.nav-item.active{background:linear-gradient(96deg,#1c64cc41,#277ae61c);border-color:#306fe253;color:white}.nav-icon{font-family:system-ui;font-size:20px;width:22px;text-align:center;line-height:1}.sidebar-bottom{margin-top:auto;border-top:1px solid #1e314b;padding:21px 11px 0}.build{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.11em;font-weight:800}.pulse{background:#48daab;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 4px #48daab1c}.sidebar-bottom p{color:#7891ad;font-size:10px;margin:13px 0 0}.main-wrap{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:72px;flex-shrink:0;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.top-left,.top-right{display:flex;align-items:center;gap:15px}.crumb{font-size:10px;color:#718097;font-weight:850;letter-spacing:.09em}.slash{color:#bac5d1}#currentTitle{font-weight:750;font-size:13px}.top-tag{padding:6px 10px;background:#e8f3ff;color:#1465bb;border-radius:6px;font-weight:820;font-size:10px;letter-spacing:.11em}.top-date{font-size:12px;color:#718097}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#e5eefa;color:#0f56bc;border-radius:50%;font-size:11px;font-weight:850}.mobile-menu{display:none;background:none;border:0;font-size:22px}.content{padding:31px 42px 44px;max-width:1480px;width:100%;margin:0 auto;flex:1}.footer{padding:14px 42px 18px;display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);color:#97a4b5;font-size:10px}.alert{background:#eaf3ff;border:1px solid #c7dcfc;color:#35577d;padding:13px 15px;border-radius:11px;display:flex;align-items:center;gap:13px;margin-bottom:24px;font-size:12px;line-height:1.6}.alert strong{white-space:nowrap;color:#1851a3}.alert>span{flex:1}.alert button{border:none;background:none;font-size:21px;color:#5780ab}.eyebrow{font-size:11px;letter-spacing:.16em;color:var(--blue);font-weight:850;text-transform:uppercase}.h-title{font-size:30px;line-height:1.4;letter-spacing:-.025em;margin:9px 0 8px;font-weight:850}.lead{font-size:14px;color:var(--sub);margin:0;line-height:1.9}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:32px 0 17px}.section-head h2{font-size:19px;letter-spacing:-.02em;margin:0 0 5px}.section-head p{margin:0;color:var(--sub);font-size:12px}.hero{background:linear-gradient(111deg,#091c37,#0a366e 63%,#185fd0);border-radius:23px;padding:35px 42px;color:#fff;min-height:238px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:15px;box-shadow:0 18px 35px #153f7c15}.hero:before{content:"";position:absolute;width:330px;height:330px;border:1px solid #ffffff1d;border-radius:50%;right:60px;top:-42px;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff06}.hero:after{content:"";position:absolute;right:58px;bottom:24px;width:240px;height:180px;background:repeating-linear-gradient(0deg,transparent 0,transparent 21px,#76bdff1a 22px),repeating-linear-gradient(90deg,transparent 0,transparent 21px,#76bdff1a 22px);transform:skew(-15deg)}.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:#8ec7ff}.hero h1{font-size:33px;line-height:1.55;margin:13px 0 12px;font-weight:850;letter-spacing:-.03em}.hero p{color:#c1d7f2;line-height:1.9;margin:0 0 19px}.hero-graphic{position:relative;z-index:1;flex:0 0 155px;width:155px;height:155px;border:1px solid #ffffff70;border-radius:24px;display:grid;place-items:center;background:#ffffff10;transform:rotate(-8deg);box-shadow:0 18px 32px #08132355}.hero-graphic b{font-size:57px;letter-spacing:-.08em;text-shadow:0 5px 15px #2352a4}.hero-graphic small{position:absolute;bottom:25px;font-size:9px;letter-spacing:.22em}.btn{border:0;border-radius:10px;background:var(--blue);color:white;font-weight:800;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;text-decoration:none;box-shadow:0 7px 16px #1368f029;transition:transform .12s,background .12s}.btn:hover:not(:disabled){transform:translateY(-1px);background:#0f4dcc}.btn.ghost{background:#fff;color:#245db2;box-shadow:none}.btn.outline{background:#fff;color:#2b4e70;border:1px solid #ced8e6;box-shadow:none}.btn.outline:hover{background:#eef5ff}.btn.danger{background:#a52e3b}.btn.small{padding:8px 11px;min-height:34px;font-size:12px}.btn:focus-visible,.nav-item:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #5ea8ff;outline-offset:2px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:20px}.stat,.card,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 14px #14253c05}.stat{padding:20px 23px}.stat-k{color:#718298;font-size:11px;font-weight:670}.stat-v{margin-top:10px;font-weight:850;font-size:27px;letter-spacing:-.04em}.stat-v span{font-size:12px;color:#7a8ca2;letter-spacing:0;font-weight:700}.stat-desc{font-size:11px;color:#96a6b6;margin-top:7px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{padding:25px;display:flex;flex-direction:column;min-height:230px}.card-icon{font-size:24px;display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e9f1ff;color:#1e62c8;margin-bottom:20px}.card-icon.teal{background:#e0f8f2;color:#078e79}.card-icon.purple{background:#f1edff;color:#7252ce}.card h3{margin:0 0 9px;font-size:17px}.card p{color:var(--sub);font-size:12px;line-height:1.8;margin:0 0 22px}.card .btn{align-self:start;margin-top:auto}.pill{display:inline-flex;align-items:center;gap:7px;color:#145a96;border-radius:100px;background:#e8f3ff;font-size:11px;padding:6px 10px;font-weight:800}.pill.amber{color:#9f640c;background:#fff2df}.pill.green{color:#087a5d;background:#e5f9f0}.pill.grey{color:#5c6d82;background:#eef2f7}.panel{padding:27px;margin-top:19px}.panel h3{font-size:17px;margin:0 0 16px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:17px}.info-list{display:grid;gap:12px}.info-row{display:flex;align-items:start;gap:12px;line-height:1.7;color:#526a81}.info-row b{min-width:94px;color:#1d344d}.rule{height:1px;background:var(--line);margin:20px 0}.quiz-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.step-title{font-size:21px;font-weight:800;margin:7px 0}.progressbar{width:100%;height:7px;border-radius:20px;background:#eaf0f7;overflow:hidden;margin:15px 0 18px}.progressbar>div{height:100%;background:linear-gradient(90deg,#188def,#4d63f0);width:0;transition:width .2s}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:17px}.quiz-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px}.question-eyebrow{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:11px;color:#6a849f;font-weight:800}.qtext{font-size:20px;line-height:1.75;font-weight:800;margin:20px 0 24px;white-space:pre-wrap}.choices{display:grid;gap:11px}.choice{width:100%;display:flex;align-items:center;gap:14px;background:white;border:1.5px solid #dce5ef;padding:15px;border-radius:12px;text-align:left;line-height:1.6;font-weight:600;color:#31455e}.choice .letter{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:8px;background:#edf3fa;color:#447198;font-weight:850}.choice.active{border-color:#377ff0;background:#eff6ff;color:#164fa9}.choice.active .letter{background:#2377e4;color:#fff}.choice:hover{border-color:#84b6f8}.quiz-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:28px}.quiz-side{padding:24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);height:max-content}.quiz-side h4{font-size:12px;margin:0 0 17px}.number-pad{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.number-pad button{width:100%;aspect-ratio:1;border:1px solid #d9e2ef;border-radius:7px;color:#60809a;background:#fff;font-size:12px;font-weight:800}.number-pad button.now{border-color:var(--blue);background:#eaf2ff;color:#165bb4}.number-pad button.done{background:#155fca;color:#fff;border-color:#155fca}.side-info{color:#7b8da1;font-size:11px;line-height:1.7;margin:14px 0 0}.timer{color:#1d3655;font-size:19px;font-weight:850;font-variant-numeric:tabular-nums}.timer.low{color:#cc4750}.results-hero{text-align:center;padding:36px 20px}.result-ring{width:130px;height:130px;display:grid;place-items:center;border-radius:50%;margin:0 auto 22px;background:conic-gradient(var(--blue) var(--score,0%),#e6ecf3 0);position:relative}.result-ring:after{content:"";position:absolute;inset:12px;background:#fff;border-radius:50%}.result-ring b{position:relative;z-index:1;font-size:31px}.results-hero h2{font-size:25px;margin:0 0 10px}.results-hero p{color:var(--sub);line-height:1.8}.review-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;margin:10px 0}.review-card h4{font-size:14px;line-height:1.7;margin:10px 0 12px}.review-correct{border-left:4px solid #0c9c78}.review-wrong{border-left:4px solid #e49b39}.review-text{color:#587089;line-height:1.8;margin:8px 0;font-size:12px}.review-options{display:grid;gap:7px;color:#526881;font-size:12px;margin:12px 0}.review-options strong{color:#0b9474}.editor-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px}.question-list{display:flex;flex-direction:column;gap:5px;max-height:630px;overflow:auto}.question-line{padding:12px;border:1px solid transparent;background:#fff;border-radius:9px;text-align:left;display:flex;justify-content:space-between;gap:10px;color:#35506a}.question-line.active,.question-line:hover{border-color:#bfd5fa;background:#edf5ff}.question-line small{color:#7e96ad;display:block;font-size:10px;margin-top:5px}.form{display:grid;gap:15px}.field{display:flex;flex-direction:column;gap:7px;color:#445c76;font-size:12px;font-weight:750}.field input,.field textarea,.field select{width:100%;padding:12px;border-radius:9px;background:#fff;border:1px solid #d4e0ed;color:#18314a}.field textarea{min-height:85px;resize:vertical;line-height:1.7}.field.inline-check{flex-direction:row;align-items:center}.field.inline-check input{width:auto}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.hint{color:#73899e;font-size:11px;line-height:1.8}.small-note{border-radius:10px;border:1px solid #f2d8ab;background:#fff8e9;padding:14px;color:#815e22;font-size:12px;line-height:1.8}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.empty{text-align:center;padding:38px 18px;color:#8191a7}.record-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.record-row:last-child{border-bottom:0}.record-row strong{display:block}.record-row small{color:#8596a9;display:block;margin-top:7px}.certificate{margin:16px auto;background:#fff;color:#162e49;border:7px solid #153e77;outline:1px solid #e3bc6f;outline-offset:-15px;max-width:760px;padding:50px 52px;text-align:center;min-height:560px;box-shadow:0 12px 30px #101f3514}.cert-kicker{font-size:12px;letter-spacing:.28em;color:#416185;font-weight:800}.cert-title{font-family:Georgia,"Noto Serif JP",serif;font-size:39px;margin:29px 0 18px;letter-spacing:.24em}.cert-name{font-size:28px;font-weight:850;padding:9px 0 13px;border-bottom:1px solid #d3dfeb;display:inline-block;min-width:54%}.cert-copy{font-size:14px;line-height:2.2;margin:31px 0}.cert-details{display:flex;justify-content:space-around;gap:12px;font-size:12px;color:#556b81;margin-top:28px}.cert-footer{margin-top:34px;font-weight:800;letter-spacing:.09em}.cert-note{font-size:11px;color:#657a8f;margin-top:18px;line-height:1.9}.print-sheet{display:none}.locked{padding:40px;background:white;border-radius:16px;text-align:center;border:1px solid #dee6ee}.locked h2{font-size:22px}.locked p{color:var(--sub);line-height:1.8}.toast{position:fixed;bottom:20px;right:20px;max-width:360px;background:#102842;color:#fff;border-radius:10px;padding:12px 18px;box-shadow:0 14px 38px #091d3c40;z-index:99;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1}.red{color:#bb3f45}.green{color:#07866c}.divider{height:1px;background:var(--line);margin:17px 0}.copyright-small{font-size:11px;color:#8898aa}.inline-code{padding:3px 6px;background:#eff4f8;border-radius:4px}.hide{display:none!important}
@media(max-width:1100px){.sidebar{width:221px}.content{padding:24px}.topbar{padding:0 24px}.hero{padding:29px}.stats{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.editor-grid{grid-template-columns:260px 1fr}}
@media(max-width:750px){.sidebar{position:fixed;transform:translateX(-110%);transition:transform .18s;z-index:20;width:250px}.sidebar.open{transform:translateX(0)}.mobile-menu{display:block}.topbar{height:62px;padding:0 18px}.content{padding:18px 14px 34px}.top-date{display:none}.hero{display:block;padding:26px 21px;min-height:210px}.hero h1{font-size:25px}.hero-graphic{display:none}.h-title{font-size:23px}.cards,.grid2,.editor-grid,.quiz-layout{grid-template-columns:1fr}.stats{gap:9px}.stat{padding:15px}.stat-v{font-size:23px}.quiz-panel{padding:19px}.quiz-side{order:-1}.footer{padding:16px;display:block;text-align:center;line-height:1.8}.alert{align-items:flex-start;font-size:11px}.alert strong{white-space:normal}.certificate{padding:30px 18px;min-height:440px}.cert-title{font-size:29px}.cert-name{font-size:20px}.cert-details{display:grid}.card{min-height:190px}.quiz-controls{flex-wrap:wrap}}
@page{size:A4 portrait;margin:12mm}
@media print{body{margin:0;background:#fff;color:#000}.shell,.toast{display:none!important}.print-sheet{display:block!important}.print-sheet .certificate{box-shadow:none;margin:0 auto;width:100%;max-width:none;min-height:252mm;border:6px solid #153e77;outline:1px solid #e3bc6f;outline-offset:-13px;padding:25mm 12mm}.print-sheet .cert-title{font-size:33px}.print-sheet .cert-copy{margin-top:35px}}
