:root{--ink:#233449;--muted:#718095;--pink:#a8496b;--rose:#f7e8ee;--line:#dfe5ec;--bg:#f6f7fa;--soft:#f1f4f7;--success:#168078;--danger:#bd4865;--shadow:0 8px 30px rgba(32,55,79,.04)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.72 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.54}a{color:inherit;text-decoration:none}.wrap{max-width:1020px;margin:auto;padding:0 28px}.sitehead{position:sticky;top:0;z-index:15;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.head-in{height:76px;max-width:1180px;margin:auto;padding:0 26px;display:flex;align-items:center;gap:19px}.btn-icon{border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#fff;font-size:22px;min-width:42px;height:42px;line-height:1}.wordmark{display:flex;align-items:center;gap:12px;white-space:nowrap}.mark{width:42px;height:42px;background:var(--ink);border-radius:12px;color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:26px;font-weight:bold}.mark span{color:#eda5bd}.brand-wrap{display:flex;flex-direction:column;line-height:1.23}.brand-wrap b{font-size:21px;letter-spacing:.01em}.brand-wrap small{font-size:9px;color:#8795a7;letter-spacing:.19em;margin-top:4px}.top-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.demo-pill,.sales-badge{font-size:12px;background:#f6e7ec;color:#9d4261;padding:6px 11px;border-radius:100px;white-space:nowrap;font-weight:700}.btn{border:1px solid transparent;border-radius:13px;padding:12px 19px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:12px;text-align:center;transition:transform .14s,filter .14s}.btn:not(:disabled):hover{transform:translateY(-1px);filter:brightness(.97)}.btn-sm{padding:8px 13px;font-size:13px}.btn-primary{background:var(--pink);color:white}.btn-outline{background:#fff;color:var(--ink);border-color:#d8e0e9}.btn-light{background:#f5f6f9;color:var(--ink);border-color:var(--line)}.btn-wide{width:100%}.drawer{position:fixed;top:0;bottom:0;left:0;width:min(330px,86vw);background:white;z-index:30;transform:translateX(-102%);transition:transform .22s;box-shadow:15px 0 50px #21344915;padding:25px;display:flex;flex-direction:column;gap:8px}.drawer.open{transform:translateX(0)}.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;font-size:21px}.drawer>button{border:0;border-radius:12px;text-align:left;background:white;color:var(--ink);font-weight:650;padding:15px}.drawer>button:hover{background:var(--soft)}.drawer-note{margin-top:auto;border-top:1px solid var(--line);padding-top:17px;font-size:12px;line-height:1.9;color:var(--muted)}.scrim{position:fixed;inset:0;background:#12223885;z-index:25}.view{padding:40px 0 75px}.intro{border-radius:28px;padding:58px 60px 50px;background:linear-gradient(115deg,#fff 50%,#f8edf1);border:1px solid #e9e4e9;position:relative;overflow:hidden}.intro:after{content:"";position:absolute;width:260px;height:260px;border:32px solid rgba(169,73,107,.06);border-radius:50%;right:-90px;top:-100px;pointer-events:none}.eyebrow{color:var(--pink);font-size:12px;font-weight:850;letter-spacing:.19em;margin-bottom:13px}.intro h1{font-size:clamp(28px,4.1vw,46px);line-height:1.5;margin:0 0 15px;letter-spacing:.02em}.intro p{color:#718096;margin:0 0 25px;font-size:16px;max-width:490px}.intro-actions,.result-actions{display:flex;gap:10px;flex-wrap:wrap}.intro-foot{font-size:11px;color:#9299a9;margin-top:27px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:19px}.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:21px}.stat-label{font-size:12px;color:var(--muted);font-weight:700}.stat-value{font-size:28px;line-height:1.25;margin-top:7px;font-weight:800;letter-spacing:-.02em}.stat-unit{font-size:13px;font-weight:600;color:var(--muted);margin-left:4px}.section-heading{margin:45px 2px 19px;display:flex;justify-content:space-between;align-items:end;gap:15px}.section-heading h2,.section-top h1{font-size:29px;line-height:1.4;margin:0}.section-heading .eyebrow{margin:0 0 5px}.muted{color:var(--muted)}.tiny{font-size:12px}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.feature{border:1px solid var(--line);border-radius:20px;background:#fff;text-align:left;padding:26px;box-shadow:var(--shadow)}.feat-icon{width:47px;height:47px;border-radius:13px;background:#f8edf0;color:var(--pink);display:grid;place-items:center;font-size:25px;font-weight:bold}.feature h3{font-size:21px;margin:12px 0 4px}.feature p{font-size:14px;color:var(--muted);margin:0 0 16px}.feature-link{font-size:14px;color:var(--pink);font-weight:750}.chapter-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.chapter-card{border:1px solid var(--line);border-radius:15px;background:white;padding:17px 20px;display:flex;align-items:center;gap:12px;min-width:0}.chapter-number{color:var(--pink);font-size:12px;letter-spacing:.07em;white-space:nowrap;font-weight:800}.chapter-name{font-size:14px;font-weight:700;flex:1}.chapter-count{font-size:11px;color:var(--muted);white-space:nowrap}.small-note{font-size:12px;color:var(--muted);line-height:1.8}.section-top{margin-bottom:26px}.section-top h1{font-size:34px}.section-top p{color:var(--muted);margin:9px 0 0}.panel{background:white;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:var(--shadow)}.setup-panel{display:flex;flex-direction:column;max-width:680px}.setup-panel label{font-weight:750;font-size:14px;margin:0 0 9px}.setup-panel select{appearance:auto;width:100%;background:#fff;border:1px solid #ccd7e2;border-radius:11px;color:var(--ink);height:55px;padding:0 13px;margin-bottom:26px}.helper{font-size:12px;color:var(--muted);margin:0 0 17px}.quiz-status{display:flex;justify-content:space-between;font-size:14px;color:var(--muted);font-weight:750}.quiz-status span:last-child{color:var(--success)}.progressbar{height:7px;background:#e4e9ed;border-radius:10px;margin:14px 0 21px;overflow:hidden}.progressbar div{height:100%;width:0%;background:var(--success);transition:width .2s}.quiz-card{max-width:800px}.q-category{color:var(--pink);font-size:13px;font-weight:800;letter-spacing:.04em}.quiz-card h2{font-size:clamp(21px,3vw,29px);line-height:1.55;margin:19px 0 12px}.question-desc{font-size:13px;color:var(--muted);margin-bottom:20px}.choices{display:flex;flex-direction:column;gap:10px}.choice{background:#fff;display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:13px;text-align:left;color:var(--ink);font-weight:650;min-height:66px}.choice-id{width:35px;height:35px;flex-shrink:0;border-radius:9px;background:#f1f4f7;display:grid;place-items:center;color:#65778b;font-weight:750}.choice.correct{border-color:#79c7bf;background:#e8f7f4;color:#116b64}.choice.correct .choice-id{background:#168078;color:white}.choice.incorrect{border-color:#e2a7b7;background:#faedf1;color:#a63f61}.choice.incorrect .choice-id{background:#b54e6c;color:white}.choice.dimmed{opacity:.56}.feedback{border-radius:14px;background:#ecf8f5;padding:18px 21px;margin-top:20px;border:1px solid #bee4db}.feedback.error{background:#fff0f2;border-color:#f4c9d3}.feedback strong{display:block;margin-bottom:7px}.feedback p{font-size:14px;margin:8px 0}.quiz-foot{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.textbutton{border:none;background:none;color:var(--muted);margin-top:15px;font-size:13px;font-weight:700}.result-card{text-align:center;max-width:650px;margin:auto}.result-number{font-size:65px;color:var(--pink);font-weight:800}.result-actions{justify-content:center;margin-top:25px}.tabs{background:white;border:1px solid var(--line);border-radius:16px;display:flex;gap:4px;padding:5px;margin-bottom:21px}.tab{flex:1;border:0;background:white;color:var(--muted);border-radius:11px;padding:12px 7px;font-size:14px;font-weight:750}.tab span{font-size:12px}.tab.active{background:var(--ink);color:white}.review-group{border:1px solid var(--line);border-radius:15px;background:#fff;margin-bottom:10px;overflow:hidden}.review-group>button{border:0;background:white;color:var(--ink);padding:18px 22px;display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;font-weight:750}.review-group>button small{color:var(--muted);font-size:12px}.review-detail{padding:0 22px 20px;border-top:1px solid #edf0f4;display:flex;gap:14px;align-items:center;justify-content:space-between}.review-detail p{font-size:13px;color:var(--muted)}.empty{color:var(--muted);text-align:center;padding:40px 16px;font-size:14px;background:white;border:1px solid var(--line);border-radius:15px}.history-panel{margin-top:20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h2{font-size:20px;margin:0 0 20px}.table-scroller{overflow:auto}.history-table{border-collapse:collapse;text-align:left;width:100%;white-space:nowrap;font-size:13px}.history-table th{color:var(--muted);font-size:12px;background:#f6f8fa;padding:12px 10px}.history-table td{border-bottom:1px solid #e9edf2;padding:15px 10px}.history-table tr:last-child td{border-bottom:0}.correct-text{color:var(--success);font-weight:700}.wrong-text{color:var(--danger);font-weight:700}.note-panel{margin-top:18px;background:#f9fbfd}.note-panel h3{margin:0 0 5px;font-size:16px}.note-panel p{margin:0;color:var(--muted);font-size:13px}.sales-panel{max-width:710px}.sales-panel h2{font-size:27px;line-height:1.5;margin:16px 0}.sales-panel>p{color:var(--muted)}.price{display:flex;gap:18px;align-items:baseline;border-block:1px solid var(--line);padding:18px 0;margin:18px 0}.price strong{font-size:40px}.price span{color:var(--muted);font-size:13px}.sales-list{margin-bottom:24px}.sales-list div{padding:6px 0;font-size:14px}.sitefoot{background:#fff;border-top:1px solid var(--line)}.foot-in{padding-top:23px;padding-bottom:23px;display:flex;gap:20px;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.foot-in b{color:var(--ink)}
@media(max-width:680px){.wrap{padding-inline:17px}.head-in{height:66px;padding:0 14px;gap:11px}.brand-wrap b{font-size:17px}.brand-wrap small{font-size:7px}.mark{width:36px;height:36px;font-size:24px}.top-actions .demo-pill{display:none}.top-actions .btn{font-size:11px;padding:8px 9px}.sitehead .btn-icon{width:38px;height:38px;min-width:38px}.view{padding-top:25px}.intro{padding:36px 25px 31px;border-radius:20px}.intro h1{font-size:29px}.intro p{font-size:14px}.intro-actions .btn{font-size:14px}.stats-row{grid-template-columns:repeat(2,1fr);gap:9px}.stat{padding:15px}.stat-value{font-size:25px}.section-heading{margin-top:35px}.section-heading h2{font-size:24px}.feature-grid{gap:10px}.feature{padding:17px}.feature h3{font-size:17px}.feature p{font-size:12px}.feature-link{font-size:12px}.chapter-grid{grid-template-columns:1fr}.panel{padding:20px}.section-top h1{font-size:29px}.section-top p{font-size:13px}.quiz-card h2{font-size:22px}.choice{min-height:59px;padding:10px;gap:10px;font-size:14px}.quiz-foot{flex-wrap:wrap}.quiz-foot .btn{flex:1;font-size:13px;padding:12px 8px}.tabs{flex-wrap:wrap}.tab{font-size:12px;padding:12px 4px}.review-group>button{padding:15px}.review-detail{padding:0 15px 17px}.review-detail .btn{font-size:12px;white-space:nowrap;padding:9px 12px}.panel-heading{align-items:start;flex-direction:column}.panel-heading h2{margin-bottom:4px}.history-table{font-size:12px}.history-table td,.history-table th{padding:11px 7px}.sales-panel h2{font-size:23px}.foot-in{flex-wrap:wrap;gap:6px;justify-content:flex-start}}
