/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.static{position:static}.table{display:table}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.p-1{padding:var(--spacing)}}:root{--bg:#f7f3ea;--ink:#241f1a;--ink-soft:#6f6658;--line:#241f1a1f;--card:#fffdf8;--ok:#2e7d4f;--bad:#b3261e;--accent:#ff7a3d;--on-accent:#241f1a;--subject-bg:#f7f3ea;--subject-soft:#fffdf8;--subject-text:#241f1a;--body:system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;--tabbar-h:64px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{font-family:var(--body);color:var(--ink);background:var(--bg);font-size:16px;line-height:1.6}button,input,select{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--subject-text);outline-offset:2px}.stage{background:var(--subject-soft);justify-content:center;min-height:100dvh;display:flex}.phone{background:var(--bg);flex-direction:column;width:100%;max-width:960px;min-height:100dvh;display:flex;position:relative}.header{z-index:5;background:var(--subject-bg);border-bottom:2px solid var(--ink);align-items:center;gap:8px;min-height:56px;padding:8px 12px;display:flex;position:sticky;top:0}.header.compact{justify-content:center}.header .brand{flex:1;font-weight:800}.header.compact .brand{flex:0 auto}.header .hd-right{align-items:center;gap:6px;display:inline-flex}.header.compact .hd-right{position:absolute;top:50%;right:10px;transform:translateY(-50%)}.brand-icon{flex:none;width:30px;height:30px}.icon-btn{border:2px solid var(--ink);background:var(--card);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;min-width:40px;min-height:40px;text-decoration:none;display:inline-flex}.hd-lang,.hd-prof{border:2px solid var(--ink);background:var(--card);cursor:pointer;border-radius:999px;min-height:36px;font-size:.84rem;font-weight:800}.hd-lang{padding:3px 10px}.hd-prof{align-items:center;gap:6px;padding:2px 10px 2px 2px;display:inline-flex}.hd-prof-label{text-overflow:ellipsis;white-space:nowrap;max-width:34vw;display:inline-block;overflow:hidden}.avatar{width:40px;height:40px;color:var(--card);border:2px solid var(--ink);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:800;display:flex}.avatar.sm{width:28px;height:28px;font-size:.8rem}.content{padding:16px 16px calc(var(--tabbar-h) + 24px);flex:1}.content.no-tabs{padding-bottom:24px}.maxw{flex-direction:column;gap:12px;max-width:640px;margin:0 auto;display:flex}.box,.study-card{border:2px solid var(--ink);background:var(--card);box-shadow:2px 3px 0 var(--line);border-radius:14px;padding:12px 14px}.center{text-align:center}.muted{color:var(--ink-soft)}.catch{margin:8px 0 0;font-size:1.5rem}.about-title{margin:0 0 4px;font-size:1.3rem;font-weight:800;line-height:1.35}.about-subtitle{margin:0 0 6px;font-size:1.05rem;font-weight:800;line-height:1.4}.notice{background:var(--subject-soft);border:2px solid var(--subject-text);border-radius:12px;margin:0;padding:10px 12px}.cta{text-align:center;border:2px solid var(--ink);background:var(--accent);width:100%;color:var(--on-accent);cursor:pointer;box-shadow:2px 3px 0 var(--line);border-radius:14px;padding:12px 16px;font-weight:800;text-decoration:none;display:block}.cta:disabled{opacity:.55;cursor:default}.link-btn{color:var(--subject-text);cursor:pointer;background:0 0;border:none;padding:4px 0;font-weight:700;text-decoration:underline}.chip{border:2px solid var(--ink);background:var(--card);cursor:pointer;border-radius:999px;align-items:center;gap:4px;min-height:40px;padding:6px 12px;font-weight:700;display:inline-flex}.chip.on,.chip[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.chip.on:before,.chip[aria-pressed=true]:before{content:"✓"}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.tag.accent{background:var(--accent);color:var(--on-accent);border-radius:999px;padding:1px 8px;font-size:.8rem;font-weight:800}.swatch{border:2px solid var(--ink);width:40px;height:40px;color:var(--card);cursor:pointer;border-radius:50%;font-weight:800}.swatch.on{outline:3px solid var(--ink);outline-offset:2px}.mypage-section{flex-direction:column;gap:8px;display:flex}.mypage-link{border:2px solid var(--ink);background:var(--card);text-align:left;cursor:pointer;border-radius:14px;align-items:center;gap:10px;width:100%;padding:10px 12px;text-decoration:none;display:flex}.mypage-link .tx,.mypage-link>span:nth-child(2){flex-direction:column;flex:1;display:flex}.mypage-link small{color:var(--ink-soft)}.profile-row{align-items:center;gap:8px;display:flex}.form-label{margin:8px 0 4px;font-weight:800;display:block}.input{border:2px solid var(--ink);background:var(--card);border-radius:12px;width:100%;padding:10px 12px}.edit{flex-direction:column;gap:6px;display:flex}.danger{border-top:2px dashed var(--line);margin-top:16px;padding-top:12px}.volatile-banner{background:var(--subject-soft);border-bottom:2px solid var(--subject-text);align-items:center;gap:8px;margin:0;padding:8px 12px;display:flex}.study-head{justify-content:space-between;align-items:center;display:flex}.study-quit{text-align:center}.home-count{font-size:1.2rem;font-weight:800}.word-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.word-list li{border-bottom:1px solid var(--line);justify-content:space-between;gap:8px;padding:6px 0;display:flex}.stats-cards{grid-template-columns:1fr 1fr;gap:8px;display:grid}.stats-cards b{font-size:1.3rem;display:block}.stats-week{grid-template-columns:repeat(7,1fr);align-items:end;gap:4px;height:140px;margin:0;padding:0;list-style:none;display:grid}.stats-week li{flex-direction:column;justify-content:flex-end;align-items:center;height:100%;font-size:.8rem;display:flex}.stats-bar{background:var(--accent);border:1px solid var(--ink);border-radius:4px 4px 0 0;width:70%;min-height:2px}.stats-types{margin:0;padding:0;list-style:none}.stats-types li{border-bottom:1px solid var(--line);justify-content:space-between;padding:4px 0;display:flex}.tr-msg{border:2px solid var(--ink);border-radius:12px;margin:0;padding:8px 12px}.tr-msg.ok:before{content:"○ "}.tr-msg.ng:before{content:"× "}.bottom-tabs{width:100%;max-width:960px;height:var(--tabbar-h);background:var(--card);border-top:2px solid var(--ink);z-index:6;padding-bottom:env(safe-area-inset-bottom);display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-tab{cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;font-size:.75rem;display:flex}.bottom-tab.on{background:var(--subject-bg);box-shadow:inset 0 4px 0 var(--accent)}.sb-backdrop,.sheet-backdrop{z-index:20;background:#241f1a59;border:none;position:fixed;inset:0}.sb-backdrop{opacity:0;pointer-events:none}.sb-backdrop.on{opacity:1;pointer-events:auto}.sidebar{background:var(--card);border-left:2px solid var(--ink);z-index:21;flex-direction:column;width:min(320px,86vw);transition:transform .2s;display:flex;position:fixed;top:0;bottom:0;right:0;transform:translate(100%)}.sidebar.on{transform:none}.sb-head{border-bottom:2px solid var(--ink);align-items:center;gap:8px;padding:10px 12px;display:flex}.sb-body{flex-direction:column;flex:1;display:flex;overflow:auto}.sb-item{border:none;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:10px;width:100%;padding:12px 14px;text-decoration:none;display:flex}.sb-item .tx{flex:1}.sb-footer{color:var(--ink-soft);margin-top:auto;padding:12px 14px;font-size:.8rem}.sheet{background:var(--card);border:2px solid var(--ink);z-index:21;border-radius:18px 18px 0 0;width:min(640px,100%);max-height:80dvh;position:fixed;bottom:0;left:50%;overflow:auto;transform:translate(-50%)}.sheet .handle{background:var(--line);border:none;border-radius:3px;width:48px;height:6px;margin:6px auto;display:block}.sheet .head{align-items:center;padding:0 14px;display:flex}.sheet .grow{flex:1}.sheet .body{flex-direction:column;gap:8px;padding:8px 14px 20px;display:flex}.sheet-close{cursor:pointer;background:0 0;border:none;min-width:40px;min-height:40px;font-size:1.4rem}.draft-lang-note{color:var(--ink-soft);text-align:center;margin:16px 0 0;font-size:.8rem}.pf-root{flex-direction:column;gap:12px;width:100%;display:flex}.pf-controls{flex-direction:column;gap:8px;display:flex}.pf-sheets{flex-direction:column;gap:16px;display:flex}.pf-sheet{color:#000;border:2px solid var(--line);background:#fff;border-radius:12px;padding:14px}.pf-head{justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px;display:flex}.pf-head h2{margin:0;font-size:1.15rem}.pf-name{text-align:right;border-bottom:1px solid #000;min-width:12em}.pf-foot{color:#444;margin-top:10px;font-size:.72rem}.pf-fit table{width:100%}@media print{@page{size:A4;margin:12mm}html,body,.stage,.phone{background:#fff!important;min-height:0!important}.header,.bottom-tabs,.volatile-banner,.sidebar,.sb-backdrop,.no-print,.draft-lang-note,.study-quit{display:none!important}.content{padding:0!important}.maxw{max-width:none!important}.pf-sheets{gap:0}.pf-sheet{-webkit-print-color-adjust:exact;print-color-adjust:exact;border:none;border-radius:0;padding:0}.pf-sheet+.pf-sheet,.pf-answers{break-before:page}.pf-fit{break-inside:avoid;font-size:.82rem}.pf-fit table{border-collapse:collapse;font-size:.8rem}.pf-fit th,.pf-fit td{padding:1px 3px}.pf-fit tr,.pf-fit li{break-inside:avoid}}.notices-page .about-subtitle{margin-top:1.25rem}.notices-link{color:var(--subject-text);text-underline-offset:2px;font-weight:700;text-decoration:underline}.notices-list{margin:.5rem 0 1rem;padding-left:1.25rem}.notices-list li{overflow-wrap:anywhere;margin:.25rem 0}.notices-name{font-weight:600}.about-notices{margin-top:1.5rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}.jp-map-wrap{width:100%;max-width:640px;margin:8px auto 0;position:relative}.jp-map{touch-action:manipulation;width:100%;height:auto;display:block}.pref{fill:var(--card);stroke:var(--ink);stroke-width:1.2px;vector-effect:non-scaling-stroke}.pref.tone-dim{fill:var(--bg);stroke:var(--line)}.pref.tone-learning{fill:var(--subject-soft)}.pref.tone-mastered{fill:var(--accent)}.pref.tone-weak{stroke-width:2.5px;stroke-dasharray:4 3}.pref.tone-target,.pref.tone-right{fill:var(--accent);stroke-width:2.5px}.pref.tone-wrong{stroke-width:2.5px;stroke-dasharray:2 2}.pref.tone-hint{fill:var(--accent);stroke-width:3px;stroke-dasharray:6 3}.jp-map.pickable .pref{cursor:pointer}.jp-map.pickable .pref:hover{fill:var(--subject-soft)}.jp-map .pref:focus-visible{stroke:var(--subject-text);stroke-width:4px;outline:none}.jp-inset{fill:none;stroke:var(--line);stroke-width:1.5px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.pref-mark{pointer-events:none}.pref-mark circle{fill:var(--card);stroke:var(--ink);stroke-width:1.5px;vector-effect:non-scaling-stroke}.pref-mark text{fill:var(--ink);font-weight:800}.pref-label{paint-order:stroke;stroke:var(--card);stroke-width:3px}.jp-zoom-out{position:absolute;top:6px;right:6px}.jp-zoom-hint{text-align:center;margin:4px 0 0}@media (width>=600px){.jp-zoom-hint{display:none}}.map-loading{min-height:120px}.silhouette{max-width:100%;height:auto;display:block}.silhouette path{fill:var(--ink)}.sil-big{justify-content:center;padding:8px;display:flex}.choice-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.choice{border:2px solid var(--ink);background:var(--card);cursor:pointer;min-height:56px;color:var(--ink);border-radius:14px;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:1.05rem;font-weight:800;display:flex;position:relative}.choice:disabled{cursor:default}.choice.right{background:var(--accent);color:var(--on-accent);border-width:3px}.choice.wrong{border-style:dashed;border-width:3px}.choice .mark{font-size:1.2rem}.choice .num{font-size:1.6rem}.quiz-score{margin:8px 0;font-size:2rem;font-weight:900}.review-list{text-align:left;flex-direction:column;gap:10px;padding-left:1.4em;display:flex}.review-list li{border-bottom:1px solid var(--line);flex-direction:column;gap:2px;padding-bottom:8px;display:flex}.review-list .silhouette{margin:4px 0}.review-list a{color:var(--subject-text)}.time-clock{font-variant-numeric:tabular-nums;font-size:1.3rem;font-weight:900}.time-target{font-size:1.3rem}.time-best{font-weight:800}.nh-table{border-collapse:collapse;background:var(--card);width:100%;margin-top:8px}.nh-table th,.nh-table td{border:1px solid var(--line);text-align:left;padding:6px 8px}.nh-table th{background:var(--subject-soft)}.nh-table a,.pref-nav a{color:var(--subject-text)}.nh-dl{grid-template-columns:auto 1fr;gap:4px 12px;margin:0;display:grid}.nh-dl dt{font-weight:800}.nh-dl dd{margin:0}.tag{border:1.5px solid var(--ink);border-radius:999px;padding:1px 8px;font-size:.8rem;font-weight:800}.small{font-size:.85rem}.pref-nav{justify-content:space-between;gap:8px;margin:12px 0;display:flex}.nihon-page{width:100%}.print-map{max-width:520px}.print-blanks{columns:3;margin:8px 0;font-size:.9rem}.print-blanks li{border-bottom:1px solid #999;padding:2px 0}.print-shapes{counter-reset:s;grid-template-columns:repeat(6,1fr);gap:4px;margin:0;padding:0;list-style:none;display:grid}.print-shapes li{counter-increment:s;border-bottom:1px solid #999;flex-direction:column;align-items:center;min-height:84px;display:flex;position:relative}.print-shapes li:before{content:counter(s);font-size:.7rem;position:absolute;top:0;left:2px}.print-shapes span{min-height:1.2em;font-size:.8rem}.print-weak li{border-bottom:1px solid #999;justify-content:space-between;align-items:center;min-height:40px;display:flex}@media print{.pref{fill:#fff!important;stroke:#000!important}.pref-mark text,.pref-label,.silhouette path{fill:#000!important}.jp-zoom-hint,.jp-zoom-out{display:none!important}}
