:root{color-scheme:light;--navy:#142b42;--navy-2:#203d56;--gold:#d2a64f;--ink:#182c3c;--muted:#596c7d;--line:#d6dfe6;--bg:#f2f5f7;--surface:#fff;--soft:#e9f0f5;--danger:#a33e36;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
.photo-category{border-top:1px solid var(--line);padding:22px 0}.photo-category h3{font-size:17px;line-height:1.5;margin:0 0 8px}.photo-badge{display:inline-block;background:#eaf0f5;color:#506476;font-size:12px;border-radius:4px;padding:2px 7px;margin-left:8px;vertical-align:middle}.photo-badge.required{background:#fae9e6;color:#9b3029}.photo-help{font-size:13px;color:var(--muted);margin:8px 0 13px}.photo-category input[type=file]{width:100%;padding:12px 0;max-width:100%;font-size:14px}.photo-category input::file-selector-button{border:1px solid #a8bac9;border-radius:7px;background:#eff4f8;padding:10px;color:var(--navy);margin-right:8px}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.photo-tile{min-width:0;background:#f8fafb;border:1px solid var(--line);border-radius:10px;padding:10px}.photo-tile img{display:block;width:100%;height:140px;object-fit:contain;background:#e6edf2;border-radius:6px}.photo-filename{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin:7px 0}.photo-tile label{font-size:12px;font-weight:700;display:block;margin:8px 0 5px}.photo-tile textarea{width:100%;font-size:14px;border:1px solid #b9c7d2;border-radius:6px;padding:8px;resize:vertical}.photo-tile button{font-size:12px;margin-top:10px}.error-message{background:#fff0ed;border:1px solid #d99083;color:#8b2923;padding:12px;border-radius:8px;font-size:14px}.error-message[hidden]{display:none}@media(max-width:380px){.photo-grid{grid-template-columns:1fr}}
.choice-detail{flex:0 0 100%;margin-top:6px}.choice-detail[hidden]{display:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.6}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #5791c6;outline-offset:2px}
.site-header{height:70px;background:#fff;color:var(--ink);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(24px,calc((100vw - 1540px)/2));gap:20px}.logo-crop{position:relative;flex:none;width:190px;height:55px;overflow:hidden}.logo-crop img{position:absolute;display:block;width:253px;height:auto;max-width:none;left:-32px;top:-128px}.header-title{font-size:14px;font-weight:700;color:#506476;white-space:nowrap}
.layout{max-width:1540px;margin:0 auto;padding:28px 24px 60px;display:grid;grid-template-columns:minmax(0,550px) minmax(0,1fr);gap:24px;align-items:start}.form-panel,.preview-panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 6px 24px rgba(15,43,65,.06)}.form-panel{padding:32px}.preview-panel{padding:24px;position:sticky;top:18px}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;color:#8a6429;margin:0 0 4px}.intro h1{font-size:29px;letter-spacing:.02em;line-height:1.3;margin:0 0 10px}.intro p:last-child{margin:0;color:var(--muted)}
.progress-area{margin:26px 0 25px}.progress-copy{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:14px;font-weight:700;margin-bottom:9px}.progress-track{height:8px;background:#dce5ec;border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:var(--gold);border-radius:99px;transition:width .2s}
.opening-notice{border-left:4px solid var(--gold);background:#f5f8fa;border-radius:0 9px 9px 0;padding:13px 16px;margin-top:23px}.opening-notice h2{font-size:15px;margin:0 0 5px}.opening-notice p{font-size:13px;color:#465d70;margin:0;line-height:1.65}
.step-kicker{font-size:14px;font-weight:700;color:#906b2f;margin:0 0 4px}.step-title{font-size:22px;line-height:1.35;margin:0 0 19px}.step-description{font-size:14px;color:#3e5264;background:#f1f5f8;border-left:3px solid var(--gold);padding:10px 13px;margin:-5px 0 17px}.bulk-skip{width:100%;margin:0 0 15px;background:#f8fafb}.question{border-top:1px solid var(--line);padding:19px 0 21px}.question:first-of-type{border-top:0;padding-top:0}.question-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.question-label{display:block;font-weight:700;font-size:16px;line-height:1.45}.question-hint{display:block;font-size:13px;color:var(--muted);font-weight:400;margin-top:3px}.skip-button{border:0;background:transparent;color:#536a7b;font-size:13px;font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:3px;padding:2px 0}.skip-button[aria-pressed="true"]{color:#91661c}.control,.textarea{width:100%;border:1.5px solid #b9c7d2;border-radius:9px;padding:11px 13px;background:#fff;color:#000;min-height:48px}.control::placeholder,.textarea::placeholder{color:#8394a1}.textarea{min-height:92px;resize:vertical}.parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.part-label{font-size:13px;color:var(--muted);font-weight:700;display:block;margin:0 0 4px}.choice-grid{display:flex;flex-wrap:wrap;gap:9px}.choice{position:relative}.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1.5px solid #b9c7d2;border-radius:8px;background:#fff;color:var(--ink);font-weight:600}.choice input:checked+span{background:#dfebf5;border-color:#437ca7;color:#153e60}.choice input:focus-visible+span{outline:3px solid #5791c6;outline-offset:2px}.question.is-skipped .question-label::after{content:"  （スキップ）";color:#946d2d;font-size:13px;font-weight:500}
.navigation{display:flex;justify-content:space-between;gap:12px;margin-top:8px}.button{border:1px solid var(--navy);border-radius:9px;min-height:48px;padding:10px 23px;font-size:15px;font-weight:700;background:#fff;color:var(--navy)}.button:hover{filter:brightness(.96)}.button-primary{background:var(--navy);color:#fff}.button-secondary{border-color:#b9c7d2}.button:disabled{opacity:.45;cursor:default}.button-small{min-height:41px;padding:7px 15px;white-space:nowrap;font-size:14px;background:var(--navy);color:#fff}.privacy-note{display:flex;gap:10px;background:#edf3f7;border-radius:10px;padding:13px 15px;margin-top:26px}.privacy-note p{font-size:13px;color:#3e5264;margin:0}.privacy-icon{color:#3c749c;font-size:12px;line-height:24px}.bottom-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:13px;margin-top:19px}.text-button{padding:0;border:0;background:transparent;color:#245b84;text-decoration:underline;text-underline-offset:3px;font-size:14px;font-weight:700}.text-button.danger{color:var(--danger)}
.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.preview-actions{display:flex;gap:7px;align-items:center}.button-plain{background:#fff;color:var(--navy)}.preview-heading h2{font-size:18px;margin:0;line-height:1.35}.sheet-scroll{overflow:auto;max-height:calc(100vh - 210px);background:#d8e0e5;border:1px solid var(--line);border-radius:7px;padding:12px;text-align:center}.sheet-scroll canvas{display:block;width:min(100%,620px);height:auto;margin:0 auto;box-shadow:0 2px 12px rgba(0,0,0,.16);background:#fff}.sheet-scroll.is-zoomed canvas{width:960px;max-width:none}.preview-help{font-size:13px;color:var(--muted);margin:14px 0 0}.overflow-warning{font-size:13px;color:var(--danger);font-weight:700;margin:8px 0 0}.done-icon{height:46px;width:46px;border-radius:50%;background:#e8f1e8;color:#2b713a;display:grid;place-items:center;font-size:26px;font-weight:700;margin-bottom:15px}.done-icon.pending{background:#f7ecd7;color:#926518}.done-copy{color:var(--muted);margin:0 0 24px}.done-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:1040px){.layout{grid-template-columns:minmax(0,1fr)}.preview-panel{position:static}.sheet-scroll{max-height:none}.sheet-scroll canvas{width:min(100%,660px)}}
@media(max-width:600px){.site-header{padding:0 18px;height:60px;gap:13px}.logo-crop{width:170px;height:50px}.logo-crop img{width:226px;left:-29px;top:-114px}.header-title{font-size:12px}.layout{padding:12px 10px 40px;gap:12px}.form-panel,.preview-panel{padding:20px;border-radius:12px}.intro h1{font-size:25px}.preview-heading{align-items:flex-start}.preview-heading h2{font-size:17px}.preview-heading .eyebrow{font-size:12px}.button-small{padding:7px 11px;font-size:12px}.parts{grid-template-columns:1fr}.sheet-scroll{padding:5px}.sheet-scroll canvas{width:100%}.navigation .button{flex:1}}
