/*! 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-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@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{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.static{position:static}.block{display:block}.grid{display:grid}.table{display:table}.p-1{padding:var(--spacing)}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}: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}.about-subtitle{margin:0 0 6px;font-size:1.05rem}.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}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}.joho-page{flex-direction:column;gap:12px;display:flex}.joho-small{font-size:.85rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.joho-q{flex-direction:column;gap:10px;display:flex}.joho-prompt{text-align:center;word-break:break-word;margin:4px 0;font-size:2rem;font-weight:800;line-height:1.3}.joho-prompt small{font-size:.9rem;font-weight:600}.joho-choices{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.joho-choice{border:2px solid var(--ink);background:var(--card);cursor:pointer;border-radius:12px;min-height:52px;font-size:1.3rem;font-weight:700}.joho-choice:disabled{cursor:default}.joho-choice.is-answer{background:var(--subject-soft);border-width:3px}.joho-feedback{border:2px solid var(--ink);background:var(--card);border-radius:12px;flex-direction:column;gap:8px;margin:0;padding:10px 12px;display:flex}.joho-feedback p{margin:0}.joho-feedback.is-ok{border-color:var(--ok)}.joho-feedback.is-ng{border-color:var(--bad);border-style:dashed}.joho-mark{margin-right:6px;font-size:1.4rem;font-weight:900}.joho-input{border:2px solid var(--ink);background:var(--card);border-radius:10px;width:100%;min-height:48px;padding:6px 10px;font-size:1.3rem}.joho-input.is-shake{outline:3px dashed var(--bad)}.joho-typing{flex-direction:column;gap:8px;display:flex}.joho-guide{text-align:center;letter-spacing:.08em;margin:0;font-family:ui-monospace,Consolas,monospace;font-size:1.4rem}.joho-typed{font-weight:800;text-decoration:underline}.joho-rest{color:var(--ink-soft)}.joho-kbd{-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:4px;display:flex}.joho-kbd-row{gap:4px;display:flex}.joho-kbd-row.r1{margin-left:14px}.joho-kbd-row.r2{margin-left:34px}.joho-key{border:1px solid var(--ink);background:var(--card);border-radius:6px;flex-direction:column;justify-content:center;align-items:center;width:30px;height:38px;font-size:.85rem;font-weight:700;display:flex;position:relative}.joho-key small{color:var(--ink-soft);font-size:.55rem;font-weight:400}.joho-key.is-home{border-bottom-width:3px}.joho-key.is-target{background:var(--accent);color:var(--on-accent);border-width:3px}.joho-key.is-target small{color:var(--on-accent)}.joho-key-arrow{color:var(--ink);font-size:.8rem;position:absolute;top:-16px}.mypage-link.is-locked{opacity:.75;cursor:not-allowed}.joho-table-wrap{overflow-x:auto}.joho-table{border-collapse:collapse;background:var(--card);text-align:center;width:100%}.joho-table caption{text-align:left;padding:4px 0;font-weight:700}.joho-table th,.joho-table td{border:1px solid var(--line);min-width:44px;padding:4px 2px}.joho-table thead th{background:var(--subject-soft)}.joho-table th a{color:var(--subject-text);font-weight:800}.joho-kana{font-size:1.15rem;font-weight:700;display:block}.joho-roma{font-size:.95rem;display:block}.joho-other{color:var(--ink-soft);font-size:.75rem;display:block}.joho-cell-empty{background:0 0}.joho-rules{margin:0;padding-left:1.2em}.joho-row-cards{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;display:grid}.joho-row-card{text-align:center;flex-direction:column;align-items:center;gap:2px;display:flex}.joho-kana.big,.joho-roma.big{font-size:1.8rem}.joho-words{margin:0;padding-left:1.2em}.joho-program{flex-direction:column;gap:10px;display:flex}.joho-boards{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.joho-board{--joho-cell:40px;border:2px solid var(--ink);background:var(--card);border-radius:10px;gap:2px;width:max-content;padding:4px;display:grid}.joho-cell{width:var(--joho-cell);height:var(--joho-cell);border:1px solid var(--line);border-radius:4px;justify-content:center;align-items:center;font-size:1.2rem;font-weight:800;display:flex}.joho-cell.is-wall{background:var(--ink)}.joho-cell.is-robot{background:var(--accent);color:var(--on-accent)}.joho-palette{flex-wrap:wrap;gap:6px;display:flex}.joho-block-btn,.joho-block{border:2px solid var(--ink);background:var(--subject-soft);cursor:pointer;text-align:left;border-radius:10px;min-height:44px;padding:4px 10px;font-weight:700}.joho-block[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}.joho-sel{margin-right:4px}.joho-code{border:2px dashed var(--ink-soft);background:var(--card);border-radius:10px;padding:6px}.joho-list{flex-direction:column;gap:4px;margin:0;padding:0 0 0 14px;list-style:none;display:flex}.joho-code>.joho-list{padding-left:0}.joho-line-head{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.joho-line .joho-list{border-left:3px solid var(--accent);margin-left:6px}.joho-insert .link-btn[aria-pressed=true]{font-weight:800}.joho-legend{flex-wrap:wrap;gap:12px;margin:0;display:flex}.joho-map-row{gap:4px;margin:3px 0;display:flex}.joho-map-row.wrap{flex-wrap:wrap}.joho-map-cell{border:1px solid var(--line);background:var(--card);min-width:44px;min-height:36px;color:var(--ink);border-radius:8px;align-items:center;gap:2px;padding:2px 6px;text-decoration:none;display:inline-flex}.joho-map-cell.s-mastered{background:var(--subject-soft);border:2px solid var(--subject-text)}.joho-map-cell.s-weak{border:2px dashed var(--bad)}.joho-map-mark{font-weight:900}.joho-write{flex-direction:column;gap:10px;margin:0;padding-left:1.5em;display:flex}.joho-write li{align-items:center;gap:10px;display:flex}.joho-write-kana{min-width:7em;font-size:1.1rem}.joho-four-lines{height:44px;color:var(--ink-soft);background:linear-gradient(to bottom, transparent 0 10px, var(--ink-soft) 10px 11px, transparent 11px 21px, var(--line) 21px 22px, transparent 22px 32px, var(--ink-soft) 32px 33px, transparent 33px 43px, var(--ink-soft) 43px 44px);flex:1;padding-left:6px;font-size:1.6rem;line-height:44px}.joho-print-list{columns:2}@media print{.joho-table{font-size:.85rem}.joho-table th,.joho-table td{border-color:var(--ink-soft);padding:2px}.joho-four-lines{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
