.geolonia-svg-map .prefecture {
fill: #aed4f0;
stroke: #fff;
stroke-width: 1.5;
cursor: pointer;
transition: fill 0.15s;
}
.geolonia-svg-map .prefecture:hover {
fill: #2c7fc7;
}
#tooltip {
position: fixed;
background: #fff;
border: 1px solid #ccc;
border-radius: 6px;
padding: 4px 12px;
font-size: 13px;
pointer-events: none;
display: none;
z-index: 100;
}
#map-wrapper {
display: flex;
margin-top: 50px !important;
gap: 20px;
align-items: flex-start;
min-height: unset;
overflow: hidden;
max-width: 1800px;
margin: 0 auto;
}
#map-container {
width: 70%;
flex-shrink: 0;
}
#map-container svg {
width: 100%;
height: auto;
}  @media (max-width: 1024px) {
#map-wrapper {
gap: 12px;
}
#map-container {
width: 55%;
}
.power-charts-wrap {
flex-direction: column !important;
align-items: flex-start;
gap: 8px;
}
.power-chart-item canvas {
width: 180px !important;
height: 180px !important;
}
} @media (max-width: 480px) {
#map-wrapper {
flex-direction: column;
gap: 0;
}
#map-container {
width: 100%;
}
#map-container.hidden {
display: none;
}
#city-list-wrapper {
height: auto !important;
max-height: 60vh;
overflow-y: auto;
}
.power-charts-wrap {
flex-direction: column !important;
align-items: center;
}
} @media (max-width: 1024px) {
#sp-select-wrap {
display: block;
}
#map-wrapper {
flex-direction: column;
}
#map-container {
display: none;
}
#city-list-wrapper {
height: auto !important;
max-height: 60vh;
overflow-y: auto;
}
.power-charts-wrap {
flex-direction: row !important;
justify-content: center;
}
}
.pref-btn {
padding: 7px 12px;
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 13px;
cursor: pointer;
color: #333;
}
.pref-btn:hover,
.pref-btn.selected {
background: #1a5a96;
color: #fff;
border-color: #1a5a96;
} #sp-pref-table-wrap {
display: none;
margin-bottom: 16px;
overflow-x: auto;
}
#sp-pref-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
#sp-pref-table th {
background: #1a5a96;
color: #fff;
padding: 8px 12px;
text-align: left;
font-size: 13px;
}
#sp-pref-table td {
border-bottom: 1px solid #eee;
vertical-align: middle;
padding: 8px 12px;
}
.region-cell {
font-weight: bold;
color: #1a5a96;
white-space: nowrap;
width: 80px;
background: #eef6fc;
}
.pref-cell {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.pref-btn {
padding: 5px 10px;
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 12px;
cursor: pointer;
color: #333;
white-space: nowrap;
}
.pref-btn:hover,
.pref-btn.selected {
background: #1a5a96;
color: #fff;
border-color: #1a5a96;
}
@media (max-width: 1024px) {
#sp-pref-table-wrap {
display: block;
}
#map-container {
display: none;
}
#map-wrapper {
flex-direction: column;
}
#city-panel {
width: 100%;
position: static;
max-height: none;
height: auto !important;
display: none;
flex-direction: column;
}
#city-panel.active {
display: flex !important;
}
#city-list-wrapper {
height: auto !important;
max-height: 60vh;
overflow-y: auto;
}
.power-charts-wrap {
flex-direction: row !important;
justify-content: center;
}
}
@media (max-width: 480px) {
.power-charts-wrap {
flex-direction: column !important;
align-items: center;
}
} .council-row {
font-size: 16px !important;
}
.council-label {
font-size: 16px;
}
.council-section-title {
font-size: 15px;
}
#city-section-title {
font-size: 15px;
}
#city-list li {
font-size: 15px !important;
}
.pref-btn {
font-size: 14px !important;
}
#sp-pref-table {
font-size: 15px !important;
}
.region-cell {
font-size: 15px;
}
.member-row {
font-size: 15px !important;
} #map-container {
position: relative;
}
.pref-map-label {
position: absolute;
transform: translate(-50%, -50%);
pointer-events: auto;
cursor: pointer;
z-index: 10;
text-align: center;
}
.pref-map-name {
display: inline-block;
background: rgba(255,255,255,0.85);
border: 1px solid #ccc;
border-radius: 4px;
padding: 2px 5px;
font-size: 10px;
color: #333;
white-space: nowrap;
line-height: 1.4;
}
.pref-map-label:hover .pref-map-name {
background: #1a5a96;
color: #fff;
border-color: #1a5a96;
}  header,
.site-header,
#masthead {
position: sticky;
top: 0;
z-index: 500;
background: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
} #map-container {
width: 42% !important;
}
#map-wrapper {
justify-content: center;
} .pref-map-name {
font-size: 16px !important;
padding: 4px 8px !important;
width: 3.5em;
min-width: 3.5em;
text-align: center;
box-sizing: content-box;
} .pref-map-name.selected {
background: #1a5a96;
color: #fff;
border-color: #1a5a96;
font-weight: bold;
} #panel-tabs {
display: flex;
border-bottom: 2px solid #dceaf6;
background: #f2f8fd;
flex-shrink: 0;
}
.panel-tab {
flex: 1;
padding: 12px 4px;
font-size: 14px;
font-weight: bold;
color: #666;
background: none;
border: none;
border-bottom: 3px solid transparent;
cursor: pointer;
transition: color 0.15s, border-color 0.15s;
white-space: nowrap;
}
.panel-tab:hover {
color: #1a5a96;
}
.panel-tab.active {
color: #1a5a96;
border-bottom-color: #1a5a96;
background: #fff;
} #panel-tab-contents {
flex: 1;
overflow: visible;
display: flex;
flex-direction: column;
}
.tab-content {
display: none;
flex-direction: column;
overflow: visible;
}
.tab-content.active {
display: flex;
} .governor-card {
padding: 14px 16px;
}
.governor-name-wrap {
margin-bottom: 10px;
}
.governor-name {
font-size: 20px;
font-weight: bold;
color: #222;
}
.governor-kana {
font-size: 13px;
color: #888;
margin-left: 6px;
} .no-data-msg {
color: #999;
font-size: 13px;
padding: 16px;
} .data-updated {
font-size: 11px;
color: #aaa;
text-align: right;
margin-top: 10px;
padding-top: 6px;
border-top: 1px solid #eee;
} .panel-section-label {
font-size: 15px;
font-weight: bold;
color: #fff;
background: #1a5a96;
padding: 5px 16px;
flex-shrink: 0;
} .members-inline-list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
padding: 10px 16px;
}
.member-inline-card {
background: #f9f9f9;
border: 1px solid #e8e8e8;
border-radius: 6px;
padding: 8px 10px;
font-size: 13px;
}
.member-inline-name {
font-weight: bold;
color: #222;
font-size: 14px;
}
.member-inline-kana {
font-size: 11px;
color: #999;
margin-bottom: 4px;
}
.member-inline-tags {
display: flex;
flex-wrap: wrap;
gap: 3px;
margin-top: 4px;
}
.member-inline-tag {
background: #e6f1fb;
color: #1a5a96;
border-radius: 3px;
padding: 1px 5px;
font-size: 11px;
} #tab-prefecture {
flex-direction: column;
overflow: hidden;
}
#prefecture-fixed {
flex-shrink: 0;
}
#members-inline-wrap {
flex: 1;
overflow-y: auto;
padding-bottom: 12px;
} .members-district-group {
margin-bottom: 4px;
}
.members-district-label {
font-size: 12px;
font-weight: bold;
color: #1a5a96;
background: #e6f1fb;
padding: 4px 16px;
border-left: 3px solid #2c7fc7;
} .governor-card-inner {
display: flex;
gap: 25px;
align-items: flex-start;
padding: 14px 16px;
}
.governor-img-wrap {
width: 30%;
flex-shrink: 0;
}
.governor-img {
width: 100%;
height: auto;
border-radius: 6px;
object-fit: cover;
display: block;
}
.governor-info-wrap {
flex: 1;
min-width: 0;
}  .governor-card-inner {
display: flex;
gap: 20px;
align-items: flex-start;
padding: 14px 16px;
}
.governor-img-col {
width: 30%;
flex-shrink: 0;
}
.governor-img {
width: 100%;
height: auto;
border-radius: 6px;
object-fit: cover;
display: block;
}
.governor-img-attribution {
font-size: 13px;
color: #aaa;
margin-top: 4px;
line-height: 1.4;
}
.governor-info-wrap {
flex: 1;
min-width: 0;
} .sns-links {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.sns-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: #f0f0f0;
border-radius: 6px;
text-decoration: none;
color: #333;
font-size: 16px;
transition: background 0.15s, color 0.15s;
}
.sns-link:hover {
background: #1a5a96;
color: #fff;
} .governor-supplement {
font-size: 16px;
color: #c0392b;
background: none;
border: none;
margin-top: 8px;
padding: 2px 0;
line-height: 1.5;
}
.council-row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 5px;
font-size: 14px;
}
.council-link {
text-decoration: underline;
}
.governor-tags {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-top: 10px;
}
.governor-tag-link {
display: inline-block;
background: #e6f1fb;
color: #1a5a96;
border-radius: 4px;
padding: 3px 7px;
font-size: 15px;
text-decoration: none;
line-height: 1.4;
word-break: break-all;
}
.governor-tag-link:hover {
background: #1a5a96;
color: #fff;
}
.governor-info-divider {
border-top: 1px solid #eee;
margin: 8px 0;
}
.power-charts-wrap {
display: flex;
flex-direction: row;
gap: 16px;
align-items: flex-start;
padding: 4px 0;
overflow: visible;
}
.power-chart-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
min-width: 0;
overflow: visible;
}
.power-chart-label {
font-size: 14px;
font-weight: bold;
color: #1a5a96;
align-self: flex-start;
}
.power-chart-item canvas {
width: 220px !important;
height: 220px !important;
flex-shrink: 0;
display: block;
}
.chart-legend {
display: flex;
flex-direction: column;
gap: 5px;
width: 100%;
}
.chart-legend-item {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
}
.chart-legend-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.chart-legend-name { color: #333; }
.chart-legend-val { color: #555; font-weight: bold; } .successive-accordion { margin-top: 12px; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.successive-accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #eef6fc; cursor: pointer; font-weight: bold; color: #1a5a96; font-size: 13px; }
.successive-accordion-header.open .successive-toggle-icon { transform: rotate(90deg); }
.successive-toggle-icon { font-size: 11px; transition: transform 0.2s; }
.successive-accordion-body {
display: none;
padding: 8px 12px;
}
.successive-accordion-body.open { display: block; }
.successive-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.successive-table th { background: #f5f5f5; padding: 6px 10px; text-align: left; border-bottom: 1px solid #ddd; color: #555; }
.successive-table td { padding: 6px 10px; border-bottom: 1px solid #eee; vertical-align: top; }
.successive-table tr:last-child td { border-bottom: none; }
.successive-kana { font-size: 10px; color: #999; }
#prefecture-fixed .panel-section-label:nth-child(3) {
margin-top: 20px;
} #update-log-wrap {
width: 100%;
max-width: 1800px;
margin: 40px auto 0;
padding: 0 20px;
}
.update-log-title {
font-size: 18px;
font-weight: bold;
color: #1a5a96;
border-bottom: 2px solid #dceaf6;
padding-bottom: 8px;
margin-bottom: 16px;
}
.update-log-list {
list-style: none;
padding: 0;
margin: 0;
}
.update-log-item {
display: flex;
align-items: baseline;
gap: 16px;
padding: 10px 0;
border-bottom: 1px solid #eee;
font-size: 14px;
}
.update-log-date {
color: #888;
font-size: 13px;
white-space: nowrap;
flex-shrink: 0;
}
.update-log-text {
color: #333;
}
.update-log-body {
font-size: 13px;
color: #555;
margin-top: 4px;
line-height: 1.6;
}
.update-log-empty {
color: #999;
font-size: 14px;
}