:root{font:15px/1.7 system-ui,sans-serif;color:#303238;background:#f7f6f2;--muted:#686b70;--line:#e3e3db;--accent:#386947}*{box-sizing:border-box}body{margin:0;overflow-x:clip}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;min-height:44px}button:disabled{opacity:.4;cursor:default}button:not(:disabled):hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #29775f;outline-offset:4px}[hidden]{display:none!important}.header{max-width:1200px;margin:auto;padding:28px 40px;display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;isolation:isolate;background:#101010;border-bottom:5px solid #ffe100}.header:before{content:"";position:absolute;z-index:-1;inset:0;left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2);background:#101010;border-bottom:5px solid #ffe100;bottom:-5px}.brand{display:flex;align-items:center;font-size:32px;font-weight:900;letter-spacing:.01em;flex-shrink:0;line-height:1.4;color:#fff;white-space:nowrap}.brand-icon{width:38px;height:38px;margin-right:10px}.header-tagline{font-size:12px;font-weight:700;color:#fff;white-space:nowrap}.tagline-highlight{display:inline-block;background:#ffe100;color:#101010;border:1px solid #ffe100;border-radius:2px;padding:1px 4px;margin-inline:2px;line-height:1.6}main{max-width:1040px;margin:auto;padding:0 32px}.intro{padding:58px 0 38px;text-align:center}.eyebrow{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;letter-spacing:1px;color:var(--muted)}.eyebrow span{width:6px;height:6px;background:var(--accent);border-radius:50%}h1{font-size:clamp(27px,3.4vw,40px);letter-spacing:-1.8px;line-height:1.7;margin:14px 0 10px}.underline{position:relative;white-space:nowrap}.underline:after{content:"";position:absolute;bottom:-6px;left:0;width:100%;height:7px;border-top:3px solid #a6bea0;border-radius:50%;transform:rotate(-3deg)}.intro p{font-size:15px;color:var(--muted)}.mobile-break{display:none}.tool{max-width:660px;margin:auto}.destination h2{font-size:15px;margin:0 0 10px;font-weight:650}.destinations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:5px;border:1px solid #e0e1d8;border-radius:15px;background:#eaeae3;margin-bottom:18px}.destinations button{min-width:0;min-height:50px;font-size:14px;font-weight:700;color:#62675b;background:transparent;border-radius:10px;padding:8px 4px}.destinations button[aria-pressed=true]{background:#30372f;color:#fff;box-shadow:0 2px 5px #00000010}.card{border:1px solid var(--line);border-radius:22px;padding:28px;background:#fff}.drop{text-align:center;border:1px dashed #d7dccf;border-radius:14px;padding:28px 16px;background:#fafbf8;transition:background .15s}.drop.dragover{background:#edf3e8;border-color:var(--accent)}.upload-mark{margin:0 auto 10px;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#edf2e8;color:var(--accent);font-size:30px;font-weight:400}.drop h2{font-size:20px;margin:10px 0}.drop p{font-size:15px;color:var(--muted);margin:0 0 18px}.secondary{padding:9px 24px;background:#fff;border:1px solid #ccd1c0;border-radius:9px;font-size:15px;font-weight:650;min-height:46px}.tiny{display:block;font-size:12px;color:var(--muted);margin-top:14px}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0}.choices button{border:1px solid var(--line);border-radius:10px;background:#fff;color:#303238;padding:14px 4px;min-width:0}.choices strong{display:block;font-size:14px}.choices span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.choices button[aria-pressed=true]{background:#edf2e8;border-color:var(--accent);color:var(--accent)}.primary{display:flex;align-items:center;justify-content:center;position:relative;width:100%;min-height:58px;border-radius:12px;background:var(--accent);color:#fff;font-size:17px;font-weight:700;padding:12px 40px;cursor:pointer}.primary>span{position:absolute;right:20px;font-weight:400;font-size:22px}.text-button{background:transparent;color:var(--muted);font-size:13px;padding:8px}.under-tool{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.privacy{font-size:12px;color:var(--muted)}.privacy>span{color:var(--accent);margin-right:4px}.notice{font-size:12px;color:var(--muted);line-height:1.9;margin:18px 0 22px}.file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.file-meta{min-width:0}.file-meta strong{font-size:15px;display:block;overflow-wrap:anywhere}.file-meta span{font-size:12px;color:var(--muted);display:block}.file-row button{white-space:nowrap;flex-shrink:0}video{display:block;width:100%;max-height:270px;background:#101010;border-radius:10px;object-fit:contain}.target-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}.target-row label{font-size:15px;font-weight:650}.target-row>div{white-space:nowrap;font-size:13px}.target-row input{width:95px;border:1px solid #d5dace;border-radius:8px;padding:8px 12px;font-size:16px;color:#303238;background:#fafbf8}.extra-row{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;margin-top:10px}.extra-row input{accent-color:var(--accent);width:17px;height:17px}.setting-note{font-size:12px;color:var(--muted);margin:4px 0 22px}.estimate{font-size:12px;color:var(--muted);margin:12px 0}.estimate:empty,.error:empty{display:none}.error{color:#b23922;font-size:13px;margin:15px 0 0;overflow-wrap:anywhere}.progress-heading{display:flex;justify-content:space-between;gap:12px;margin:25px 0 14px}progress{width:100%;height:9px;accent-color:var(--accent);border:0;border-radius:8px;background:#edf2e8}progress::-webkit-progress-bar{background:#edf2e8;border-radius:8px}progress::-webkit-progress-value{background:var(--accent);border-radius:8px}#processing{text-align:center}#result{text-align:center;border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.result-kicker{color:var(--accent);margin:0 0 12px}.numbers{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.numbers>span:first-child{font-size:25px;color:var(--muted)}.numbers .arrow{font-size:23px;color:#91978c}.numbers strong{font-size:38px;color:var(--accent)}#saving{font-size:14px;color:var(--accent);margin:5px 0 20px}#result video{margin:0 0 20px}#retry{margin-top:10px}details{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding:16px 0 22px}summary{cursor:pointer;min-height:36px;align-content:center}details a{text-decoration:underline}footer{margin:26px 0 0;padding:24px 16px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 0;text-align:center;font-size:12px;line-height:1.7;background:#101010;color:#fff;border-top:3px solid #ffe100}.footer-brand{font:inherit;white-space:nowrap}.footer-brand:after{content:" ｜ ";white-space:pre}.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;top:10px;left:10px;z-index:10;padding:12px;background:#fff}
@media(max-width:700px){.header{padding:20px}.brand{font-size:28px}.brand-icon{width:32px;height:32px;margin-right:8px}main{padding:0 18px;max-width:520px}.intro{padding:38px 0 30px}.mobile-break{display:block}h1{font-size:29px;line-height:1.6;letter-spacing:-1px}.intro p,.drop p{font-size:14px}.card{padding:23px;border-radius:18px}.destinations button{font-size:13px}.drop{padding:24px 12px}.drop h2{font-size:18px}.choices strong{font-size:12px}.choices span{font-size:11px}.under-tool{justify-content:center}.notice{margin-top:12px}footer{padding:23px 20px}}@media(max-width:480px){.header{padding-inline:16px}.header-tagline{font-size:10px}}@media(max-width:350px){.brand{font-size:25px}.brand-icon{width:28px;height:28px;margin-right:5px}.header-tagline{font-size:9px}.header{gap:5px;padding-inline:12px}.tagline-highlight{padding-inline:2px;margin-inline:1px}.card{padding:16px}.destinations button{font-size:11px}.choices{gap:5px}.choices strong{font-size:11px}.choices span{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* Header description matches しかく。 typography. */
.header .header-tagline{min-width:0;font:700 16px/1.6 system-ui,sans-serif;letter-spacing:.03em;white-space:normal;text-align:right}
.header .tagline-highlight{font-size:16px;font-weight:800;line-height:1.6;padding:1px 10px;margin:0 8px;border:0}
@media(max-width:720px){.header .header-tagline{letter-spacing:0}.header .tagline-highlight{padding:1px 6px;margin:0 4px}}
@media(max-width:480px){.header .tagline-highlight{padding:0 4px;margin:0 3px}}
@media(max-width:360px){.header .tagline-highlight{padding:0 3px;margin:0 2px}}
.license-link{margin-left:20px;text-decoration:underline;text-underline-offset:3px;color:#ccc}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.license-page{max-width:780px;padding-top:34px;padding-bottom:44px}.license-page h1{font-size:30px;letter-spacing:0;margin:0 0 12px}.license-page>p{color:var(--muted);margin-bottom:26px}.license-page h2{font-size:20px;margin:0 0 12px}.license-page h2 span{font-size:14px;color:var(--muted);font-weight:400}.license-page p,.license-page dd,.license-page li{overflow-wrap:anywhere}.license-page dl{margin:24px 0}.license-page dt{font-weight:700;margin-top:14px}.license-page dd{margin:4px 0 0;color:var(--muted)}.license-page ul{padding-left:22px}.license-page li{margin:10px 0}.license-page a:not(.back-link){text-decoration:underline;text-underline-offset:3px}.back-link{display:inline-block;margin-top:24px;min-height:44px;align-content:center;color:var(--accent)}
/* Shared compact header rule: use the space beside the app name. */
.header{gap:8px}
.header .header-tagline{flex:1 1 0;min-width:0;font-size:16px}
@media(max-width:349.98px){.header{gap:5px}.header .header-tagline,.header .tagline-highlight{font-size:14px}}
.destinations{grid-template-columns:repeat(3,minmax(0,1fr))}
.destinations{grid-template-columns:repeat(2,minmax(0,1fr))}.size-presets{display:flex;gap:8px;margin:12px 0}.size-presets button{background:#fafbf8;border:1px solid var(--line);border-radius:8px;padding:6px 18px;font-size:13px;color:#303238}.size-presets button[aria-pressed=true]{background:#edf2e8;border-color:var(--accent);color:var(--accent)}.sns-label{display:block;margin:20px 0 10px;font-size:15px;font-weight:650}.platform-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.platform-choices button{border:1px solid var(--line);border-radius:10px;background:#fff;color:#303238;padding:12px 8px;font-weight:650}.platform-choices button[aria-pressed=true]{background:#edf2e8;border-color:var(--accent);color:var(--accent)}.duration-note{font-size:12px;line-height:1.8;background:#f5f6f1;border-radius:8px;padding:12px;margin:0 0 14px;color:var(--muted)}
.platform-select{width:100%;min-height:50px;padding:12px 14px;background:#fafbf8;color:#303238;border:1px solid #ccd1c0;border-radius:10px;font:600 16px/1.6 system-ui,sans-serif;cursor:pointer}
/* Workspace palette and proportions shared with しかく。 */
:root{background:#f5f5f5;--muted:#686b70;--line:#dedede;--accent:#997511}body{background:#f5f5f5;color:#303238}main{max-width:1100px;padding:0 24px}.intro{text-align:left;padding:34px 0 28px}.eyebrow{justify-content:flex-start}.eyebrow span{background:#ffe100}h1{font-size:clamp(25px,4vw,38px);letter-spacing:.035em;line-height:1.4;margin:14px 0 12px}.intro p{margin:0}.underline:after{display:none}.tool{max-width:none}.workspace-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:32px;align-items:start}.preview-panel{background:#e9e9e9;border:1px solid #d8d8d8;padding:24px;border-radius:20px;position:sticky;top:20px;min-width:0;box-shadow:0 10px 28px #00000005}.preview-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.preview-heading h2{font-size:15px;margin:0;font-weight:650}.preview-heading>span{font-size:12px;color:var(--muted)}.controls-panel{min-width:0;border-radius:20px;padding:28px;border-color:#e5e5e5;box-shadow:0 10px 30px #00000006}.drop{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f5f5;border-color:#d0d0d0;gap:0}.drop.dragover{background:#fff8cf;border-color:#a58017}.upload-mark{background:#ffe100;color:#101010}.drop p{font-size:13px}.secondary{background:#f5f5f5;border-color:#d9d9d9;color:#35373c}.primary{background:#ffe100;color:#342d19;box-shadow:0 5px 14px #0000000a}.primary:disabled{opacity:.45}.destinations{background:#f0f0f0;border-color:#dedede;margin-bottom:22px}.destinations button{color:#4d5055}.destinations button[aria-pressed=true]{background:#ffe100;color:#292719;box-shadow:none}.target-row{margin-top:0}.target-row input,.platform-select{background:#fff;border-color:#d9d9d9;color:#35373c}.size-presets button{background:#f5f5f5;border-color:#d9d9d9;color:#4d5055}.size-presets button[aria-pressed=true]{background:#ffe100;border-color:#e0c600;color:#292719}.duration-note{background:#f0f0f0}.extra-row input{accent-color:#a58017}.privacy>span{color:#686b70}.result-kicker,#saving{color:#686b70}.numbers strong{color:#303238}.numbers{gap:14px}.numbers strong{font-size:32px}.numbers>span:first-child{font-size:22px}#result{border-top:0;margin-top:0;padding-top:0}.preview-panel video{max-height:440px;min-height:210px;object-fit:contain;background:#101010;width:100%;border-radius:8px}.preview-tabs{display:flex;gap:6px;margin-top:12px;justify-content:center}.preview-tabs button{font-size:12px;padding:8px 16px;border-radius:7px;background:#f5f5f5;color:#4d5055}.preview-tabs button[aria-pressed=true]{background:#ffe100;color:#292719}.file-row{align-items:flex-start}.under-tool{margin-top:12px}.notice{margin-top:24px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:#997511}
@media(min-width:721px){.intro .mobile-break{display:none}.sns-label{margin-top:0}}
@media(max-width:900px) and (min-width:721px){.workspace-layout{gap:20px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.controls-panel{padding:22px}.preview-panel{padding:18px}.size-presets button{padding-inline:14px}}
@media(max-width:720px){main{max-width:560px;padding:0 16px}.intro{padding:26px 0 22px}.intro .mobile-break{display:none}h1{font-size:26px;letter-spacing:0}.workspace-layout{grid-template-columns:minmax(0,1fr);gap:16px}.preview-panel{position:static;padding:14px;border-radius:14px}.controls-panel{padding:22px;border-radius:14px}.preview-heading{margin-bottom:12px}.drop{min-height:230px}.preview-panel video{min-height:0;max-height:38svh}.under-tool{justify-content:space-between}.under-tool .privacy{font-size:11px}.under-tool .text-button{font-size:11px;padding:6px 0}.numbers strong{font-size:32px}.sns-label{margin-top:0}}
/* Keep full-width header within the actual page width, including scrollbars. */
.header{max-width:none;padding-inline:max(24px,calc((100% - 1120px)/2))}.header:before{display:none}
@media(max-width:720px){.header{padding-inline:16px}}
@media(max-width:349.98px){.header{padding-inline:12px}}
.video-guide{margin-top:40px;padding:30px;border:1px solid #e1e1e1;border-radius:20px;background:#fafafa;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.video-guide h2{font-size:18px;line-height:1.6;margin:0 0 18px}.video-guide .guide-intro{font-size:13px;color:#696c71;margin:-6px 0 20px;line-height:1.8}.video-guide ol,.video-guide ul{padding-left:22px;margin:0}.video-guide li{padding-left:4px;margin-bottom:16px}.video-guide li:last-child{margin-bottom:0}.video-guide strong{font-size:15px;font-weight:650}.video-guide li p{margin:5px 0 0;font-size:13px;color:#696c71;line-height:1.8}.video-handling{padding:22px;background:#efefef;border-radius:14px;min-width:0}.video-handling li{font-size:13px;line-height:1.8}.video-handling .handling-note{font-size:12px;color:#696c71;line-height:1.8;margin:18px 0 0}
@media(max-width:720px){.video-guide{grid-template-columns:minmax(0,1fr);padding:22px;gap:24px;margin-top:24px}.video-handling{padding:18px}.video-guide h2{font-size:17px}}
@media(max-width:720px){
.preview-panel.has-video{position:sticky;top:0;z-index:10;scroll-margin-top:0;padding:10px 12px;box-shadow:0 5px 16px #00000015}
.preview-panel.has-video .preview-heading{margin-bottom:4px}
.preview-panel.has-video .file-row{margin-bottom:6px;gap:6px;align-items:center}
.preview-panel.has-video .file-meta strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preview-panel.has-video .file-meta span{font-size:10px}
.preview-panel.has-video .file-row button{min-height:36px;padding:4px;font-size:11px}
.preview-panel.has-video video{height:clamp(100px,24svh,200px);max-height:24svh;min-height:0}
.preview-panel.has-video .under-tool{display:none}
.preview-panel.has-video .preview-tabs{margin-top:6px}
.preview-panel.has-video .preview-tabs button{min-height:36px;padding:4px 14px}
}
