:root{--ink:#223242;--muted:#566879;--blue:#315e87;--deep:#224563;--paper:#faf9f6;--line:#d9e1e5;--soft:#edf3f6;--amber:#775020;--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;font-size:17px;line-height:1.9;overflow-wrap:anywhere}
a{color:var(--blue);text-underline-offset:4px}
a:hover{text-decoration-thickness:2px}
button{font:inherit}
button,a,summary{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #c56a20;outline-offset:5px}
.skip-link{position:fixed;left:12px;top:-100px;z-index:200;padding:10px 20px;background:white}
.skip-link:focus{top:12px}
.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.site-header{position:sticky;top:0;background:rgba(250,249,246,.97);border-bottom:1px solid var(--line);z-index:20}
.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand img{width:42px;height:42px;border-radius:9px}
.brand-copy{display:grid;line-height:1.4}
.brand-copy strong{font-size:17px}
.brand-copy span{font-family:Arial,sans-serif;font-size:11px;letter-spacing:.16em;color:var(--muted)}
.header-right{display:flex;align-items:center;gap:22px;font-size:14px}
.draft-chip{border:1px solid #c7d4dc;border-radius:30px;padding:3px 12px;font-size:12px;white-space:nowrap}
.hero{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center;padding-block:56px 52px}
.eyebrow{font-size:13px;letter-spacing:.13em;color:var(--blue);font-weight:700}
h1{font-size:clamp(32px,3.5vw,47px);line-height:1.55;letter-spacing:.025em;margin:18px 0 22px;font-weight:800}
.hero-copy>p{max-width:590px;color:var(--muted);margin:0 0 25px}
.hero-flow{display:flex;gap:0;margin:26px 0 30px;list-style:none;padding:0;font-size:14px}
.hero-flow li{display:flex;align-items:center;gap:9px}
.hero-flow li:not(:last-child):after{content:"→";color:#8095a4;margin-inline:12px}
.hero-flow b{font-family:Arial,sans-serif;font-size:12px;color:var(--blue)}
.primary-link{display:inline-flex;gap:28px;align-items:center;padding:14px 22px;border-radius:8px;color:#fff;background:var(--blue);text-decoration:none;font-size:16px;font-weight:bold}
.primary-link:hover{background:var(--deep)}
.hero-note{font-size:13px!important;margin:19px 0 0!important}
.hero-visual{position:relative;display:flex;justify-content:center;background:#e9f0f2;border-radius:180px 180px 22px 22px;padding:28px 35px 18px;align-self:stretch;align-items:center}
.hero-visual:before{content:"画面を押すと拡大";position:absolute;right:18px;top:12px;font-size:11px;color:var(--muted)}
.hero-visual .screen{max-width:224px;box-shadow:0 12px 30px #28445e18}
.hero-visual figcaption{font-size:11px}
.hero-visual .shot-figure{max-width:224px}
.review-note{padding:18px 22px;border-left:3px solid #b78c52;background:#f5f0e7;font-size:14px;line-height:1.8;margin-bottom:42px}
.review-note strong{color:var(--amber)}
.guide-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:44px;align-items:start}
.toc{position:sticky;top:105px;font-size:14px;padding-block:8px 22px}
.toc h2{font-size:13px;margin:0 0 16px;color:var(--muted);letter-spacing:.15em}
.toc ol{list-style:none;padding:0;margin:0}
.toc li{margin:0}
.toc a{display:flex;gap:13px;padding:8px 0;text-decoration:none;line-height:1.6}
.toc a:hover,.toc a[aria-current="location"]{color:var(--deep);font-weight:700}
.toc a span{font-family:Arial,sans-serif;color:#8c9ca8;font-size:12px;min-width:22px;padding-top:2px}
.toc .toc-extra{border-top:1px solid var(--line);margin-top:13px;padding-top:13px}
.mobile-toc{display:none}
.guide{min-width:0}
.intro{padding:0 0 44px}
.section-kicker{font-size:12px;letter-spacing:.12em;font-weight:700;color:var(--blue);margin:0 0 8px}
.intro h2,.faq h2,.image-status h2{font-size:26px;line-height:1.6;margin:0 0 15px}
.intro>p{margin-top:0;color:var(--muted)}
.sample-data{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:22px 0;background:white;border:1px solid var(--line);padding:7px 22px;border-radius:12px;font-size:14px}
.sample-data div{display:grid;grid-template-columns:80px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #e9edef}
.sample-data div:nth-last-child(-n+2){border:0}
.sample-data dt{color:var(--muted)}
.sample-data dd{margin:0;font-weight:700}
.small{font-size:13px;color:var(--muted)}
.step{padding:42px 0 48px;border-top:1px solid var(--line);scroll-margin-top:100px}
.step-heading{display:flex;align-items:baseline;gap:16px;margin-bottom:24px}
.step-no{font-family:Arial,sans-serif;color:var(--blue);font-size:30px;font-weight:400;line-height:1}
.step-no.prep{font-family:inherit;font-size:15px;font-weight:700;white-space:nowrap}
.step h2{font-size:25px;line-height:1.65;letter-spacing:.02em;margin:0}
.step-grid{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:36px;align-items:start}
.step-copy p{margin:0 0 18px}
.action-list{padding-left:1.5em;margin:0 0 22px}
.action-list li{padding-left:.2em;margin-bottom:13px}
.ui{font-weight:700;color:var(--deep)}
.callout{border-left:3px solid #8facbf;padding:14px 16px;background:var(--soft);font-size:14px;line-height:1.9;margin:20px 0}
.callout strong{display:block;margin-bottom:4px;font-size:14px}
.shot-figure{margin:0;min-width:0}
.screen{display:block;position:relative;line-height:0;max-width:278px;margin-inline:auto;background:#fff;border:1px solid #c8d3da;border-radius:13px;overflow:hidden;box-shadow:0 5px 14px #25415c0b;cursor:zoom-in}
.screen img{display:block;width:100%;height:auto;aspect-ratio:9/16}
.screen.old img{aspect-ratio:9/20}
.annotation{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.annotation rect{stroke:#d55b20;stroke-width:10;fill:none}
.annotation circle{fill:#b94512;stroke:white;stroke-width:5}
.annotation text{fill:white;stroke:none;font:700 43px Arial,sans-serif;text-anchor:middle;dominant-baseline:central}
.annotation path{stroke:#b94512;stroke-width:10;fill:none;stroke-linecap:round;stroke-linejoin:round}
figcaption{font-size:12px;color:var(--muted);line-height:1.8;margin-top:11px}
.image-id{font:11px Arial,sans-serif;color:#667b8c;letter-spacing:.06em}
.reference-label{display:inline-block;background:#f1e7d6;color:#704b1d;padding:1px 8px;border-radius:4px;font-size:11px;margin-bottom:7px}
.annotation-key{color:#a3441b;font-weight:700}
.missing-shot{border:1px dashed #b3c2cc;background:#f0f3f4;padding:22px;border-radius:12px;min-height:164px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;margin:19px 0 0;font-size:13px;line-height:1.8;color:var(--muted)}
.missing-shot strong{color:#475c6b;font-size:15px}
.missing-shot .image-id{font-size:11px}
.missing-group{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.missing-group .missing-shot{margin-top:14px}
.mini-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:20px 0}
.mini-actions span{padding:7px 12px;border:1px solid #c6d5df;border-radius:6px;background:white;color:var(--blue);font-size:14px;font-weight:bold}
.mini-actions i{font-style:normal;color:#7a8f9f}
.input-example{padding:14px 17px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.9}
.input-example dl{display:grid;grid-template-columns:100px 1fr;gap:6px 12px;margin:0}
.input-example dt{color:var(--muted)}
.input-example dd{margin:0}
.wide-note{grid-column:1/-1}
.section-end{padding:23px;background:#eaf0f0;border-radius:12px;margin-top:28px;font-size:15px}
.faq{border-top:1px solid var(--line);padding:42px 0}
.faq details{border-bottom:1px solid var(--line);padding:0}
.faq summary{cursor:pointer;padding:19px 5px;font-size:16px;font-weight:700;list-style:none;display:flex;align-items:baseline;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:before{content:"Q";font-family:Arial,sans-serif;font-size:13px;color:var(--blue)}
.faq summary:after{content:"＋";margin-left:auto;color:var(--blue)}
.faq details[open] summary:after{content:"−"}
.faq details p{padding:0 30px 14px;font-size:15px;margin:0;color:var(--muted)}
.image-status{padding:32px;border:1px solid var(--line);border-radius:16px;background:white;margin:0 0 54px}
.image-status h2{font-size:21px}
.image-status>p{font-size:14px}
.image-status ul{padding-left:1.3em;font-size:14px}
.image-status li{margin:8px 0}
.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}
.status-grid div{padding:14px;background:var(--soft);border-radius:8px;font-size:12px;color:var(--muted)}
.status-grid b{display:block;font:30px Arial,sans-serif;color:var(--deep);margin-bottom:5px}
.site-footer{border-top:1px solid var(--line);padding:28px 0 38px;font-size:12px;color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;gap:20px}
.site-footer strong{color:var(--ink)}
.to-top{font-size:13px}
.lightbox{width:min(1160px,calc(100% - 32px));max-height:calc(100dvh - 32px);border:0;border-radius:14px;padding:0;background:#f8fafb;color:var(--ink)}
.lightbox::backdrop{background:#16232fe6}
.lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border-bottom:1px solid var(--line);padding:12px 20px}
.lightbox-toolbar h2{font-size:15px;margin:0;font-weight:700}
.lightbox-close{background:var(--blue);color:white;border:0;border-radius:7px;min-height:44px;padding:7px 16px;white-space:nowrap;cursor:pointer}
.lightbox-actions{display:flex;gap:8px;flex-shrink:0}
.lightbox-scale{border:1px solid #a7bac8;border-radius:7px;background:white;color:var(--blue);min-height:44px;padding:7px 12px;white-space:nowrap;cursor:pointer;font-size:14px}
.lightbox-content{overflow:auto;max-height:calc(100dvh - 130px);padding:24px}
.lightbox-content .screen{width:min(100%,760px);max-width:760px;cursor:default;margin:auto}
.lightbox-content.pixel-zoom .screen{width:1080px;max-width:none;margin-inline:0}
.lightbox-note{font-size:12px;color:var(--muted);max-width:760px;margin:14px auto 0}
body.zoom-open{overflow:hidden}
@media(min-width:1600px){.hero{gap:80px}.hero-visual .screen,.hero-visual .shot-figure{max-width:240px}}
@media(max-width:1050px){
 .guide-layout{grid-template-columns:170px minmax(0,1fr);gap:28px}.step-grid{grid-template-columns:minmax(0,1fr) 240px;gap:24px}.sample-data{grid-template-columns:1fr}.sample-data div:nth-last-child(2){border-bottom:1px solid #e9edef}.hero{gap:30px}.hero-visual{padding-inline:20px}.hero-flow li:not(:last-child):after{margin-inline:8px}
}
@media(max-width:850px){
 .wrap{width:calc(100% - 40px)}.header-inner{min-height:72px}.hero{grid-template-columns:1.15fr .85fr;padding-top:35px;gap:25px}h1{font-size:32px}.hero-flow{font-size:12px;flex-wrap:wrap;row-gap:10px}.hero-visual .shot-figure{max-width:190px}.hero-visual{border-radius:130px 130px 18px 18px;padding:30px 14px 15px}.hero-note{font-size:12px!important}.guide-layout{display:block}.toc{display:none}.mobile-toc{display:block;margin-bottom:34px;border:1px solid var(--line);border-radius:10px;background:white;padding:12px 17px}.mobile-toc summary{cursor:pointer;font-size:15px;font-weight:700}.mobile-toc ol{display:grid;grid-template-columns:1fr 1fr;gap:5px 20px;font-size:13px;list-style:none;margin:15px 0 4px;padding:0}.mobile-toc a{display:block;padding:6px 0;text-decoration:none}.step-grid{grid-template-columns:minmax(0,1fr) 270px;gap:35px}.sample-data{grid-template-columns:1fr 1fr}.sample-data div:nth-last-child(2){border:0}
}
@media(max-width:600px){
 body{font-size:16px;line-height:1.95}.wrap{width:calc(100% - 36px)}.header-inner{min-height:70px}.brand img{width:36px;height:36px}.brand-copy strong{font-size:14px}.brand-copy span{font-size:9px}.header-right>a{display:none}.header-right{gap:0}.draft-chip{font-size:10px;padding:3px 8px}.hero{display:block;padding:29px 0 30px}h1{font-size:32px;line-height:1.6;margin:16px 0 17px;letter-spacing:0}.eyebrow{font-size:11px}.hero-copy>p{font-size:15px;margin-bottom:20px}.hero-flow{font-size:12px;margin:20px 0 24px}.hero-flow li:not(:last-child):after{margin-inline:10px}.primary-link{font-size:15px;padding:13px 18px;gap:25px}.hero-note{margin-top:14px!important}.hero-visual{margin-top:28px;border-radius:18px;padding:24px 18px 15px;background:#e9f0f2}.hero-visual .screen,.hero-visual .shot-figure{max-width:218px}.hero-visual:before{font-size:10px}.review-note{padding:15px 17px;font-size:12px;margin-bottom:24px}.mobile-toc{margin-bottom:28px}.mobile-toc ol{grid-template-columns:1fr;font-size:14px}.intro{padding-bottom:30px}.intro h2{font-size:22px}.intro>p{font-size:15px}.sample-data{grid-template-columns:1fr;padding:5px 17px;font-size:13px;gap:0}.sample-data div{grid-template-columns:75px 1fr;gap:10px}.sample-data div:nth-last-child(2){border-bottom:1px solid #e9edef}.step{padding:31px 0 35px}.step-heading{gap:13px;margin-bottom:20px}.step h2{font-size:22px}.step-no{font-size:27px}.step-grid{display:block}.step-copy p{margin-bottom:16px}.shot-figure{margin-top:23px}.screen{max-width:290px}.hero .shot-figure{margin:0}.step .shot-figure figcaption{max-width:290px;margin-inline:auto}.missing-group{grid-template-columns:1fr;gap:0}.missing-shot{min-height:140px;margin-top:20px;padding:19px}.input-example{font-size:13px}.input-example dl{grid-template-columns:84px 1fr}.faq{padding:32px 0}.faq h2{font-size:22px}.faq summary{font-size:15px}.faq details p{font-size:14px;padding-left:25px}.image-status{padding:22px 18px;margin-bottom:34px}.image-status h2{font-size:20px}.image-status ul{font-size:13px}.status-grid{gap:7px}.status-grid div{padding:11px 8px;font-size:11px}.status-grid b{font-size:25px}.footer-inner{display:block}.to-top{display:inline-block;margin-top:16px}.lightbox{width:calc(100% - 14px);max-height:calc(100dvh - 14px)}.lightbox-toolbar{padding:10px 12px;gap:10px}.lightbox-toolbar h2{font-size:12px}.lightbox-close{font-size:13px;padding:7px 12px}.lightbox-content{padding:12px;max-height:calc(100dvh - 100px)}.lightbox-content .screen{max-width:760px;border-radius:8px}.lightbox-note{font-size:11px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.shot-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:26px;align-items:start}
.shot-gallery>.shot-figure{background:#f2f5f6;border:1px solid var(--line);border-radius:14px;padding:18px}
.shot-gallery>.shot-figure:only-child{grid-column:1/-1;width:min(100%,470px);margin-inline:auto}
.shot-gallery>.shot-figure:only-child .screen{max-width:420px}
.more-shots{border:1px solid #c7d5de;border-radius:12px;padding:16px 20px;margin-top:14px;background:#fff}
.more-shots summary{font-size:15px;font-weight:700;color:var(--blue);cursor:pointer}
@media(max-width:600px){.shot-gallery{grid-template-columns:1fr;gap:22px;margin-top:22px}.shot-gallery>.shot-figure{margin-top:0;padding:15px}.shot-gallery>.shot-figure:only-child .screen{max-width:290px}.more-shots{padding:15px}.more-shots summary{font-size:14px}h1{font-size:clamp(24px,7.2vw,32px)}}
@media print{.site-header,.toc,.mobile-toc,.lightbox,.primary-link{display:none}.guide-layout{display:block}.wrap{width:100%}.hero{display:block}.hero-visual{display:none}.step{break-inside:avoid}.screen{box-shadow:none}.step-grid{grid-template-columns:1fr 190px}.review-note{border:1px solid}.site-footer{margin-top:20px}}

/* Phase 3 final: preserve layout and palette, improve reading sizes. */
body{font-size:18px}
.toc{font-size:16px;line-height:1.65}
.toc a{gap:11px;padding:9px 0}
.toc a span{font-size:13px;min-width:24px}
.step-grid{grid-template-columns:minmax(0,1fr) 350px;gap:32px}
.screen{max-width:350px}
.hero-visual .screen,.hero-visual .shot-figure{max-width:260px}
.hero-visual figcaption{font-size:12px}
figcaption{font-size:14px;line-height:1.8}
.image-id{font-size:12px}
.small{font-size:15px}
.sample-data,.input-example{font-size:16px}
.callout,.callout strong{font-size:16px}
.review-note,.image-status>p{font-size:16px}
.faq summary{font-size:18px}
.faq details p{font-size:17px}
.more-shots summary{font-size:17px;line-height:1.8}
.shot-gallery .screen{max-width:360px}
.shot-gallery .shot-figure:only-child .screen{max-width:420px}
.step-copy,.step-grid>div{min-width:0}
@media(min-width:1051px){.toc{max-height:calc(100dvh - 116px);overflow-y:auto;padding-right:8px}}
@media(max-width:1050px) and (min-width:681px){
  .step-grid{grid-template-columns:minmax(0,1fr) 300px;gap:28px}
  .screen{max-width:300px}
  .toc{font-size:15px}
}
@media(max-width:850px){
  .mobile-toc summary{font-size:17px}
  .mobile-toc ol{font-size:16px}
}
@media(max-width:680px){
  body{font-size:17px}
  .step-grid{display:block}
  .step-grid>div+div{margin-top:26px}
  .screen{max-width:340px;width:100%}
  .step .shot-figure figcaption{max-width:340px;margin-inline:auto}
  .hero-visual .screen,.hero-visual .shot-figure{max-width:240px}
  .shot-gallery{grid-template-columns:1fr;gap:24px}
  .shot-gallery .shot-figure{padding:12px}
  .shot-gallery .screen,.shot-gallery .shot-figure:only-child .screen{max-width:340px}
  figcaption{font-size:13px}
  .sample-data,.input-example,.callout,.callout strong{font-size:15px}
  .review-note,.image-status>p,.small{font-size:14px}
  .faq summary{font-size:17px}
  .faq details p{font-size:16px}
  .more-shots{padding:14px}
  .more-shots summary{font-size:16px}
  .mobile-toc ol{font-size:15px}
}
