:root{color:#32342c;font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#fffdf5;--surface:#fff;--brand:#4e7915;--brand-hover:#3d6010;--text:#32342c;--heading:#191b17;--muted:#636959;--border:#e7e4da;--selected:#f3faeb;--key:#e5f4d2;--mark:#8ecc3e;background:#fffdf5;font-family:LINE Seed JP,-apple-system,BlinkMacSystemFont,Noto Sans JP,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--heading);font-weight:700}h1{letter-spacing:.02em;font-size:26px}h2{font-size:18px;line-height:1.7}h3{font-size:15px}p{line-height:1.8}svg{flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #ffd43d}h2:focus{outline:none}fieldset{border:0;min-width:0;margin:0;padding:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;max-width:1104px;height:76px;margin:auto;padding:0 40px;display:flex}.brand{letter-spacing:-.7px;align-items:center;gap:9px;font-size:21px;font-weight:800;display:flex}.brand-mark{flex-shrink:0;width:32px;height:32px;display:block}.brand-sub{letter-spacing:-.2px;font-size:17px;font-weight:400}.history-link{min-height:44px;color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex}.header-actions{align-items:center;gap:16px;display:flex}main{min-height:calc(100svh - 76px)}.page{width:min(100% - 48px,960px);margin:auto;padding:48px 0 32px}.page-heading{justify-content:space-between;align-items:end;margin-bottom:30px;display:flex}.set-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.set-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;flex-direction:column;align-items:start;padding:22px;transition:border-color .15s,background .15s;display:flex;box-shadow:0 3px 6px #32342c03}.row{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.icon-button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:#f2f3f0}.set-card>.row{align-items:center;width:100%;margin:0}.set-card h2{overflow-wrap:anywhere;min-height:0;margin:0;font-size:18px;line-height:1.6}.set-meta{color:var(--muted);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:9px;width:100%;margin:12px 0 0;font-size:11px;display:flex}.set-meta span+span{border-left:1px solid var(--border);padding-left:9px}.completed{color:var(--brand);align-items:center;gap:4px;display:inline-flex}.button{background:var(--brand);border:1px solid var(--brand);color:#fff;border-radius:10px;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:12px 20px;font-size:13px;font-weight:700;line-height:1.5;transition:background .15s;display:inline-flex}.button:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}.button.secondary{background:var(--surface);color:var(--brand);border-color:#cbcdc5}.button.secondary:hover:not(:disabled){background:var(--selected);border-color:var(--brand)}.full{width:100%}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:10px}.center{text-align:center}.text-button{color:var(--brand);background:0 0;border:0;justify-content:center;align-items:center;min-height:44px;padding:10px 5px;font-size:13px;display:inline-flex}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:16px;padding:64px 16px;display:flex}.empty h1{font-size:20px}.error,.notice,.success{border-radius:10px;margin:12px 0;padding:14px 16px;font-size:12px;line-height:1.8}.error{color:#a62323;background:#fdeeee}.error .text-button{color:inherit;margin-left:12px}.notice{color:var(--muted);background:#f8f8f6}.success{background:var(--selected);color:var(--brand)}.storage-notice{text-align:center;background:#fff0b3;padding:12px 24px;font-size:12px}.spinner{border:2px solid #cbcdc5;border-top-color:var(--brand);border-radius:50%;width:18px;height:18px;animation:1.2s linear infinite spin;display:inline-block}.spinner.light{border-color:#fff #fff5 #fff5}@keyframes spin{to{transform:rotate(360deg)}}input:not([type=radio]):not([type=checkbox]),textarea,select{background:var(--surface);width:100%;color:var(--text);border:1px solid #cbcdc5;border-radius:9px;min-height:46px;padding:12px;font-size:16px;line-height:1.6}textarea{resize:vertical;display:block}input::placeholder,textarea::placeholder{color:#737967;font-size:14px}label{display:block}input[type=radio],input[type=checkbox]{accent-color:var(--brand);flex-shrink:0;width:19px;height:19px}dialog{border:1px solid var(--border);border-radius:22px;width:min(440px,100% - 32px);max-height:90svh;padding:0;box-shadow:0 20px 100px #191b1720}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#191b1766}.modal-content{padding:22px}.modal-content h2{font-size:16px}.modal-content input{margin-bottom:12px;font-size:12px!important}.qr-image{width:min(100%,280px);margin:12px auto;display:block}.history-list{gap:12px;display:grid}.history-card{border:1px solid var(--border);background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:22px;display:flex}.history-card h2{margin:6px 0}.history-score{color:var(--brand);align-items:baseline;gap:6px;font-size:30px;font-weight:700;display:flex}.history-score small{font-size:12px}.history-score svg{align-self:center;margin-left:12px}.back-link{min-height:44px;color:var(--muted);background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:12px;display:inline-flex}.exam-page{max-width:620px;padding-top:22px}.exam-top{justify-content:space-between;align-items:center;display:flex}.exam-title{margin:22px 0 32px}.exam-title h1{margin-top:10px;font-size:21px;line-height:1.6}.progress-caption{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;display:flex}.progress-caption strong{color:var(--brand)}.progress{background:#e5e7e2;border-radius:10px;height:5px;margin-bottom:26px;overflow:hidden}.progress span{background:var(--mark);border-radius:10px;height:100%;transition:width .25s;display:block}.question-card{border:1px solid var(--border);background:#fff;border-radius:20px;padding:30px}.question-card h2{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:28px;font-size:21px;line-height:1.8}.choices{flex-direction:column;gap:12px;display:flex}.choice{border:1px solid var(--border);cursor:pointer;border-radius:12px;align-items:center;gap:12px;min-height:64px;padding:14px;font-size:14px;line-height:1.7;display:flex;position:relative}.choice input{opacity:0;width:1px;height:1px;position:absolute}.choice:has(input:focus-visible){outline-offset:2px;outline:3px solid #ffd43d}.choice.checked{border-color:var(--brand);background:var(--selected)}.choice-letter{color:var(--muted);background:#f8f8f6;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;display:flex}.checked .choice-letter{color:var(--brand);background:var(--key)}.choice-indicator{border:1px solid #cbcdc5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;margin-left:auto;display:flex}.checked .choice-indicator{background:var(--brand);border-color:var(--brand);color:#fff}.question-actions{gap:12px;margin-top:22px;display:flex}.question-actions .button:last-child{flex:1}.question-actions .previous{width:52px;padding:12px}.skip{color:var(--muted);margin:8px auto;font-size:12px;display:flex}.question-transition{opacity:1;transition:opacity .14s,transform .14s;transform:translateY(0)}.question-transition.leaving{opacity:0;pointer-events:none;transform:translateY(5px)}.field-label{margin-bottom:10px;font-size:12px}.character-count{text-align:right;color:var(--muted);margin-top:8px;font-size:10px}.review h2{margin-bottom:8px}.review-list{margin:20px 0}.review-list button{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;padding:16px 0;font-size:12px;line-height:1.7;display:flex}.review-list button>span:nth-child(2){flex:1}.review-number{color:var(--muted);flex-shrink:0;font-size:12px;font-weight:700}.review-list .completed,.unanswered{white-space:nowrap;font-size:10px}.unanswered{color:#ad5f00}.review>.button{margin-top:14px}.result-page{max-width:600px;padding-top:20px}.result-heading{text-align:center;margin:16px 0 26px}.result-heading h1{font-size:24px}.result-card{border:1px solid var(--border);text-align:center;background:#fff;border-radius:22px;max-width:440px;margin:auto;padding:30px;overflow:hidden}.result-brand{justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:700;display:flex}.result-brand .brand-mark{border-radius:8px;width:25px;height:25px}.result-card h2{overflow-wrap:anywhere;margin:24px 0;font-size:20px}.score-circle{width:188px;height:188px;margin:0 auto 24px;position:relative}.score-circle>div{flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;inset:0}.score-circle strong{color:var(--brand);letter-spacing:-3px;font-size:64px;font-weight:800;line-height:1.3}.score-circle span{color:var(--muted);font-size:12px}.result-summary{color:var(--muted);justify-content:space-between;gap:10px;padding:0;font-size:11px;display:flex}.result-summary strong{color:var(--brand);font-size:15px}.result-actions{gap:12px;max-width:440px;margin:24px auto 0;display:flex}.result-actions .button{flex:1;padding:12px 10px;font-size:12px}.result-actions+p{margin-top:10px}.answer-review{margin-top:44px}.section-heading{justify-content:space-between;align-items:center;margin:24px 0 16px;display:flex}.section-heading h2{font-size:17px}.answer-detail{border:1px solid var(--border);background:#fff;border-radius:12px;margin-bottom:10px;overflow:hidden}.answer-detail summary{cursor:pointer;align-items:center;gap:10px;padding:18px 16px;list-style:none;display:flex}.answer-detail summary::-webkit-details-marker{display:none}.answer-summary-text{flex:1;font-size:12px;line-height:1.8}.grade-badge{color:var(--muted);white-space:nowrap;background:#f2f3f0;border-radius:5px;padding:4px 7px;font-size:10px}.grade-badge.correct{background:var(--key);color:var(--brand)}.grade-badge.partial{color:#ad5f00;background:#fff4e6}.detail-plus{color:var(--muted);font-size:18px}details[open] .detail-plus{transform:rotate(45deg)}.answer-body{padding:0 20px 20px}.answer-body dl{border-top:1px solid var(--border);margin:0;padding-top:18px}.answer-body dt{color:var(--muted);margin-bottom:6px;font-size:10px}.answer-body dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 20px;font-size:13px;line-height:1.9}.explanation{background:var(--selected);border-radius:10px;margin-bottom:12px;padding:16px}.explanation h3{color:var(--brand);margin-bottom:6px;font-size:11px}.explanation p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.bottom-actions{flex-direction:column;align-items:center;gap:10px;margin:24px 0;display:flex}.manage-page{max-width:800px}.manager-toolbar{justify-content:space-between;align-items:center;gap:16px;margin:24px 0;display:flex}.manager-card{border:1px solid var(--border);background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:22px;display:flex}.manager-card h2{margin:8px 0;font-size:17px}.manager-actions{align-items:center;gap:6px;display:flex}.editor-meta,.editor-question{border:1px solid var(--border);background:#fff;border-radius:16px;margin:16px 0;padding:24px}.editor-meta label,.editor-question label{margin-bottom:18px;font-size:12px;line-height:1.8}.editor-meta input,.editor-question input,.editor-question textarea,.editor-question select{margin-top:7px}.checkbox-label{align-items:center;gap:10px;margin-bottom:0!important;display:flex!important}.checkbox-label input{margin:0}.editor-question>.row{margin-bottom:18px}.editor-order{align-items:center;gap:8px;display:flex}.danger-text{color:#a62323}.option-editor{margin-bottom:18px}.option-editor legend{margin-bottom:8px;font-size:12px}.option-editor-row{align-items:center;gap:10px;margin-bottom:8px;display:flex}.option-editor-row input,.option-editor-row input[type=radio]{margin:0}.save-bar{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:16px 0 calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fffdf5f5;margin-top:24px;position:sticky;bottom:0}.save-bar .error{margin-top:0}@media (width>=1100px){.home-page{padding-top:56px}.set-card{padding:22px;transition:border-color .15s,background .15s}}@media (width<=800px){.set-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header{padding:0 24px}}@media (width<=540px){.header{height:64px;padding:0 20px}.brand{font-size:20px}.brand-sub{font-size:15px}.brand-mark{width:29px;height:29px;display:block}.history-link{font-size:11px}.page{width:calc(100% - 40px);padding-top:30px}h1{font-size:23px}.page-heading{margin-bottom:26px}.set-grid{grid-template-columns:1fr;gap:16px}.set-card{padding:22px;transition:border-color .15s,background .15s}.set-card>.row{align-items:center;width:100%;margin:0}.set-card h2{min-height:0;margin:0;font-size:18px}.button{min-height:50px;font-size:13px}.exam-page{padding-top:14px}.exam-title{margin:14px 0 26px}.exam-title h1{font-size:19px}.question-card{border-radius:18px;padding:24px 20px}.question-card h2{margin-bottom:24px;font-size:19px}.choice{gap:10px;padding:13px 12px;font-size:13px}.choice-letter{width:25px;height:25px}.progress{margin-bottom:22px}.result-page{padding-top:14px}.result-card{padding:24px}.result-card h2{margin:24px 0;font-size:18px}.result-heading{margin:8px 0 22px}.result-actions{gap:10px;margin:24px auto 0}.result-actions .button{gap:7px;font-size:11px}.history-card{padding:18px}.history-card h2{font-size:15px}.history-score{font-size:26px}.history-score svg{display:none}.manager-card{flex-direction:column;align-items:start;gap:12px;padding:18px}.manager-actions{align-self:end}.editor-meta,.editor-question{padding:18px}.review-list button{gap:8px}.review-list .completed,.unanswered{font-size:9px}.answer-detail summary{gap:8px;padding:16px 12px}.answer-summary-text{font-size:11px}.grade-badge{font-size:9px}.manager-toolbar>.button{padding:10px 14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.set-card:hover{border-color:var(--brand);background:var(--selected)}.set-card:active{background:var(--key)}.score-circle>svg{width:100%;height:100%;position:absolute;inset:0}.manager-qrs{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:24px;display:flex}
