.ep-draft-bar{max-width:1160px;margin:12px auto 0;padding:12px 16px;border:1px solid #e8e3dd;border-radius:12px;background:#fff;color:#1f1d1b;font:13px/1.65 system-ui,-apple-system,"Hiragino Sans","Yu Gothic",sans-serif}.ep-draft-bar .ep-draft-status{display:block;font-size:13px;font-weight:650}.ep-draft-bar .ep-draft-hint{font-size:12px;color:#66615c;margin:3px 0 0}.ep-draft-bar .ep-draft-details{margin-top:4px;font-size:12px;color:#66615c}.ep-draft-bar .ep-draft-details summary{cursor:pointer;min-height:28px;padding:4px 0}.ep-draft-bar .ep-draft-details p{margin:8px 0;max-width:70ch}.ep-draft-bar .ep-draft-details button{width:auto;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #e8e3dd;border-radius:8px;background:#fff;color:#66615c;font:inherit;cursor:pointer;white-space:normal}.ep-draft-error{border-color:#c93a22;background:#fdf0eb}.ep-draft-error .ep-draft-status{color:#a52b12}.ep-draft-bar :focus-visible{outline:3px solid #c93a22;outline-offset:3px}.ep-draft-bar[hidden]{display:none!important}@media(max-width:700px){.ep-draft-bar{margin:8px 16px 0;padding:10px 12px}.ep-draft-bar .ep-draft-hint{font-size:12px}}@media print{.ep-draft-bar{display:none!important}}
body{color:#1f1d1b;font-family:"Zen Kaku Gothic New","Hiragino Sans","Yu Gothic",system-ui,sans-serif}.tool-brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;font-weight:700;color:#1f1d1b}.tool-brand img{width:30px;height:30px}.tool-brand span{color:#c93a22}.tool-footer,.tool-help{max-width:1160px;margin:20px auto;padding:20px;font-size:13px;line-height:1.8;color:#66615c}.tool-footer{border-top:1px solid #e8e3dd;display:flex;gap:20px;flex-wrap:wrap}.tool-help h2{font-size:18px;color:#1f1d1b}.tool-file-status{color:#a52b12}.tool-footer a,.tool-help a{color:#c93a22}@media print{.tool-brand,.tool-footer,.tool-help,.tool-file-status{display:none!important}}
body[data-tool] header>a:first-child{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;font-weight:700}body[data-tool] header>a:first-child img{width:30px;height:30px;object-fit:contain}body[data-tool] footer{max-width:1160px;margin:20px auto;padding:20px;color:#66615c;font-size:13px;line-height:1.8}body[data-tool] footer a{color:#c93a22;margin-right:16px}@media print{body[data-tool] footer{display:none!important}}
/* Static guidance stays below the editor and readable without JavaScript. */
.tool-breadcrumb{font-size:13px;line-height:1.7;color:#66615c;overflow-wrap:anywhere;margin:8px 0 12px}.tool-breadcrumb a{display:inline-block;padding:8px 0;color:#a52b12;text-underline-offset:3px}.tool-breadcrumb a:focus-visible,.tool-help :focus-visible{outline:3px solid #c93a22;outline-offset:3px}.tool-help{box-sizing:border-box;max-width:1040px;background:#fff;border:1px solid #e8e3dd;border-radius:16px;padding:clamp(20px,4vw,40px);font-size:16px;line-height:1.85;color:#1f1d1b;overflow-wrap:anywhere}.tool-help h2{font-size:clamp(20px,3vw,26px);line-height:1.5;margin:0 0 16px}.tool-help h3{font-size:18px;line-height:1.6;margin:28px 0 12px}.tool-help p,.tool-help ol{max-width:48em}.tool-help ol{padding-left:1.5em}.tool-help li+li{margin-top:8px}.tool-help figure{max-width:640px;margin:24px auto}.tool-help img{display:block;width:100%;height:auto;border:1px solid #e8e3dd;border-radius:8px;box-sizing:border-box}.tool-help figcaption{font-size:13px;color:#66615c;margin-top:8px}.tool-help details{border-top:1px solid #e8e3dd;padding:0}.tool-help details:last-of-type{border-bottom:1px solid #e8e3dd}.tool-help summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding:12px 0;font-weight:700;line-height:1.65}.tool-help details p{margin:0 0 16px}.tool-help a{text-underline-offset:3px}.tool-help>p:last-child a{display:inline-block;min-height:44px;box-sizing:border-box;padding:8px 4px}@media(max-width:700px){.tool-help{margin:24px 16px;padding:20px}.tool-help>p:last-child a{display:block}.tool-help>p:last-child{font-size:0;max-width:none}.tool-help>p:last-child a{font-size:16px}}@media print{.tool-breadcrumb{display:none!important}}
.tool-help{scroll-margin-top:120px;scroll-margin-bottom:100px}
/* フッターのリンクと、チェックボックスのラベルは44px以上のタップ領域にする。 */
body[data-tool] footer{display:flex;flex-wrap:wrap;align-items:center;column-gap:4px}body[data-tool] footer>p{flex:0 0 100%;margin:0 0 4px}body[data-tool] footer a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;margin-right:0;text-underline-offset:3px}body[data-tool] footer p a:first-child{margin-left:-8px}
body[data-tool] label:has(>input[type="checkbox"]){display:flex;align-items:center;gap:10px;min-height:44px;margin-top:8px;font-weight:500;cursor:pointer}body[data-tool] input[type="checkbox"]{width:24px;height:24px;flex:none;margin:0}
.ep-toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom,0px));z-index:60;box-sizing:border-box;max-width:min(92vw,420px);padding:12px 16px;border-radius:12px;background:#1f1d1b;color:#fff;font-size:14px;line-height:1.6;opacity:0;pointer-events:none;transform:translateX(-50%);transition:opacity .2s}.ep-toast.show{opacity:1}@media(min-width:701px){.ep-toast{bottom:32px}}@media(prefers-reduced-motion:reduce){.ep-toast{transition:none}}@media print{.ep-toast{display:none!important}}
