.tour-guide { position:sticky; top:0; z-index:40; background:#f0f7fc; border-bottom:2px solid #2596cf; padding:12px max(20px,calc((100vw - 1160px)/2 + 24px)); line-height:1.5; color:#17374d; box-shadow:0 3px 13px #193a4b15; }
.tour-guide + .site-nav + main .hero { min-height:480px; }
.tour-guide + .site-nav + main .hero-media { min-height:420px; }
.tour-top { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.tour-top a { color:#166c97; font-size:12px; }
.tour-top b { font-size:12px; }
.tour-steps { display:flex; gap:6px; align-items:center; margin:10px 0; }
.tour-steps button { border:1px solid #bfd7e7; background:white; padding:7px 10px; border-radius:3px; color:#1b5c7c; font:inherit; font-size:12px; cursor:pointer; }
.tour-steps button[aria-pressed="true"] { background:#164867; color:white; border-color:#164867; }
.tour-guide h2 { font-size:18px; margin:7px 0 3px; }
.tour-guide details { margin-top:6px; }
.tour-guide summary { font-size:12px; color:#1e749b; cursor:pointer; }
.tour-detail { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; padding:12px 0 3px; }
.tour-detail b { font-size:12px; color:#16807a; }
.tour-detail p { font-size:12px; margin:5px 0; color:#4b6577; }
.tour-detail .tour-limit { grid-column:1/-1; border-top:1px solid #c9dfe9; padding-top:8px; font-size:11px; color:#836139; }
.tour-code { white-space:pre-wrap; overflow-wrap:anywhere; font:11px/1.5 Consolas,monospace; background:#102f43; color:#d9f0ff; padding:14px; max-height:220px; overflow:auto; margin:8px 0; }
.tour-guide a:focus-visible,.tour-guide button:focus-visible,.tour-guide summary:focus-visible { outline:3px solid #1794e0; outline-offset:3px; }
.tour-highlight { outline:3px solid #229bcc; outline-offset:-3px; }
body { --tour-height:160px; }
body .site-nav { position:relative; }
body main section,body main .hero { scroll-margin-top:calc(var(--tour-height) + 14px); }
.hero-media { position:relative; }
.hero-media figcaption { position:absolute; bottom:15px; left:20px; right:20px; padding:8px 12px; font-size:11px; background:#163245db; color:white; }
figure.hero-media { margin:0; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.evidence-gap { margin-top:22px; border-left:3px solid #c68a40; padding:15px 20px; background:#fff9ed; font-size:13px; color:#76562f; }
.service-row .boundary { border-left:2px solid #4c9fb7; padding-left:12px; font-size:13px; }
.faq-copy-note { font-size:12px; }
.demo-feedback { min-height:25px; font-size:14px; color:#176651; }
body.presentation-embed { min-height:100vh; overflow:auto; background:#f7fbfd; --tour-height:0px; scroll-behavior:auto; }
body.presentation-embed .tour-guide,body.presentation-embed .site-nav { display:none; }
body.presentation-embed main { max-width:none; width:100%; min-height:100vh; height:auto; padding:0 0 24px; overflow:visible; }
body.presentation-embed main .hero { min-height:0; height:auto; padding:18px 22px; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:14px; }
body.presentation-embed main .hero-copy { padding:10px; }
body.presentation-embed main .hero h1 { font-size:clamp(22px,2.1vw,34px); }
body.presentation-embed main .hero p { font-size:clamp(12px,1.05vw,16px); }
body.presentation-embed main .hero-media { min-height:270px; height:auto; align-self:stretch; overflow:hidden; }
body.presentation-embed main .hero-media img { height:100%; min-height:300px; object-fit:cover; }
body.presentation-embed main section:not(.hero) { display:block; }
body.presentation-embed main .shell { width:min(100% - 36px,1060px); }
body.presentation-embed main section { scroll-margin-top:10px; }
body.presentation-embed .tour-highlight { position:relative!important; z-index:1; outline:4px solid #ed762f!important; outline-offset:-5px; box-shadow:0 0 0 4px #fff,0 0 0 10px #ed762fbd!important; }
body.presentation-embed .tour-highlight::before { content:"改善焦點｜" attr(data-tour-focus); position:absolute; z-index:8; top:8px; right:8px; max-width:calc(100% - 24px); padding:6px 10px; border:1px solid #fff; border-radius:4px; background:#b9501e; color:#fff; font:800 11px/1.35 system-ui,sans-serif; box-shadow:0 2px 10px #14233335; }
@media(max-width:900px) {
 .tour-guide { padding:10px 15px; }
 .tour-guide h2 { font-size:15px; }
 .tour-steps { gap:4px; margin:7px 0; }
 .tour-steps button { padding:5px 9px; }
 .tour-detail { grid-template-columns:1fr; gap:8px; }
 .tour-top { align-items:flex-start; }
 .tour-top a { font-size:10px; }
 .contact-grid { grid-template-columns:1fr; gap:25px; }
 .site-nav .inner { height:48px; }
 .site-nav .brand { font-size:13px; }
 .site-nav .mark { width:30px; height:30px; }
 .hero { padding:0; min-height:0; }
 .hero-copy { padding:25px 24px; }
 .hero h1 { font-size:29px; }
 .hero p { font-size:15px; }
 .hero-media { min-height:250px; }
 body.presentation-embed main .hero { grid-template-columns:1fr; padding:15px; }
 body.presentation-embed main .hero-copy { padding:9px 5px; }
 body.presentation-embed main .hero-media { min-height:210px; }
 body.presentation-embed main .hero-media img { min-height:220px; max-height:320px; }
 body.presentation-embed main .shell { width:calc(100% - 28px); }
}
@media print { .tour-guide { position:static; } .tour-highlight { outline:0; } }
