:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#203c36;background:#fbfcf9;font-synthesis:none;--green:#157765;--muted:#667c73;--line:#e1e8df;--soft:#edf5ed}*{box-sizing:border-box}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e2ae37;outline-offset:4px}.header{max-width:960px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:26px 24px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;font-size:21px;font-weight:750;letter-spacing:.04em}.brand-icon{display:grid;place-items:center;width:42px;height:44px;color:white;background:var(--green);border-radius:14px 14px 14px 3px;font-family:serif;font-size:25px}.brand small{display:block;font-size:10px;letter-spacing:.08em;font-weight:500;color:var(--muted);margin-top:4px}.connection{font-size:11px;color:var(--muted);max-width:120px;text-align:right}main{max-width:740px;margin:0 auto;padding:40px 24px 24px;min-height:65vh}h1{font-size:34px;letter-spacing:.02em;line-height:1.45;margin:8px 0 12px}h2{font-size:21px;margin:0 0 16px}p{line-height:1.85}.eyebrow{color:var(--green);font-size:11px;font-weight:700;letter-spacing:.15em}.muted,.intro{color:var(--muted);font-size:14px}.hero{position:relative;padding:0 0 24px}.hero h1{max-width:480px}.leaf{position:absolute;right:8px;top:20px;display:grid;place-items:center;width:100px;height:115px;background:#e9f1d9;border-radius:65% 10% 60% 20%;transform:rotate(10deg);color:var(--green);font-family:serif;font-size:52px}.daily{padding:27px 28px;background:var(--green);color:white;border-radius:22px;position:relative;overflow:hidden;margin-bottom:24px}.daily .eyebrow{color:#c4e4cd}.daily h2{font-size:26px;margin:12px 0 5px}.daily p{font-size:13px;color:#d6eae0;margin:0 0 22px}.daily .primary{background:white;color:#145e50;width:100%}.daily-meta{position:absolute;right:28px;top:29px;border:1px solid #6aab97;border-radius:20px;padding:7px 12px;font-size:12px}.primary,.secondary{border:0;border-radius:13px;padding:17px 22px;font-weight:700;font-size:16px;min-height:54px;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;gap:10px}.primary{background:var(--green);color:white}.primary:hover{filter:brightness(.96)}.secondary{background:var(--soft);color:var(--green)}.full{width:100%}.cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card{padding:22px;border:1px solid var(--line);border-radius:17px;background:white;text-align:left;color:inherit;min-height:135px}.card:hover{border-color:#6fa08e}.card .symbol{display:block;font-size:22px;color:var(--green);margin-bottom:12px}.card strong{display:block;font-size:16px}.card small{display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.6}.section{margin-top:30px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.section-title h2{font-size:16px;margin:0}.text-link{background:none;border:0;color:var(--green);font-size:12px;text-decoration:none;padding:8px}.stats{display:flex;gap:8px;background:white;border:1px solid var(--line);padding:20px 8px;border-radius:17px}.stat{flex:1;text-align:center}.stat+.stat{border-left:1px solid var(--line)}.stat strong{display:block;font-size:24px;font-variant-numeric:tabular-nums}.stat small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.bar{height:7px;background:#e8eee5;border-radius:10px;overflow:hidden;margin:15px 0}.bar span{display:block;height:100%;background:#67a36e;border-radius:10px}.caption{font-size:12px;color:var(--muted);line-height:1.8}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;margin:18px 0}.quiz-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px}.quiz-top button{background:none;border:0;color:var(--muted);padding:12px 0 12px 12px;min-height:44px}.question{padding:36px 12px 32px;min-height:190px;display:flex;align-items:center;justify-content:center}.sentence{font-size:27px;line-height:2;letter-spacing:.04em;font-weight:600;text-align:center;margin:0;overflow-wrap:anywhere}.target{color:var(--green);background:#eef5e8;border-bottom:3px solid #92b879;padding:3px 4px;border-radius:4px}.choices{display:grid;gap:12px}.choice{width:100%;text-align:left;display:flex;align-items:center;gap:18px;padding:18px;border:1.5px solid #dce5dd;background:white;border-radius:14px;min-height:66px;font-size:21px;color:#203c36;font-weight:600}.choice .number{width:27px;height:27px;display:grid;place-items:center;background:#f1f4ee;border-radius:8px;font-size:12px;color:var(--muted);flex:none}.choice:hover:not(:disabled){border-color:var(--green);background:#f7fbf5}.choice.correct{background:#eaf6ee;border-color:#34875f;color:#1f6645}.choice.wrong{background:#fff0eb;border-color:#d26f5a;color:#a83d2a}.choice.dim{opacity:.5}.feedback{margin-top:20px;padding:22px;background:#eaf6ee;border-radius:16px;border:1px solid #b4d6bd}.feedback.error{background:#fff2ed;border-color:#f1c6ba}.feedback h2{font-size:21px;margin:0 0 14px}.reading-pair{display:flex;align-items:center;justify-content:center;gap:17px;font-size:23px;line-height:1.8;font-weight:700;flex-wrap:wrap}.reading-pair .answer{color:#146c51;font-size:28px}.feedback .sentence-read{font-size:16px;line-height:1.9;text-align:center;margin:14px 0 0}.sentence-read b{background:#fff;padding:2px 5px;color:#12644b;border-radius:5px}.feedback .primary{margin-top:20px;width:100%}.result{text-align:center;padding:24px 0}.result-medal{font-size:46px;color:var(--green);width:100px;height:100px;margin:auto;background:var(--soft);border-radius:50%;display:grid;place-items:center}.score{font-size:58px;font-weight:750;margin:20px 0 0;letter-spacing:-.04em}.score small{font-size:20px;color:var(--muted);letter-spacing:0}.result-list{list-style:none;padding:0;text-align:left}.result-list li{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.result-list b{min-width:70px}.result-list .miss{color:#b74632}.actions{display:flex;gap:12px;margin-top:20px}.actions>*{flex:1}.back{display:inline-flex;color:var(--muted);text-decoration:none;font-size:13px;margin-bottom:18px;padding:8px 0}.empty{text-align:center;padding:32px 12px;color:var(--muted);line-height:1.9}.history-item{padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.history-item small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.grid-kanji{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:7px;margin-top:20px}.kanji-cell{display:grid;place-items:center;min-height:44px;font-size:21px;background:#f0f3ed;border:1px solid var(--line);border-radius:7px;position:relative}.kanji-cell.seen{background:#e0f1e5;color:#18613f;border-color:#8fb99b}.kanji-cell.weak{background:#fff0df;color:#8f4e0e;border-color:#e3bc86}.filters{display:flex;gap:10px;flex-wrap:wrap}.filters input,.filters select{border:1px solid var(--line);background:white;padding:12px;border-radius:10px;min-height:46px;min-width:0}.filters input{flex:1}.legend{display:flex;gap:15px;font-size:12px;color:var(--muted);margin-top:15px;flex-wrap:wrap}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;background:#e0f1e5}.legend i.weak{background:#ffdfba}.legend i.unseen{background:#eef0e9}.about p,.about li{font-size:14px;line-height:1.9}.about ul{padding-left:20px}.about a{overflow-wrap:anywhere}.storage-warning{background:#fff0df;padding:13px;border-radius:10px;color:#814610;font-size:13px;line-height:1.8}.install{font-size:12px;border:1px dashed #b7cbbc;padding:16px;border-radius:13px;line-height:1.9;color:var(--muted);margin-top:24px}.loading{padding:70px 0;text-align:center;color:var(--muted)}footer{max-width:740px;margin:24px auto;padding:20px 24px calc(24px + env(safe-area-inset-bottom));text-align:center;color:#849086;font-size:10px;line-height:2.1}footer a{color:inherit}#notice:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#203c36;color:white;box-shadow:0 5px 20px #0002;padding:14px 20px;border-radius:14px;z-index:9;width:max-content;max-width:90%;font-size:13px}main:focus{outline:none}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:700px){main{padding-top:48px}.cards{grid-template-columns:repeat(4,1fr)}.card{padding:19px 16px}.daily{padding:30px}.daily .primary{width:240px}.question{min-height:210px}.choices{grid-template-columns:1fr 1fr}.leaf{right:48px}h1{font-size:39px}}@media(max-width:420px){.header{padding:20px}main{padding:30px 20px 20px}h1{font-size:29px}.leaf{width:74px;height:86px;right:0;font-size:42px}.hero h1{max-width:245px}.daily{padding:23px}.daily-meta{right:22px;top:24px}.sentence{font-size:24px}.question{padding:27px 0;min-height:174px}.card{padding:19px}.choice{font-size:20px}.panel{padding:20px}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s,border-color .12s}.feedback{animation:appear .18s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
.review-mode{display:flex;align-items:center;justify-content:space-between;gap:16px}.review-mode h2{font-size:19px;margin:0 0 5px}.review-mode p{margin:0}.review-mode .secondary{font-size:13px;white-space:nowrap}.stats .stat:first-child strong{font-size:22px}@media(max-width:520px){.review-mode{display:block}.review-mode .secondary{margin-top:15px;width:100%}.stats .stat:first-child strong{font-size:18px}}
.example-list{padding-left:24px}.example-list li{padding:8px 0 16px;border-bottom:1px solid var(--line)}.example-list p{margin:0 0 5px;font-size:17px;line-height:1.9}.example-list small{color:var(--green);font-size:14px}.example-list .target{font-weight:700}#close-detail{margin-top:12px}.update-status{position:sticky;top:0;z-index:10;max-width:740px;margin:auto;padding:12px 20px;background:#fff3cf;font-size:13px}.update-status:not([hidden]){display:flex;align-items:center;gap:12px;justify-content:space-between}.update-status button{padding:10px 14px;font-size:13px;min-height:44px}
/* 悠希くんの漢字チャレンジ：明るい青と黄色の冒険ノート。 */
:root{color:#243852;background:#f5f8ff;--green:#2463cf;--muted:#63738b;--line:#dce5f2;--soft:#eaf1ff;font-family:"Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN",-apple-system,BlinkMacSystemFont,sans-serif}.header{background:#fff;border-bottom:2px solid #e5edfb;border-radius:0 0 24px 24px;gap:12px}.brand{letter-spacing:0;font-size:21px;gap:11px;min-width:0}.brand-icon{background:#2463cf;color:#fff;border-radius:15px;box-shadow:0 4px 0 #164995;flex:none;font-family:inherit;font-weight:800}.brand-name{line-height:1.4}.brand-grade{font-size:17px}.brand small{font-size:10px;color:#657b9b}.connection{color:#496583;flex:none;font-size:10px;max-width:100px}.hero{isolation:isolate;padding:12px 0 30px}.hero-tag{display:inline-block;background:#fff0b7;color:#76540d;padding:8px 13px;border-radius:30px;font-size:11px;letter-spacing:.04em}.hero h1{font-size:39px;line-height:1.5;letter-spacing:0;color:#203f76;max-width:520px;margin-top:17px;position:relative;z-index:1}.hero .intro{color:#526b91;line-height:1.9;font-size:14px}.challenge-mascot{position:absolute;right:2px;bottom:35px;width:115px;height:115px;background:#dcecff;border:6px solid #fff;border-radius:50%;box-shadow:0 6px 0 #c3d8fa;transform:rotate(8deg);z-index:0;display:grid;place-items:center}.challenge-mascot>span{font-size:58px;transform:rotate(-8deg)}.challenge-mascot i{position:absolute;right:-12px;top:-15px;font-size:32px;font-style:normal;color:#e4a41a}.challenge-mascot b{position:absolute;left:-17px;bottom:0;font-size:22px;color:#df970d}.daily{background:#2463cf;border:2px solid #2463cf;box-shadow:0 7px 0 #17499b;border-radius:24px;margin-bottom:32px}.daily .eyebrow{color:#e3ecff;font-size:12px;letter-spacing:.08em}.daily-meta{background:#ffe38a;border:0;color:#6b4700;font-weight:750}.daily h2{font-size:29px;color:#fff}.daily p{color:#eef4ff;font-size:13px}.daily .primary{background:#ffe28a;color:#654400;box-shadow:0 4px 0 #dbac39;border:2px solid #ffebaa;border-radius:16px;font-size:18px;min-height:59px}.daily .primary:hover{background:#ffdd71;filter:none}.primary{box-shadow:0 3px 0 #17499b}.secondary{box-shadow:0 3px 0 #cfddf4}.card{border:2px solid #e0e9f7;box-shadow:0 4px 0 #e0e9f7;border-radius:20px}.card .symbol{display:grid;place-items:center;width:38px;height:38px;background:#eaf1ff;border-radius:12px;font-size:24px}.card:nth-child(2) .symbol{background:#fff1cf;color:#8b6100}.card:nth-child(3) .symbol{background:#e7f6ef;color:#207457}.card:nth-child(4) .symbol{background:#f1eaff;color:#7951ba}.card strong{color:#2b456b}.card:hover{border-color:#93b5f0}.review-mode{border:2px dashed #bfd2f2;background:#fff}.review-mode h2{color:#2b456b}.quest-progress{display:flex;align-items:center;gap:12px;background:#fff7dc;border:2px solid #f2dea1;border-radius:18px;padding:18px;margin:0 0 26px}.quest-star{font-size:32px;color:#a87100;flex:none}.quest-progress strong{font-size:14px;color:#76540d}.quest-progress p{font-size:11px;color:#8a6b2d;margin:5px 0 0}.quest-count{margin-left:auto;white-space:nowrap;color:#8c6005;font-size:25px;font-weight:800}.quest-count small{font-size:10px}.bar span{background:#4c83dd}.target{color:#174da1;background:#eaf1ff;border-color:#85aae6}.choice{border:2px solid #dce5f2;box-shadow:0 3px 0 #e0e7f2;border-radius:17px;color:#243852}.choice .number{background:#eef3ff;color:#486da7}.choice:hover:not(:disabled){background:#f1f6ff}.choice.correct{box-shadow:0 3px 0 #b9ddc5}.choice.wrong{box-shadow:0 3px 0 #f2c5b9}.result-medal{background:#fff0bd;color:#8b6000;font-family:inherit}.result-medal:after{content:'★';font-size:30px}.result-medal{font-size:28px;gap:0}.kanji-cell{background:#fff}.kanji-cell.seen{background:#e0f1e5}footer{color:#6a7c95}@media(max-width:699px){.brand-grade{display:block;font-size:15px}.hero h1{font-size:32px;max-width:100%;padding-right:0}.challenge-mascot{width:85px;height:85px;bottom:34px;right:0}.challenge-mascot>span{font-size:43px}.hero .intro{padding-right:88px;font-size:12px}.daily .primary{width:100%}}@media(max-width:420px){.header{padding:18px 16px}.brand{font-size:19px}.brand-grade{font-size:14px}.brand small{font-size:9px}.connection{font-size:9px;max-width:76px}.hero h1{font-size:29px}.hero-tag{font-size:10px}.daily{padding:22px}.daily h2{font-size:26px}.daily p{font-size:12px}.daily-meta{right:18px;top:23px;font-size:10px;padding:6px 9px}.quest-progress{padding:15px 12px;gap:9px}.quest-progress strong{font-size:12px}.quest-count{font-size:21px}.quest-star{font-size:25px}}@media(max-width:350px){.hero h1{font-size:25px}.hero .intro{font-size:11px}.challenge-mascot{width:68px;height:68px}.challenge-mascot>span{font-size:33px}.brand{gap:8px}.brand-icon{width:35px;height:39px;font-size:22px}.brand-name{font-size:17px}.brand-grade{font-size:12px}.connection{max-width:61px;font-size:8px}.quest-count small{display:block}.quest-progress p{font-size:10px}}@media(prefers-reduced-motion:no-preference){.primary:active,.card:active{transform:translateY(2px);box-shadow:none}.challenge-mascot{animation:rocket-in .5s ease-out}@keyframes rocket-in{from{opacity:0;transform:translateY(10px) rotate(8deg)}to{opacity:1;transform:translateY(0) rotate(8deg)}}}
