:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #eef3f6;
  --text: #1f2933;
  --muted: #596674;
  --line: #d8e0e7;
  --green: #0f5f56;
  --leaf: #2f7d68;
  --gold: #9a6a18;
  --blue: #1f5f8b;
  --red: #a33a35;
  --shadow: 0 6px 18px rgba(31, 41, 51, .06);
  --radius: 8px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "BIZ UDPGothic", "Noto Sans JP", "Meiryo", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img, canvas { max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 12px rgba(31, 41, 51, .04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  box-shadow: none;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--green);
  opacity: 0;
  transition: opacity .15s ease;
}

.nav-links a:hover {
  border-color: rgba(15, 95, 86, .35);
  background: #eef6f3;
  color: var(--green);
}

.nav-links a[aria-current="page"] {
  border-color: rgba(15, 95, 86, .45);
  background: #eef6f3;
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--green);
}

.nav-links a[aria-current="page"]::after {
  opacity: 1;
}

.nav-links a:first-child:not([aria-current="page"]) {
  border-color: rgba(15, 95, 86, .28);
  background: #fff;
  color: #12312d;
  font-weight: 900;
  box-shadow: 0 1px 0 rgba(15, 95, 86, .14);
}

.nav-links a:first-child:not([aria-current="page"]):hover {
  border-color: rgba(15, 95, 86, .35);
  background: #eef6f3;
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: none;
}

.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
  align-items: start;
  padding: 34px 0 20px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 95, 86, .22);
  border-radius: 6px;
  background: #eef6f3;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-hero {
  grid-template-columns: minmax(0, 1fr);
}

.home-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: var(--surface);
  min-height: 350px;
  padding-right: min(22vw, 260px);
}

.home-hero-panel .eyebrow {
  align-self: flex-start;
}

.hero-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.hero-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.home-hero-panel h1 {
  max-width: 980px;
  font-size: clamp(28px, 3vw, 36px);
}

.home-hero-panel .lead {
  max-width: 880px;
}

.quick-links-panel {
  display: grid;
  gap: 12px;
}

.home-link-band-section {
  padding-top: 6px;
  padding-bottom: 8px;
}

.home-link-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-link-band a {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.home-link-band a:hover {
  border-color: rgba(15, 95, 86, .35);
  background: #f7faf9;
}

.home-link-band strong {
  color: var(--text);
  line-height: 1.4;
}

.home-link-band span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.knowledge-index {
  max-width: 1040px;
}

.section-head.knowledge-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  justify-content: start;
  margin-bottom: 16px;
}

.section-head.knowledge-head h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
}

.section-head.knowledge-head p {
  margin: 0;
  max-width: 780px;
  line-height: 1.8;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.knowledge-card {
  display: grid;
  align-content: start;
  min-height: 150px;
  color: inherit;
  text-decoration: none;
}

.knowledge-card:hover {
  border-color: rgba(15, 95, 86, .35);
  background: #f7faf9;
}

.knowledge-card.primary-link {
  border-color: rgba(15, 95, 86, .28);
  background: #f3f8f6;
}

.comparison-method {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 20px;
  align-items: center;
}

.method-copy {
  display: grid;
  gap: 10px;
}

.method-copy h2 {
  margin: 0;
  line-height: 1.45;
}

.method-copy p {
  margin: 0;
}

.muted-note {
  color: var(--muted);
  font-size: 14px;
}

.home-hero-panel .muted-note {
  max-width: 880px;
  font-size: 15px;
  line-height: 1.7;
}

.home-hero-visual {
  position: absolute;
  right: 22px;
  bottom: 14px;
  display: block;
  width: min(22vw, 250px);
  min-width: 180px;
  aspect-ratio: 3 / 2;
  height: auto;
  pointer-events: none;
}

.page-hero-visual {
  display: block;
  width: clamp(74px, 9vw, 110px);
  min-width: 0;
  height: auto;
  pointer-events: none;
}

.listing-page .hero-panel .page-hero-visual {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: end;
}

.article-hero {
  position: relative;
  display: block;
}

.article-hero .page-title-icon {
  display: inline-block;
  width: 2.25em;
  height: 2.25em;
  margin: 0 .34em 0 0;
  vertical-align: -0.68em;
}

.article-hero h1 {
  margin-right: 0;
}

.method-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
  align-items: center;
}

