:root{--navy:#101f30;--ink:#182a3c;--muted:#66778a;--line:#dce4e8;--bg:#f4f6f5;--paper:#fff;--teal:#1d7775;--mint:#e0f1ed;--amber:#d18940;--red:#bc5c52;--shadow:0 12px 35px rgba(20,42,54,.045)}
.filter-head-actions{display:flex;align-items:center;gap:18px}.mode-switch button{min-width:58px}.period-note small{line-height:1.6}@media(max-width:680px){.filter-head{align-items:flex-start;flex-wrap:wrap}.filter-head-actions{width:100%;justify-content:space-between;gap:8px}.mode-switch button{min-width:56px}.period-note{max-width:100%}}
.filter-head-actions{flex-wrap:wrap;justify-content:flex-end}.mode-switch{display:flex;flex-wrap:wrap}.period-options{display:flex;align-items:end;gap:14px;margin-top:16px}.period-options[hidden],.period-options label[hidden]{display:none}.period-options label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:700}.period-options select{min-width:115px;padding:8px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink)}@media(max-width:680px){.filter-head-actions{justify-content:flex-start}.mode-switch button{min-width:auto;padding:8px 10px}.period-options{flex-wrap:wrap}}
.rank-context{display:block;margin-top:6px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.5}.rank-heading{align-items:flex-start}
.map-instruction{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.geo .panel-header .segmented{flex:none;white-space:nowrap}
.geo .panel-header .segmented button{min-width:max-content;white-space:nowrap;writing-mode:horizontal-tb}
@media(max-width:680px){.geo .panel-header{flex-wrap:wrap}.geo .panel-header>div:first-child{width:100%}}
.panel-header p.breakdown-instruction{margin-top:8px;line-height:1.6}
.kpi-label span{overflow-wrap:anywhere}@media(max-width:680px){.kpi-label span{display:block;margin:5px 0 0;line-height:1.35}}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif;font-size:14px;font-variant-numeric:tabular-nums}button,select{font:inherit}button{cursor:pointer}.shell{max-width:1360px;margin:auto;padding:0 52px}.site-header{background:var(--navy);color:#fff}.header-inner{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:700;letter-spacing:.08em}.brand-mark{width:34px;height:34px;border:1px solid #8dc0ba;color:#c9e8df;display:grid;place-items:center;font-family:serif}.brand small{font-size:9px;font-weight:500;color:#8eacb8;letter-spacing:.2em;margin-left:7px}.header-actions{display:flex;align-items:center;gap:22px}.export{background:#d9eee8;color:#153a3d;border:0;border-radius:5px;padding:10px 15px;font-size:12px;font-weight:700}.export span{margin-left:8px}.export:hover{background:#fff}.intro{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:58px 0 42px}.eyebrow,.section-kicker{color:var(--teal);font-size:11px;font-weight:800;letter-spacing:.16em}.intro h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:600;letter-spacing:.025em;font-size:clamp(32px,4.1vw,54px);line-height:1.37;margin:16px 0 15px}.intro h1 em{font-style:normal;color:var(--teal)}.lead{color:#617387;font-size:13px;line-height:1.8;margin:0}.period-note{border-left:2px solid var(--teal);padding-left:20px;min-width:230px;margin-bottom:7px}.period-note span,.period-note small{display:block;color:var(--muted);font-size:11px}.period-note strong{display:block;font-size:18px;margin:7px 0;letter-spacing:.04em}.filters{background:var(--paper);padding:26px 30px 20px;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.filter-head,.metric-row,.section-heading,.panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.text-button{background:none;border:none;color:var(--teal);font-size:12px;font-weight:700;padding:5px}.text-button:hover{text-decoration:underline}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-top:22px}.filter-grid label{display:grid;gap:8px;color:var(--muted);font-size:11px;font-weight:700}.filter-grid select{appearance:none;background:#f8faf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23586d79' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid #d5dfe3;color:var(--ink);border-radius:5px;padding:12px 32px 12px 12px;width:100%;font-size:13px;min-height:45px}.filter-grid select:focus,button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.metric-row{justify-content:flex-start;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.metric-row>span{font-size:11px;color:var(--muted);font-weight:700}.segmented{display:inline-flex;background:#edf1f1;border-radius:5px;padding:3px;gap:2px}.segmented button{border:0;background:transparent;color:#687d87;font-weight:700;font-size:12px;padding:7px 15px;border-radius:4px}.segmented button.active{background:#fff;color:var(--teal);box-shadow:0 1px 5px rgba(0,0,0,.1)}.filter-summary{margin:0 0 0 auto;color:var(--muted);font-size:11px}.overview,.explorer{padding-top:56px}.section-heading{align-items:end;margin-bottom:22px}.section-heading h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:25px;margin:10px 0 0;letter-spacing:.03em}.current-label,.hint{font-size:12px;color:var(--muted)}.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kpi{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:22px 24px;min-height:151px}.kpi-label{color:#536979;font-size:12px;font-weight:700}.kpi-label span{font-size:10px;color:#94a2aa;font-weight:500;margin-left:4px}.kpi strong{display:block;font-size:32px;letter-spacing:-.03em;margin:13px 0 8px;line-height:1.15}.kpi strong small{font-size:13px;letter-spacing:0;margin-left:5px}.change{font-size:12px;color:var(--muted)}.change.up{color:var(--red)}.change.down{color:var(--teal)}.change b{font-weight:800}.kpi.dark{background:var(--navy);border-color:var(--navy);color:#fff}.dark .kpi-label{color:#c7d8df}.dark .kpi-label span,.dark .muted{color:#89a5b4}.dark strong{color:#d4eee6}.chart-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr);gap:14px;margin-top:14px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:var(--shadow)}.trend-panel,.five-panel{padding:24px}.panel-header{align-items:start}.panel-header h3{font-size:16px;margin:0 0 6px}.panel-header p{font-size:11px;color:var(--muted);margin:0}.unit{color:var(--muted);font-size:11px}.trend-chart{height:235px;margin-top:22px}.trend-chart svg{width:100%;height:100%;overflow:visible}.gridline{stroke:#e8eeef;stroke-width:1}.axis-label{fill:#8da0aa;font-size:10px}.trend-line{fill:none;stroke:#1b817b;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.trend-fill{fill:url(#areaGrad)}.trend-dot{fill:#1b817b;stroke:#fff;stroke-width:3}.five-chart{display:flex;align-items:end;gap:10px;height:225px;padding:10px 2px 0}.five-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;height:100%;gap:7px}.five-val{font-size:10px;font-weight:700;white-space:nowrap;color:#516677}.five-bar{width:100%;max-width:38px;min-height:2px;border-radius:3px 3px 0 0;background:#c7dcd9}.five-item.current .five-bar{background:var(--teal)}.five-item.current .five-val{color:var(--teal)}.five-year{font-size:10px;color:var(--muted)}.explore-grid{display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);gap:14px}.breakdown,.geo{padding:24px;min-width:0}.table-wrap{overflow:auto;margin-top:18px}table{width:100%;border-collapse:collapse;text-align:right}th{color:#80909d;font-size:10px;font-weight:700;padding:12px 9px;border-bottom:1px solid var(--line);white-space:nowrap}td{font-size:12px;padding:14px 9px;border-bottom:1px solid #eaf0f1;white-space:nowrap}td:first-child,th:first-child{text-align:left}tbody tr{cursor:pointer}tbody tr:hover{background:#f4faf8}tbody tr.selected{background:#e8f4f0}tbody tr:last-child td{border-bottom:0}.row-label{font-weight:700}.bar-cell{display:flex;align-items:center;gap:8px;justify-content:flex-end}.bar-mini{height:5px;width:60px;background:#e8efee;border-radius:4px;overflow:hidden;flex:none}.bar-mini i{height:100%;display:block;background:#60aaa2;border-radius:4px}.positive{color:var(--red)}.negative{color:var(--teal)}.small button{font-size:11px;padding:6px 9px}.map{margin:18px auto 0;width:100%;max-width:600px}.map svg{width:100%;height:auto;display:block}.map-cell{cursor:pointer;transition:opacity .15s,filter .15s}.map-cell:hover{filter:brightness(.88)}.map-cell.selected polygon{stroke:#172d41;stroke-width:2.7}.map-cell polygon{stroke:#fff;stroke-width:1.8}.map-cell text{font-size:8px;font-weight:700;pointer-events:none;text-anchor:middle;dominant-baseline:middle}.legend{display:flex;gap:9px;align-items:center;justify-content:center;color:var(--muted);font-size:10px;margin:3px 0 15px}.legend-swatches{display:flex;gap:2px}.legend-swatches i{width:19px;height:8px;border-radius:1px}.rank-heading{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px}.rank-heading strong{font-size:13px}.rank-heading span{font-size:11px;color:var(--muted)}.ranking{max-height:325px;overflow:auto;margin-top:10px}.ranking thead{position:sticky;top:0;background:#fff}.ranking td{padding:10px 9px}footer{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);margin:60px 0 30px;padding-top:19px;color:#84929a;font-size:10px;line-height:1.7}.toast{position:fixed;bottom:22px;right:22px;background:var(--navy);color:#fff;padding:12px 18px;border-radius:5px;box-shadow:0 8px 25px #15253333;opacity:0;transform:translateY(9px);transition:.2s;pointer-events:none;font-size:12px}.toast.show{opacity:1;transform:none}@media(max-width:1000px){.shell{padding:0 26px}.chart-grid,.explore-grid{grid-template-columns:1fr}.trend-chart{height:260px}.map{max-width:640px}.ranking{max-height:250px}}@media(max-width:680px){.shell{padding:0 16px}.header-inner{height:auto;min-height:64px}.brand{font-size:13px}.brand small{display:none}.export{font-size:0;padding:9px 12px}.export:before{content:"CSV出力";font-size:11px}.export span{font-size:11px}.intro{padding:38px 0 27px;display:block}.intro h1{font-size:32px}.period-note{margin-top:25px}.filters{padding:20px 16px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.filter-summary{display:none}.overview,.explorer{padding-top:43px}.section-heading h2{font-size:21px}.current-label,.hint{display:none}.kpis{grid-template-columns:repeat(2,1fr);gap:8px}.kpi{min-height:130px;padding:16px}.kpi strong{font-size:25px}.kpi.dark{grid-column:span 2;min-height:112px}.chart-grid{gap:9px;margin-top:9px}.trend-panel,.five-panel,.breakdown,.geo{padding:17px}.five-panel{min-height:290px}.map-cell text{font-size:8px}footer{display:block;margin-top:45px}footer span{display:block;margin-bottom:7px}}
.kpi-label span{display:block;margin:5px 0 0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.panel-header>div:first-child{min-width:0;overflow-wrap:anywhere}
.panel-header p{font-size:12px;line-height:1.5}
.rank-context{font-size:12px;overflow-wrap:anywhere}
.search-section{margin:0 0 24px;padding:24px 28px;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}
.search-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:15px}
.search-heading h2{font-size:20px;line-height:1.4;margin:5px 0 0}
.search-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}
.search-heading .search-caution{margin-top:7px;font-size:13px;color:#8b4b3b}
.search-heading .search-continuity{margin-top:5px;font-size:13px;line-height:1.6}
.search-chat{display:grid;gap:12px;max-height:360px;overflow-y:auto;padding:16px;background:#f5f8f8;border:1px solid var(--line);border-radius:7px;margin-bottom:12px}
.search-chat:empty{display:none}
.search-message{max-width:min(85%,680px);padding:10px 14px;border-radius:11px;background:#fff;border:1px solid var(--line);box-shadow:0 2px 8px #1525330a}
.search-message.user{justify-self:end;background:#e8f3f0;border-color:#c5ded8}
.search-message.assistant{justify-self:start}
.search-message-role{display:block;margin-bottom:4px;color:var(--muted);font-size:11px;font-weight:700}
.search-message p{margin:0;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.search-form{display:flex;align-items:stretch;gap:9px}
.search-form textarea{flex:1;min-width:0;min-height:52px;max-height:150px;resize:vertical;padding:12px 15px;border:1px solid #b9cbd0;border-radius:5px;background:#fff;color:var(--ink);font:inherit;font-size:14px;line-height:1.5}
.search-form textarea:focus{outline:2px solid #4b9d96;outline-offset:2px}
.search-input-help{margin:6px 0 0;color:var(--muted);font-size:12px}
.search-form button,.search-apply{border:0;border-radius:5px;background:var(--teal);color:#fff;padding:11px 19px;font:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.search-form button:hover,.search-apply:hover{background:#135e5d}
.search-form .search-reset{background:#fff;color:var(--teal);border:1px solid #9abfba}
.search-form .search-reset:hover{background:#edf7f4}
.search-form button:disabled{opacity:.65;cursor:wait}
.search-result[hidden]{display:none}
.search-result{margin-top:23px;padding-top:14px;border-top:1px solid var(--line)}
.search-result h3{font-size:14px;margin:22px 0 10px;color:var(--ink)}
.search-result h3:first-child{margin-top:5px}
.search-result>p{font-size:13px;line-height:1.75;color:#415868;margin:0}
.search-conditions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.search-conditions div{border:1px solid var(--line);border-radius:5px;padding:9px 11px;min-width:0}
.search-conditions dt{font-size:11px;color:var(--muted)}
.search-conditions dd{margin:4px 0 0;font-size:13px;font-weight:700;overflow-wrap:anywhere}
.search-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.search-cards div{border:1px solid var(--line);border-radius:5px;padding:12px;min-width:0}
.search-cards span{display:block;color:var(--muted);font-size:11px}
.search-cards strong{display:block;margin-top:5px;font-size:17px;overflow-wrap:anywhere}
.search-table-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.search-table-heading h3{margin:22px 0 10px}
.search-export{border:1px solid #9abfba;border-radius:5px;background:#fff;color:var(--teal);padding:6px 11px;font:inherit;font-size:11px;font-weight:700;white-space:nowrap}
.search-export:hover:not(:disabled){background:#edf7f4}
.search-export:disabled{opacity:.5;cursor:default}
.search-table-wrap{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:5px}
.search-table-wrap table{min-width:440px}
.search-table-wrap thead{position:sticky;top:0;background:#fff}
.search-table-wrap tbody tr{cursor:default}
.search-table-wrap td{font-size:12px}
.search-chart{border:1px solid var(--line);border-radius:5px;padding:12px;min-width:0}
.search-svg{display:block;width:100%;height:auto;min-height:210px}
.search-chart-label{font-size:10px;fill:#748994}
.search-bars{display:grid;gap:9px;max-height:370px;overflow:auto}
.search-bar-row{display:grid;grid-template-columns:minmax(85px,1.3fr) minmax(50px,3fr) minmax(65px,1fr);gap:10px;align-items:center;font-size:12px}
.search-bar-row span{overflow-wrap:anywhere}
.search-bar-row strong{text-align:right;white-space:nowrap}
.search-bar-track{height:10px;background:#edf2f1;border-radius:5px;overflow:hidden}
.search-bar-track i{display:block;height:100%;background:#4e9f97;border-radius:5px}
.search-map{display:block;width:100%;max-width:590px;margin:auto}
.search-map-legend{text-align:center;color:var(--muted);font-size:12px;margin:4px 0}
.search-apply{margin-top:20px}
.search-applied{display:inline-block;margin:0 0 0 12px;color:var(--teal);font-size:12px}
.search-empty{font-size:13px;color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.search-conditions,.search-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.search-section{padding:18px 16px}.search-heading{display:block}.search-heading p{margin-top:6px}.search-chat{padding:12px}.search-message{max-width:94%}.search-form{display:grid;grid-template-columns:1fr 1fr}.search-form textarea{grid-column:1/-1;width:100%}.search-form button{width:100%}.search-conditions,.search-cards{gap:6px}.search-cards strong{font-size:15px}.search-applied{display:block;margin:8px 0 0}.search-bar-row{grid-template-columns:minmax(70px,1.2fr) minmax(35px,2fr) minmax(54px,1fr);gap:6px;font-size:11px}}
.axis-help,.cross-note{font-size:12px;line-height:1.7;color:var(--muted)}.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.axis-help{margin:13px 0 0}.cross-legend{display:flex;flex-wrap:wrap;gap:7px 14px;font-size:11px;color:var(--muted);margin:16px 0}.cross-legend span{display:flex;align-items:center;gap:5px}.cross-legend i{height:9px;width:9px;border-radius:2px}.cross-chart{display:grid;gap:12px;margin:20px 0 24px}.cross-bar-row{display:grid;grid-template-columns:105px minmax(80px,1fr) 85px;align-items:center;gap:10px;font-size:12px}.cross-bar-row>span{overflow-wrap:anywhere}.cross-bar-row strong{text-align:right}.cross-bar-track{display:flex;height:24px;background:#f1f5f4;border-radius:4px;overflow:hidden}.cross-segment{min-width:1px;border:0;padding:0;flex-shrink:0}.cross-segment:hover{filter:brightness(1.15)}.cross-segment.selected{outline:2px solid var(--navy);outline-offset:-3px}.cross-table table{min-width:810px}.cross-table caption{text-align:left;font-size:12px;color:var(--muted);padding-bottom:12px}.cross-table th{white-space:normal;min-width:85px;max-width:135px;line-height:1.5}.cross-table th:first-child{position:sticky;left:0;background:#fff;min-width:110px;z-index:1}.cross-table td{padding:3px}.cross-cell{width:100%;border:1px solid transparent;background:transparent;border-radius:4px;padding:10px 5px;text-align:right;font:inherit;color:var(--ink)}.cross-cell strong{font-weight:600}.cross-cell small{display:block;margin-top:5px;color:var(--muted);font-size:10px}.cross-cell .positive{color:var(--red)}.cross-cell .negative{color:var(--teal)}.cross-cell:hover{background:var(--mint)}.cross-cell.selected{background:var(--mint);border-color:var(--teal)}.cross-total,.cross-table tfoot td{font-weight:700;padding:10px}.cross-table tfoot{border-top:2px solid var(--line);background:#f5f8f7}.breakdown:has(#cross-display:not([hidden])){grid-column:1/-1}.breakdown:has(#cross-display:not([hidden]))+.geo{grid-column:1/-1}.cross-table tbody tr{cursor:default}#cross-display[hidden],#single-breakdown[hidden]{display:none}.data-check{margin:16px 0;color:var(--muted);font-size:12px;line-height:1.7}.data-check summary{cursor:pointer;color:var(--teal)}@media(max-width:680px){.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cross-bar-row{grid-template-columns:80px minmax(55px,1fr) 67px;gap:6px;font-size:11px}.cross-bar-track{height:27px}.cross-legend{font-size:10px}}
