/* 採用画像（1024 × 1536）に合わせた実装。色は config.js でも変更できます。 */
:root{--blue:#1254ff;--ink:#0b132b;--line:#c8d2e3;--muted:#47526a;--soft:#edf3ff;accent-color:var(--blue);font-family:Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;color:var(--ink);font-size:12px;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0;background:#fff}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{background:none;border:0}h1,h2,h3,h4,p,ol,ul,dl,dd{margin:0}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6b91ff;outline-offset:3px}[hidden]{display:none!important}img{max-width:100%}.site-shell{max-width:1400px;margin:auto;overflow:hidden;background:radial-gradient(ellipse 68% 30% at 84% 17%,#eef4ff85,transparent 75%),#fff}.section{margin-left:20px;margin-right:20px}.icon{display:inline-block;vertical-align:middle;width:18px;height:18px;flex-shrink:0;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat;-webkit-mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat}.icon[data-icon="maximize"]{mask-image:url('assets/icons/maximize.svg')}.icon[data-icon="crop"]{mask-image:url('assets/icons/crop.svg')}.icon[data-icon="image"]{mask-image:url('assets/icons/image.svg')}.icon[data-icon="type"]{mask-image:url('assets/icons/type.svg')}.icon[data-icon="download"]{mask-image:url('assets/icons/download.svg')}.icon[data-icon="upload"]{mask-image:url('assets/icons/upload.svg')}.icon[data-icon="plus"]{mask-image:url('assets/icons/plus.svg')}.icon[data-icon="edit-2"]{mask-image:url('assets/icons/edit-2.svg')}.icon[data-icon="x"]{mask-image:url('assets/icons/x.svg')}.icon[data-icon="trash-2"]{mask-image:url('assets/icons/trash-2.svg')}.icon[data-icon="info"]{mask-image:url('assets/icons/info.svg')}.icon[data-icon="shield"]{mask-image:url('assets/icons/shield.svg')}.icon[data-icon="check"]{mask-image:url('assets/icons/check.svg')}.icon[data-icon="chevron-right"]{mask-image:url('assets/icons/chevron-right.svg')}.icon[data-icon="arrow-right"]{mask-image:url('assets/icons/arrow-right.svg')}.icon[data-icon="refresh-cw"]{mask-image:url('assets/icons/refresh-cw.svg')}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:12px;top:-100px;background:white;color:var(--blue);padding:12px;z-index:20}.skip-link:focus{top:10px}.design-label{height:25px;background:linear-gradient(100deg,#fafaff,#e5f1ff);color:var(--blue);font-size:11px;font-weight:600;padding:5px 27px}.site-header{height:50px;padding:0 27px;display:flex;align-items:center;gap:25px;border-bottom:1px solid #d7e1ed}.brand{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:750;white-space:nowrap;letter-spacing:-.03em}.brand-icon{height:30px;width:30px;color:var(--blue)}.site-header nav{display:flex;gap:28px;margin-left:auto;font-weight:600;font-size:12px;white-space:nowrap}.site-header nav a:hover{color:var(--blue)}.motion-button{display:flex;gap:10px;align-items:center;padding:0 0 0 24px;border-left:1px solid #95a0b4;font-size:12px;font-weight:600;height:23px;white-space:nowrap}.motion-button b{font-weight:600}.switch-track{width:40px;height:22px;border-radius:14px;background:#e0e6ef;border:1px solid #aab7ce;display:flex;align-items:center;padding:2px;transition:background .2s}.switch-track:after{content:"";width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .2s}.motion-button[aria-checked="true"] .switch-track{background:var(--blue);border-color:var(--blue)}.motion-button[aria-checked="true"] .switch-track:after{transform:translateX(17px)}
.hero{height:250px;position:relative;padding:27px 28px 16px;isolation:isolate}.hero-copy{position:relative;z-index:2;width:355px}.hero h1{font-size:32px;line-height:1.24;font-weight:800;letter-spacing:-.045em}.hero-copy>p{font-size:12px;line-height:1.55;margin-top:13px;letter-spacing:-.025em}.hero-actions{display:flex;gap:10px;margin-top:19px}.button{height:36px;display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:600;padding:0 16px;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .15s}.button.primary{color:white;background:linear-gradient(100deg,#164dff,#0755ff);border-color:#1050ff;box-shadow:0 1px 1px #2853d017}.button.primary:hover{box-shadow:0 3px 13px #1254ff33;background:#0944e7}.button.outline{border-color:var(--blue);color:var(--blue);background:#ffffffad}.button.outline:hover{background:#edf3ff}.button.ink{color:#111b31;border-color:#a8b7d0}.button.quiet{border-color:transparent;background:#f0f3f8;color:#53617a}.button .icon{height:16px;width:16px}.hero small{display:block;margin-top:8px;font-size:10px}.hero-art{position:absolute;left:35%;top:28px;width:64%;z-index:1;transform:translate3d(calc(var(--mx,0)*2px),calc(var(--my,0)*2px),0);transform-origin:60% 50%;will-change:transform}.hero-art img{width:100%;height:auto;display:block;mix-blend-mode:multiply}.hero-label{position:absolute;top:-7px;padding:3px 10px 2px;border-radius:12px;color:white;font-size:11px;font-weight:600;line-height:1.2;background:#78808f}.hero-label.before{left:5%}.hero-label.after{left:67%;background:var(--blue)}.hero-size{position:absolute;top:15px;left:68.5%;font-size:12px;white-space:nowrap}.motion-on .hero-art img{animation:photo-intro 1s cubic-bezier(.19,1,.22,1) both}.motion-off .hero-art{transform:none;will-change:auto}.motion-off .hero-art img{animation:none}@keyframes photo-intro{from{opacity:.4;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.work-heading{height:54px;display:flex;align-items:center;justify-content:space-between;gap:14px}.work-name{display:flex;align-items:center;gap:15px;min-width:0}h2{font-size:24px;line-height:1.3;letter-spacing:-.04em;font-weight:750}.badge{padding:3px 12px;border-radius:20px;font-size:11px;color:var(--blue);background:#d8e7ff;white-space:nowrap}.progress-steps{display:flex;align-items:center;list-style:none;padding:0;gap:16px;font-size:11px;font-weight:500;white-space:nowrap}.progress-steps li{display:flex;align-items:center;gap:8px}.progress-steps li>span{height:24px;width:24px;display:inline-flex;align-items:center;justify-content:center;background:#e2e9f4;border-radius:50%;font-size:13px;font-weight:600}.progress-steps li.active>span{color:#fff;background:var(--blue)}.progress-steps .step-arrow{font-size:18px;color:#536079;font-weight:400}.workspace{display:grid;grid-template-columns:minmax(0,200fr) minmax(0,400fr) minmax(0,364fr);gap:10px}.workspace.drag-over{outline:3px dashed var(--blue);outline-offset:5px;border-radius:7px}.panel{border:1px solid #cbd5e4;border-radius:6px;background:linear-gradient(120deg,#ffffffd9,#f5f8ffad);min-width:0}.photo-panel{height:394px;padding:10px 8px;overflow:hidden}.photo-panel-head{height:31px;display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:0 5px}.photo-panel-head h3{font-size:13px;white-space:nowrap;padding-top:2px}.photo-panel-head h3 span{font-size:11px;font-weight:400;margin-left:11px}.small-button{height:25px;padding:0 12px;border:1px solid #9aacc9;border-radius:5px;color:#1b3a7c;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:11px;white-space:nowrap}.small-button .icon{height:13px;width:13px}.small-button:hover{background:#edf3ff}.photo-list-actions{display:flex;gap:4px}.clear-button{color:#536884;padding:2px}.clear-button .icon{width:14px;height:14px}.photo-list{height:341px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c4d1e8 transparent;padding-right:0}.photo-row{display:flex;align-items:center;gap:9px;width:100%;height:56px;border-radius:6px;padding:3px 4px;position:relative}.photo-row.active{background:linear-gradient(110deg,#eef4ff,#cfe0ff)}.photo-select{min-width:0;display:flex;align-items:center;gap:9px;padding:0;width:100%;height:50px;text-align:left}.photo-select img{width:49px;height:49px;object-fit:contain;background:#e8e9eb;border:1px solid transparent;border-radius:4px}.photo-row.active .photo-select img{outline:1px solid var(--blue);outline-offset:2px}.photo-select .photo-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;min-width:0}.photo-remove{position:absolute;right:3px;top:5px;padding:3px;line-height:0;background:#fffc;border-radius:4px;opacity:0;color:#66738b}.photo-remove .icon{width:12px;height:12px}.photo-row:hover .photo-remove,.photo-remove:focus-visible{opacity:1}.empty-state{text-align:center;padding:52px 5px;color:#536582;line-height:1.8}.empty-state>.icon{width:35px;height:35px;color:#7c9fe8}.empty-state p{font-size:12px;margin-top:10px}.empty-state small{display:block;font-size:10px;margin:7px 0 16px}.preview-column{display:grid;grid-template-rows:348px 38px;gap:8px;min-width:0}.preview-panel{padding:6px 8px 14px}.preview-toolbar{height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px}.preview-tabs{display:flex;gap:8px;align-items:center}.preview-tabs button{height:26px;font-size:11px;padding:0 16px;border-radius:5px;color:#6d7688;white-space:nowrap}.preview-tabs button[aria-selected="false"]{background:#e9eef6}.preview-tabs button[aria-selected="true"]{color:var(--blue);position:relative;font-weight:600}.preview-tabs button[aria-selected="true"]:after{content:"";height:2px;background:var(--blue);position:absolute;bottom:-3px;left:14px;right:14px}.individual-button{font-size:10px;color:var(--blue);padding:0 3px;display:flex;align-items:center;gap:5px;white-space:nowrap}.individual-button .icon{width:13px;height:13px}.preview-area{width:270px;height:270px;margin:18px auto 0;position:relative;background:#fff;border:1px solid #96b3ff;display:flex;align-items:center;justify-content:center}.preview-area img{height:100%;width:100%;display:block;object-fit:contain}.preview-area.original{border-color:#d3dbe7}.selection-frame{position:absolute;inset:-1px;border:1px solid #5a89ff;pointer-events:none}.margin-guide{position:absolute;inset:5%;border:1px dashed #84aaff}.handle{position:absolute;background:#fff;border:1px solid var(--blue);width:7px;height:7px;pointer-events:auto;cursor:nwse-resize;touch-action:none}.handle.tl{left:-4px;top:-4px}.handle.tr{right:-4px;top:-4px;cursor:nesw-resize}.handle.bl{bottom:-4px;left:-4px;cursor:nesw-resize}.handle.br{right:-4px;bottom:-4px}.preview-busy{position:absolute;inset:auto 10px 10px;background:#fffffff0;padding:6px 12px;font-size:10px;box-shadow:0 1px 5px #0001;border-radius:4px}.preview-area #preview-empty{color:#6f7c90;font-size:11px;padding:22px;text-align:center}.review-button{height:38px;width:calc(100% - 18px);margin:auto;font-size:14px}.review-button .icon{margin-left:20px}
.settings-panel{height:394px;padding:10px 14px 13px}.settings-panel>h3{font-size:15px;height:27px;line-height:1.4;border-bottom:1px solid #bdcce3}.settings-panel form,.settings-panel fieldset{border:0;padding:0;margin:0;min-width:0}.setting-group{padding:6px 0 7px;border-bottom:1px solid #becce2}.setting-group h4{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin-bottom:6px;line-height:1.2}.setting-group h4 .icon{width:18px;height:18px}.size-fields{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-left:30px}.size-fields label{display:flex;align-items:center;gap:10px;font-size:11px}.number-field{display:flex;align-items:center;justify-content:space-between;height:22px;border:1px solid #a6b6d0;background:white;border-radius:5px;flex:1;min-width:0;padding-right:7px;font-size:10px}.number-field input{width:100%;height:20px;border:0;border-radius:5px;padding:0 7px;min-width:0;background:transparent;appearance:textfield;font-size:11px}.number-field input::-webkit-inner-spin-button{appearance:none}.setting-row{display:flex;align-items:center;margin-top:4px;margin-left:30px;gap:8px;font-size:11px;min-width:0}.setting-row>span:first-child{width:43px;flex-shrink:0}.setting-row select{height:22px;flex:1;min-width:0;border:1px solid #a6b6d0;border-radius:4px;background:#fff;padding:1px 6px;font-size:11px}.setting-row #margin,.setting-row #background{flex:none;width:81px}.color-row input[type="color"]{width:40px;height:22px;border:1px solid #a6b6d0;padding:1px;background:white;border-radius:3px}.overlay-group{padding-top:7px;padding-bottom:8px}.overlay-buttons{display:flex;gap:28px;margin-left:28px}.overlay-buttons .small-button{height:27px;flex:1;padding:0 8px;color:#101c37}.overlay-buttons .icon{height:15px;width:15px}.export-group{border:0;padding-top:6px;padding-bottom:8px}.export-group h4{margin-bottom:5px}.format-options{display:flex;border:1px solid #a6b6d0;border-radius:5px;overflow:hidden;margin-left:28px;height:25px}.format-options label{flex:1;position:relative;cursor:pointer;min-width:0}.format-options input{position:absolute;opacity:0;width:1px;height:1px}.format-options span{display:flex;align-items:center;justify-content:center;height:100%;font-size:11px;border-right:1px solid #b8c5da;background:linear-gradient(#fff,#edf3ff)}.format-options label:last-child span{border:0}.format-options input:checked+span{color:#fff;background:var(--blue)}.format-options input:focus-visible+span{outline:2px solid #143ba8;outline-offset:-3px}.quality-row{margin-top:8px}.quality-row input{width:100%;min-width:0;margin:0 0 0 8px;height:17px;accent-color:var(--blue)}.quality-row output{border:1px solid #a6b6d0;border-radius:4px;height:21px;line-height:19px;min-width:39px;text-align:center;background:white;margin-left:11px;font-size:11px}.filename-row{margin-top:6px}.filename-row input{height:22px;min-width:0;flex:1;padding:0 8px;border:1px solid #a6b6d0;border-radius:4px;background:white;font-size:11px}.setting-note{margin-top:8px;padding:6px 9px;background:linear-gradient(100deg,#e5efff,#d6e3fc);border-radius:4px;display:flex;align-items:center;gap:6px;font-size:9px;color:#3c4b68;white-space:nowrap}.setting-note .icon{color:var(--blue);width:13px;height:13px}.processing{display:flex;align-items:center;gap:15px;padding:12px;background:#eff4ff;margin-top:10px;border:1px solid #c7d9ff;border-radius:5px;font-size:12px}.processing progress{height:9px;flex:1;accent-color:var(--blue)}.notice{margin:5px 20px 13px;padding:10px 14px;border:1px solid #bbceff;background:#eff4ff;color:#1944a6;line-height:1.8;border-radius:5px;white-space:pre-line}.notice.error{border-color:#e0b8a7;background:#fff4ee;color:#8e411d}
.results-section{margin-top:16px;border-top:1px solid #dbe2ee;padding:8px 8px 14px}.results-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.results-heading h2{font-size:23px;line-height:1.25;margin-bottom:2px}.results-heading p{font-size:11px;line-height:1.6}.result-spec{font-size:11px;padding:3px 10px;border-radius:13px;border:1px solid #dbe2ef;background:#f5f7fb;white-space:nowrap}.results-layout{display:grid;grid-template-columns:minmax(0,1fr) 178px;gap:22px;align-items:start}.results-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;align-items:start}.result-card{min-width:0}.result-photo-button{padding:0;display:block;width:100%;aspect-ratio:1;background:#e9ebee;border-radius:4px;overflow:hidden;position:relative}.result-photo-button img{display:block;width:100%;height:100%;object-fit:contain}.result-photo-button:focus-visible{outline-offset:2px}.result-photo-button:hover:after{content:"拡大";position:absolute;inset:auto 4px 4px auto;border-radius:3px;padding:3px 6px;font-size:9px;color:var(--blue);background:#fffffff0}.result-photo-button.stale{opacity:.6}.result-photo-button.error:after{content:"確認が必要";position:absolute;inset:auto 0 0;background:#fff0e8;color:#8c411e;font-size:9px;padding:4px}.result-caption{display:flex;align-items:center;gap:5px;margin-top:5px;min-width:0}.result-caption input{width:13px;height:13px;flex-shrink:0;margin:0}.result-caption span{font-size:9px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.download-actions{padding-top:14px}.download-actions .button{height:34px;font-size:12px;width:100%;gap:8px;padding:0 9px}.download-actions .button+.button{margin-top:7px}.download-actions p{font-size:10px;line-height:1.5;margin:14px 2px 0}.download-actions .download-status{margin-top:5px;color:var(--blue);font-size:9px}.how-section{border-top:1px solid #dbe2ee;display:grid;grid-template-columns:174px repeat(3,minmax(0,1fr));gap:14px;align-items:center;min-height:87px;padding:12px 6px 11px}.how-section>h2{font-size:21px;line-height:1.35}.how-step{display:flex;align-items:center;gap:13px;position:relative}.how-icon{border:1px solid #a7b8d4;height:57px;width:57px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#2765ee;flex-shrink:0}.how-icon .icon{width:30px;height:30px}.how-icon.crop,.how-icon.download{color:#4b5a78}.how-step h3{font-size:12px;line-height:1.5;white-space:nowrap;margin-bottom:3px}.how-step h3 b{font-size:20px;color:var(--blue);margin-right:7px;line-height:1;font-weight:700}.how-step p{font-size:10px;line-height:1.6;letter-spacing:-.03em}.how-arrow{position:absolute;right:-11px;top:25px;width:16px;height:16px;color:#7f8ca5}.privacy-strip{display:flex;align-items:center;gap:25px;min-height:76px;padding:14px 25px;border-radius:9px;background:linear-gradient(110deg,#edf4ff,#dfebfd);margin-top:0}.privacy-title{display:flex;align-items:center;gap:14px;flex-shrink:0;padding-right:28px;border-right:1px solid #b3c1da;align-self:stretch}.privacy-title>.icon{width:29px;height:29px;color:var(--blue);align-self:center}.privacy-title h2{font-size:20px;line-height:1.5;align-self:center;white-space:nowrap}.privacy-text{font-size:8px;line-height:1.8}.privacy-text ul{padding:0;list-style:none}.privacy-text li{position:relative;padding-left:11px}.privacy-text li:before{content:"";position:absolute;left:0;top:6px;height:5px;width:5px;background:var(--blue);border-radius:50%}.hints-section{padding:15px 4px 12px}.hints-section>h2{font-size:20px;margin-bottom:11px}.hint-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.hint{display:grid;grid-template-columns:44% minmax(0,1fr);gap:11px;text-align:left;padding:0;min-width:0;position:relative}.hint:not(:last-child):after{content:"";position:absolute;right:-13px;top:0;bottom:0;width:1px;background:#d1daea}.hint>img{width:100%;height:102px;object-fit:cover;border-radius:6px;object-position:50% 46%}.hint:first-child>img{object-position:50% 35%}.hint h3{font-size:15px;line-height:1.35;color:var(--blue);margin:1px 0 7px;letter-spacing:-.04em}.hint h3>.icon{height:11px;width:11px;margin-left:-2px}.hint p{font-size:11px;line-height:1.55;letter-spacing:-.035em}.hint:hover h3{text-decoration:underline;text-underline-offset:3px}.faq-section{display:grid;grid-template-columns:174px minmax(0,1fr);border-top:1px solid #d9e1ee;padding:11px 5px 12px;gap:12px;align-items:start}.faq-section h2{font-size:23px;line-height:1.5}.faq-section dl{min-width:0}.faq-section dl>div{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;border-bottom:1px solid #cbd6e6;min-height:25px;padding:3px 0}.faq-section dl>div:last-child{border:0}.faq-section dt{font-size:11px;font-weight:600;padding-left:0;line-height:1.5}.faq-section dd{font-size:10px;line-height:1.65;border-left:1px solid #b0bdd1;padding-left:24px;letter-spacing:-.03em}.final-cta{display:flex;align-items:center;justify-content:center;gap:32px;border-radius:9px;min-height:52px;background:linear-gradient(110deg,#eff5ff,#d0e1fc);margin-bottom:5px;padding:8px 20px}.final-cta h2{font-size:18px;letter-spacing:-.025em;line-height:1.4}.final-cta .button{height:33px;min-width:165px;font-size:13px;gap:20px;background:#ffffffc4}.site-footer{height:40px;display:flex;align-items:flex-start;justify-content:space-between;padding:4px 6px 0;gap:20px}.site-footer .brand{font-size:15px;gap:10px}.site-footer .brand-icon{height:27px;width:27px}.footer-right{display:flex;flex-direction:column;align-items:end;padding-top:3px}.footer-right nav{display:flex;align-items:center;gap:14px;font-size:10px;line-height:1.5}.footer-right nav>*+*{position:relative}.footer-right nav>*+*:before{content:"/";position:absolute;left:-10px;color:#8895ac}.footer-right nav button{padding:0;font-size:inherit}.footer-right nav a:hover,.footer-right nav button:hover{color:var(--blue)}.footer-right p{font-size:8px;margin-top:3px;color:#68758d}
.modal{position:fixed;inset:0;border:1px solid #c7d4ea;border-radius:13px;width:min(610px,calc(100vw - 32px));max-height:90vh;padding:0;background:#fff;color:var(--ink);box-shadow:0 24px 100px #16378140;font-size:14px}.modal::backdrop{background:#0b17395c;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px 16px;border-bottom:1px solid #e0e7f1}.modal-head h2{font-size:21px}.icon-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:5px;background:#f2f5fa;color:#596985}.icon-button:hover{background:#e4edff}.modal-body,.content-body{padding:21px 24px;line-height:1.9}.modal-actions{padding:16px 24px;display:flex;justify-content:end;gap:12px;border-top:1px solid #e2e7f0}.modal-actions .button{font-size:13px;height:39px}.dialog-field{display:flex;flex-direction:column;gap:5px;font-size:12px;margin-bottom:15px;font-weight:500}.dialog-field input:not([type="checkbox"]),.dialog-field select,.dialog-field textarea{border:1px solid #bccce3;background:#fff;border-radius:5px;padding:8px 10px;min-width:0;width:100%;font-size:14px}.dialog-field textarea{resize:vertical;line-height:1.8}.dialog-field input[type="color"]{height:38px;padding:3px}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.dialog-checkbox{display:flex;gap:7px;align-items:center;font-size:13px}.dialog-checkbox input{margin:0;width:15px;height:15px}.dialog-hint{font-size:12px;color:#65758d;margin-top:12px;line-height:1.9}.logo-preview{background:repeating-conic-gradient(#edf0f5 0% 25%,#fff 0% 50%) 50%/18px 18px;border:1px solid #e1e6ee;text-align:center;margin-bottom:20px;padding:15px;height:130px}.logo-preview img{height:100%;object-fit:contain}.content-modal{width:min(760px,calc(100vw - 32px))}.content-body{font-size:14px;line-height:2;overflow-wrap:anywhere}.content-body h3{font-size:18px;line-height:1.7;margin:20px 0 8px}.content-body h3:first-child{margin-top:0}.content-body p+p{margin-top:12px}.content-body ul,.content-body ol{padding-left:21px;margin:10px 0}.content-body a{color:var(--blue);text-decoration:underline}.content-body .full-photo{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain;background:#eef0f4}.download-list{display:flex;flex-direction:column;gap:10px}.download-list a{display:flex;gap:16px;align-items:center;padding:9px 13px;border:1px solid #cfdbed;border-radius:6px;text-decoration:none}.download-list img{width:54px;height:54px;object-fit:contain;background:#f1f3f7;border-radius:4px}.download-list .download-name{flex:1;min-width:0;overflow-wrap:anywhere}.download-list small{display:block;font-size:11px;color:#6c7b91}.download-list .icon{margin-left:auto;color:var(--blue)}
@media(min-width:1200px){:root{font-size:14px}.section{margin-left:28px;margin-right:28px}.design-label{height:29px;font-size:12px;padding-left:34px}.site-header{height:62px;padding:0 34px;gap:32px}.brand{font-size:20px}.brand-icon{width:34px;height:34px}.site-header nav,.motion-button{font-size:14px}.hero{height:316px;padding:32px 34px 18px}.hero-copy{width:455px}.hero h1{font-size:40px}.hero-copy>p{font-size:14px;margin-top:17px}.hero-actions{margin-top:23px}.hero-actions .button{height:42px;font-size:15px}.hero small{font-size:11px}.hero-art{top:31px;left:35%;width:64%}.hero-label{font-size:12px}.hero-size{font-size:13px;top:19px}.work-heading{height:63px}h2{font-size:29px}.badge{font-size:12px}.progress-steps{font-size:13px;gap:20px}.progress-steps li>span{width:27px;height:27px;font-size:15px}.workspace{gap:14px;grid-template-columns:minmax(0,200fr) minmax(0,400fr) minmax(0,364fr)}.photo-panel,.settings-panel{height:472px}.photo-panel{padding:12px}.photo-panel-head{height:37px}.photo-panel-head h3{font-size:15px}.photo-panel-head h3 span{font-size:12px}.small-button{height:29px;font-size:12px}.photo-list{height:407px}.photo-row{height:67px}.photo-select img{height:59px;width:59px}.photo-select .photo-name{font-size:12px}.preview-column{grid-template-rows:416px 46px;gap:10px}.preview-panel{padding:9px 11px}.preview-toolbar{height:37px}.preview-tabs button{font-size:13px;padding:0 20px;height:29px}.individual-button{font-size:12px}.preview-area{height:324px;width:324px;margin-top:23px}.review-button{height:46px;font-size:16px}.settings-panel{padding:13px 17px}.settings-panel>h3{font-size:18px;height:32px}.setting-group{padding:9px 0}.setting-group h4{font-size:15px;margin-bottom:8px}.setting-group h4 .icon{width:20px;height:20px}.size-fields label{font-size:13px}.number-field{height:25px;font-size:11px}.number-field input{height:23px;font-size:13px}.setting-row{font-size:12px;margin-top:6px;gap:10px}.setting-row>span:first-child{width:49px}.setting-row select{height:25px;font-size:12px}.setting-row #margin,.setting-row #background{width:98px}.overlay-buttons .small-button{height:30px;font-size:12px}.format-options{height:29px}.format-options span{font-size:13px}.quality-row output{height:24px;line-height:22px;font-size:12px}.filename-row input{height:26px;font-size:12px}.setting-note{font-size:11px;padding:8px 9px;margin-top:9px}.results-section{margin-top:20px;padding-top:12px;padding-bottom:19px}.results-heading{margin-bottom:14px}.results-heading h2{font-size:28px}.results-heading p{font-size:13px}.result-spec{font-size:13px}.results-layout{grid-template-columns:minmax(0,1fr) 216px;gap:24px}.results-grid{gap:12px}.result-caption{margin-top:7px}.result-caption span{font-size:10px}.result-caption input{height:14px;width:14px}.download-actions .button{height:40px;font-size:14px}.download-actions p{font-size:12px;line-height:1.7}.how-section{grid-template-columns:210px repeat(3,minmax(0,1fr));min-height:105px;padding:15px 7px;gap:18px}.how-section>h2{font-size:26px}.how-icon{width:68px;height:68px}.how-icon .icon{width:35px;height:35px}.how-step h3{font-size:14px}.how-step h3 b{font-size:23px}.how-step p{font-size:12px}.how-arrow{right:-14px;top:31px}.privacy-strip{min-height:91px;padding:17px 30px;gap:30px}.privacy-title h2{font-size:24px}.privacy-title>.icon{width:34px;height:34px}.privacy-text{font-size:10px}.hints-section{padding:19px 5px 15px}.hints-section>h2{font-size:24px;margin-bottom:14px}.hint-grid{gap:32px}.hint{gap:14px}.hint>img{height:123px}.hint h3{font-size:18px}.hint p{font-size:13px}.hint:not(:last-child):after{right:-16px}.faq-section{grid-template-columns:210px 1fr;gap:15px;padding:14px 6px}.faq-section h2{font-size:28px}.faq-section dl>div{grid-template-columns:265px 1fr;min-height:30px;padding:4px 0}.faq-section dt{font-size:13px}.faq-section dd{font-size:12px}.final-cta{min-height:63px;gap:40px;margin-bottom:8px}.final-cta h2{font-size:22px}.final-cta .button{font-size:15px;height:38px;min-width:200px}.site-footer{height:51px}.site-footer .brand{font-size:18px}.footer-right nav{font-size:12px}.footer-right p{font-size:10px}}
@media(max-width:900px){.site-header{padding:0 20px;gap:16px}.site-header nav{gap:15px;font-size:11px}.brand{font-size:14px;gap:7px}.motion-button{padding-left:15px;font-size:11px}.hero{padding-left:23px}.hero-copy{width:330px}.hero h1{font-size:29px}.hero-copy>p{font-size:11px}.hero-art{left:38%;width:61%;top:43px}.hero-actions{gap:8px}.hero-actions .button{font-size:12px;padding:0 12px}.work-name{gap:10px}.work-heading h2{font-size:21px}.badge{font-size:10px;padding:3px 8px}.progress-steps{gap:9px;font-size:10px}.progress-steps li{gap:5px}.workspace{grid-template-columns:156px minmax(270px,1fr) 285px;gap:8px}.photo-panel{padding:10px 6px}.photo-panel-head{padding:0}.photo-panel-head h3{font-size:12px}.photo-panel-head h3 span{margin-left:4px}.photo-panel .small-button{padding:0 6px}.photo-row,.photo-select{gap:5px}.photo-select .photo-name{font-size:9px}.preview-area{height:240px;width:240px;margin-top:27px}.preview-tabs button{padding:0 9px;font-size:10px}.individual-button{font-size:9px}.settings-panel{padding:10px}.size-fields{gap:8px;margin-left:21px}.setting-row{margin-left:21px}.overlay-buttons{margin-left:20px;gap:12px}.format-options{margin-left:21px}.setting-note{font-size:8px;padding:5px}.how-section{grid-template-columns:140px repeat(3,minmax(0,1fr));gap:11px}.how-section>h2{font-size:18px}.how-step{gap:8px}.how-icon{width:42px;height:42px}.how-icon .icon{width:24px;height:24px}.how-step h3{font-size:10px}.how-step h3 b{font-size:17px;margin-right:4px}.how-step p{font-size:9px}.how-arrow{display:none}.privacy-strip{padding:12px 19px;gap:18px}.privacy-title{gap:10px;padding-right:18px}.privacy-title h2{font-size:17px}.privacy-title>.icon{width:24px;height:24px}.privacy-text{font-size:8px}.hint-grid{gap:20px}.hint h3{font-size:13px}.hint p{font-size:10px}.hint>img{height:100px}.faq-section{grid-template-columns:145px 1fr}.faq-section h2{font-size:20px}.faq-section dl>div{grid-template-columns:185px 1fr}.faq-section dt{font-size:10px}.faq-section dd{font-size:9px;padding-left:15px}.final-cta h2{font-size:16px}.final-cta{gap:20px}.site-footer .brand{font-size:13px}.footer-right nav{font-size:9px}}
@media(max-width:760px){.site-shell{overflow:hidden}.design-label{height:24px;padding-left:16px;font-size:10px}.site-header{height:61px;padding:0 16px;gap:12px;flex-wrap:wrap;align-content:center}.brand{font-size:14px}.brand-icon{height:24px;width:24px}.site-header nav{order:3;flex-basis:100%;gap:22px;font-size:10px;margin-top:5px;margin-left:31px}.motion-button{border:0;margin-left:auto;padding-left:0;font-size:10px}.switch-track{width:34px;height:20px}.switch-track:after{width:14px;height:14px}.motion-button[aria-checked="true"] .switch-track:after{transform:translateX(14px)}.hero{height:auto;padding:24px 18px 0}.hero-copy{width:100%}.hero h1{font-size:clamp(26px,6.7vw,34px);line-height:1.35}.hero-copy>p{font-size:12px;line-height:1.8;margin-top:13px}.hero-copy>p br{display:none}.hero-actions{margin-top:17px}.hero-actions .button{height:40px;font-size:12px;padding:0 14px}.hero small{font-size:10px;margin-top:10px}.hero-art{position:relative;left:auto;top:auto;width:calc(100% + 12px);margin:24px -6px 0;transform:none}.hero-label{font-size:9px;top:-3px;padding:2px 7px}.hero-label.after{left:65%}.hero-size{font-size:9px;top:14px;left:66%}.section{margin-left:14px;margin-right:14px}.work-heading{height:auto;display:block;padding:20px 0 13px}.work-name{justify-content:space-between;gap:8px}.work-heading h2{font-size:21px}.badge{font-size:9px}.progress-steps{font-size:10px;gap:11px;margin-top:15px;justify-content:space-between}.progress-steps li{gap:5px}.progress-steps li>span{height:21px;width:21px;font-size:11px}.progress-steps .step-arrow{font-size:13px}.workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.photo-panel{height:auto;min-height:93px;padding:9px}.photo-panel-head{height:26px}.photo-panel-head h3{font-size:12px}.photo-list{height:65px;display:flex;gap:4px;overflow:auto;padding:3px 2px 4px}.photo-row{height:55px;min-width:64px;width:64px;flex-shrink:0;padding:2px}.photo-select{display:flex;flex-direction:column;gap:3px;height:auto;justify-content:start}.photo-select img{width:43px;height:43px}.photo-select .photo-name{font-size:8px;max-width:60px}.photo-remove{top:0;right:0}.empty-state{padding:14px;display:flex;align-items:center;gap:12px;text-align:left}.empty-state>.icon{height:26px;width:26px}.empty-state p{margin:0;font-size:11px}.empty-state small{margin:0;font-size:9px}.empty-state .small-button{margin-left:auto}.preview-column{grid-template-rows:auto 42px;gap:9px}.preview-panel{padding:9px 12px 15px;min-height:334px}.preview-toolbar{height:32px}.preview-tabs button{font-size:12px;padding:0 16px}.individual-button{font-size:11px}.preview-area{width:min(270px,80vw);height:auto;aspect-ratio:1;margin-top:17px}.review-button{height:42px;font-size:14px;width:100%}.settings-panel{height:auto;padding:14px 16px}.settings-panel>h3{font-size:17px;height:31px}.setting-group{padding:11px 0}.setting-group h4{font-size:15px;margin-bottom:11px}.size-fields{margin-left:26px;gap:20px}.size-fields label{font-size:12px}.number-field{height:33px;font-size:12px}.number-field input{height:30px;font-size:14px}.setting-row{margin-top:8px;font-size:12px;margin-left:26px}.setting-row>span:first-child{width:55px}.setting-row select{height:33px;font-size:13px}.setting-row #margin,.setting-row #background{width:120px}.overlay-buttons{margin-left:26px;gap:15px}.overlay-buttons .small-button{height:34px;font-size:13px}.format-options{height:33px;margin-left:26px}.format-options span{font-size:13px}.quality-row{gap:8px}.quality-row output{height:28px;line-height:26px;font-size:13px;min-width:42px}.filename-row input{height:33px;font-size:13px}.setting-note{margin-top:9px;font-size:10px;white-space:normal;padding:8px}.results-section{padding:12px 0 18px;margin-top:20px}.results-heading{display:block;margin-bottom:13px}.results-heading h2{font-size:21px}.results-heading p{font-size:11px;margin-top:4px}.result-spec{font-size:10px;display:inline-block;margin-top:10px}.results-layout{display:block}.results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 9px}.result-caption span{font-size:9px}.result-caption input{width:14px;height:14px}.download-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:17px}.download-actions .button{height:40px;font-size:11px;margin:0!important;padding:0 9px}.download-actions p{font-size:10px;margin:0;grid-column:1/-1}.download-actions p br{display:none}.how-section{display:flex;flex-direction:column;align-items:stretch;padding:19px 0;gap:18px}.how-section>h2{font-size:21px}.how-section>h2 br{display:none}.how-step{gap:15px}.how-icon{width:46px;height:46px}.how-step h3{font-size:14px;margin-bottom:3px}.how-step h3 b{font-size:19px;margin-right:8px}.how-step p{font-size:12px;line-height:1.8}.how-step p br{display:none}.privacy-strip{display:block;padding:18px 16px;margin-top:0}.privacy-title{border:0;padding:0;margin-bottom:13px;gap:12px}.privacy-title h2{font-size:18px;white-space:normal}.privacy-title>.icon{height:26px;width:26px}.privacy-text{font-size:11px;line-height:1.9}.privacy-text p{margin-bottom:7px}.privacy-text li:before{top:8px}.hints-section{padding:24px 0}.hints-section>h2{font-size:20px;margin-bottom:16px}.hint-grid{display:flex;flex-direction:column;gap:17px}.hint{grid-template-columns:110px 1fr;gap:15px}.hint>img{height:98px}.hint h3{font-size:16px;margin-bottom:8px}.hint h3 br,.hint p br{display:none}.hint p{font-size:12px;line-height:1.8}.hint:not(:last-child):after{display:none}.faq-section{display:block;padding:19px 0}.faq-section h2{font-size:21px;margin-bottom:16px}.faq-section dl>div{display:block;padding:11px 0}.faq-section dt{font-size:13px;margin-bottom:7px}.faq-section dd{border:0;padding:0;font-size:12px;line-height:1.9}.final-cta{flex-direction:column;gap:14px;padding:20px 16px;margin-bottom:10px}.final-cta h2{font-size:18px;line-height:1.6;text-align:center}.final-cta .button{height:38px;width:190px}.site-footer{height:auto;display:block;padding:8px 0 20px}.site-footer .brand{font-size:14px;justify-content:center}.footer-right{align-items:center;margin-top:14px;gap:5px}.footer-right nav{font-size:11px;gap:18px}.footer-right p{font-size:9px;margin-top:5px;text-align:center}.notice{font-size:12px;margin:12px 14px}.modal{font-size:14px}.modal-head{padding:16px 18px}.modal-head h2{font-size:19px}.modal-body,.content-body{padding:17px 18px}.dialog-grid{grid-template-columns:1fr;gap:0}.modal-actions{padding:15px 18px;gap:8px}.modal-actions .button{font-size:12px;padding:0 12px}.processing{flex-wrap:wrap}.processing progress{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.hero-art{transform:none!important}}
.setting-row>span:first-child{width:63px;white-space:nowrap}.size-fields label{gap:40px}.photo-select{gap:12px;height:54px}.photo-select img{width:54px;height:54px}.photo-select .photo-name{font-size:11px}.photo-row{padding:1px 4px}.results-layout{grid-template-columns:minmax(0,1fr) 184px}.download-actions p{letter-spacing:-.04em}.download-status:empty{display:none}.site-footer{height:34px}.hero-art img{mask-image:linear-gradient(to right,transparent,#000 3%,#000 98%,transparent)}
@media(min-width:1200px){.setting-row>span:first-child{width:67px}.size-fields label{gap:25px}.photo-select{height:59px;gap:12px}.photo-select img{width:59px;height:59px}.photo-select .photo-name{font-size:12px}.results-layout{grid-template-columns:minmax(0,1fr) 222px}.site-footer{height:51px}}
@media(max-width:900px){.setting-row>span:first-child{width:58px}.size-fields label{gap:12px}.photo-select{gap:6px}.photo-select img{width:49px;height:49px}.photo-select .photo-name{font-size:9px}}
@media(max-width:760px){.setting-row>span:first-child{width:55px}.size-fields label{gap:10px}.photo-select{gap:3px;height:auto}.photo-select img{width:43px;height:43px}.photo-select .photo-name{font-size:8px}.photo-row{padding:2px}.results-layout{display:block}.site-footer{height:auto}}

/* 原寸比較後の余白と設定欄の調整 */
.work-heading{padding-left:8px}.results-section{padding-bottom:23px}.setting-group{padding-top:5px;padding-bottom:5px}.setting-group h4{margin-bottom:4px}.setting-row{margin-top:3px}.overlay-group{padding-top:6px;padding-bottom:6px}.overlay-group h4{margin-bottom:5px}.export-group{padding-top:5px;padding-bottom:5px}.quality-row{margin-top:7px}.filename-row{margin-top:5px}
@media(min-width:1200px){.setting-group{padding:9px 0}.setting-group h4{margin-bottom:8px}.setting-row{margin-top:6px}.results-section{padding-bottom:25px}}
@media(max-width:760px){.work-heading{padding-left:0}.setting-group{padding:11px 0}.setting-group h4{margin-bottom:11px}.setting-row{margin-top:8px}.results-section{padding-bottom:18px}}

.hint-photo{height:102px;width:100%;display:block;border-radius:6px;overflow:hidden}.hint-photo img{width:100%;height:100%;object-fit:cover;transform:scale(1.8);transform-origin:50% 30%}.hint:first-child .hint-photo img{transform:scale(2.05);transform-origin:50% 23%}.hint:nth-child(2) .hint-photo img{transform:scale(2.15);transform-origin:50% 20%}.hint:nth-child(3) .hint-photo img{transform:scale(1.9);transform-origin:45% 25%}
@media(min-width:1200px){.hint-photo{height:123px}}
@media(max-width:900px){.hint-photo{height:100px}}
@media(max-width:760px){.hint-photo{height:98px}}

@media(min-width:761px) and (max-width:900px){.workspace{grid-template-columns:156px minmax(240px,1fr) 285px}}

/* 原画像の細い画質スライダー、写真の切り取り、補助アイコン */
.quality-row input[type="range"]{appearance:none;-webkit-appearance:none;border:0;background:transparent;height:18px}
.quality-row input[type="range"]::-webkit-slider-runnable-track{height:4px;background:linear-gradient(to right,var(--blue) 0%,var(--blue) var(--quality-fill,81.25%),#e0e6f3 var(--quality-fill,81.25%),#e0e6f3 100%);border:1px solid #b7c8ef;border-radius:4px}
.quality-row input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;border:1px solid var(--blue);margin-top:-6px}
.quality-row input[type="range"]::-moz-range-track{height:3px;background:#e0e6f3;border:1px solid #b7c8ef;border-radius:4px}.quality-row input[type="range"]::-moz-range-progress{height:3px;background:var(--blue)}.quality-row input[type="range"]::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:#fff;border:1px solid var(--blue)}
.how-icon{position:relative}.how-icon .how-plus{position:absolute;width:13px;height:13px;bottom:13px;right:10px;background-color:var(--blue);box-shadow:0 0 0 2px #fff}.privacy-shield{height:29px;width:29px;position:relative;display:block;flex-shrink:0;align-self:center;color:var(--blue)}.privacy-shield>.icon:first-child{height:100%;width:100%}.privacy-shield>.shield-check{position:absolute;height:15px;width:15px;top:6px;left:7px}
@media(min-width:761px){.hint-grid{grid-template-columns:1.07fr 1fr 1.07fr}.hint:first-child{grid-template-columns:56% minmax(0,1fr)}.hint:nth-child(2){grid-template-columns:35% minmax(0,1fr)}.hint:nth-child(3){grid-template-columns:54% minmax(0,1fr)}}
@media(min-width:901px) and (max-width:1199px){.site-header nav{font-size:13px}.individual-button{font-size:11px}}
@media(min-width:1200px){.privacy-shield{width:34px;height:34px}.privacy-shield>.shield-check{height:18px;width:18px;left:8px;top:7px}.how-icon .how-plus{bottom:16px;right:12px}}

.skip-link{top:0;transform:translateY(-200%);clip-path:inset(100%);white-space:nowrap}.skip-link:focus{transform:none;clip-path:none}

@media(min-width:761px){.hint:first-child p{font-size:10px;width:calc(100% + 11px)}}
@media(min-width:1200px){.hint:first-child p{font-size:12px;width:calc(100% + 14px)}}

/* 案内は別タブへ。PCの作業台の配置・寸法は維持する。 */
.sale-footer{max-width:1400px;margin:8px auto 0;padding:8px 26px 15px;text-align:right;font-size:11px;color:#536786;line-height:1.8}
.sale-footer a{text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:5px 0}
.mobile-scroll-note{display:none}

/* スマホは単なる縮小にせず、写真選択・設定・確認・保存の順に使う。 */
@media(max-width:760px){
  html{scroll-padding-top:12px}
  .site-shell{overflow:visible}
  .site-header{height:auto;min-height:104px;padding:10px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-content:initial;gap:5px 8px}
  .site-header .brand{grid-column:1/-1;min-height:36px;font-size:14px;line-height:1.5;white-space:normal;gap:8px;min-width:0}
  .site-header nav{grid-column:1;order:initial;flex-basis:auto;display:flex;flex-wrap:wrap;gap:0 16px;margin:0;font-size:11px;white-space:normal;line-height:1.6}
  .site-header nav a{min-height:44px;display:inline-flex;align-items:center}
  .motion-button{grid-column:2;margin:0;min-height:44px;height:auto;gap:6px;font-size:10px}
  .hero{overflow:hidden}
  .hero-art{width:100%;margin:24px 0 0}
  .hero-actions{flex-wrap:wrap}
  .hero-actions .button{min-height:44px;height:auto;line-height:1.5;font-size:13px}
  .hero small{font-size:11px}
  .work-name{flex-wrap:wrap;gap:9px}
  .work-heading h2{font-size:22px;white-space:normal}
  .badge{font-size:11px;padding:4px 10px}
  .progress-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px;white-space:normal}
  .progress-steps li{display:flex;flex-direction:column;gap:4px;text-align:center;font-size:12px;line-height:1.6;min-width:0}
  .progress-steps li>span{width:25px;height:25px;font-size:13px}
  .progress-steps li.step-arrow{display:none}
  .photo-panel{padding:10px}
  .photo-panel-head{height:44px;align-items:center}
  .photo-panel-head h3{font-size:14px;padding:0}
  .photo-panel-head h3 span{font-size:12px}
  .photo-panel .small-button{min-height:44px;font-size:13px;padding:0 14px}
  .photo-panel .clear-button{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}
  .photo-list{height:149px;padding:5px 2px;gap:8px;overscroll-behavior-x:contain}
  .photo-row{display:flex;flex-direction:column;width:94px;min-width:94px;height:135px;gap:2px;padding:4px}
  .photo-select{height:80px;gap:5px;flex:none;align-items:center}
  .photo-select img{width:56px;height:56px;flex-shrink:0}
  .photo-select .photo-name{font-size:10px;max-width:84px}
  .photo-remove{position:static;opacity:1;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:44px;line-height:1.3;background:#fff;border:1px solid #d6dfed}
  .photo-remove:after{content:"外す";font-size:11px}
  .photo-remove .icon{width:14px;height:14px}
  .mobile-scroll-note{display:block;font-size:11px;color:#5f718e;padding:5px 1px 2px}
  .preview-panel{min-height:0;padding:10px 12px 17px}
  .preview-toolbar{min-height:44px;height:auto;gap:5px;flex-wrap:wrap}
  .preview-tabs button{min-height:44px;height:auto;font-size:13px;padding:0 12px}
  .individual-button{min-height:44px;font-size:12px;padding:0 3px}
  .preview-area{width:min(270px,100%);height:auto;aspect-ratio:1;margin-top:14px}
  .review-button{height:44px}
  .settings-panel{padding:16px}
  .settings-panel>h3{height:34px;font-size:18px}
  .setting-row,.size-fields,.overlay-buttons,.format-options{margin-left:0}
  .size-fields{gap:12px}
  .size-fields label{font-size:13px;gap:8px;min-width:0}
  .number-field{height:44px;padding-right:6px}
  .number-field input{height:40px;font-size:16px;padding-left:8px}
  .setting-row{margin-top:11px;font-size:13px;gap:8px}
  .setting-row>span:first-child{width:65px}
  .setting-row select{min-height:44px;height:auto;font-size:16px;padding:7px}
  .setting-row #margin,.setting-row #background{width:150px;max-width:calc(100% - 73px)}
  .color-row input[type="color"]{min-height:44px;min-width:44px}
  .overlay-buttons{gap:8px}
  .overlay-buttons .small-button{height:auto;min-height:44px;font-size:13px;white-space:normal;line-height:1.5}
  .format-options{height:44px}
  .format-options span{font-size:14px}
  .quality-row input[type="range"]{min-height:44px;height:44px;margin:0}
  .quality-row output{min-width:38px;margin-left:0;font-size:13px}
  .filename-row input{height:44px;font-size:16px;min-width:0}
  .setting-note{font-size:12px;line-height:1.8;align-items:flex-start;white-space:normal}
  .setting-note .icon{margin-top:3px;flex-shrink:0}
  .results-heading p{font-size:12px}
  .result-spec{font-size:11px;white-space:normal;line-height:1.8}
  .result-caption{min-height:44px;gap:6px;margin-top:1px}
  .result-caption input{width:19px;height:19px}
  .result-caption span{font-size:10px}
  .download-actions{grid-template-columns:1fr}
  .download-actions .button{height:auto;min-height:46px;font-size:14px}
  .download-actions p{font-size:12px;line-height:1.8}
  .hint h3{font-size:17px;line-height:1.6}
  .hint h3>.icon{display:none}
  .hint p{font-size:13px}
  .privacy-text{font-size:12px}
  .faq-section dd{font-size:13px}
  .final-cta .button{min-height:44px;height:auto}
  .site-footer{padding-bottom:12px}
  .footer-right nav{flex-wrap:wrap;justify-content:center;gap:0 20px;font-size:12px}
  .footer-right nav a{min-height:44px;display:inline-flex;align-items:center}
  .footer-right p{font-size:11px;line-height:1.9}
  .sale-footer{text-align:center;margin-top:0;padding:0 20px 18px;font-size:12px}
  .sale-footer a{min-height:44px;display:inline-flex;align-items:center}
  .modal{max-height:calc(100dvh - 24px);max-height:min(90vh,calc(100dvh - 24px));overflow:auto;overscroll-behavior:contain}
  .modal-head{gap:10px}
  .modal-head h2{font-size:19px;line-height:1.6}
  .icon-button{min-width:44px;min-height:44px}
  .dialog-field{font-size:14px}
  .dialog-field input:not([type="checkbox"]),.dialog-field select,.dialog-field textarea{font-size:16px;min-height:44px}
  .dialog-field input[type="range"]{min-height:44px}
  .dialog-checkbox{min-height:44px;font-size:14px}
  .dialog-checkbox input{width:20px;height:20px}
  .dialog-hint{font-size:13px}
  .modal-actions .button{min-height:44px;height:auto;white-space:normal;font-size:13px;line-height:1.6}
  .download-list a{min-height:64px;font-size:14px}
  .processing{font-size:13px;line-height:1.8}
  .processing .small-button{min-height:44px;font-size:13px}
}
@media(max-width:360px){
  .site-header nav{gap:0 11px;font-size:10px}
  .hero h1{font-size:24px;line-height:1.45}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .hero-actions .button{width:100%}
  .preview-tabs button{padding:0 10px;font-size:12px}
  .individual-button{font-size:11px}
  .hint{grid-template-columns:92px minmax(0,1fr);gap:13px}
  .modal-actions{flex-wrap:wrap}
}
@media(hover:none) and (min-width:761px){.photo-remove{opacity:1}}
