@charset "UTF-8";
:root{color-scheme:light;--ink:#202732;--muted:#6e7682;--line:#e3e6ea;--bg:#f5f6f8;--accent:#ff642d;--accent-hover:#e84e19;--soft:#fff0e9;--blue:#18344c;--green:#217250;font-family:Inter,"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.6}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2164ae;outline-offset:3px}button{transition:background .16s,box-shadow .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header{height:82px;background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1264px;padding:0 40px;height:100%;margin:auto;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:800;letter-spacing:-1px}.brand-mark{background:var(--accent);color:#fff;width:35px;height:35px;display:grid;place-items:center;border-radius:10px}.brand-mark svg{width:23px;height:23px;stroke-width:2}.brand-period{color:var(--accent)}.header-divider{width:1px;height:21px;background:var(--line)}.header-category{font-size:14px;color:var(--muted)}.privacy-top{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted)}.privacy-top svg{width:15px;height:15px}main{max-width:1264px;margin:0 auto;padding:43px 40px 36px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:750;color:var(--accent-hover);margin:0 0 7px}h1{font-size:32px;line-height:1.5;letter-spacing:.02em;margin:0;font-weight:750;display:flex;align-items:center;gap:15px}.free-label{font-size:12px;font-weight:650;border:1px solid #dce0e5;border-radius:5px;padding:1px 9px;letter-spacing:.02em;color:var(--muted);background:#fff}.intro{font-size:15px;color:var(--muted);margin:8px 0 0}.local-badge{display:flex;gap:12px;align-items:center;font-size:14px}.local-badge>svg{width:37px;height:37px;color:#8b939f;background:white;padding:9px;border-radius:50%;border:1px solid var(--line)}.local-badge span{display:block;font-size:12px;color:var(--muted);margin-top:2px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.image-panel,.settings-panel{background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0}.panel-heading{padding:22px 24px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h2{font-size:16px;line-height:1.5;display:flex;align-items:center;gap:10px;margin:0;font-weight:700}.step{display:inline-grid;place-items:center;color:#8a919b;font-size:12px;line-height:1;background:#f0f2f5;width:26px;height:26px;border-radius:7px;font-variant-numeric:tabular-nums}.count-badge{background:var(--soft);color:var(--accent-hover);padding:1px 7px;border-radius:5px;font-size:12px}.text-button{background:none;border:0;color:var(--muted);font-size:13px;padding:4px}.text-button:hover{color:var(--accent-hover)}.dropzone{position:relative;margin:0 24px 24px;min-height:390px;border:1.5px dashed #cdd3dc;border-radius:12px;background:#fcfcfd;transition:border-color .2s,background .2s}.dropzone:focus-within{border-color:var(--accent)}.empty-upload{min-height:390px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px 12px;text-align:center}.upload-symbol{width:74px;height:74px;border-radius:18px;background:#fff;border:1px solid #e2e6eb;display:grid;place-items:center;position:relative;box-shadow:0 5px 15px #12213305;margin-bottom:22px;color:#768292}.upload-symbol>svg{width:33px;height:33px;stroke-width:1.4}.upload-symbol>span{position:absolute;right:-8px;bottom:-3px;background:var(--accent);color:white;border:4px solid #fcfcfd;border-radius:50%;width:31px;height:31px;display:grid;place-items:center}.upload-symbol>span svg{width:17px;height:17px;stroke-width:2}.empty-upload h3{font-size:19px;font-weight:650;margin:0 0 8px}.empty-upload p{font-size:14px;color:var(--muted);margin:0 0 24px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:12px 21px;font-size:14px;font-weight:650;white-space:nowrap;border:1px solid transparent;line-height:1.5}.primary-button{background:var(--accent);color:#fff}.primary-button:hover:not(:disabled){background:var(--accent-hover);box-shadow:0 3px 10px #ff642d25}.primary-button:disabled{background:#f0f1f4;color:#979da7}.choose{min-width:166px}.file-guidance{font-size:12px;color:#858d98;margin-top:19px}.drag-cover{display:none;position:absolute;inset:-2px;background:#fff0e9f5;border:2px dashed var(--accent);border-radius:12px;align-items:center;justify-content:center;flex-direction:column;gap:12px;font-weight:600;color:var(--accent-hover);z-index:5;pointer-events:none}.drag-cover svg{width:40px;height:40px}.dropzone.dragging .drag-cover{display:flex}.help-strip{display:flex;align-items:flex-start;gap:9px;margin:0 24px 24px;color:var(--muted)}.help-strip svg{width:15px;height:15px;margin-top:4px}.help-strip p{font-size:12px;line-height:1.8;margin:0}.settings-panel .panel-heading{padding:21px 22px 18px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:var(--muted);width:32px;height:32px;border-radius:7px;padding:0}.icon-button:hover{background:#eef0f3;color:var(--ink)}.icon-button svg{width:17px;height:17px}#settings-form{padding:0 22px 20px}.mode-options{display:grid;grid-template-columns:repeat(3,1fr);background:#f1f2f5;border:0;padding:4px;border-radius:9px;margin:0 0 22px;gap:3px}.mode-options label{position:relative;cursor:pointer;min-width:0}.mode-options input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.mode-options span{display:block;text-align:center;padding:8px 2px;border-radius:6px;color:var(--muted);font-size:14px;font-weight:550;white-space:nowrap}.mode-options input:checked+span{color:var(--ink);background:#fff;box-shadow:0 1px 4px #121d2914}.mode-options input:focus-visible+span{outline:3px solid #2164ae}.mode-content{min-height:120px}.dimensions{display:flex;align-items:flex-end;gap:6px}.field{font-size:14px;font-weight:600;display:block;min-width:0}.dimensions>.field{flex:1}.number-wrap{position:relative;margin-top:8px}.number-wrap input{width:100%;min-width:0;border:1px solid #dce1e6;height:44px;border-radius:7px;background:#fff;padding:10px 33px 10px 12px;font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums;-moz-appearance:textfield}.number-wrap input::-webkit-inner-spin-button,.number-wrap input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-wrap>span{position:absolute;right:12px;top:11px;color:#929aa6;font-size:13px;font-weight:400;pointer-events:none}input::placeholder{color:#a1a7af;font-size:14px}.ratio-lock{width:32px;height:44px;padding:0;display:flex;align-items:center;justify-content:center;color:var(--accent-hover);border:0;background:none;flex-shrink:0}.ratio-lock svg{width:17px;height:17px}.ratio-lock[aria-pressed=false]{color:var(--muted)}.field-note{font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0 0}.check-field{display:flex;gap:8px;align-items:center;font-size:14px;cursor:pointer;margin-top:17px;line-height:1.5}.check-field input{accent-color:var(--accent);width:16px;height:16px;margin:0;flex-shrink:0}.settings-divider{height:1px;background:#eceef1;margin:21px 0}select{display:block;width:100%;background:#fff;color:var(--ink);border:1px solid #dce1e6;border-radius:7px;padding:11px 29px 11px 10px;font-size:14px;line-height:1.5;height:45px;margin-top:8px}.quality-field{margin-top:20px}.quality-field>label{display:flex;justify-content:space-between;font-size:14px;font-weight:600}.muted{color:#929aa6;font-size:12px;font-weight:400}input[type=range]{display:block;margin:12px 0 7px;width:100%;height:7px;accent-color:var(--accent);cursor:pointer}.range-labels{display:flex;justify-content:space-between;color:#828a95;font-size:12px}.quality-field>.field-note{font-size:12px}.format-note{font-size:12px;margin-top:15px}.resize-button{width:100%;font-size:15px;padding:14px 10px}.action-hint{font-size:12px;text-align:center;color:var(--muted);margin:10px 0 0}.percent-wrap{max-width:170px}.percent-shortcuts{display:flex;gap:8px;margin-top:11px}.percent-shortcuts button{border:1px solid #e0e4e8;color:var(--muted);background:#fff;border-radius:6px;padding:5px 11px;font-size:13px;flex:1}.percent-shortcuts button.selected{background:var(--soft);color:var(--accent-hover);border-color:#ffccba}.fit-label{margin-top:17px}.background-field{margin-top:18px}.how-to{max-width:790px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:38px auto 0}.how-to>div{display:flex;align-items:center;gap:12px}.how-to>div>span{width:27px;height:27px;display:grid;place-items:center;border:1px solid #dce1e7;border-radius:50%;color:#87909d;font-size:12px;background:#fff;flex-shrink:0}.how-to p{font-size:14px;margin:0;font-weight:600}.how-to small{font-size:12px;color:var(--muted);display:block;font-weight:400;margin-top:3px}.how-to>svg{width:16px;height:16px;color:#aab1bc}footer{max-width:1184px;border-top:1px solid #e0e4e9;margin:0 auto;padding:22px 0 26px;display:flex;align-items:center;gap:16px;color:#858d98;font-size:12px}.footer-brand{font-size:17px;font-weight:750;letter-spacing:-.5px;color:#767f8c}footer>span:last-child{margin-left:auto}.loaded-upload{padding:17px}.loaded-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.loaded-header p{font-size:13px;color:var(--muted);margin:0;min-width:0}.secondary-button{background:#fff;border-color:#dce1e7;color:var(--ink);font-size:13px;padding:7px 10px}.secondary-button svg{width:15px;height:15px}.secondary-button:hover{background:#f1f3f6}.image-list{display:flex;flex-direction:column;gap:10px;max-height:615px;overflow-y:auto;padding:1px}.image-row{background:#fff;border:1px solid #e1e5ea;border-radius:10px;padding:13px;display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:12px;position:relative}.thumb{width:62px;height:62px;object-fit:contain;display:block;border-radius:5px;background-color:#f4f5f7;background-image:linear-gradient(45deg,#e5e8ed 25%,transparent 25%),linear-gradient(-45deg,#e5e8ed 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e8ed 75%),linear-gradient(-45deg,transparent 75%,#e5e8ed 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0}.image-name{font-size:14px;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-meta{font-size:12px;color:var(--muted);margin:4px 0}.image-target{font-size:12px;color:#596575;margin:0;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.image-target svg{width:13px;height:13px}.image-target.ready{color:var(--green)}.image-target.failed{color:#b23c26}.row-actions{display:flex;gap:2px;align-items:center}.row-actions button{width:29px;height:32px}.download-one{color:var(--green)!important}.drop-hint{font-size:12px;color:#8b939f;text-align:center;margin:19px 0 3px}.notices:not(:empty){margin:0 24px 19px;padding:12px 14px;border:1px solid #f1d7ba;border-radius:8px;background:#fff9ef;color:#80521f;font-size:13px;overflow-wrap:anywhere}.notices p{margin:0}.notices p+p{margin-top:5px}.result-bar{display:flex;justify-content:space-between;align-items:center;margin:0 24px 22px;border:1px solid #d4e7dd;background:#f1f8f4;border-radius:10px;padding:16px;gap:12px}.result-bar strong{font-size:15px;color:var(--green)}.result-bar p{font-size:12px;color:#587564;margin:3px 0 0}.result-bar .primary-button{font-size:13px;padding:11px 12px;background:#287452}.result-bar .primary-button:hover{background:#1e6143}.result-bar svg{width:16px;height:16px}.progress-wrap{margin-top:15px}.progress-wrap progress{height:7px;width:100%;accent-color:var(--accent)}.progress-wrap p{font-size:12px;text-align:center;color:var(--muted);margin:5px 0}.busy .dropzone{pointer-events:none;opacity:.75}.busy button:disabled{cursor:wait}.mode-options input:disabled{cursor:wait}input:disabled,select:disabled{color:#929aa6}#file-input:focus-visible~.empty-upload .choose{outline:3px solid #2164ae;outline-offset:3px}
@media(min-width:1440px){main{padding-top:52px}.page-heading{margin-bottom:34px}.dropzone,.empty-upload{min-height:425px}}
@media(max-width:1050px){main{padding:30px 25px}.header-inner{padding:0 25px}.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.panel-heading{padding-left:18px;padding-right:18px}.dropzone{margin-left:18px;margin-right:18px}.help-strip{margin-left:18px;margin-right:18px}.loaded-upload{padding:10px}.image-row{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:10px}.thumb{width:48px;height:48px}.row-actions{flex-direction:column}.result-bar{margin-left:18px;margin-right:18px;flex-wrap:wrap}footer{margin:0 25px}.local-badge{display:none}}
@media(max-width:760px){.site-header{height:68px}.header-inner{padding:0 20px;gap:14px}.brand{font-size:25px}.brand-mark{width:31px;height:31px;border-radius:9px}.header-category{font-size:12px}.privacy-top{font-size:0;gap:0}.privacy-top svg{width:18px;height:18px}.header-divider{height:19px}main{padding:27px 18px 29px}.eyebrow{font-size:11px;letter-spacing:1.6px}h1{font-size:27px;gap:12px}.intro{font-size:14px;margin-top:6px}.page-heading{margin-bottom:24px}.workspace{grid-template-columns:1fr;gap:18px}.panel-heading{padding:18px}.dropzone,.empty-upload{min-height:270px}.empty-upload{padding:25px 12px}.upload-symbol{width:58px;height:58px;border-radius:14px;margin-bottom:17px}.upload-symbol>svg{width:28px;height:28px}.empty-upload h3{font-size:17px}.empty-upload p{font-size:13px;margin-bottom:18px}.file-guidance{font-size:11px;margin-top:14px}.choose{padding:11px 17px}.help-strip p{font-size:12px}.dropzone{margin-bottom:19px}.help-strip{margin-bottom:20px}.settings-panel .panel-heading{padding:18px 20px}.settings-panel #settings-form{padding:0 20px 20px}.mode-content{min-height:unset}.mode-options{margin-bottom:20px}.field-note{font-size:12px}.how-to{gap:16px;flex-direction:column;align-items:flex-start;margin:29px 6px 0}.how-to>svg{display:none}.how-to>div{gap:14px}.how-to p{font-size:13px}.how-to small{display:inline;font-size:12px;margin-left:12px}.how-to>div>span{width:24px;height:24px}.image-list{max-height:425px}.image-row{grid-template-columns:52px minmax(0,1fr) auto;gap:10px}.thumb{width:52px;height:52px}.image-name{font-size:13px}.loaded-header p{font-size:12px}.result-bar{flex-wrap:wrap}.result-bar .primary-button{width:100%}footer{margin:0 18px;padding:19px 0 23px;gap:12px}footer>span:last-child{font-size:10px}.footer-brand{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
