:root{color-scheme:light;font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic',Meiryo,sans-serif;color:#142840;background:#f4f5f6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-family:inherit;-webkit-font-smoothing:antialiased}main{max-width:760px;margin:5vh auto;min-height:90vh;padding:30px 24px;background:#fff;border:1px solid #e8ebee}.panel-wide{max-width:900px}
header{display:flex;align-items:center;gap:14px}.brand{letter-spacing:.12em;font-family:Inter,Arial,sans-serif}.brand strong{font-size:15px;font-weight:700}.brand small{display:block;font-size:9px;margin-top:6px;color:#818d9e;letter-spacing:.22em}.mark{display:block;height:42px;width:auto}.hero{margin-top:60px}.eyebrow{margin:0 0 12px;color:#8995a4;font-size:11px;letter-spacing:.2em;font-family:Inter,Arial,sans-serif}h1{font-size:32px;font-weight:600;letter-spacing:.02em;margin:0 0 20px}.intro{font-size:14px;line-height:2;color:#677382}.subtle{color:#738090;font-size:13px;line-height:1.9}
section{border-top:1px solid #e4e9ed;margin-top:36px;padding:26px 0 8px}h2{font-size:15px;letter-spacing:.04em;font-weight:700;margin:0 0 22px}label{display:block;margin:16px 0;color:#203751;font-size:13px;font-weight:600}input:not([type=checkbox]),textarea,select{display:block;width:100%;margin:9px 0 0;padding:13px 12px;border:1px solid #cfd8e0;border-radius:4px;font-size:14px;color:#172d49;background:#fff;font-family:inherit;line-height:1.5}input[type=file]{padding:10px}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible{outline:2px solid #527da7;outline-offset:2px}button{cursor:pointer;background:#172d49;color:#fff;border:1px solid #172d49;border-radius:4px;padding:14px 20px;margin-top:14px;width:100%;font-size:14px;font-weight:600;font-family:inherit}button:disabled{opacity:.45;cursor:not-allowed}.outline{background:#fff;color:#172d49}.danger{background:#fff;color:#aa3d36;border-color:#dc9a96}.narrow{width:auto;padding:8px 14px;margin:0;font-size:12px}.check{display:flex;align-items:flex-start;gap:10px;line-height:1.9}.check input{margin-top:7px;accent-color:#172d49}.agreement{white-space:pre-wrap;background:#f8f9fa;padding:20px;line-height:2;font-size:13px;max-height:320px;overflow:auto;border:1px solid #dce3e8}iframe{width:100%;min-height:60vh;border:1px solid #dae0e5}#notice{color:#b03732;line-height:1.8;min-height:24px;font-size:13px}.fine{font-size:12px;color:#7b8490;line-height:1.8}.good{color:#235945;font-size:13px;font-weight:600}.columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.columns label{margin-top:0}.items{margin-top:20px}.item{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #e7ebee;font-size:13px}.item b{display:block;margin-bottom:6px}.item span{display:block;font-size:11px;color:#7a8491;line-height:1.7}.generated{border:1px solid #d4dfe9;background:#f8fafc;padding:18px;margin-top:20px}.generated button{margin-top:4px}footer{margin-top:70px;font:500 10px Inter,Arial,sans-serif;letter-spacing:.15em;color:#8b95a3}[hidden]{display:none!important}
@media(max-width:650px){main{margin:0;padding:24px 18px;min-height:100vh}.hero{margin-top:45px}h1{font-size:28px}.columns{grid-template-columns:1fr}.item{align-items:flex-start;flex-direction:column}}

.action-notice{font-size:14px;line-height:1.75;padding:0;margin:10px 0 15px;color:#233955;min-height:0}.action-notice:empty{display:none}.action-notice.success{background:#eff9f2;border-left:4px solid #257a48;padding:12px 14px;color:#14532d;font-weight:600}.action-notice.error{background:#fff1f0;border-left:4px solid #b42318;padding:12px 14px;color:#8e1912;font-weight:600}

#workspace~#notice:not(:empty){position:fixed;z-index:30;right:24px;bottom:24px;width:min(420px,calc(100vw - 48px));background:#f0f7f3;border-left:4px solid #257a48;padding:15px 18px;box-shadow:0 8px 28px #172d4929;color:#173f2c;font-weight:600;border-radius:4px}

.pdf-pages{display:grid;gap:18px;background:#e9ecf0;padding:14px;min-height:100px}.pdf-page{position:relative;background:white;box-shadow:0 2px 12px #14284026;overflow:hidden}.pdf-page canvas{display:block}.pdf-watermark{pointer-events:none;user-select:none;position:absolute;inset:0;display:flex;justify-content:center;align-items:center;transform:rotate(-27deg);font-size:clamp(10px,1.6vw,17px);font-weight:700;color:#344e6d55;text-shadow:0 0 2px #ffffff66;white-space:nowrap;letter-spacing:.05em}
@media print{#pdfPages{display:none!important}body:before{content:'印刷は許可されていません';display:block;font-size:22px}}

.item b.bad{}#expiryNote{white-space:pre-line}.item b.bad{color:#aa3d36}.muted{color:#7a8491;font-size:12px;white-space:nowrap}
