/* Category TOP only. Preview shell below is not destined for shared article CSS. */
.sg-guide{--sg-ink:#17374c;--sg-muted:#60788a;--sg-blue:#1768b0;--sg-line:#dbe8f1;--sg-pale:#f2f8fc;margin:0;background:#fff;color:var(--sg-ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:15px;line-height:1.75;-webkit-text-size-adjust:100%}
.sg-guide *{box-sizing:border-box}.sg-guide [hidden]{display:none!important}.sg-guide a{color:inherit;text-decoration:none}.sg-guide button,.sg-guide input{font:inherit}.sg-guide button{cursor:pointer}.sg-guide a,.sg-guide button{-webkit-tap-highlight-color:transparent}.sg-guide :focus-visible{outline:3px solid #2789d0;outline-offset:4px}.sg-guide a:hover{color:var(--sg-blue)}.sg-guide section{scroll-margin-top:24px}.sg-guide h1,.sg-guide h2,.sg-guide h3,.sg-guide p{margin-top:0}.sg-guide h2{font-size:26px;line-height:1.5;letter-spacing:.035em;margin-bottom:0}.sg-preview-note{background:#183c57;color:#fff;text-align:center;font-size:11px;padding:5px 16px;letter-spacing:.08em}.sg-preview-note span{opacity:.75;margin-left:16px}.sg-container,.sg-header,.sg-footer{max-width:1104px;margin:auto;padding-inline:32px}.sg-header{height:88px;display:flex;align-items:center;gap:25px}.sg-header img{display:block;object-fit:contain}.sg-header>span{font-size:12px;color:var(--sg-muted);letter-spacing:.08em}.sg-header-link{margin-left:auto;font-weight:600;font-size:13px}.sg-header-link span{margin-left:8px}.sg-hero{background:linear-gradient(125deg,#eef7fc 0%,#f5fbfd 55%,#edf6fb 100%);border-block:1px solid #e1edf4;padding-bottom:0}.sg-breadcrumb{display:flex;gap:12px;font-size:12px;color:var(--sg-muted);padding-top:21px}.sg-hero-layout{display:flex;align-items:center;justify-content:space-between;padding:36px 0 28px;gap:32px}.sg-eyebrow{font-size:11px;font-weight:750;letter-spacing:.2em;color:#377bab;margin-bottom:10px}.sg-hero h1{font-size:44px;line-height:1.3;letter-spacing:.065em;margin-bottom:20px}.sg-lead{font-size:15px;line-height:2;color:#536f81;margin-bottom:0}.sg-mobile-br{display:none}.sg-hero-emblem{flex:0 0 258px;position:relative;min-width:0;width:258px;height:192px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#5b829b;pointer-events:none}.sg-hero-art{display:block;width:258px;height:151px;overflow:visible;flex-shrink:0}.sg-hero-signature{display:block;text-align:center;font-size:11px;font-weight:400;line-height:1.8;letter-spacing:.1em;margin-top:1px}.sg-hero-signature strong{font-weight:550;color:#416b86}.sg-search{padding:24px 28px 18px;border:1px solid #d5e5f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px #2a628008}.sg-search label{display:block;font-size:14px;font-weight:700;margin-bottom:10px}.sg-search-line{display:flex;align-items:center;position:relative;min-width:0;border:1px solid #bdd4e5;border-radius:11px;background:#fbfdff;overflow:hidden;transition:border-color .15s,box-shadow .15s}.sg-search-line:focus-within{border-color:#1768b0;box-shadow:0 0 0 3px #1768b019}.sg-search-icon{position:absolute;font-size:29px;left:16px;color:#668ba2;line-height:1;pointer-events:none}.sg-search input{width:100%;min-width:0;height:54px;border:0;border-radius:0;background:transparent;padding:10px 16px 10px 49px;color:var(--sg-ink);font-size:16px;box-shadow:none;-webkit-appearance:none;appearance:none}.sg-search .sg-search-line input:focus,.sg-search .sg-search-line input:focus-visible{outline:none;box-shadow:none}.sg-search .sg-search-line>button:focus-visible{outline:2px solid #fff;outline-offset:-5px}.sg-search input::placeholder{color:#8499a8}.sg-search-line>button{flex-shrink:0;align-self:stretch;background:var(--sg-blue);border:0;border-radius:0;padding:0 25px;color:#fff;font-size:14px;font-weight:650;min-width:128px}.sg-search-line>button:hover{background:#135d9e}.sg-search-line>button span{margin-left:12px}.sg-search p{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--sg-muted);margin:16px 0 0}.sg-search p button{border:1px solid #e0edf5;border-radius:5px;padding:4px 10px;font-size:11px;line-height:1.6;background:#f2f7fb;color:#406e8d}.sg-search p small{margin-left:auto;font-size:10px}.sg-jump{display:flex;justify-content:center;padding:20px 0;gap:0}.sg-jump a{padding:0 24px;border-right:1px solid #d7e6ef;font-size:12px;font-weight:600}.sg-jump a:last-child{border:0}.sg-section{padding-block:44px;border-bottom:1px solid var(--sg-line)}.sg-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.sg-heading .sg-eyebrow{margin-bottom:5px}.sg-heading-note{font-size:12px;color:var(--sg-muted);padding-bottom:4px}.sg-terms{display:flex;flex-wrap:wrap;gap:10px}.sg-term{display:inline-flex;align-items:center;gap:15px;border:1px solid #c9deee;background:#fff;border-radius:7px;padding:10px 17px;font-size:14px;font-weight:600}.sg-term::after{content:"›";font-weight:400;color:#6f9ebb}.sg-term:hover{background:var(--sg-pale);border-color:#86b2d4}.sg-glossary{border-top:1px dashed var(--sg-line);margin-top:22px}.sg-glossary summary,.sg-more-topics summary,.sg-more-articles summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;padding:16px 0;font-size:13px;font-weight:650;color:#427597}.sg-guide summary::-webkit-details-marker{display:none}.sg-glossary summary span{font-size:11px;font-weight:400;color:var(--sg-muted)}.sg-glossary summary b{font-size:15px;margin-left:15px}.sg-guide details[open]>summary b{display:inline-block;transform:rotate(45deg)}.sg-glossary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px}.sg-glossary-grid a{position:relative;padding:14px 22px 14px 0;border-top:1px solid var(--sg-line)}.sg-glossary-grid strong,.sg-glossary-grid span{display:block}.sg-glossary-grid strong{font-size:14px}.sg-glossary-grid span{font-size:11px;color:var(--sg-muted)}.sg-glossary-grid b{position:absolute;right:0;top:22px;color:#779bae;font-size:12px;font-weight:400}.sg-situations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sg-situation{position:relative;text-align:left;padding:22px 20px 22px 64px;border:1px solid var(--sg-line);border-radius:12px;background:linear-gradient(120deg,#f3f9fd,#fff);color:var(--sg-ink)}.sg-situation:hover{border-color:#82b1d1;background:#eef7fd}.sg-situation>span{position:absolute;left:20px;top:24px;font-size:26px;color:#4586b1;line-height:1}.sg-situation strong,.sg-situation small{display:block}.sg-situation strong{font-size:15px}.sg-situation small{font-size:11px;color:var(--sg-muted);margin-top:3px}.sg-situation b{position:absolute;right:15px;top:24px;font-size:12px;color:#6a96b4;font-weight:400}.sg-popular .sg-heading{margin-bottom:12px}.sg-preview-pill{font-size:10px;padding:4px 9px;border:1px dashed #b8cddc;border-radius:4px;color:var(--sg-muted);flex-shrink:0}.sg-module-note{font-size:11px;color:var(--sg-muted);margin-bottom:20px}.sg-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}.sg-card{overflow:hidden;min-width:0;border:1px solid var(--sg-line);border-radius:12px;background:#fff;display:flex;flex-direction:column;transition:border-color .15s}.sg-card:hover{border-color:#85b1cf}.sg-card-photo{overflow:hidden;aspect-ratio:16/9;flex-shrink:0;background:#eaf3f9}.sg-card-photo img{width:100%;height:100%;display:block;object-fit:cover}.sg-photo-fallback{display:grid;place-items:center;height:100%;color:#81a5bc;font-family:serif;font-size:32px}.sg-card-body{padding:17px 18px 15px;display:flex;flex-direction:column;flex:1}.sg-card h3{font-size:14px;line-height:1.7;margin:0 0 14px;font-weight:650;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.sg-date{font-size:10px;color:#738795;margin-top:auto}.sg-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sg-topic{position:relative;display:flex;align-items:center;gap:10px;border:1px solid var(--sg-line);border-radius:9px;padding:18px 22px 18px 13px;min-width:0}.sg-topic:hover{background:var(--sg-pale)}.sg-topic-icon{font-size:23px;color:#5b92b7;width:28px;text-align:center;flex-shrink:0}.sg-topic strong{display:block;font-size:13px}.sg-topic small{display:block;font-size:10px;color:var(--sg-muted);margin-top:2px}.sg-topic>b{position:absolute;right:11px;color:#6d94ad;font-weight:400}.sg-more-topics summary{justify-content:center;padding-top:20px}.sg-first{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;background:var(--sg-pale);padding:28px 32px;margin-top:38px;border:1px solid var(--sg-line);border-radius:14px}.sg-first h2{font-size:22px}.sg-first p:last-child{color:var(--sg-muted);font-size:12px;margin:10px 0 0}.sg-first-link{display:block;position:relative;padding:13px 25px 13px 0;border-bottom:1px solid #d3e3ed;font-size:13px;font-weight:600}.sg-first-link:last-child{border-bottom:0}.sg-first-link::after{content:"→";position:absolute;right:0;font-weight:400;color:#4d8ab3}.sg-more-articles{margin-top:22px}.sg-more-articles summary{border:1px solid #d5e5ef;border-radius:9px;background:#f8fbfd;justify-content:center;margin-bottom:25px}.sg-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:26px;font-size:12px}.sg-pagination a,.sg-pagination>span{padding:8px 13px;border-radius:6px}.sg-pagination a{border:1px solid var(--sg-line)}.sg-pagination [aria-current]{background:var(--sg-blue);color:#fff}.sg-pagination+.sg-module-note{text-align:center;margin:14px 0 0}.sg-end-note{text-align:center;font-size:11px;color:#708694;padding:34px 0}.sg-footer{border-top:1px solid var(--sg-line);display:flex;justify-content:space-between;padding-block:22px;font-size:11px;color:var(--sg-muted)}.sg-results{padding:28px;margin-top:28px;border:1px solid #aacbdf;background:#f7fbfe;border-radius:15px}.sg-results h2{font-size:23px}.sg-results .sg-heading{margin-bottom:12px}.sg-text-button{background:none;border:0;color:var(--sg-blue);font-size:12px}.sg-results #sg-search-status{font-size:12px;color:var(--sg-muted)}.sg-result{display:block;padding:15px 2px;border-bottom:1px solid var(--sg-line);font-size:14px}.sg-result span{display:block;color:var(--sg-muted);font-size:10px;margin-top:3px}.sg-outline{display:block;background:#fff;border:1px solid #b4d0e3;border-radius:8px;color:var(--sg-blue);padding:10px 22px;margin:20px auto 0;font-size:12px}
@media(max-width:850px){.sg-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-situations{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-heading-note{display:none}.sg-card-grid{gap:20px 16px}.sg-card-body{padding:13px}.sg-hero-emblem{flex-basis:200px;width:200px}.sg-hero-art{width:218px;height:128px}.sg-hero h1{font-size:36px}.sg-jump a{padding:0 18px}.sg-search p small{display:none}}
@media(max-width:600px){.sg-guide{font-size:14px}.sg-container,.sg-header,.sg-footer{padding-inline:20px}.sg-preview-note{font-size:9px;letter-spacing:0}.sg-preview-note span{margin-left:8px}.sg-header{height:69px;gap:12px}.sg-header img{width:77px;height:37px}.sg-header>span{display:none}.sg-header-link{font-size:11px}.sg-breadcrumb{font-size:10px;padding-top:14px}.sg-hero-layout{padding:26px 0 22px;display:block}.sg-hero h1{font-size:31px;letter-spacing:.04em;margin-bottom:15px}.sg-hero-emblem{display:none}.sg-eyebrow{font-size:10px}.sg-lead{font-size:12px;line-height:1.95}.sg-mobile-br{display:inline}.sg-search{padding:17px 15px 14px;border-radius:13px}.sg-search label{font-size:12px;margin-bottom:9px}.sg-search input{height:50px;padding-left:35px;padding-right:8px;font-size:16px}.sg-search-line{border-radius:8px}.sg-search input::placeholder{font-size:11px}.sg-search-icon{left:10px;font-size:23px}.sg-search-line>button{font-size:12px;min-width:82px;padding-inline:12px;white-space:nowrap}.sg-search-line>button span{display:none}.sg-search p{font-size:10px;gap:6px;margin-top:14px}.sg-search p button{padding:4px 6px;font-size:10px}.sg-jump{justify-content:space-between;padding:17px 0}.sg-jump a{padding:0 9px;font-size:10px}.sg-jump a:first-child{padding-left:0}.sg-jump a:last-child{padding-right:0}.sg-section{padding-block:30px}.sg-guide h2{font-size:21px;letter-spacing:.01em}.sg-heading{margin-bottom:19px;gap:10px}.sg-heading .sg-eyebrow{margin-bottom:4px}.sg-terms{gap:8px}.sg-term{padding:8px 11px;font-size:12px;gap:9px;min-height:42px}.sg-glossary{margin-top:18px}.sg-glossary summary{font-size:12px}.sg-glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 17px}.sg-glossary-grid strong{font-size:12px}.sg-glossary-grid span{font-size:10px}.sg-situations{gap:10px}.sg-situation{padding:17px 13px;min-height:130px}.sg-situation>span{position:static;display:block;margin-bottom:11px;font-size:24px}.sg-situation strong{font-size:13px}.sg-situation small{font-size:10px;line-height:1.6}.sg-situation b{right:13px;top:18px}.sg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.sg-card{border-radius:9px}.sg-card-body{padding:11px 10px}.sg-card h3{font-size:12px;line-height:1.65;-webkit-line-clamp:4;margin-bottom:11px}.sg-date{font-size:9px}.sg-module-note{font-size:10px;line-height:1.7}.sg-topic-grid{gap:9px}.sg-topic{padding:15px 20px 15px 10px;gap:7px}.sg-topic-icon{width:22px;font-size:21px}.sg-topic strong{font-size:12px;line-height:1.65}.sg-topic small{font-size:9px;line-height:1.5}.sg-topic>b{right:9px}.sg-first{display:block;margin-top:27px;padding:24px 21px}.sg-first>div:last-child{margin-top:17px}.sg-first-link{font-size:12px;padding-block:12px}.sg-more-articles summary{font-size:12px}.sg-end-note{text-align:left;padding-block:27px;font-size:10px}.sg-footer{font-size:10px;padding-block:20px}.sg-results{padding:20px 16px}.sg-results h2{font-size:19px}.sg-result{font-size:13px}.sg-preview-pill{font-size:9px;white-space:nowrap}}
.sg-situation{padding:27px 23px 27px 100px;min-height:119px}.sg-situation-art{position:absolute;left:17px;top:22px;width:68px;height:68px;object-fit:contain}.sg-topic-art{width:40px;height:40px;object-fit:contain;flex-shrink:0}.sg-popular-controls{text-align:center;margin-top:25px}.sg-popular-controls p{font-size:11px;color:var(--sg-muted);margin-bottom:12px}.sg-popular-controls .sg-outline{margin-top:0;min-width:245px}.sg-popular-controls [hidden]{display:none!important}
@media(max-width:600px){.sg-situation{padding:17px 13px;min-height:158px}.sg-situation-art{position:static;display:block;width:56px;height:56px;margin-bottom:9px}.sg-topic-art{width:31px;height:31px}.sg-popular-controls{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.sg-guide *{transition:none!important;scroll-behavior:auto!important}}

/* Match WordPress pagination while retaining the existing shared shell. */
#lani-section-main.sg-guide{max-width:none;width:100%;padding:0;margin:0;background:#fff}
.sg-pagination ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;justify-content:center}.sg-pagination li{margin:0;padding:0}.sg-pagination .page-numbers{display:block}.sg-pagination .current{padding:8px 13px;border-radius:6px;background:var(--sg-blue);color:#fff}.sg-pagination ul.page-numbers{display:flex}
