:root{font-family:Inter,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;color:#292b2b;background:#f3efe4;font-synthesis:none;--ink: #292b2b;--muted: #77766e;--accent: #df5b3f;--paper: #fff7a8;--page: #f3efe4;--surface: #fffdf7;--board-bg: #e7e2d5;--line: rgb(41 43 43 / 14%);--page-glow: rgb(255 255 255 / 55%);color-scheme:light}:root[data-theme=dark]{--ink: #eeeae0;--muted: #aaa79f;--accent: #ff8268;--page: #191b1c;--surface: #292c2d;--board-bg: #242728;--line: rgb(255 255 255 / 13%);--page-glow: rgb(255 255 255 / 4%);color:var(--ink);background:var(--page);color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100%}body{min-height:100vh;background:radial-gradient(circle at 12% 10%,var(--page-glow),transparent 28%),var(--page);transition:color .2s ease,background-color .2s ease}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-header{min-height:146px;padding:28px clamp(24px,5vw,72px) 24px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid rgb(41 43 43 / 14%)}.eyebrow{display:block;margin-bottom:7px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.19em}h1{margin:0;font:800 clamp(28px,3vw,42px)/1.05 Georgia,"Yu Mincho",serif;letter-spacing:-.035em}.title-group p{margin:8px 0 0;color:var(--muted);font-size:14px}.add-button{min-height:52px;padding:0 22px;border:0;border-radius:8px;display:inline-flex;align-items:center;gap:10px;color:#fff;background:var(--ink);font-weight:700;cursor:pointer;box-shadow:0 7px #0000001f;transition:transform .16s ease,box-shadow .16s ease}.add-button:hover{transform:translateY(-2px);box-shadow:0 9px #0000001f}.add-button:active{transform:translateY(3px);box-shadow:0 4px #0000001f}.add-button span:first-child{color:#ffd66b;font-size:24px;line-height:1}.header-actions{display:flex;align-items:center;gap:12px}.theme-toggle{width:48px;height:48px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--ink);background:var(--surface);box-shadow:0 5px 12px #0000001a;font-size:23px;cursor:pointer;transition:transform .16s ease,background .2s ease}.theme-toggle:hover{transform:translateY(-2px) rotate(-8deg)}.add-control{position:relative}.new-note-colors{position:absolute;z-index:2000;top:calc(100% + 13px);right:0;width:190px;padding:13px 14px 14px;border:1px solid rgb(41 43 43 / 14%);border-radius:9px;background:#fffdf7;box-shadow:0 14px 30px #292b2b2e}.new-note-colors:before{content:"";position:absolute;right:24px;top:-6px;width:11px;height:11px;border-left:1px solid rgb(41 43 43 / 14%);border-top:1px solid rgb(41 43 43 / 14%);background:#fffdf7;transform:rotate(45deg)}.new-note-colors[hidden]{display:none}.new-note-colors>span{display:block;margin-bottom:10px;color:var(--muted);font-size:12px;font-weight:700}.color-options,.note-colors{display:flex;align-items:center;gap:8px}.color-option{width:28px;height:28px;padding:0;border:2px solid rgb(41 43 43 / 12%);border-radius:50%;cursor:pointer;box-shadow:inset 0 0 0 2px #ffffff73}.color-option:hover,.color-option:focus-visible{transform:scale(1.12);outline:2px solid rgb(41 43 43 / 45%);outline-offset:2px}.color-option.yellow{background:#fff5a8}.color-option.pink{background:#ffcdb8}.color-option.blue{background:#cbdff7}.color-option.green{background:#c8e8d2}main{padding:18px clamp(16px,3.5vw,52px) 42px}.project-bar{min-height:52px;margin-bottom:10px;padding:8px 10px 8px 16px;display:flex;align-items:center;gap:10px;border:1px solid rgb(41 43 43 / 13%);border-radius:9px;background:#fffdf79e}.project-bar>label{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.09em}.project-bar select{min-width:190px;height:36px;padding:0 34px 0 11px;border:1px solid rgb(41 43 43 / 18%);border-radius:6px;color:var(--ink);background:#fffdf7;font-weight:700;cursor:pointer}.project-actions{margin-left:auto;display:flex;gap:6px}.project-actions button{min-height:34px;padding:0 11px;border:1px solid rgb(41 43 43 / 16%);border-radius:6px;color:#55564f;background:transparent;font-size:12px;font-weight:700;cursor:pointer}.project-actions button:hover{color:var(--ink);background:#fff}.project-actions .danger-action:hover{color:#9b3828;border-color:#9b38284d}.search-bar{min-height:50px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:18px}.search-field{width:min(420px,100%);height:44px;padding:0 14px;display:flex;align-items:center;gap:10px;border:1px solid rgb(41 43 43 / 18%);border-radius:8px;background:#fffdf7c2;color:var(--muted)}.search-field:focus-within{border-color:#292b2b7a;box-shadow:0 0 0 3px #292b2b14}.search-field>span{font-size:25px;line-height:1;transform:rotate(-15deg)}.search-field input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:15px}.search-field input::placeholder{color:#98968e}#search-count{flex:none;color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.04em}.status-filter{display:flex;padding:4px;border-radius:8px;background:#292b2b14}.status-filter button{min-height:34px;padding:0 13px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-size:12px;font-weight:700;cursor:pointer}.status-filter button:hover{color:var(--ink)}.status-filter button.is-active{color:#fff;background:var(--ink);box-shadow:0 2px 5px #292b2b2e}.board{position:relative;width:100%;height:calc(100vh - 426px);min-height:520px;overflow:hidden;border:1px solid rgb(41 43 43 / 14%);border-radius:10px;background-color:#e7e2d5;background-image:linear-gradient(rgb(255 255 255 / 24%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 24%) 1px,transparent 1px);background-size:24px 24px;box-shadow:inset 0 1px 18px #4842340f;touch-action:none}.empty-state{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none;color:#8f8b80}.empty-icon{font-size:32px;color:#c2a94d}.empty-state h2{margin:10px 0 5px;color:#716f68;font:700 20px Georgia,Yu Mincho,serif}.empty-state p{margin:0;font-size:13px}.empty-state[hidden]{display:none}.note{--note-color: #fff5a8;position:absolute;width:220px;height:220px;padding:0 18px 18px;border:0;background:linear-gradient(105deg,rgb(255 255 255 / 12%),transparent 38%,rgb(80 63 24 / 3%)),repeating-linear-gradient(0deg,transparent 0 3px,rgb(255 255 255 / 2%) 3px 4px),var(--note-color);box-shadow:0 2px 2px #3931191f,0 8px 12px #3931191f,0 20px 28px -15px #39311961;transform:rotate(var(--rotation, 0deg));transition:box-shadow .16s ease,transform .16s ease;will-change:left,top}.note[hidden]{display:none}.note.is-completed{filter:saturate(.45);opacity:.76}.note.is-completed .note-text{text-decoration:line-through;text-decoration-thickness:1.5px}.note.is-completed:before{content:"完了";position:absolute;z-index:2;right:15px;bottom:13px;padding:3px 7px;border:2px solid rgb(41 91 65 / 55%);border-radius:3px;color:#295b41ad;font:800 12px/1 sans-serif;letter-spacing:.15em;transform:rotate(-8deg);pointer-events:none}.note:after{content:"";position:absolute;right:0;bottom:0;border-style:solid;border-width:0 0 22px 22px;border-color:transparent transparent rgb(0 0 0 / 7%) transparent}.note.is-dragging{z-index:1000!important;transform:rotate(0) scale(1.025);box-shadow:0 3px 4px #3931191f,0 24px 38px #39311947}.note-toolbar{height:58px;position:relative;display:flex;align-items:flex-start;justify-content:space-between;cursor:grab;touch-action:none}.note-toolbar:active{cursor:grabbing}.drag-handle{margin-top:9px;color:#39311959;font-size:20px;letter-spacing:-4px}.note-colors{position:absolute;left:50%;bottom:2px;gap:7px;transform:translate(-50%)}.note-colors .color-option{width:18px;height:18px;border-width:1px;opacity:.62}.note-colors .color-option[aria-pressed=true]{opacity:1;outline:2px solid rgb(57 49 25 / 48%);outline-offset:1px;transform:scale(1.08)}.note-actions{display:flex;align-items:center;gap:2px}.complete-button{width:34px;height:34px;border:0;border-radius:50%;color:#3931198c;background:transparent;font-size:18px;font-weight:800;cursor:pointer}.complete-button:hover,.complete-button:focus-visible{color:#245d43;background:#ffffff73;outline:none}.complete-button[aria-pressed=true]{color:#fff;background:#47785e}.delete-button{width:34px;height:34px;border:0;border-radius:50%;color:#39311994;background:transparent;font-size:24px;line-height:1;cursor:pointer}.delete-button:hover,.delete-button:focus-visible{color:#8d2f20;background:#ffffff73;outline:none}.note-text{width:100%;height:calc(100% - 58px);padding:2px;resize:none;border:0;outline:0;color:#393119;background:transparent;font-family:Yu Kyokasho,YuKyokasho,HGP教科書体,HGP行書体,Hannotate SC,cursive;font-size:18px;font-weight:500;line-height:1.7;letter-spacing:.035em}.note-text::placeholder{color:#3931196b}.completed-drop-zone{min-height:78px;margin-top:14px;padding:14px 22px;display:flex;align-items:center;justify-content:center;gap:13px;border:2px dashed rgb(71 120 94 / 40%);border-radius:10px;color:#47785e;background:#c8e8d242;transition:border-color .15s ease,background .15s ease,transform .15s ease}.completed-drop-zone.is-over{border-color:#47785e;background:#c8e8d2a6;transform:scale(.995)}.drop-check{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#47785e;font-weight:900}.completed-drop-zone h2{margin:0;font:700 16px/1.2 Georgia,Yu Mincho,serif}.completed-drop-zone p{margin:4px 0 0;color:#738579;font-size:12px}@media(max-width:767px){.app-header{min-height:154px;padding:20px 16px 18px;align-items:flex-end;gap:12px}.eyebrow{font-size:9px}h1{font-size:clamp(25px,8vw,32px)}.title-group p{font-size:12px}.add-button{min-width:54px;min-height:54px;padding:0;justify-content:center;box-shadow:0 5px #0000001f}.header-actions{gap:8px}.theme-toggle{width:48px;height:48px}.add-button span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.new-note-colors{right:0;width:206px}.new-note-colors .color-option{width:34px;height:34px}main{padding:10px 10px 20px}.project-bar{padding:9px;flex-wrap:wrap}.project-bar>label{width:100%}.project-bar select{min-width:0;flex:1;height:42px}.project-actions{width:100%;margin-left:0}.project-actions button{min-height:40px;flex:1;padding:0 6px}.search-bar{min-height:96px;margin-bottom:10px;gap:8px;flex-wrap:wrap}.search-field{height:46px;padding:0 11px}.search-field input{font-size:16px}#search-count{font-size:12px}.status-filter{order:3}.status-filter button{min-height:40px;padding:0 12px}.board{height:calc(100vh - 504px);min-height:480px;border-radius:7px}.note{width:min(190px,calc(100vw - 36px));height:190px;padding:0 15px 15px}.note-toolbar{height:62px}.note-colors{gap:8px}.note-colors .color-option{width:22px;height:22px}.complete-button,.delete-button{width:42px;height:42px}.note-text{height:calc(100% - 62px);font-size:16px}.completed-drop-zone{min-height:84px;padding:12px}}@media(min-width:768px)and (max-width:1279px){.app-header{min-height:132px;padding:24px 32px}main{padding:14px 24px 32px}.board{height:calc(100vh - 400px)}.note{width:205px;height:205px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important}}:root[data-theme=dark] .app-header{border-color:var(--line)}:root[data-theme=dark] .new-note-colors,:root[data-theme=dark] .new-note-colors:before,:root[data-theme=dark] .project-bar,:root[data-theme=dark] .project-bar select,:root[data-theme=dark] .search-field{background:var(--surface);border-color:var(--line)}:root[data-theme=dark] .project-actions button{color:#c7c4bc;border-color:var(--line)}:root[data-theme=dark] .project-actions button:hover{color:#fff;background:#343839}:root[data-theme=dark] .search-field input{color:var(--ink)}:root[data-theme=dark] .search-field input::placeholder{color:#858984}:root[data-theme=dark] .board{border-color:var(--line);background-color:var(--board-bg);background-image:linear-gradient(rgb(255 255 255 / 5%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 5%) 1px,transparent 1px);box-shadow:inset 0 1px 24px #0003}:root[data-theme=dark] .empty-state,:root[data-theme=dark] .empty-state h2{color:#8f938e}:root[data-theme=dark] .status-filter{background:#ffffff17}:root[data-theme=dark] .status-filter button.is-active{color:#202223;background:#eeeae0}:root[data-theme=dark] .completed-drop-zone{border-color:#82bf9d61;color:#8fc7a8;background:#47785e24}:root[data-theme=dark] .completed-drop-zone p{color:#82968a}