.method-radar {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.quick-links-panel h2 {
  margin: 0;
}

.quick-link-list {
  display: grid;
  gap: 10px;
}

.quick-link-list a {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 42px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.quick-link-list a:hover {
  transform: none;
  border-color: rgba(15, 95, 86, .35);
  background: #f7faf9;
}

.quick-link-list strong {
  color: var(--text);
  line-height: 1.45;
}

.quick-link-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.quick-link-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #eef6f3;
  color: var(--green) !important;
  font-size: 14px !important;
  font-weight: 700;
  transform: translateY(-50%);
}

.source-panel {
  overflow: hidden;
  padding: 18px 18px 14px;
  background: #fff;
}

.source-panel-head {
  display: grid;
  gap: 8px;
}

.source-panel-head h2 {
  margin: 0;
}

.source-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.source-lower-layout {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.source-visual {
  position: relative;
  min-height: 245px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.osaka-map {
  width: min(185px, 70%);
  height: auto;
}

.map-shadow {
  fill: rgba(23, 33, 29, .10);
  transform: translate(8px, 8px);
}

.map-shape {
  fill: url(#osakaMapFill);
  stroke: rgba(255, 255, 255, .9);
  stroke-width: 3;
}

.map-coast {
  fill: none;
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 3;
  stroke-linecap: round;
}

.map-pin {
  fill: #fff;
  stroke: var(--gold);
  stroke-width: 4;
}

.map-pin.secondary {
  fill: #ffffff;
  stroke-width: 3;
}

.map-label {
  position: absolute;
  padding: 5px 8px;
  border: 1px solid rgba(15, 95, 86, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .88);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.map-label.north { top: 30px; left: 18px; }
.map-label.center { top: 112px; right: 16px; }
.map-label.south { bottom: 26px; left: 22px; }

.source-steps {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.source-steps div {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(15, 95, 86, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
}

.source-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.source-steps span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.map-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.map-stat-strip div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

.map-stat-strip b {
  display: block;
  color: var(--green);
  font-size: 22px;
  line-height: 1.1;
}

.map-stat-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.radar-summary-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.radar-summary-panel h2 {
  margin-bottom: 0;
}

.radar-summary-panel canvas {
  justify-self: center;
}

.side-stack {
  display: grid;
  gap: 12px;
}

.panel, .card, .notice, .table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel, .card { padding: 18px; }

.panel h2, .panel h3, .card h2, .card h3 {
  margin: 0 0 8px;
  line-height: 1.45;
  letter-spacing: 0;
}

.panel p, .card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.section {
  padding: 24px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tag.green { color: var(--green); background: #eef6f3; border-color: rgba(15, 95, 86, .22); }
.tag.gold { color: #75500f; background: #fbf4e6; border-color: rgba(154, 106, 24, .28); }
.tag.blue { color: var(--blue); background: #edf5fa; border-color: rgba(31, 95, 139, .22); }

.company-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.card-link:hover {
  transform: none;
  border-color: rgba(15, 95, 86, .35);
  box-shadow: var(--shadow);
}

.card-link-more {
  margin-top: auto;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.data-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.summary-item {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.summary-item b {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.summary-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.company-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.company-title h2 {
  margin-bottom: 8px;
}

.company-member-no {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(15, 95, 86, .22);
  border-radius: 6px;
  background: #eef6f3;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}

.company-name-link {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--text);
  text-decoration: none;
}

.company-name-link:hover {
  color: var(--green);
}

.company-name-text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.company-name-link span[aria-hidden="true"] {
  color: var(--green);
  font-size: .78em;
  font-weight: 700;
  text-decoration: none;
}

.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;
}

.company-contact {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.company-contact div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
}

.company-contact dt {
  color: var(--green);
  font-weight: 700;
}

.company-contact dd {
  margin: 0;
}

.company-disclosure {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.company-disclosure div {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.company-disclosure dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.company-disclosure dd {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.company-title-mark {
  flex: 0 0 auto;
  width: 8px;
  height: 42px;
  border-radius: 4px;
  background: var(--green);
}

.score-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  align-items: center;
}

.score-list {
  display: grid;
  gap: 7px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.score-row span { color: var(--muted); }

.score-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 95, 86, .18);
  border-radius: 6px;
  background: #f3f8f6;
}

.score-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 13px;
}

.score-summary p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.filters {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.listing-page main {
  padding-top: 10px;
}

.listing-page .hero {
  display: none;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 18px 0 12px;
}

.listing-page .hero-panel {
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  gap: 12px;
  align-items: end;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
}

.listing-page .hero-panel::after {
  content: none;
}

.listing-page .hero-panel > * {
  grid-column: 1 / -1;
}

.listing-page .hero-panel h1 {
  grid-column: 1;
  grid-row: 2;
}

.listing-page .hero h1 {
  max-width: 980px;
  margin-top: 10px;
  font-size: clamp(25px, 3vw, 36px);
}

.listing-page .hero .lead {
  max-width: 760px;
}

.listing-page .hero .notice {
  display: none;
}

.listing-page .hero .notice span {
  font-size: 13px;
  line-height: 1.55;
}

.listing-page .summary-grid,
.summary-grid {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.listing-page .summary-grid > *,
.summary-grid > * {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.listing-page .summary-item b {
  font-size: 22px;
  letter-spacing: 0;
  white-space: nowrap;
}

.listing-page .summary-item:last-child {
  flex-grow: 1.35;
}

.listing-page .summary-item:last-child b {
  font-size: 18px;
}

.listing-page .summary-item span {
  font-size: 11px;
  white-space: nowrap;
}

.listing-page [data-company-status] {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.listing-page .section {
  padding-top: 8px;
}

.listing-summary-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.listing-summary-head {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.listing-summary-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.listing-summary-head strong::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: none;
}

.listing-summary-head span {
  overflow-wrap: anywhere;
}

.listing-summary-copy {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.listing-summary-copy p {
  margin: 0;
}

.listing-summary-copy a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.listing-summary-panel .summary-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
}

.listing-summary-panel .summary-item span {
  white-space: normal;
}

.listing-page .filters {
  margin-bottom: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.listing-page .filters-head {
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.listing-page .filters-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.listing-page .filters-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.listing-page .filters-head strong::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: none;
}

.listing-page .filter-controls {
  align-items: stretch;
}

.listing-page .filter-buttons {
  width: 100%;
}

.listing-page .filter-button {
  border-radius: 6px;
  background: #fff;
}

.listing-page .search-wrap {
  width: min(320px, 100%);
  flex: 0 0 auto;
}

.listing-page .list-note {
  margin: 0 0 12px;
  padding: 0 2px;
  font-weight: 700;
}

.list-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.filters-head strong {
  font-size: 16px;
}

.filters-head span {
  color: var(--muted);
  font-size: 13px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filters-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(15, 95, 86, .22);
  border-radius: 6px;
  background: #eef6f3;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.filter-button.active {
  border-color: rgba(15, 95, 86, .35);
  background: #eef6f3;
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(15, 95, 86, .12);
}

.filter-button.active::before {
  content: "ON";
  display: inline-block;
  margin-right: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0;
}

.filter-button[aria-pressed="false"] {
  background: #fff;
  color: var(--text);
}

.filter-button:hover {
  transform: none;
}

.search {
  min-width: min(330px, 100%);
  flex: 1 1 260px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.search-wrap span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.search-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 0;
  font: inherit;
}

.notice {
  padding: 14px 16px;
  color: var(--muted);
  background: #fff;
  box-shadow: none;
}

.notice strong { color: var(--text); }

.site-status-notice {
  margin: 18px 0 0;
  border-color: rgba(154, 106, 24, .32);
  border-left: 5px solid var(--gold);
  background: #fbf4e6;
  color: #75500f;
  font-weight: 700;
}

.site-status-notice strong {
  color: #75500f;
}

.data-error {
  border-color: rgba(185, 75, 69, .35);
  background: #fff4f3;
  color: #7a2b27;
}

.table-wrap {
  overflow: auto;
  box-shadow: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f2f6f8;
  font-weight: 700;
}

.article-body {
  max-width: 860px;
}

.article-body h1 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.35;
}

.article-body h2 {
  margin: 34px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.article-body p, .article-body li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.article-body a,
.hero-panel p a,
.panel p a,
.notice a,
.muted-note a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.trust-summary {
  margin: 18px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 95, 86, .22);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #f3f8f6;
}

.trust-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 14px;
}

.trust-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.criteria-detail {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.criteria-detail summary {
  cursor: pointer;
  padding: 13px 16px;
  color: var(--text);
  font-weight: 700;
}

.criteria-detail[open] summary {
  border-bottom: 1px solid var(--line);
}

.criteria-detail p {
  margin: 12px 16px;
}

.criteria-detail .table-wrap {
  border: 0;
  border-radius: 0 0 8px 8px;
}

.criteria-detail th,
.criteria-detail td {
  padding: 10px 14px;
}

.next-actions-panel {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.next-actions-panel h2 {
  margin-top: 0;
}

.next-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.next-actions a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.next-actions a:hover {
  border-color: rgba(15, 95, 86, .35);
  background: #f7faf9;
}

.next-actions strong {
  color: var(--text);
  line-height: 1.45;
}

.next-actions span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.faq-list dt {
  padding: 12px 14px 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.faq-list dd {
  margin: -12px 0 0;
  padding: 0 14px 12px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  color: var(--muted);
}

.site-footer {
  margin-top: 30px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, auto);
  gap: 24px;
  align-items: start;
}

.footer-grid p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: var(--text);
  font-size: 16px;
}

.footer-brand small {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-main-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-main-links a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.footer-main-links a:hover {
  border-color: rgba(15, 95, 86, .35);
  color: var(--green);
}

.footer-secondary-link {
  flex-basis: 100%;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  text-align: right;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-secondary-link:hover {
  color: var(--green);
}

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .home-link-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-method { grid-template-columns: 1fr; }
  .method-details { grid-template-columns: 1fr; }
  .home-hero-panel {
    min-height: 0;
    padding-right: 28px;
  }
  .home-hero-visual {
    position: static;
    align-self: flex-end;
    width: min(72vw, 300px);
    min-width: 0;
    margin-top: 4px;
  }
  .listing-page .hero-panel,
  .article-hero {
    min-height: 0;
  }
  .article-hero {
    display: block;
  }
  .article-hero h1 {
    white-space: normal;
  }
  .listing-page .hero-panel .page-hero-visual,
  .article-hero .page-title-icon { width: 2.25em; }
  .listing-page .hero { grid-template-columns: 1fr; }
  .listing-page .hero-panel { grid-template-columns: 1fr; }
  .listing-page .hero-panel::after {
    min-height: 86px;
    font-size: 34px;
  }
  .listing-summary-panel {
    grid-template-columns: 1fr;
  }
  .listing-summary-panel .summary-grid {
    min-width: 0;
  }
  .nav { align-items: flex-start; padding: 10px 0; }
  .nav-links { display: none; }
  .source-lower-layout { grid-template-columns: 1fr; }
  .span-3, .span-4, .span-6, .span-8 { grid-column: span 12; }
  .score-layout { grid-template-columns: 1fr; }
  .company-disclosure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links,
  .footer-main-links { justify-content: flex-start; }
  .footer-secondary-link { text-align: left; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--max)); }
  .hero-panel { padding: 20px; }
  .home-hero-panel { padding-right: 20px; }
  .home-hero-visual { width: min(100%, 260px); }
  .listing-page .hero-panel { grid-template-columns: minmax(0, 1fr) auto; }
  .article-hero { display: block; }
  .listing-page .hero-panel .page-hero-visual { width: 64px; }
  .article-hero .page-title-icon { width: 2.25em; }
  .home-link-band { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .next-actions { grid-template-columns: 1fr; }
  .listing-page .hero-panel { padding: 16px; }
  .listing-page .summary-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .listing-summary-panel {
    border-radius: 8px;
  }
  .listing-page .filters {
    border-radius: 8px;
  }
  .listing-page .filters-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .section-head { display: block; }
}
