:root{
  --bg:#edf2ef;--surface:#fff;--surface2:#f7faf8;--ink:#17221d;--muted:#66756e;--line:#d7e2dc;
  --brand:#153f34;--brand2:#26705c;--soft:#e6f3ed;--gold:#a97a30;--warn:#8a5700;--warnbg:#fff5df;
  --danger:#b42318;--shadow:0 14px 38px rgba(20,58,47,.09);--radius:18px;
}
*{box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:radial-gradient(circle at 100% 0,rgba(38,112,92,.09),transparent 30rem),var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
button,input,a{font:inherit}
a{color:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{color:inherit}
[hidden]{display:none!important}
.skip-link{position:fixed;left:14px;top:-60px;z-index:1000;padding:10px 14px;border-radius:10px;background:#fff;color:var(--brand);font-weight:900;box-shadow:var(--shadow)}
.skip-link:focus{top:14px}
.guide-header{position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(215,226,220,.95);background:rgba(248,251,249,.94);backdrop-filter:blur(14px)}
.guide-header__inner{width:min(1180px,calc(100% - 30px));min-height:78px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand__mark{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:13px;background:var(--brand);color:#fff;font-weight:950}.brand h1{margin:1px 0 0;font-size:1.25rem;line-height:1.2}.eyebrow{margin:0;color:var(--brand2);font-size:.7rem;font-weight:950;letter-spacing:.1em}
.header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid transparent;border-radius:11px;text-decoration:none;font-size:.82rem;font-weight:900;cursor:pointer}
.button--primary{background:var(--brand);color:#fff}.button--ghost{border-color:var(--line);background:#fff;color:var(--brand)}.button--soft{border-color:#bfd3c9;background:var(--soft);color:var(--brand)}
.button:focus-visible,.category-button:focus-visible,.article-card:focus-visible,.back-button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid rgba(38,112,92,.32);outline-offset:2px}
.guide-shell{width:min(1180px,calc(100% - 30px));margin:0 auto;padding:24px 0 56px}
.guide-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,.6fr);gap:18px;align-items:center;padding:27px;border-radius:24px;background:linear-gradient(135deg,#103128,#1b5a49 72%,#2c755f);color:#fff;box-shadow:0 20px 50px rgba(21,63,52,.17)}
.guide-hero .eyebrow{color:#a9dcc9}.guide-hero h2{margin:7px 0 8px;font-size:clamp(1.65rem,4vw,2.55rem);line-height:1.25}.guide-hero p:not(.eyebrow){max-width:760px;margin:0;color:rgba(255,255,255,.82);font-size:.93rem}
.guide-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.guide-counts div{padding:15px 8px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.08);text-align:center}.guide-counts strong{display:block;font-size:1.65rem}.guide-counts span{font-size:.72rem;color:rgba(255,255,255,.72);font-weight:850}
.search-card{margin-top:16px;padding:17px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.search-card label{display:block;margin-bottom:7px;font-size:.85rem;font-weight:950}.search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.search-row input{width:100%;min-height:48px;padding:10px 13px;border:1px solid #bacbc2;border-radius:12px;background:#fff;color:var(--ink);outline:none}.search-help{margin:7px 0 0;color:var(--muted);font-size:.72rem}.search-help kbd{padding:1px 5px;border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;background:var(--surface2);font-size:.68rem}
.error-panel{margin-top:16px;padding:14px 16px;border:1px solid #e6b6ae;border-radius:14px;background:#fff0ee;color:var(--danger);font-weight:800}
.guide-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}.guide-layout>*{min-width:0}
.category-panel{position:sticky;top:96px;min-width:0;max-width:100%;padding:15px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.category-panel__head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:11px}.category-panel h2{margin:0;font-size:1rem}.result-summary{color:var(--muted);font-size:.65rem;font-weight:850;text-align:right}
.category-list{display:grid;gap:6px;min-width:0;max-width:100%}.category-button{width:100%;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:11px;background:transparent;text-align:left;cursor:pointer;font-size:.78rem;font-weight:850}.category-button:hover,.category-button[aria-pressed="true"]{border-color:#bdd1c7;background:var(--soft);color:var(--brand)}.category-button span:last-child{min-width:25px;padding:1px 7px;border-radius:999px;background:#eef3f0;color:var(--muted);text-align:center;font-size:.66rem}
.guide-content{min-width:0;display:grid;gap:24px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:11px}.section-head h2{margin:3px 0 0;font-size:1.4rem}
.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.article-card{display:block;width:100%;min-width:0;padding:17px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(21,54,43,.055);text-align:left;cursor:pointer}.article-card:hover{border-color:#aac9ba;transform:translateY(-1px)}.article-card__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--brand2);font-size:.68rem;font-weight:950}.article-card h3{margin:8px 0 5px;font-size:1rem;line-height:1.45}.article-card p{margin:0;color:var(--muted);font-size:.78rem}.article-card__open{display:inline-block;margin-top:11px;color:var(--brand2);font-size:.73rem;font-weight:900}
.empty-state{padding:26px;border:1px dashed #bfcfc7;border-radius:15px;background:rgba(255,255,255,.7);color:var(--muted);text-align:center;font-size:.82rem}
.article-detail{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}.back-button{padding:0;border:0;background:transparent;color:var(--brand2);cursor:pointer;font-size:.78rem;font-weight:900}.article-detail__head{display:flex;justify-content:space-between;gap:14px;margin-top:14px}.article-detail h2{margin:5px 0 7px;font-size:clamp(1.35rem,3vw,1.85rem);line-height:1.35}.article-detail__summary{margin:0;color:var(--muted);font-size:.88rem}.role-badge{align-self:flex-start;flex:0 0 auto;padding:5px 9px;border-radius:999px;background:var(--soft);color:var(--brand);font-size:.68rem;font-weight:950}
.step-list{display:grid;gap:9px;margin:20px 0 0;padding:0;list-style:none;counter-reset:step}.step-list li{counter-increment:step;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);font-size:.84rem}.step-list li:before{content:counter(step);display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--brand);color:#fff;font-weight:950}
.caution{margin-top:14px;padding:12px 14px;border:1px solid #ead09a;border-radius:13px;background:var(--warnbg);color:#714a07;font-size:.8rem;font-weight:760}.target-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.target-link{display:inline-flex;align-items:center;min-height:40px;padding:7px 11px;border:1px solid #bfd3c9;border-radius:10px;background:#fff;color:var(--brand);text-decoration:none;font-size:.76rem;font-weight:900}.target-link:hover{background:var(--soft)}
.faq-section{padding-top:4px}.faq-list{display:grid;gap:8px}.faq-item{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.faq-item summary{position:relative;cursor:pointer;padding:14px 48px 14px 15px;font-size:.84rem;font-weight:900;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"＋";position:absolute;right:15px;top:50%;transform:translateY(-50%);color:var(--brand2);font-size:1.2rem}.faq-item[open] summary:after{content:"−"}.faq-answer{padding:0 15px 15px;color:var(--muted);font-size:.82rem}.faq-targets{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.guide-footer{width:min(1180px,calc(100% - 30px));margin:0 auto 30px;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.7rem}
@media(max-width:900px){
  .guide-hero{grid-template-columns:1fr}.guide-layout{grid-template-columns:1fr}.category-panel{position:static}.category-list{display:flex;max-width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:3px}.category-button{width:auto;min-width:max-content;grid-template-columns:auto auto}.article-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .guide-header__inner{width:min(100% - 20px,1180px);min-height:auto;padding:11px 0;align-items:flex-start}.brand__mark{width:37px;height:37px}.brand h1{font-size:1.05rem}.header-actions{gap:5px}.header-actions .button{min-height:37px;padding:7px 9px;font-size:.69rem}
  .guide-shell{width:min(100% - 20px,1180px);padding-top:12px}.guide-hero{padding:20px;border-radius:19px}.guide-hero h2{font-size:1.55rem}.guide-counts strong{font-size:1.35rem}.guide-counts span{font-size:.65rem}
  .search-card{padding:13px}.search-row{grid-template-columns:1fr}.search-row .button{width:100%}.category-panel{padding:12px}.article-detail{padding:17px}.article-detail__head{display:grid}.role-badge{justify-self:start}.guide-footer{width:min(100% - 20px,1180px);display:grid}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
