
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Hiragino Sans','Noto Sans JP',sans-serif; background:#fff; color:#222; }

.header {
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:#fff; border-top:4px solid #222; border-bottom:1px solid #eee;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 36px; height:52px;
}
.header .logo { font-size:15px; font-weight:900; color:#222; cursor:pointer; }
.header .logo em { font-style:normal; color:#00a73c; }
.header nav { display:flex; gap:4px; }
.header nav a {
  color:#888; text-decoration:none; font-size:13px; font-weight:700;
  padding:6px 14px; border-radius:4px; cursor:pointer;
}
.header nav a:hover,.header nav a.active { color:#00a73c; background:#f0faf3; }
.h-search {
  border:1px solid #ddd; border-radius:4px; padding:5px 12px;
  display:flex; align-items:center; gap:6px;
}
.h-search input { border:none; outline:none; font-size:13px; width:160px; }
body { padding-top:56px; }

.page { display:none; } .page.active { display:block; }

/* Hero */
.slide-hero {
  min-height:calc(100vh - 56px); display:flex; align-items:center;
  padding:60px 8%; gap:60px;
}
.hero-left { flex:1; }
.hero-left .label { font-size:14px; color:#888; letter-spacing:2px; margin-bottom:12px; }
.hero-left h1 { font-size:48px; font-weight:900; line-height:1.3; margin-bottom:8px; }
.hero-left .big { font-size:88px; font-weight:900; line-height:1; }
.hero-left .big span { font-size:32px; color:#666; }
.hero-left .accent-bar { width:6px; height:80px; background:#00a73c; border-radius:3px; display:inline-block; vertical-align:middle; margin-right:16px; }
.hero-left .per { font-size:15px; color:#888; margin-top:16px; }
.hero-left .note-box {
  margin-top:32px; background:#f8fdf9; border-left:4px solid #00a73c;
  padding:16px 20px; font-size:14px; color:#555; line-height:1.9; max-width:540px;
}
.hero-left .scroll-btn {
  margin-top:32px; font-size:13px; color:#bbb; cursor:pointer;
}

.hero-right { width:340px; display:flex; flex-direction:column; gap:12px; }
.summary-card {
  border-radius:8px; padding:20px 22px; color:#fff; position:relative; cursor:pointer;
  transition:transform 0.15s;
}
.summary-card:hover { transform:translateY(-2px); }
.sc-label { font-size:12px; opacity:0.8; margin-bottom:4px; }
.sc-val { font-size:28px; font-weight:900; }
.sc-val small { font-size:14px; font-weight:400; opacity:0.8; }
.sc-note { font-size:11px; opacity:0.7; margin-top:4px; }

/* Sections */
.section { padding:60px 8%; border-top:1px solid #eee; }
.sec-num { font-size:14px; font-weight:900; color:#00a73c; margin-bottom:4px; }
.sec-title { font-size:26px; font-weight:900; margin-bottom:8px; }
.sec-sub { font-size:14px; color:#888; margin-bottom:36px; }

.stack-wrap { max-width:700px; margin-bottom:40px; }
.stack-bar { display:flex; height:52px; border-radius:6px; overflow:hidden; margin-bottom:12px; }
.stack-bar .seg {
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:800; color:#fff; min-width:36px; cursor:pointer;
  transition:filter 0.15s;
}
.stack-bar .seg:hover { filter:brightness(1.1); }
.stack-legend { display:flex; gap:16px; flex-wrap:wrap; font-size:12px; color:#555; }
.stack-legend .sl { display:flex; align-items:center; gap:5px; }
.stack-legend .sl i { width:12px; height:12px; border-radius:3px; display:inline-block; }

.cat-cards { display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:800px; }
.cat-card {
  display:flex; align-items:center; border-radius:8px; overflow:hidden;
  cursor:pointer; transition:transform 0.15s; border:1px solid #eee;
}
.cat-card:hover { transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.06); }
.cc-left {
  width:100px; min-height:90px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; color:#fff; font-weight:900;
}
.cc-left .cc-emoji { font-size:24px; margin-bottom:4px; }
.cc-left .cc-name { font-size:11px; text-align:center; line-height:1.3; padding:0 4px; }
.cc-right { flex:1; padding:14px 18px; }
.cc-desc { font-size:12px; color:#888; margin-bottom:6px; }
.cc-amount { font-size:22px; font-weight:900; }
.cc-amount small { font-size:12px; font-weight:400; color:#888; }
.cc-pct {
  display:inline-block; font-size:11px; font-weight:700; padding:2px 8px;
  border-radius:10px; margin-left:6px;
}
.cc-count { font-size:11px; color:#aaa; margin-top:2px; }

/* List */
.list-page { padding:32px 8%; }
.list-header { display:flex; align-items:center; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.back-btn {
  background:none; border:1px solid #ddd; border-radius:4px;
  padding:6px 14px; font-size:13px; color:#666; cursor:pointer;
}
.back-btn:hover { border-color:#00a73c; color:#00a73c; }
.list-header h2 { font-size:22px; font-weight:900; }
.list-header .count { font-size:13px; color:#888; }

.cat-tabs { display:flex; gap:4px; margin-bottom:16px; overflow-x:auto; padding-bottom:4px; }
.cat-tab {
  padding:6px 14px; border-radius:20px; font-size:12px; font-weight:700;
  background:#f0f0f0; color:#888; cursor:pointer; border:none; white-space:nowrap;
}
.cat-tab:hover { background:#e0e0e0; }
.cat-tab.active { background:#00a73c; color:#fff; }

.filter-bar { display:flex; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.filter-bar .search-box {
  flex:1; min-width:180px; padding:8px 14px; border:1px solid #ddd;
  border-radius:4px; font-size:13px; outline:none;
}
.filter-bar .search-box:focus { border-color:#00a73c; }
.sort-btn {
  padding:8px 14px; border:1px solid #ddd; border-radius:4px;
  font-size:12px; background:#fff; cursor:pointer; font-weight:700;
}
.sort-btn:hover,.sort-btn.active { background:#00a73c; color:#fff; border-color:#00a73c; }

.project-list { max-width:900px; }
.p-item {
  display:flex; align-items:center; padding:12px 0;
  border-bottom:1px solid #f0f0f0; cursor:pointer;
}
.p-item:hover { background:#f8fdf9; margin:0 -8px; padding:12px 8px; border-radius:4px; }
.p-item .p-rank { width:32px; font-size:13px; color:#bbb; font-weight:800; text-align:center; }
.p-item .p-body { flex:1; min-width:0; }
.p-item .p-name { font-size:14px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p-item .p-sub { font-size:11px; color:#999; margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p-item .p-amt { font-size:16px; font-weight:900; white-space:nowrap; margin-left:12px; }
.p-item .p-amt small { font-size:11px; font-weight:400; color:#888; }
.p-item .p-go { color:#ccc; margin-left:10px; }
.load-more {
  display:block; margin:20px auto; padding:8px 28px;
  border:1px solid #ddd; border-radius:4px; background:#fff;
  font-size:13px; cursor:pointer; color:#888;
}
.load-more:hover { border-color:#00a73c; color:#00a73c; }

/* Detail */
.detail-page { padding:32px 8%; max-width:880px; }
.d-back { margin-bottom:20px; }

.d-head { margin-bottom:28px; }
.d-head .d-sec-num { font-size:13px; font-weight:900; color:#00a73c; }
.d-head h2 { font-size:26px; font-weight:900; margin:4px 0 8px; }
.d-head .d-official { font-size:12px; color:#999; margin-bottom:8px; }
.d-head .d-cat-badge {
  display:inline-block; font-size:11px; font-weight:800; color:#fff;
  padding:3px 12px; border-radius:12px;
}

.d-explain {
  background:#f8fdf9; border-left:4px solid #00a73c;
  padding:16px 20px; margin-bottom:28px;
  font-size:14px; color:#444; line-height:1.9;
}
.d-explain .de-l { font-size:11px; font-weight:800; color:#00a73c; margin-bottom:6px; }

/* 詳しい説明 */
.d-detail-explain {
  background:#fff; border:1px solid #e8e8e8; border-radius:8px;
  padding:16px 20px; margin-bottom:28px;
  font-size:14px; color:#444; line-height:2;
}
.d-detail-explain .de-l2 {
  font-size:12px; font-weight:900; color:#00a73c; letter-spacing:1px;
  margin-bottom:8px; padding-bottom:4px; border-bottom:2px solid #00a73c;
}

/* 予算内訳バー */
.d-breakdown-section { margin-bottom:28px; max-width:600px; }
.bd-it { margin-bottom:10px; }
.bd-lb { display:flex; justify-content:space-between; font-size:12px; margin-bottom:2px; }
.bd-lb .bd-v { font-weight:700; }
.bd-tr { height:18px; background:#f0f0f0; border-radius:2px; overflow:hidden; }
.bd-fl { height:100%; border-radius:2px; min-width:2px; }
.bd-fl.c0 { background:#00a73c; }
.bd-fl.c1 { background:#0078d4; }
.bd-fl.c2 { background:#f5a623; }
.bd-fl.c3 { background:#888; }

.d-bene {
  margin-bottom:28px; background:#f8f8f8; border-radius:8px;
  padding:20px 24px; border:1px solid #eee;
}
.d-bene .bene-title {
  font-size:12px; font-weight:900; color:#00a73c; letter-spacing:1px;
  margin-bottom:14px; padding-bottom:6px; border-bottom:2px solid #00a73c;
}
.d-bene .bene-who {
  font-size:15px; font-weight:800; color:#222;
}
.d-bene .bene-row {
  display:flex; gap:14px; margin-top:10px; padding-top:10px; border-top:1px dashed #ddd;
  flex-wrap:wrap;
}
.d-bene .bene-item { flex:1; min-width:140px; }
.d-bene .bene-lb { font-size:11px; color:#888; font-weight:700; margin-bottom:3px; }
.d-bene .bene-vl { font-size:18px; font-weight:900; color:#00a73c; }
.d-bene .bene-note { font-size:11px; color:#888; margin-top:10px; line-height:1.6; }

.d-kpi { width:100%; border-collapse:collapse; margin-bottom:28px; }
.d-kpi th {
  background:#00a73c; color:#fff; font-size:11px; font-weight:800;
  padding:8px 14px; text-align:center;
}
.d-kpi td {
  padding:10px 14px; text-align:center; border-bottom:1px solid #eee;
  font-size:22px; font-weight:900;
}
.d-kpi td small { font-size:11px; font-weight:400; color:#888; }
.d-kpi td .kn { display:block; font-size:10px; color:#bbb; font-weight:400; }
.d-kpi tr td:first-child { border-left:3px solid #00a73c; }

.d-points { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.d-pt {
  flex:1; min-width:200px;
  padding:14px 16px; background:#fafafa; border-radius:6px; border:1px solid #eee;
  font-size:13px; color:#555; line-height:1.6;
}

.d-cols { display:grid; grid-template-columns:1fr 1fr; gap:36px; margin-bottom:28px; }
.col-t {
  font-size:12px; font-weight:900; color:#00a73c; letter-spacing:1px;
  margin-bottom:14px; padding-bottom:6px; border-bottom:2px solid #00a73c;
}

.yr-bars { display:flex; align-items:flex-end; gap:12px; height:170px; padding-bottom:28px; }
.yr-g { flex:1; display:flex; flex-direction:column; align-items:center; }
.yr-pair { display:flex; gap:3px; align-items:flex-end; height:140px; }
.yr-b { width:28px; border-radius:3px 3px 0 0; position:relative; }
.yr-b.bud { background:#ddd; }
.yr-b.act { background:#888; }
.yr-b.act.latest { background:#00a73c; }
.yr-b .yv {
  position:absolute; top:-20px; left:50%; transform:translateX(-50%);
  font-size:11px; font-weight:800; white-space:nowrap;
}
.yr-b.bud .yv { color:#aaa; }
.yr-b.act .yv { color:#555; }
.yr-b.act.latest .yv { color:#00a73c; }
.yr-lbl { margin-top:6px; font-size:11px; color:#888; }
.yr-leg { display:flex; gap:14px; margin-top:6px; font-size:11px; color:#888; }
.yr-leg i { display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:3px; vertical-align:middle; }

/* 円グラフ（一覧ページ） */
.pie-section { display:flex; align-items:center; gap:40px; margin-bottom:40px; max-width:700px; }
.pie-wrap { position:relative; width:220px; height:220px; flex-shrink:0; }
.pie-wrap svg { width:100%; height:100%; }
.pie-center { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center; }
.pie-center .pc-val { font-size:28px; font-weight:900; }
.pie-center .pc-label { font-size:11px; color:#888; }
.pie-legend { flex:1; }
.pie-legend .pl-item { display:flex; align-items:center; gap:8px; padding:5px 0; cursor:pointer; }
.pie-legend .pl-item:hover { background:#f8fdf9; margin:0 -6px; padding:5px 6px; border-radius:4px; }
.pie-legend .pl-dot { width:12px; height:12px; border-radius:3px; flex-shrink:0; }
.pie-legend .pl-name { font-size:13px; font-weight:700; flex:1; }
.pie-legend .pl-val { font-size:13px; font-weight:900; }
.pie-legend .pl-pct { font-size:11px; color:#888; width:36px; text-align:right; }

/* カテゴリ内 横棒グラフ（一覧ページ） */
.list-chart-wrap { max-width:800px; }
.list-chart-title { font-size:13px; font-weight:900; color:#00a73c; margin-bottom:12px; }
.lc-bar-item { display:flex; align-items:center; gap:8px; margin-bottom:5px; cursor:pointer; padding:3px 0; }
.lc-bar-item:hover { background:#f8fdf9; margin-left:-6px; margin-right:-6px; padding:3px 6px; border-radius:4px; }
.lc-pos { width:20px; font-size:11px; font-weight:800; color:#bbb; text-align:center; }
.lc-name { width:160px; font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lc-bar-bg { flex:1; height:20px; background:#f0f0f0; border-radius:3px; overflow:hidden; }
.lc-bar-fill { height:100%; border-radius:3px; transition:width 0.3s; }
.lc-val { width:75px; font-size:12px; font-weight:800; text-align:right; }
.lc-more { font-size:12px; color:#888; margin-top:8px; cursor:pointer; }
.lc-more:hover { color:#00a73c; }

/* カテゴリ内ランキング（詳細ページ） */
.d-rank-section { margin-bottom:28px; }
.d-rank-title {
  font-size:12px; font-weight:900; color:#00a73c; letter-spacing:1px;
  margin-bottom:14px; padding-bottom:6px; border-bottom:2px solid #00a73c;
}
.d-rank-list { max-width:600px; }
.d-rank-item { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.d-rank-item.is-me { background:#f0faf3; margin:0 -8px; padding:4px 8px; border-radius:4px; border-left:3px solid #00a73c; }
.d-rank-pos { width:22px; font-size:11px; font-weight:800; color:#bbb; text-align:center; }
.d-rank-item.is-me .d-rank-pos { color:#00a73c; }
.d-rank-name { width:140px; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.d-rank-item.is-me .d-rank-name { font-weight:800; color:#00a73c; }
.d-rank-bar-wrap { flex:1; height:16px; background:#f0f0f0; border-radius:2px; overflow:hidden; }
.d-rank-bar { height:100%; border-radius:2px; min-width:2px; }
.d-rank-item.is-me .d-rank-bar { background:#00a73c !important; }
.d-rank-val { width:70px; font-size:11px; font-weight:700; text-align:right; }

.d-foot { margin-top:20px; padding-top:12px; border-top:1px solid #eee; font-size:11px; color:#999; line-height:1.6; }
.prev-next { display:flex; justify-content:space-between; margin-top:32px; padding-top:16px; border-top:1px solid #eee; }
.pn-btn { padding:8px 18px; border:1px solid #ddd; border-radius:4px; background:#fff; font-size:12px; cursor:pointer; color:#888; }
.pn-btn:hover { border-color:#00a73c; color:#00a73c; }

.site-footer { padding:40px 8%; border-top:1px solid #eee; font-size:11px; color:#aaa; line-height:1.8; text-align:center; }

@media(max-width:768px) {
  .header { padding:0 12px; }
  .h-search input { width:100px; }
  .slide-hero { flex-direction:column; gap:24px; padding:32px 16px; min-height:auto; }
  .hero-right { width:100%; flex-direction:row; flex-wrap:wrap; }
  .summary-card { flex:1; min-width:140px; }
  .hero-left h1 { font-size:28px; } .hero-left .big { font-size:52px; }
  .cat-cards { grid-template-columns:1fr; }
  .d-cols { grid-template-columns:1fr; }
  .d-points { flex-direction:column; }
  .pie-section { flex-direction:column; gap:20px; }
  .pie-wrap { width:180px; height:180px; }
  .section { padding:40px 16px; }
  .list-page { padding:20px 12px; }
  .detail-page { padding:20px 12px; }
}

/* === 税金の使い道 要約カード（zeikin-summary） === */
.zeikin-summary{max-width:1100px;margin:0 auto;padding:14px 20px 0}
.zk-card{background:#f8fdf9;border:1px solid #cfe6d6;border-left:5px solid #00a73c;border-radius:14px;padding:20px 22px}
.zk-card h2.zk-title{font-size:20px;font-weight:900;color:#205a32;margin:0 0 4px;border:none;padding:0}
.zk-lead{font-size:14px;color:#444;margin:0 0 14px;line-height:1.6}
.zk-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:680px){.zk-grid{grid-template-columns:repeat(4,1fr)}}
.zk-item{background:#fff;border:1px solid #e3eee7;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:3px;min-width:0}
.zk-item.zk-wide{grid-column:1 / -1}
.zk-label{font-size:11px;color:#6b7280;font-weight:700}
.zk-val{font-size:16px;font-weight:800;color:#1a202c;line-height:1.4;word-break:break-word}
.zk-note{font-size:12px;color:#555;margin:14px 0 0;background:#fff;border:1px dashed #cfe6d6;border-radius:8px;padding:9px 11px;line-height:1.6}
.zk-src{font-size:11px;color:#888;margin:8px 0 0;line-height:1.5}


#ouhub-banner{position:fixed;top:0;left:0;right:0;z-index:300;background:linear-gradient(90deg,#064e3b 0%,#047857 100%);color:#fff;height:56px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.1);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Sans','Yu Gothic',sans-serif}
.ouhub-inner{max-width:1280px;height:100%;margin:0 auto;padding:5px 24px;display:flex;flex-direction:column;justify-content:center;gap:2px}
.ouhub-row{display:flex;gap:14px;align-items:center;font-size:12px;line-height:1.5;flex-wrap:wrap}
.ouhub-themes{border-top:1px dashed rgba(255,255,255,.18);padding-top:4px;margin-top:2px}
.ouhub-label{color:rgba(255,255,255,.7);font-weight:600}
.ouhub-brand{font-weight:900!important;color:#fff!important;font-size:14px!important}
.ouhub-sep{color:rgba(255,255,255,.3);margin:0 -4px}
.ouhub-pulse{background:#fbbf24!important;color:#78350f!important;padding:3px 12px!important;border-radius:6px;animation:ouhubPulse 2.5s infinite;font-weight:800!important;margin-left:auto}
.ouhub-pulse:hover{background:#fcd34d!important;color:#1f2937!important;animation:none}
@keyframes ouhubPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
#ouhub-banner a{color:#a7f3d0;text-decoration:none;font-weight:700;padding:2px 6px;border-radius:4px;transition:all .15s}
#ouhub-banner a:hover{color:#fff;background:rgba(255,255,255,.12)}
body{padding-top:112px !important}
.header{top:56px !important}
.slide-hero{min-height:calc(100vh - 112px) !important}
@media (max-width:760px){
  #ouhub-banner{height:36px}
  .ouhub-inner{padding:6px 12px}
  .ouhub-row{font-size:11px;gap:8px}
  .ouhub-themes{display:none}
  body{padding-top:92px !important}
  .header{top:36px !important}
  .slide-hero{min-height:calc(100vh - 92px) !important}
}
.ouhub-form-section{background:linear-gradient(180deg,#f0fdf4 0%,#ecfdf5 100%);padding:60px 8% 80px;border-top:3px solid #10b981}
.ouhub-form-wrap{max-width:760px;margin:0 auto;text-align:center}
.ouhub-form-wrap h2{font-size:26px;font-weight:900;margin-bottom:10px;color:#064e3b}
.ouhub-form-wrap > p{color:#475569;margin-bottom:24px;font-size:14px;line-height:1.7}
.ouhub-form-iframe-wrap{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.08)}
.ouhub-form-iframe-wrap iframe{display:block;width:100%;border:0;background:#fff}
.ouhub-form-meta{margin-top:16px;font-size:13px;color:#475569;text-align:center}
.ouhub-form-meta a{color:#10b981;font-weight:700;text-decoration:none}
.ouhub-form-meta a:hover{text-decoration:underline}
@media (max-width:760px){.ouhub-form-section{padding:40px 16px 60px}.ouhub-form-wrap h2{font-size:20px}}
.ouhub-rank-section{background:#fff;padding:60px 8%;border-top:1px solid #e2e8f0}
.ouhub-rank-wrap{max-width:1100px;margin:0 auto}
.ouhub-rank-wrap h2{font-size:26px;font-weight:900;color:#064e3b;margin-bottom:8px}
.ouhub-rank-lead{color:#475569;font-size:14px;margin-bottom:20px;line-height:1.7}
.ouhub-rank-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.ouhub-rank-tab{background:#fff;border:2px solid #e2e8f0;color:#1a202c;padding:10px 16px;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s;font-family:inherit;display:inline-flex;align-items:center;gap:6px}
.ouhub-rank-tab .em{font-size:18px}
.ouhub-rank-tab:hover{border-color:#10b981;background:#f0fdf4;color:#10b981}
.ouhub-rank-tab.active{background:#10b981;border-color:#10b981;color:#fff}
.ouhub-rank-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ouhub-rank-col{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px;min-width:0}
.ouhub-rank-col h3{font-size:15px;font-weight:800;margin-bottom:14px;color:#1a202c}
.ouhub-rank-list{display:flex;flex-direction:column;gap:0}
.ouhub-rank-row{display:grid;grid-template-columns:36px 1fr 90px;align-items:center;padding:10px 6px;border-bottom:1px solid #e2e8f0;font-size:13px;gap:6px}
.ouhub-rank-row:last-child{border-bottom:0}
.ouhub-rank-row:hover{background:#f0fdf4}
.ouhub-rank-row.mine{background:#fef3c7;font-weight:700}
.ouhub-rank-row.mine:hover{background:#fde68a}
.ouhub-rank-num{font-weight:800;color:#94a3b8;font-size:14px;text-align:center}
.ouhub-rank-num.top3{color:#10b981}
.ouhub-rank-name{font-weight:600;color:#1a202c;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ouhub-rank-name small{color:#94a3b8;font-size:10px;font-weight:400;margin-left:4px;display:block}
.ouhub-rank-val{text-align:right;color:#10b981;font-weight:800;font-size:13px}
.ouhub-rank-mine{background:#fbbf24;color:#78350f;font-weight:800;padding:10px 14px;border-radius:8px;margin-bottom:10px;font-size:14px;text-align:center}
.ouhub-rank-mine strong{color:#000}
.ouhub-rank-empty{color:#94a3b8;text-align:center;padding:30px;font-size:13px}
.ouhub-rank-meta{margin-top:20px;text-align:center;font-size:13px}
.ouhub-rank-meta a{color:#10b981;font-weight:700;text-decoration:none}
.ouhub-rank-meta a:hover{text-decoration:underline}
@media (max-width:760px){.ouhub-rank-cols{grid-template-columns:1fr}.ouhub-rank-section{padding:40px 16px}.ouhub-rank-tab{padding:8px 12px;font-size:12px}}


.seo-intro{max-width:1100px;margin:0 auto;padding:18px 20px 0}
.seo-intro h2{font-size:20px;font-weight:900;color:#205a32;margin:0 0 10px}
.seo-intro p{font-size:14.5px;line-height:1.85;color:#333;margin:0 0 12px}
.seo-faq{margin-top:8px;border-top:1px solid #e3eee7}
.seo-faq details{border-bottom:1px solid #e3eee7;padding:10px 2px}
.seo-faq summary{font-weight:800;color:#1a202c;cursor:pointer;font-size:15px}
.seo-faq p{margin:8px 0 2px;font-size:14px;color:#444}
.seo-note{font-size:12px;color:#666;background:#f8fdf9;border:1px dashed #cfe6d6;border-radius:8px;padding:9px 11px}

/* === B案 追加分（最小限・既存意匠に準拠／軽量ヒーロー帯と機能要素のみ） === */
.hero-band{background:linear-gradient(135deg,#00a73c 0%,#00862f 100%);color:#fff;padding:34px 8% 30px}
.hero-band .crumb{font-size:13px;color:#dff3e7;margin-bottom:10px}
.hero-band .crumb a{color:#fff;text-decoration:underline}
.hero-band h1{font-size:30px;font-weight:900;line-height:1.32;margin-bottom:8px}
.hero-band .sub{font-size:15px;opacity:.97;line-height:1.7;max-width:780px}
.hero-band .q-tag{display:inline-block;background:rgba(255,255,255,.2);font-size:12px;font-weight:800;padding:3px 12px;border-radius:12px;margin-bottom:10px}
/* 回答ページ：疑問は小さく添え、答えそのものを大見出しに、その下にサブ要約 */
.hero-band .q-orig{font-size:14px;color:#eafff2;opacity:.95;font-weight:700;margin-bottom:6px}
.hero-band .a-sub{font-size:16px;font-weight:800;color:#fff;line-height:1.6;margin:2px 0 10px;max-width:820px}
.hero-band .rank{vertical-align:middle}
/* 確認ランクのピル（既存 .d-cat-badge/.cc-pct と同じピル意匠の機能要素） */
.rank{display:inline-block;font-size:11px;font-weight:700;padding:2px 9px;border-radius:10px;vertical-align:middle;white-space:nowrap}
.rank.a{background:#e8f7ee;color:#00862f}.rank.b{background:#e7f1fb;color:#0061ab}
.rank.c{background:#fdf3e3;color:#b5651d}.rank.d{background:#eef0f2;color:#586172}.rank.x{background:#eef0f2;color:#586172}
.srcref{color:#00862f;font-size:12px;text-decoration:underline}
.codebox{background:#14241c;color:#d7e8dd;border-radius:8px;padding:12px;font-size:12px;white-space:pre-wrap;overflow:auto;font-family:'Consolas','Menlo',monospace;margin:8px 0}
.facts-list{list-style:none;padding:0;margin:0}
.facts-list li{padding:9px 0;border-bottom:1px solid #f0f0f0;font-size:14px;line-height:1.7}
.facts-list li .src{display:block;margin-top:3px}
a.d-pt{text-decoration:none;color:inherit;display:block}
a.d-pt:hover{border-color:#00a73c}
.kpi-wrap{overflow-x:auto;margin-bottom:28px}
.p-onel{color:#444;font-weight:700}
/* 内訳バーの行政語にそえるやさしい補足 */
.bd-gloss{font-size:12.5px;color:#5a6b60;background:#f3f8f4;border-radius:6px;padding:5px 9px;margin:5px 0 2px;line-height:1.55}
.cc-right .srcref{font-size:11px}
/* スマホ：ヘッダーのナビが詰まる問題を解消（横スクロール化・補助タグ非表示） */
@media(max-width:640px){
  .header{flex-wrap:nowrap;padding:0 10px}
  .header .logo{font-size:13px;flex:0 0 auto;white-space:nowrap}
  .header .tag-mvp{display:none}
  .header nav{flex:1;min-width:0;margin-left:8px;justify-content:flex-start;
    flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .header nav::-webkit-scrollbar{display:none}
  .header nav a{flex:0 0 auto;white-space:nowrap;font-size:12px;padding:5px 9px}
}
/* リクエスト一覧：フィルタ＆コンパクト行 */
.req-filter{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:6px 0 14px}
.req-filter input{border:1px solid #ddd;border-radius:6px;padding:7px 12px;font-size:14px;min-width:220px;flex:1}
.req-filter .req-count{font-size:12px;color:#888}
.req-row{cursor:default}
.req-row .p-name{font-size:14px}
.req-row .p-sub{font-size:12px;color:#888}
.req-cards{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:8px}
.req-card{flex:1;min-width:260px;display:block;text-decoration:none;background:#f8fdf9;
  border:1px solid #cfe6d6;border-left:5px solid #00a73c;border-radius:12px;padding:16px 18px;color:inherit}
.req-card:hover{border-color:#00a73c;box-shadow:0 2px 10px rgba(0,167,60,.12)}
.req-card .rc-muni{font-size:12px;font-weight:800;color:#00a73c;margin-bottom:4px}
.req-card .rc-q{font-size:15px;font-weight:800;color:#222;line-height:1.5;margin-bottom:8px}
.req-card .rc-go{font-size:13px;color:#00862f;font-weight:700}
