.tool-body{padding:2rem 1.5rem 4rem;color:#1a1a1a;font-family:"M PLUS Rounded 1c",Hiragino Kaku Gothic ProN,Yu Gothic,YuGothic,Meiryo,sans-serif;word-break:break-word;overflow-wrap:break-word}.tool-body h1{margin:0 0 .75rem;color:#1a1a1a;font-size:1.8rem;font-weight:700;line-height:1.35}.tool-body h2{margin:0 0 .75rem;color:#1a1a1a;font-size:1.3rem;font-weight:700;line-height:1.45}.tool-body h3{margin:1.75rem 0 .75rem;padding-left:.9rem;border-left:3px solid #2d6a4f;color:#1a1a1a;font-size:1.1rem;font-weight:700;line-height:1.5}.tool-body p{margin:0 0 1rem;font-size:1rem;line-height:1.9}.tool-body a{color:#2d6a4f;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(var(--green-rgb),.3)}.tool-body a:hover{text-decoration-color:#2d6a4f}.tool-body label{display:block;margin:.5rem 0 .25rem;color:#555;font-size:.85rem;line-height:1.5}.tool-body input[type=text],.tool-body input[type=number],.tool-body input[type=file],.tool-body select,.tool-body textarea{width:100%;border:1px solid #e0ded8;border-radius:var(--radius-sm);background:#fff;color:#1a1a1a;font:inherit;font-size:1rem}.tool-body input[type=text],.tool-body input[type=number],.tool-body select,.tool-body textarea{padding:.5rem .65rem}.tool-body input[type=file]{padding:.55rem}.tool-body textarea{min-height:200px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.tool-body input[type=range]{width:100%;accent-color:#2d6a4f}.tool-body input[type=radio],.tool-body input[type=checkbox]{accent-color:#2d6a4f}.tool-body button,.tool-body .button-like{display:inline-flex;align-items:center;justify-content:center;width:calc(50% - .25rem);min-height:2.5rem;margin:.25rem .25rem .25rem 0;padding:.55rem 1rem;border:1px solid #2d6a4f;border-radius:var(--radius-sm);background:#2d6a4f;color:#fff;font:inherit;font-size:.85rem;font-weight:700;line-height:1.2;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s}.tool-body button:hover,.tool-body .button-like:hover{background:#245c43;border-color:#245c43}.tool-body button:disabled{border-color:#bbb;background:#bbb;cursor:not-allowed}.tool-body .button-like.is-disabled{border-color:#bbb;background:#bbb;cursor:not-allowed;pointer-events:none}.tool-body button.secondary{border-color:#e0ded8;background:#f5f3ee;color:#555}.tool-body button.secondary:hover{border-color:#40916c;background:#f3faf6;color:#2d6a4f}.tool-body button.secondary:disabled{border-color:#bbb;background:#bbb;color:#fff;cursor:not-allowed}.tool-body .btn-convert{min-width:10rem}.tool-body .is-hidden{display:none}.tool-body .tool-stack-top{margin-top:.75rem}.tool-body .download-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.tool-body .download-actions>*{width:100%;margin-right:0;margin-left:0}.tool-body .tool-note{font-size:.85rem}.tool-body .tool-example-list{margin:.75rem 0 0;padding-left:1.25rem;color:#888;font-size:.85rem;line-height:1.7}.tool-body .tool-example-list li{margin:.15rem 0}.tool-body .section{margin-bottom:1rem;padding:1.2rem;border-radius:var(--radius-md);background:#fff}.tool-body .tool-index-section{padding:0;background:transparent}.tool-body .section>h2:first-child{margin-top:0;padding-left:.9rem;border-left:3px solid #2d6a4f;font-size:1.1rem;line-height:1.5}.tool-body .section h3{padding-left:0;border-left:none}.tool-body .radio-group{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:.5rem 0}.tool-body .radio-group label,.tool-body .two-col>label{display:inline-flex;align-items:center;gap:.35rem;margin:0;color:#1a1a1a;cursor:pointer}.tool-body .row{display:flex;flex-wrap:wrap;gap:.75rem}.tool-body .row>*{flex:1;min-width:140px}.tool-body .two-col{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.tool-body .three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.tool-body .three-col>*{min-width:0}.tool-body .filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.tool-body .transform-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.tool-body .transform-buttons>button{width:100%;margin:0}.tool-body .preview-area{min-height:100px;margin:.5rem 0;padding:.75rem;overflow:auto;border:1px dashed #e0ded8;border-radius:var(--radius-md);background:#f5f3ee;text-align:center}.tool-body .preview-area img,.tool-body .preview-area canvas{max-width:100%;height:auto}.tool-body .qr-preview{display:flex;align-items:center;justify-content:center;min-height:280px}.tool-body .qr-preview canvas{width:min(100%,280px);height:auto;border-radius:var(--radius-sm);background:#fff}.tool-body .preview-area.max-300{max-height:300px;overflow:hidden}.tool-body .preview-area.max-300 img,.tool-body .preview-area.max-300 canvas{width:auto;max-height:280px}.tool-body .crop-wrap{position:relative;display:inline-block;max-width:100%;max-height:280px;overflow:hidden;line-height:0}.tool-body .crop-wrap canvas{display:block;width:auto;max-width:100%;height:auto;max-height:280px;touch-action:none}.tool-body .crop-overlay{position:absolute;border:2px dashed #ffffff;box-shadow:0 0 0 9999px #00000080;box-sizing:border-box;pointer-events:none}.tool-body .disabled-group{opacity:.5;pointer-events:none}.tool-body .ratio-category{margin:.5rem 0}.tool-body .ratio-category>strong{display:block;margin-bottom:.25rem;color:#555;font-size:.85rem}.tool-body .nav-grid{display:grid;grid-template-columns:1fr;gap:.75rem;margin-top:1rem}.tool-body .nav-card{display:block;padding:1rem;border:1px solid #e0ded8;border-radius:var(--radius-md);background:#fff;color:#1a1a1a;text-decoration:none;transition:background .15s,border-color .15s,transform .2s}.tool-body .nav-card:hover{border-color:#40916c;background:#f3faf6;transform:translateY(-3px)}.tool-body .nav-card h3{margin:0 0 .25rem;padding-left:0;border-left:none;color:#2d6a4f;font-size:1.1rem}.tool-body .nav-card p{margin:0;color:#555;font-size:.85rem;line-height:1.7}.tool-body .warning{margin:0 0 1rem;padding:.75rem 1rem;border:1px solid rgba(163,45,45,.22);border-radius:var(--radius-md);background:#a32d2d14;color:#1a1a1a;font-size:.85rem;text-align:center}.tool-body .warning.hidden{display:none}.tool-body .status{margin:.5rem 0;color:#555;font-size:.85rem}.tool-body .code-output{min-height:calc(.85rem * 1.7 * 4 + 1.5rem);max-height:calc(.85rem * 1.7 * 4 + 1.5rem);margin:.5rem 0;padding:.75rem;overflow:auto;border:1px solid #e0ded8;border-radius:var(--radius-md);background:#f5f3ee;color:#1a1a1a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.7;white-space:pre-wrap;word-break:break-all}.tool-body .thumb-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.5rem;margin:.5rem 0}.tool-body .thumb-list .thumb{padding:.25rem;border:1px solid #e0ded8;border-radius:var(--radius-sm);background:#fff;color:#555;font-size:.7rem;text-align:center}.tool-body .thumb-list .thumb img{width:100%;height:80px;-o-object-fit:contain;object-fit:contain}.tool-body .tool-lead{color:#555;font-size:1rem}.tool-body .tool-privacy-note{margin:-.25rem 0 1.25rem;padding-left:1.25rem;list-style:disc;color:#888;font-size:.85rem;line-height:1.7}.tool-body .tool-privacy-note li::marker{color:#1a1a1a}.tool-body .tool-privacy-note li{margin:.15rem 0}@media (max-width: 680px){.tool-body{padding:2rem 1rem 3rem}.tool-body .two-col,.tool-body .three-col{grid-template-columns:1fr}.tool-body .filter-grid,.tool-body .transform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--tool-content-width: 600px;--green-rgb: 45, 106, 79;--shadow-base: 0 2px 10px rgba(0, 0, 0, .08);--radius-sm: 4px;--radius-md: 8px;--radius-full: 999px}html{scroll-behavior:smooth;scroll-padding-top:5rem}body{margin:0;background:#fff;color:#1a1a1a;font-family:"M PLUS Rounded 1c",Hiragino Kaku Gothic ProN,Yu Gothic,YuGothic,Meiryo,sans-serif;line-height:1.85;-webkit-font-smoothing:antialiased}.tool-header[data-astro-cid-mqzpnqfb]{background:#f5f3eeeb;border-bottom:1px solid #e0ded8}.tool-header-inner[data-astro-cid-mqzpnqfb]{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;max-width:1100px;min-height:56px;margin:0 auto;padding:.55rem 1.25rem}.tool-logo[data-astro-cid-mqzpnqfb]{display:flex;align-items:center;gap:.35rem;color:#1a1a1a;font-family:"M PLUS Rounded 1c",Hiragino Kaku Gothic ProN,Yu Gothic,YuGothic,Meiryo,sans-serif;font-size:17px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap}.tool-logo-badge[data-astro-cid-mqzpnqfb]{display:inline-flex;align-items:center;justify-content:center;background:#1a1a1a;color:#fff;border-radius:var(--radius-sm);font-size:.7rem;line-height:1;padding:.18rem .32rem}.tool-media-link[data-astro-cid-mqzpnqfb]{color:#555;font-size:.85rem;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;transition:color .15s}.tool-media-link[data-astro-cid-mqzpnqfb]:hover{color:#2d6a4f}.tool-menu-nav[data-astro-cid-mqzpnqfb]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.35rem;background:#f5f3ee;border-bottom:1px solid #e0ded8;padding:.45rem 1rem}.tool-menu-link[data-astro-cid-mqzpnqfb]{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.25rem .75rem;border:1px solid #e0ded8;border-radius:var(--radius-full);background:#fff;color:#555;font-size:.85rem;line-height:1;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.tool-menu-link[data-astro-cid-mqzpnqfb]:hover,.tool-menu-link[data-astro-cid-mqzpnqfb].is-active{border-color:#40916c;color:#2d6a4f}.tool-menu-link[data-astro-cid-mqzpnqfb].is-active{border-color:transparent;background:transparent;color:#1a1a1a;font-weight:700}.tool-layout[data-astro-cid-mqzpnqfb]{display:grid;grid-template-columns:minmax(0,1fr) min(var(--tool-content-width),100%) minmax(0,1fr);align-items:start;background:#f5f3ee}.tool-main[data-astro-cid-mqzpnqfb]{grid-column:2}@media (max-width: 680px){.tool-header-inner[data-astro-cid-mqzpnqfb]{padding:.65rem 1rem}.tool-menu-nav[data-astro-cid-mqzpnqfb]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;padding:.5rem .75rem}.tool-menu-link[data-astro-cid-mqzpnqfb]{min-width:0;padding-right:.35rem;padding-left:.35rem}}
