html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.45);
  outline-offset: 3px;
}

/* Generated page shared styles. Edit here for site-wide generated page UI changes. */
:root {
  --color-primary: #27ae60;
  --color-accent: #f39c12;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
}
header {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.16) 30%, rgba(255,255,255,0.16) 70%, rgba(255,255,255,0.58) 100%),
    url("/assets/images/site-header.webp") center / cover no-repeat,
    linear-gradient(135deg, #e8f7ff 0%, #f8fcff 100%);
  color: #123f5a;
  padding: 68px 16px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.10) 42%, transparent 68%);
  pointer-events: none;
}
header h1, header p, .header-nav {
  position: relative;
  z-index: 1;
}
header h1 { font-size: 2rem; font-weight: 900; margin-bottom: 10px; letter-spacing: 0; text-shadow: 0 2px 10px rgba(255,255,255,0.88); }
header p { color: #245266; font-size: 0.96rem; font-weight: 600; }
.header-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.header-nav a {
  color: #123f5a;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.84rem;
  border: 1px solid rgba(18,63,90,0.16);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.72);
}
.breadcrumb {
  max-width: 880px;
  margin: 14px auto 0;
  padding: 0 16px;
  color: #666;
  font-size: 0.84rem;
  font-weight: 700;
}
.breadcrumb a { color: #1a73e8; text-decoration: none; }
.breadcrumb span { margin: 0 6px; color: #9ca3af; }
.notice {
  background: #fffaf0;
  border: 1px solid #f5c266;
  border-left: 4px solid #f39c12;
  margin: 22px auto 0;
  max-width: 880px;
  padding: 10px 16px;
  font-size: 0.8rem;
  color: #7a5000;
  border-radius: 8px;
  font-weight: 500;
}
main { max-width: 880px; margin: 0 auto; padding: 8px 16px 34px; }
.eyecatch {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 10px 0 18px;
  min-height: 230px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  background: #fff;
}
.eyecatch img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.eyecatch.eyecatch-contain {
  min-height: 0;
}
.eyecatch.eyecatch-contain img {
  height: auto;
  object-fit: contain;
}
.eyecatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,28,22,0.58), rgba(12,28,22,0.12) 56%, rgba(12,28,22,0));
}
.eyecatch.eyecatch-no-label::after {
  display: none;
}
.eyecatch-label {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 3px 14px rgba(0,0,0,0.32);
}
.intro, .link-panel, .conversion-panel, .freshness-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 18px;
  margin-bottom: 18px;
  border-top: 5px solid #27ae60;
}
.conversion-panel {
  border-top-color: #f39c12;
}
.freshness-panel {
  border-top-color: #1a73e8;
}
.intro h2, .link-panel h2, .conversion-panel h2, .freshness-panel h2 {
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 5px;
}
.intro p, .link-panel p, .conversion-panel p, .freshness-panel p { color: #555; font-size: 0.86rem; font-weight: 600; }
.conversion-panel-head, .freshness-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.conversion-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 62px;
  color: #1a73e8;
  text-decoration: none;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: 12px;
  padding: 10px 12px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.conversion-link.priority {
  background: #fffbeb;
  border-color: #fbbf24;
}
.conversion-link:hover {
  background: #fff;
  border-color: #f39c12;
  transform: translateY(-1px);
}
.conversion-link span {
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 900;
}
.conversion-link strong {
  color: #1a73e8;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
}
.ranking-summary, .seo-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 18px;
  margin-bottom: 18px;
}
.ranking-summary {
  border-top: 5px solid #1a73e8;
}
.seo-panel {
  border-top: 5px solid #f39c12;
}
.ranking-summary h2, .seo-panel h2 {
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 5px;
}
.ranking-summary p, .seo-panel p {
  color: #555;
  font-size: 0.86rem;
  font-weight: 600;
}
.guide-article ul {
  margin: 8px 0 12px;
  padding-left: 1.4rem;
  list-style-position: outside;
}
.guide-article li {
  padding-left: 0.2rem;
  margin: 4px 0;
  line-height: 1.65;
}
.ranking-summary-head {
  margin-bottom: 14px;
}
.summary-grid, .seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-stats {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 14px 0 4px;
}
.summary-panel {
  border: 1.5px solid #dbeafe;
  border-radius: 12px;
  overflow: hidden;
}
.summary-panel > h2 {
  color: #1a73e8;
  font-size: 1.12rem;
  font-weight: 900;
  padding: 14px 14px 4px;
}
.summary-card {
  background: #fbfdff;
  border-top: 1px solid #e8f4fd;
  padding: 12px;
}
.summary-card span {
  display: block;
  color: #666;
  font-size: 0.76rem;
  font-weight: 900;
}
.summary-card strong {
  display: block;
  color: #1a73e8;
  font-size: 1.2rem;
  margin-top: 2px;
}
.opportunity-panel {
  margin: 18px auto;
  background: #fff;
  border-color: #bbf7d0;
  box-shadow: 0 8px 22px rgba(22, 101, 52, 0.08);
}
.opportunity-panel > p {
  padding: 4px 14px 12px;
  color: #31515f;
  font-size: 0.92rem;
}
.seasonal-note {
  margin: 0 14px 14px;
  padding: 12px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  color: #4b4636;
  font-size: 0.9rem;
  line-height: 1.7;
}
.seasonal-note strong {
  color: #b45309;
}
.seasonal-note a {
  color: #1e40af;
  font-weight: 700;
}
.opportunity-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}
.opportunity-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 13px;
}
.opportunity-card-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f7;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
}
.opportunity-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}
.opportunity-card-image.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.opportunity-card-image.is-empty::after {
  content: "🎁";
  font-size: 1.8rem;
}
.opportunity-meta {
  display: inline-block;
  color: #15803d;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.opportunity-card h3 {
  background: transparent;
  padding: 0;
  color: #0f3f56;
  font-size: 0.96rem;
  line-height: 1.45;
}
.opportunity-card h3 a {
  color: inherit;
  text-decoration: none;
}
.opportunity-card h3 a:hover { text-decoration: underline; }
.opportunity-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}
.opportunity-stats div {
  border: 1px solid #e8f4fd;
  border-radius: 9px;
  background: #fff;
  padding: 7px 8px;
}
.opportunity-stats dt {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 900;
}
.opportunity-stats dd {
  color: #0f3f56;
  font-size: 0.82rem;
  font-weight: 900;
}
.opportunity-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.opportunity-actions .btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
}
.observed-search-panel {
  margin: 18px auto;
  background: #fff;
  border-color: #fed7aa;
}
.observed-search-panel > h2 {
  padding: 16px 18px 4px;
}
.observed-search-panel > p {
  color: #555;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.75;
  margin: 0;
  padding: 2px 18px 14px;
}
.summary-card-wide {
  text-align: left;
  grid-column: span 2;
}
.municipality-top-grid {
  margin-top: 12px;
}
.summary-panel h3 {
  background: #f0f8ff;
  color: #1a73e8;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 9px 12px;
}
.summary-table {
  width: 100%;
  border-collapse: collapse;
}
.summary-table th, .summary-table td {
  border-top: 1px solid #e8f4fd;
  padding: 8px 10px;
  text-align: left;
  font-size: 0.80rem;
  vertical-align: top;
}
.summary-table th {
  color: #555;
  background: #fbfdff;
  font-weight: 900;
}
.summary-table td:first-child {
  color: #f39c12;
  font-weight: 900;
  white-space: nowrap;
}
.summary-table a {
  color: #1e40af;
  font-weight: 900;
  text-decoration: none;
}
.summary-table a:hover { text-decoration: underline; }
.top-five-table th:nth-child(3),
.top-five-table th:nth-child(4),
.top-five-table td:nth-child(3),
.top-five-table td:nth-child(4),
.ranking-insight-table th:nth-child(3),
.ranking-insight-table th:nth-child(4),
.ranking-insight-table td:nth-child(3),
.ranking-insight-table td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}
.top-five-table td:nth-child(2),
.ranking-insight-table td:nth-child(2) {
  line-height: 1.5;
}
.top-five-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.top-five-name {
  flex: 1;
  min-width: 0;
}
.top-five-thumb-btn {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: zoom-in;
}
.top-five-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  background: #eef2f7;
}
.top-five-metric span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.deal-rate-metric {
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.savings-metric {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}
.table-subtext {
  display: block;
  color: #64748b;
  font-size: 0.70rem;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 2px;
}
.municipality-affordable-panel {
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  background: #f0fdf4;
  margin-top: 14px;
  overflow: hidden;
}
.municipality-affordable-head {
  padding: 12px 14px 10px;
  background: linear-gradient(90deg, #dcfce7 0%, #f0fdf4 100%);
  border-bottom: 1px solid #bbf7d0;
}
.municipality-affordable-head h3 {
  background: transparent;
  color: #166534;
  padding: 0;
  margin-bottom: 4px;
}
.municipality-affordable-head p {
  color: #3f5f4a;
  font-size: 0.82rem;
  font-weight: 700;
}
.municipality-affordable-table {
  background: #fff;
}
.seo-grid section {
  border: 1.5px solid #fef3c7;
  border-radius: 12px;
  padding: 12px;
  background: #fffdf8;
}
.seo-grid h3 {
  color: #a16207;
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: 5px;
}
.seo-more-link {
  margin-top: 12px;
}
.seo-more-link a {
  color: #1e40af;
  font-weight: 900;
}
.compact-links {
  padding: 12px;
}
.link-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.panel-total {
  flex-shrink: 0;
  color: #27ae60;
  font-size: 0.82rem;
  font-weight: 900;
  background: #dcfce7;
  border-radius: 999px;
  padding: 4px 10px;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ranking-link-group {
  border: 1.5px solid #dbeafe;
  border-radius: 12px;
  background: #fbfdff;
  overflow: hidden;
  margin-top: 10px;
}
.ranking-link-group:first-of-type {
  margin-top: 0;
}
.ranking-link-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: #1e40af;
  background: #f0f8ff;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 900;
  list-style: none;
}
.ranking-link-group summary::-webkit-details-marker {
  display: none;
}
.ranking-link-group summary::after {
  content: "開く";
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}
.ranking-link-group[open] summary::after {
  content: "閉じる";
}
.ranking-link-group .link-grid {
  padding: 10px;
}
.compact-ranking-panel .ranking-nav-primary {
  margin-bottom: 10px;
}
.compact-ranking-panel .ranking-nav-groups {
  display: grid;
  gap: 10px;
  padding: 10px;
}
.compact-ranking-panel .ranking-nav-groups .ranking-link-group {
  margin-top: 0;
}
.link-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  color: #1e40af;
  text-decoration: none;
  background: #f0f8ff;
  border: 1.5px solid #dbeafe;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.83rem;
  font-weight: 900;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.link-chip span:first-child {
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.link-chip:hover,
.link-chip:focus-visible {
  color: #1e40af;
  background: #f0f8ff;
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(39,174,96,0.16);
  transform: translateY(-1px);
}
.link-chip:focus-visible {
  outline: 3px solid rgba(243,156,18,0.35);
  outline-offset: 2px;
}
.link-chip.priority {
  background: #f0f8ff;
  border-color: #93c5fd;
  box-shadow: 0 3px 10px rgba(26,115,232,0.10);
}
.link-chip.priority:hover,
.link-chip.priority:focus-visible {
  background: #f0f8ff;
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(39,174,96,0.16);
}
.link-chip span:first-child + span {
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.72rem;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.link-chip:hover span:first-child + span,
.link-chip:focus-visible span:first-child + span {
  color: #166534;
  background: #dcfce7;
}
.item-page section[aria-labelledby="itemRelatedTitle"] > .link-grid > .link-chip > span:first-child + span,
.item-page section[aria-labelledby="portalRouteTitle"] .link-chip > span:first-child + span,
.item-page section[aria-labelledby="portalRouteTitle"] .panel-total {
  display: none;
}
.item-page section[aria-labelledby="itemRelatedTitle"] > .link-grid > .link-chip,
.item-page section[aria-labelledby="portalRouteTitle"] .link-chip {
  justify-content: flex-start;
}
.item-page section[aria-labelledby="portalRouteTitle"] .link-chip > span:first-child {
  color: #1e40af;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
  white-space: normal;
}
.plain-link-panel .link-chip {
  justify-content: flex-start;
}
.plain-link-panel .link-chip span:first-child + span {
  color: #1e40af;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
  white-space: normal;
}
.plain-link-panel .link-chip:hover span:first-child + span,
.plain-link-panel .link-chip:focus-visible span:first-child + span {
  color: #1e40af;
  background: transparent;
}
.seo-grid .compact-links,
.link-panel .seo-grid .link-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.seo-grid .link-chip {
  align-items: flex-start;
}
.related-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}
.related-product-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  min-height: 118px;
  color: #12324d;
  background: #fff;
  border: 1.5px solid #dbeafe;
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(26,115,232,0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.related-product-card:hover,
.related-product-card:focus-visible {
  border-color: #93c5fd;
  box-shadow: 0 8px 18px rgba(39,174,96,0.16);
  transform: translateY(-1px);
}
.related-product-card:focus-visible {
  outline: 3px solid rgba(243,156,18,0.35);
  outline-offset: 2px;
}
.related-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  background: #f8fbff;
  overflow: hidden;
}
.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.related-product-placeholder,
.related-product-image.is-empty::after {
  content: "画像";
  color: #1e40af;
  font-size: 0.76rem;
  font-weight: 900;
}
.related-product-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.related-product-meta {
  color: #64748b;
  font-size: 0.70rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-product-body strong {
  color: #12324d;
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-product-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.related-product-price em {
  color: #64748b;
  font-size: 0.70rem;
  font-style: normal;
  font-weight: 900;
}
.related-product-price b {
  color: #27ae60;
  font-size: 0.86rem;
  font-weight: 900;
}
.related-product-status {
  align-self: flex-start;
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.70rem;
  font-weight: 900;
}
.related-product-feature {
  margin: 16px 0 8px;
}
.related-product-feature h3 {
  color: #12324d;
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0 0 3px;
}
.related-product-feature p {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
}
.count { font-size: 0.84rem; color: #666; margin: 2px 0 16px; font-weight: 700; }
.card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 18px;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}
.rank-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  background: #f39c12;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.16);
}
.rank-badge + .card-header {
  padding-right: 86px;
}
.rank-badge-crown {
  top: 8px;
  right: 10px;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
.rank-badge-crown img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.16));
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1.5px solid #e8f4fd;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(90deg, #f0f8ff 0%, #fff 100%);
}
.card-thumb, .card-thumb-placeholder {
  width: 208px;
  height: 208px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #e8f5e9;
  box-shadow: 0 2px 8px rgba(26,115,232,0.10);
}
.card-thumb {
  object-fit: contain;
  background: #fff;
  border-radius: 0;
}
.thumb-button {
  display: block;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: zoom-in;
}
.thumb-button:focus-visible {
  outline: 3px solid rgba(26,115,232,0.55);
  outline-offset: 3px;
}
.card-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.card-header-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-municipality { background: #dbeafe; color: #1e40af; }
.badge-category { background: #e0f2fe; color: #0369a1; }
.badge-date { background: #eaf4ff; color: #0756bf; border: 1px solid #b9d8ff; }
.badge-stale { background: #fee2e2; color: #991b1b; }
.badge-saving { background: #fff7ed; color: #c2410c; }
.badge-trust { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.badge-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  stroke-width: 2.5;
}
.card h2 { font-size: 1.06rem; font-weight: 900; line-height: 1.48; padding-right: 58px; }
.card h2,
.card h2 a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card h2 a { color: #12324d; text-decoration: none; }
.card h2 a:hover { color: #0b7c3e; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .card-header {
    align-items: flex-start;
  }
  .card-thumb,
  .card-thumb-placeholder {
    width: 232px;
    height: 232px;
  }
  .card-thumb {
    object-fit: contain;
    background: #fff;
  }
  .item-page .card-header {
    gap: 24px;
  }
  .item-page .thumb-button {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(26,115,232,0.14);
    overflow: hidden;
  }
  .item-page .card-thumb,
  .item-page .card-thumb-placeholder {
    width: clamp(320px, 32vw, 390px);
    height: clamp(320px, 32vw, 390px);
  }
  .item-page .card-thumb {
    display: block;
    box-shadow: none;
  }
}
.card-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.card-quick-stats span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 46px;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 7px 9px;
}
.card-quick-stats strong {
  color: #166534;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.card-quick-stats em {
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  margin-top: 1px;
}
.price-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.price-overview span {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #c2410c;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 3px 9px;
  font-variant-numeric: tabular-nums;
}
.price-overview span:first-child {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.price-overview span:nth-child(3) {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}
.comparison-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.comparison-facts span {
  background: #eef8f2;
  color: #1f7a48;
  border: 1px solid #caead8;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}
.comparison-facts .trust-score {
  background: #ecfdf5;
  color: #047857;
  border-color: #86efac;
}
.comparison-summary {
  margin-top: 8px;
  color: #4b5563;
  font-size: 0.82rem;
  line-height: 1.55;
}
.comparison-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: 12px;
}
.comparison-help strong,
.comparison-help span {
  display: block;
}
.comparison-help strong {
  color: #92400e;
  font-size: 0.84rem;
  font-weight: 900;
}
.comparison-help span {
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 800;
}
.comparison-help a {
  flex-shrink: 0;
  color: #1a73e8;
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 7px 10px;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}
.application-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  order: 5;
}
.application-hints span {
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}
.precheck-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 18px 10px;
  background: #fff;
  border-top: 1px solid #e8f4fd;
}
.precheck-item {
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
  padding: 8px 10px;
  min-height: 56px;
}
.precheck-label {
  display: block;
  color: #64748b;
  font-size: 0.70rem;
  font-weight: 900;
  margin-bottom: 2px;
}
.precheck-value {
  display: block;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
}
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.price-table th, .price-table td {
  padding: 9px 16px;
  border-bottom: 1px solid #e8f4fd;
  font-size: 0.88rem;
  text-align: left;
}
.price-table th { background: #f0f8ff; color: #1a73e8; font-weight: 900; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr.row-rakuten:not(.row-cheapest) td {
  background: #fff7f7;
}
.site-label { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.site-favicon { width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.tag-direct,
.tag-rakuten {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.68rem;
  font-weight: 900;
}
.tag-direct {
  background: #f39c12;
  color: #fff;
}
.tag-rakuten {
  background: #fee2e2;
  color: #991b1b;
}
.price-cell { font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-cell.cheapest { color: #27ae60; }
.price-cell.expensive { color: #999; }
.cheapest-badge, .status-label {
  display: inline-block;
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 7px;
  font-size: 0.70rem;
  font-weight: 900;
}
.cheapest-badge, .status-cheapest { background: #dcfce7; color: #166534; }
.status-pricier { background: #e5e7eb; color: #666; }
.status-pending { background: #fef3c7; color: #92400e; }
.diff-pricier { color: #6b7280; font-weight: 900; }
.diff-same { color: #166534; font-weight: 900; }
.diff-pending { color: #92400e; font-weight: 900; }
.offer-check-cell {
  min-width: 170px;
}
.offer-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 230px;
}
.offer-checks span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.70rem;
  font-weight: 900;
  padding: 2px 7px;
  white-space: nowrap;
}
.offer-checks .offer-check-primary {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
  color: #fff !important;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.80rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(44, 62, 80, 0.22);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-link:visited,
.btn-link:hover,
.btn-link:focus {
  color: #fff !important;
}
.btn-link:hover {
  background: #243444;
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(44, 62, 80, 0.28);
}
.btn-link.btn-direct {
  background: #27ae60;
  box-shadow: 0 6px 14px rgba(39, 174, 96, 0.24);
}
.btn-link.btn-rakuten,
.btn-link.rakuten-cta {
  background: #bf0000;
  box-shadow: 0 6px 14px rgba(191, 0, 0, 0.24);
}
.btn-link.btn-satofull {
  background: #ff6c00;
  box-shadow: 0 6px 14px rgba(255, 108, 0, 0.25);
}
.btn-link.btn-furunavi {
  background: #0066cc;
  box-shadow: 0 6px 14px rgba(0, 102, 204, 0.24);
}
.btn-link.btn-direct:hover { background: #219653; box-shadow: 0 9px 18px rgba(39, 174, 96, 0.30); }
.btn-link.btn-rakuten:hover,
.btn-link.rakuten-cta:hover { background: #990000; box-shadow: 0 9px 18px rgba(191, 0, 0, 0.30); }
.btn-link.btn-satofull:hover { background: #d95c00; box-shadow: 0 9px 18px rgba(255, 108, 0, 0.32); }
.btn-link.btn-furunavi:hover { background: #0052a3; box-shadow: 0 9px 18px rgba(0, 102, 204, 0.30); }
.btn-link.rakuten-cta.is-cheapest,
.btn-link.is-cheapest {
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.16), 0 6px 14px rgba(44, 62, 80, 0.18);
}
.card-proof {
  padding: 10px 18px 12px;
  color: #555;
  font-size: 0.82rem;
  font-weight: 600;
}
.card-proof summary {
  cursor: pointer;
  color: #1a73e8;
  font-weight: 900;
  list-style-position: inside;
}
.card-proof p { margin-top: 6px; }
.external-link-note {
  color: #6b7280;
  background: #fffdf8;
  border-top: 1px solid #fef3c7;
  padding: 9px 18px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.6;
}
.card-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 12px;
  background: #fbfdff;
}
.card-actions .btn-link {
  min-width: 140px;
}
.related-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 18px 12px;
  background: #fbfdff;
}
.related-card-links a {
  color: #1a73e8;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 900;
}
.related-card-links a:hover {
  background: #e8f4ff;
  border-color: #1a73e8;
}
.more-list {
  margin-top: 8px;
}
.more-list summary {
  cursor: pointer;
  text-align: center;
  list-style: none;
  background: #fff;
  border: 2px solid #1a73e8;
  color: #1a73e8;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(26,115,232,0.10);
}
.more-list summary::-webkit-details-marker { display: none; }
.more-list[open] summary { margin-bottom: 18px; }
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15,23,42,0.78);
}
.image-modal[hidden] { display: none; }
.image-modal-img {
  max-width: min(920px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.image-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}
.site-promo-note {
  display: inline-block;
  max-width: 880px;
  margin: 14px auto 0;
  padding: 9px 14px;
  color: #5f4300;
  background: rgba(255, 250, 230, 0.92);
  border: 1px solid rgba(243, 156, 18, 0.38);
  border-left: 4px solid #f39c12;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  position: relative;
  z-index: 1;
}
.image-modal-close-icon::before {
  content: '\\00d7';
  display: block;
  line-height: 42px;
  text-align: center;
}
footer {
  background: #1a1a1a;
  color: #ddd;
  text-align: center;
  padding: 28px 16px;
  font-size: 0.82rem;
}
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 800; }
@media (max-width: 720px) {
  header {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, rgba(255,255,255,0.52) 100%),
      url("/assets/images/site-header-mobile.webp") center top / cover no-repeat,
      linear-gradient(135deg, #fff8ed 0%, #f8fcff 100%);
    padding: 56px 12px 44px;
  }
  header h1 { font-size: 1.22rem; line-height: 1.35; max-width: 340px; margin-left: auto; margin-right: auto; overflow-wrap: anywhere; }
  header p { font-size: 0.88rem; max-width: 340px; margin-left: auto; margin-right: auto; overflow-wrap: anywhere; }
  .header-nav { gap: 8px; max-width: 340px; margin-left: auto; margin-right: auto; }
  .header-nav a { font-size: 0.78rem; max-width: 100%; padding: 5px 10px; }
  main { max-width: 100%; padding: 8px 12px 28px; overflow-x: hidden; }
  .link-panel-head, .conversion-panel-head, .freshness-head { display: block; }
  .panel-total { display: inline-block; margin-top: 8px; }
  .link-grid, .conversion-grid { grid-template-columns: 1fr; }
  .related-product-grid { grid-template-columns: 1fr; gap: 8px; margin: 12px 0 14px; }
  .related-product-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 96px;
    padding: 9px;
  }
  .related-product-image {
    width: 72px;
    height: 72px;
  }
  .related-product-body strong {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }
  .opportunity-card-grid { grid-template-columns: 1fr; padding: 12px; }
  .opportunity-stats { grid-template-columns: 1fr 1fr; }
  .summary-grid, .seo-grid { grid-template-columns: 1fr; }
  .summary-card-wide { grid-column: auto; }
  .summary-table thead { display: none; }
  .summary-table, .summary-table tbody, .summary-table tr, .summary-table td { display: block; width: 100%; }
  .summary-table tr { padding: 8px 10px; border-top: 1px solid #e8f4fd; }
  .summary-table td { border-top: none; padding: 2px 0; }
  .top-five-table th:nth-child(3),
  .top-five-table th:nth-child(4),
  .top-five-table td:nth-child(3),
  .top-five-table td:nth-child(4),
  .ranking-insight-table th:nth-child(3),
  .ranking-insight-table th:nth-child(4),
  .ranking-insight-table td:nth-child(3),
  .ranking-insight-table td:nth-child(4) {
    text-align: left;
    white-space: normal;
  }
  .top-five-metric span {
    min-height: 22px;
    padding: 1px 7px;
  }
  .summary-table td::before {
    content: attr(data-label);
    display: block;
    color: #666;
    font-size: 0.68rem;
    font-weight: 900;
  }
  .eyecatch { min-height: 180px; }
  .eyecatch img { height: 210px; }
  .eyecatch-label { left: 16px; bottom: 16px; font-size: 1.45rem; }
  .card-header {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    align-items: stretch;
    background: linear-gradient(180deg, #f0f8ff 0%, #fff 100%);
  }
  .thumb-button {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26,115,232,0.10);
    overflow: hidden;
  }
  .card-thumb, .card-thumb-placeholder {
    width: 100%;
    height: clamp(220px, 68vw, 270px);
  }
  .card-thumb {
    display: block;
    object-fit: contain;
    box-shadow: none;
  }
  .card-thumb-placeholder { font-size: 1.8rem; }
  .meta { gap: 6px; margin-bottom: 6px; }
  .badge { white-space: normal; overflow-wrap: anywhere; }
  .card h2 { font-size: 0.98rem; line-height: 1.42; padding-right: 0; }
  .card h2,
  .card h2 a { -webkit-line-clamp: 2; }
  .card-quick-stats { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
  .card-quick-stats span { min-height: 42px; padding: 6px 8px; }
  .price-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
  }
  .price-overview span {
    justify-content: center;
    text-align: center;
    min-height: 32px;
  }
  .application-hints {
    order: 4;
    margin-top: 7px;
  }
  .application-hints span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
  }
  .comparison-facts { gap: 5px; margin-top: 7px; }
  .comparison-summary { margin-top: 7px; }
  .comparison-help {
    align-items: stretch;
    flex-direction: column;
  }
  .comparison-help a {
    text-align: center;
  }
  .rank-badge { position: static; display: inline-block; margin: 12px 0 0 14px; }
  .rank-badge + .card-header { padding-right: 14px; }
  .rank-badge-crown { width: 56px; height: 56px; }
  .rank-badge-crown img { width: 56px; height: 56px; }
  .price-table, .price-table thead, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table thead { display: none; }
  .price-table tbody tr {
    margin: 0 0 8px;
    padding: 10px 12px;
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
  }
  .price-table tbody tr:last-child { margin-bottom: 0; }
  .price-table td {
    border-bottom: none;
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }
  .price-table td > * { min-width: 0; max-width: 100%; }
  .price-table td::before { content: attr(data-label); color: #666; font-weight: 900; flex-shrink: 0; min-width: 84px; }
  .price-table td[data-label="確認する"] {
    display: block;
    padding-top: 8px;
  }
  .price-table td[data-label="確認する"]::before {
    display: block;
    margin-bottom: 6px;
  }
  .price-table .site-label {
    font-size: 0.86rem;
    line-height: 1.35;
  }
  .price-table .btn-link {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    font-size: 0.84rem;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }
  .offer-check-cell { min-width: 0; }
  .offer-checks { max-width: 100%; }
  .offer-checks span { white-space: normal; overflow-wrap: anywhere; }
  .precheck-list { grid-template-columns: 1fr 1fr; padding: 10px 12px; }
  .card-actions { padding: 0 12px 10px; }
  .related-card-links { padding: 0 12px 10px; }
  .card-proof { padding: 9px 12px 11px; font-size: 0.76rem; }
}
@media (max-width: 480px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
  }
  .ranking-link-group summary {
    align-items: flex-start;
  }
  .link-chip {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    gap: 6px;
    padding: 9px 10px;
  }
  .conversion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
  }
  .conversion-link {
    min-width: 0;
    width: 100%;
  }
  .summary-table td, .price-table td { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Item conclusion and quick-apply blocks. */
.item-quick-apply {
  background: #fff;
  border: 2px solid #86efac;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(39,174,96,0.12);
  margin-bottom: 18px;
  overflow: hidden;
}
.item-quick-apply-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px 12px;
  background: linear-gradient(90deg, #f0fdf4 0%, #fff 100%);
  border-bottom: 1px solid #bbf7d0;
}
.item-quick-apply-head span {
  display: inline-block;
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.item-quick-apply-head h2 {
  color: #12324d;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 900;
}
.item-quick-apply-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.item-quick-apply-facts span {
  display: block;
  min-height: 58px;
  margin: 0;
  padding: 8px 9px;
  color: inherit;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}
.item-quick-apply-facts em {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  margin-bottom: 4px;
}
.item-quick-apply-facts strong {
  display: block;
  color: #166534;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.item-quick-apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px 16px;
}
.item-quick-apply-actions .conclusion-cta {
  min-width: 180px;
}
.conclusion-box {
  background: #fff;
  border: 2px solid #bfdbfe;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(26,115,232,0.10);
  margin-bottom: 18px;
  overflow: hidden;
}
.conclusion-head {
  padding: 16px 18px 12px;
  background: linear-gradient(90deg, #eff6ff 0%, #fff 100%);
  border-bottom: 1px solid #dbeafe;
}
.conclusion-label {
  display: inline-block;
  color: #1e40af;
  background: #dbeafe;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.conclusion-head h2 {
  color: #12324d;
  font-size: 1.04rem;
  line-height: 1.65;
  font-weight: 900;
}
.conclusion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px 10px;
}
.conclusion-item {
  min-height: 64px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 9px 10px;
}
.conclusion-item span {
  display: block;
  color: #64748b;
  font-size: 0.70rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.conclusion-item strong {
  display: block;
  color: #166534;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.conclusion-note {
  margin: 0 18px 12px;
  color: #4b5563;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.82rem;
  line-height: 1.6;
  font-weight: 700;
}
.conclusion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px 16px;
}
.conclusion-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
}
.conclusion-cta small {
  color: inherit;
  font-size: 0.70rem;
  font-weight: 800;
  line-height: 1.3;
  opacity: 0.92;
}
.conclusion-cta.secondary {
  background: #0f766e;
}
.conclusion-cta.rakuten-cta,
.conclusion-cta.rakuten-cta.secondary {
  background: #bf0000;
}
.mobile-item-apply {
  display: none;
}
@media (max-width: 720px) {
  .item-quick-apply-head {
    grid-template-columns: 1fr;
    padding: 14px 14px 11px;
  }
  .item-quick-apply-head h2 { font-size: 0.98rem; }
  .item-quick-apply-facts { grid-template-columns: 1fr; }
  .item-quick-apply-facts span { min-height: 50px; }
  .item-quick-apply-actions { padding: 12px 12px 14px; gap: 8px; }
  .item-quick-apply-actions .conclusion-cta {
    width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }
  .conclusion-head { padding: 14px 14px 11px; }
  .conclusion-head h2 { font-size: 0.96rem; line-height: 1.58; }
  .conclusion-grid { grid-template-columns: 1fr 1fr; padding: 12px 12px 8px; }
  .conclusion-item { min-height: 58px; padding: 8px; }
  .conclusion-item strong { font-size: 0.80rem; }
  .conclusion-note { margin: 0 12px 10px; font-size: 0.76rem; }
  .conclusion-actions { padding: 0 12px 12px; gap: 8px; }
  .conclusion-cta {
    width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }
  body.has-mobile-item-apply {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .mobile-item-apply {
    position: fixed;
    z-index: 850;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(94px, 0.42fr) minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background: rgba(255,255,255,0.97);
    border-top: 1px solid #fecaca;
    box-shadow: 0 -8px 24px rgba(44,62,80,0.16);
    backdrop-filter: blur(10px);
  }
  .mobile-item-apply-copy span,
  .mobile-item-apply-copy strong {
    display: block;
  }
  .mobile-item-apply-copy span {
    color: #64748b;
    font-size: 0.67rem;
    font-weight: 800;
  }
  .mobile-item-apply-copy strong {
    color: #166534;
    font-size: 0.95rem;
    font-weight: 900;
  }
  .mobile-item-apply .conclusion-cta {
    width: 100%;
    min-height: 48px;
    padding: 7px 10px;
    line-height: 1.25;
    white-space: normal;
  }
  .mobile-item-apply .conclusion-cta small {
    font-size: 0.66rem;
  }
  .page-item .related-product-grid {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
  .page-item .related-product-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }
}

/* 2026 premium shared shell: homepage colors, compact listings, stable item details. */
:root {
  --site-ink: #263746;
  --site-muted: #665f55;
  --site-green: #27ae60;
  --site-green-deep: #1f8d50;
  --site-navy: #2c3e50;
  --site-coral: #e07a45;
  --site-cream: #faf6f0;
  --site-cream-deep: #f3eadf;
  --site-gold: #bd8b36;
  --site-border: #e6dccb;
  --site-shadow: 0 14px 34px rgba(74, 58, 38, 0.10);
  --site-shadow-soft: 0 7px 22px rgba(74, 58, 38, 0.08);
  --color-primary: var(--site-green);
  --color-accent: var(--site-coral);
  --color-muted: var(--site-muted);
  --color-border: var(--site-border);
}

body.generated-page {
  color: var(--site-ink);
  background:
    radial-gradient(circle at 5% 8%, rgba(224, 122, 69, 0.06), transparent 22rem),
    radial-gradient(circle at 94% 14%, rgba(39, 174, 96, 0.07), transparent 24rem),
    var(--site-cream);
}

body.generated-page :where(.price-cell, .card-quick-stats strong, .price-overview, .summary-card strong, .panel-total, .count, .top-five-metric, .opportunity-stats dd, .item-quick-apply-facts strong, .conclusion-item strong) {
  font-variant-numeric: tabular-nums;
}

.site-skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--site-navy);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.site-skip-link:focus {
  transform: translateY(0);
}

.site-brand-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  color: var(--site-navy);
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid rgba(189, 139, 54, 0.20);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.07);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.site-brand-bar-inner {
  width: min(1120px, 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand-bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--site-navy);
  text-decoration: none;
}

.site-brand-bar-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #fff;
  background: linear-gradient(145deg, #35bd72, var(--site-green-deep));
  border: 3px solid #fffaf3;
  border-radius: 14px 14px 18px 14px;
  box-shadow: 0 7px 16px rgba(39, 174, 96, 0.22);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-2deg);
}

.site-brand-bar-mark::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 11px;
  height: 11px;
  background: var(--site-coral);
  border: 2px solid #fffaf3;
  border-radius: 50%;
}

.site-brand-bar-copy {
  display: grid;
  gap: 0;
  line-height: 1.15;
}

.site-brand-bar-copy strong {
  color: var(--site-navy);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.site-brand-bar-copy small {
  color: var(--site-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.site-brand-bar-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-brand-bar-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 11px;
  color: var(--site-navy);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.80rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-brand-bar-nav a:hover,
.site-brand-bar-nav a:focus-visible {
  color: var(--site-green-deep);
  background: #fff;
  border-color: rgba(39, 174, 96, 0.24);
  transform: translateY(-1px);
}

.site-brand-bar-nav a.is-active {
  color: #fff;
  background: var(--site-navy);
  border-color: var(--site-navy);
}

.site-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 62px) 16px clamp(34px, 5vw, 56px);
  color: var(--site-ink);
  text-align: left;
  background:
    radial-gradient(circle at 9% 18%, rgba(224, 122, 69, 0.12), transparent 25%),
    radial-gradient(circle at 92% 6%, rgba(39, 174, 96, 0.14), transparent 28%),
    linear-gradient(135deg, #fffaf3 0%, #f7f0e4 58%, #edf8f1 100%);
}

.site-page-hero::before {
  content: "";
  position: absolute;
  inset: auto -70px -120px auto;
  width: 280px;
  height: 280px;
  background: transparent;
  border: 38px solid rgba(39, 174, 96, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.site-page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-item .site-page-hero-inner {
  width: min(880px, 100%);
}

.site-page-hero .site-page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: #9a572f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.10em;
}

.site-page-hero .site-page-hero-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--site-coral);
  border-radius: 99px;
}

.site-page-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--site-navy);
  font-size: clamp(1.70rem, 3.3vw, 2.65rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.025em;
  text-shadow: none;
  overflow-wrap: anywhere;
}

.page-item .site-page-hero h1 {
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
}

.site-page-hero .site-page-hero-lead {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--site-muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.75;
}

.site-page-hero .hero-stats {
  max-width: 900px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 0;
}

.site-page-hero .hero-stats .summary-card {
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(230, 220, 203, 0.92);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(74, 58, 38, 0.06);
}

.site-page-hero .hero-stats .summary-card span {
  color: var(--site-muted);
}

.site-page-hero .hero-stats .summary-card strong {
  color: var(--site-green-deep);
}

.site-page-hero .site-promo-note {
  display: block;
  width: fit-content;
  max-width: 760px;
  margin: 16px 0 0;
  padding: 7px 11px;
  color: #725229;
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid rgba(189, 139, 54, 0.28);
  border-left: 3px solid var(--site-gold);
  border-radius: 8px;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
}

body.generated-page .breadcrumb {
  width: min(1120px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 14px 16px 6px;
  overflow-x: auto;
  color: var(--site-muted);
  font-size: 0.78rem;
  font-weight: 700;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body.generated-page .breadcrumb::-webkit-scrollbar {
  display: none;
}

body.generated-page.page-item .breadcrumb {
  width: min(880px, 100%);
}

body.generated-page .breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.generated-page .breadcrumb li {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

body.generated-page .breadcrumb li:not(:last-child)::after {
  content: "›";
  flex: 0 0 auto;
  margin: 0 8px;
  color: #b4aa9d;
}

body.generated-page .breadcrumb li:last-child {
  max-width: min(520px, 58vw);
  overflow: hidden;
  color: #756d63;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.generated-page .breadcrumb a {
  color: var(--site-green-deep);
  text-decoration: none;
}

body.generated-page .breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.generated-page main {
  width: min(1120px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 12px 16px 46px;
}

body.generated-page.page-item main {
  width: min(880px, 100%);
}

body.generated-page .notice {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 12px auto 26px;
  color: #725229;
  background: #fffaf1;
  border: 1px solid #e8ca92;
  border-left: 4px solid var(--site-gold);
  border-radius: 10px;
}

body.generated-page.page-item .notice {
  width: min(880px, calc(100% - 32px));
}

body.generated-page :where(.intro, .link-panel, .conversion-panel, .freshness-panel, .ranking-summary, .seo-panel, .item-quick-apply, .conclusion-box) {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--site-border);
  border-top: 1px solid var(--site-border);
  border-radius: 18px;
  box-shadow: var(--site-shadow-soft);
}

body.generated-page :where(.intro, .link-panel, .conversion-panel, .freshness-panel, .ranking-summary, .seo-panel) {
  padding: 20px;
  margin-bottom: 18px;
}

body.generated-page :where(.intro, .link-panel, .conversion-panel, .freshness-panel, .ranking-summary, .seo-panel) h2 {
  color: var(--site-navy);
  font-size: 1.12rem;
  font-weight: 900;
}

body.generated-page :where(.intro, .link-panel, .conversion-panel, .freshness-panel, .ranking-summary, .seo-panel) p {
  color: var(--site-muted);
}

body.generated-page .category-entry-panel {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  background:
    radial-gradient(circle at 94% 0%, rgba(224, 122, 69, 0.10), transparent 32%),
    linear-gradient(135deg, #fffdf9, #fff8ef);
  border-color: #ead7bd;
  box-shadow: 0 10px 28px rgba(128, 83, 37, 0.10);
}

body.generated-page .category-entry-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--site-coral), var(--site-gold));
}

body.generated-page .category-entry-panel .panel-total {
  color: #8b4b29;
  background: #fff1e7;
}

body.generated-page .category-entry-panel .compact-links {
  padding: 0;
}

body.generated-page .panel-total {
  color: var(--site-green-deep);
  background: #e8f7ee;
}

body.generated-page .link-chip {
  color: var(--site-navy);
  background: #fbfdfb;
  border-color: #d7e8dc;
  border-radius: 11px;
}

body.generated-page .link-chip:hover,
body.generated-page .link-chip:focus-visible {
  color: var(--site-green-deep);
  background: #fff;
  border-color: rgba(39, 174, 96, 0.42);
  box-shadow: 0 7px 18px rgba(39, 174, 96, 0.12);
}

body.generated-page .conversion-link {
  color: var(--site-navy);
  background: #fffaf4;
  border-color: #ead7bd;
}

body.generated-page .conversion-link strong {
  color: var(--site-navy);
}

body.generated-page .conversion-link span {
  color: #9a572f;
}

body.generated-page .count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 2px 0 12px;
  padding: 5px 11px;
  color: #54615c;
  background: #eef8f1;
  border: 1px solid #d1e9d9;
  border-radius: 999px;
}

body.generated-page .card {
  border: 1px solid var(--site-border);
  border-radius: 18px;
  box-shadow: var(--site-shadow-soft);
}

body.generated-page:not(.page-item) .card {
  margin-bottom: 14px;
  contain-intrinsic-size: 245px;
}

body.generated-page:not(.page-item) .card-header {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 14px 16px;
  background: linear-gradient(110deg, #f7fbf8 0%, #fff 58%, #fffaf5 100%);
  border-bottom-color: #e5eee7;
}

body.generated-page:not(.page-item) .thumb-button,
body.generated-page:not(.page-item) .card-thumb,
body.generated-page:not(.page-item) .card-thumb-placeholder {
  width: 152px;
  max-width: 152px;
  height: 152px;
}

body.generated-page:not(.page-item) .thumb-button {
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(44, 62, 80, 0.09);
}

body.generated-page:not(.page-item) .card h2 {
  padding-right: 54px;
  color: var(--site-navy);
  font-size: 1rem;
  line-height: 1.43;
}

body.generated-page:not(.page-item) .card h2,
body.generated-page:not(.page-item) .card h2 a {
  -webkit-line-clamp: 2;
}

body.generated-page:not(.page-item) .card-quick-stats {
  gap: 6px;
  margin-top: 8px;
}

body.generated-page:not(.page-item) .card-quick-stats span {
  min-height: 40px;
  padding: 5px 7px;
  border-color: #d9e8de;
}

body.generated-page:not(.page-item) .price-overview {
  gap: 6px;
  margin-top: 7px;
}

body.generated-page:not(.page-item) .price-table th,
body.generated-page:not(.page-item) .price-table td {
  padding: 8px 12px;
  font-size: 0.82rem;
}

body.generated-page:not(.page-item) .precheck-list {
  padding: 10px 14px 8px;
}

body.generated-page:not(.page-item) .precheck-item {
  min-height: 48px;
  padding: 6px 8px;
}

body.generated-page:not(.page-item) .card-proof,
body.generated-page:not(.page-item) .external-link-note {
  padding-left: 14px;
  padding-right: 14px;
}

body.generated-page:not(.page-item) .card-actions,
body.generated-page:not(.page-item) .related-card-links {
  padding-left: 14px;
  padding-right: 14px;
}

body.generated-page .btn-link {
  border-radius: 10px;
}

.site-footer {
  color: #ecf1ef;
  background:
    radial-gradient(circle at 15% 0%, rgba(39, 174, 96, 0.15), transparent 28%),
    linear-gradient(145deg, #213445, #172735);
  padding: 34px 16px 28px;
  text-align: left;
  font-size: 0.82rem;
}

.site-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-footer-brand {
  max-width: 620px;
}

.site-footer-brand strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.site-footer-brand p {
  margin-top: 5px;
  color: #c9d5d1;
  line-height: 1.7;
}

.site-footer .footer-nav {
  justify-content: flex-start;
  gap: 8px 16px;
  margin-top: 18px;
}

.site-footer .footer-nav a {
  color: #f5f8f7;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible {
  color: #a7e7bf;
  text-decoration-color: currentColor;
}

.site-footer-copyright {
  margin-top: 20px;
  padding-top: 16px;
  color: #9eb0aa;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.74rem;
}

@media (max-width: 900px) {
  .site-brand-bar-inner {
    gap: 12px;
  }

  .site-brand-bar-nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .site-brand-bar-nav::-webkit-scrollbar {
    display: none;
  }

  .site-page-hero .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.generated-page:not(.page-item) .card-header {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  body.generated-page:not(.page-item) .thumb-button,
  body.generated-page:not(.page-item) .card-thumb,
  body.generated-page:not(.page-item) .card-thumb-placeholder {
    width: 132px;
    max-width: 132px;
    height: 132px;
  }
}

@media (max-width: 720px) {
  .site-brand-bar-inner {
    min-height: 56px;
    padding: 7px 10px;
    gap: 9px;
  }

  .site-brand-bar-brand {
    gap: 7px;
  }

  .site-brand-bar-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-width: 2px;
    border-radius: 12px 12px 15px 12px;
    font-size: 0.94rem;
  }

  .site-brand-bar-copy strong {
    font-size: 0.78rem;
  }

  .site-brand-bar-copy small {
    font-size: 0.58rem;
  }

  .site-brand-bar-nav a {
    min-height: 36px;
    padding: 6px 9px;
    font-size: 0.75rem;
  }

  .site-page-hero {
    padding: 30px 14px 28px;
  }

  .site-page-hero h1,
  .page-item .site-page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.38rem, 6vw, 1.75rem);
    line-height: 1.34;
  }

  .site-page-hero .site-page-hero-lead {
    margin-top: 9px;
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .site-page-hero .hero-stats {
    gap: 7px;
    margin-top: 15px;
  }

  .site-page-hero .hero-stats .summary-card {
    padding: 9px;
  }

  .site-page-hero .hero-stats .summary-card strong {
    font-size: 1rem;
  }

  .site-page-hero .site-promo-note {
    width: 100%;
    margin-top: 13px;
    font-size: 0.70rem;
  }

  body.generated-page .breadcrumb {
    padding: 11px 12px 4px;
    font-size: 0.72rem;
  }

  body.generated-page main {
    width: 100%;
    padding: 10px 12px 34px;
  }

  body.generated-page :where(.intro, .link-panel, .conversion-panel, .freshness-panel, .ranking-summary, .seo-panel) {
    padding: 15px;
    border-radius: 15px;
  }

  body.generated-page .category-entry-panel {
    padding-left: 17px;
  }

  body.generated-page:not(.page-item) .card {
    border-radius: 15px;
    margin-bottom: 12px;
  }

  body.generated-page:not(.page-item) .card-header {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 11px;
  }

  body.generated-page:not(.page-item) .thumb-button,
  body.generated-page:not(.page-item) .card-thumb,
  body.generated-page:not(.page-item) .card-thumb-placeholder {
    width: 100px;
    max-width: 100px;
    height: 100px;
    border-radius: 10px;
  }

  body.generated-page:not(.page-item) .card h2 {
    padding-right: 0;
    font-size: 0.90rem;
    line-height: 1.4;
  }

  body.generated-page:not(.page-item) .meta {
    gap: 4px;
    margin-bottom: 5px;
  }

  body.generated-page:not(.page-item) .badge {
    padding: 2px 7px;
    font-size: 0.66rem;
  }

  body.generated-page:not(.page-item) .card-quick-stats {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 6px;
  }

  body.generated-page:not(.page-item) .card-quick-stats span {
    min-height: 37px;
    padding: 4px 6px;
  }

  body.generated-page:not(.page-item) .card-quick-stats strong {
    font-size: 0.75rem;
  }

  body.generated-page:not(.page-item) .card-quick-stats em {
    font-size: 0.61rem;
  }

  body.generated-page:not(.page-item) .price-overview {
    grid-template-columns: 1fr 1fr;
  }

  body.generated-page:not(.page-item) .rank-badge {
    margin: 9px 0 0 11px;
  }

  body.generated-page:not(.page-item) .rank-badge + .card-header {
    padding-right: 11px;
  }

  body.generated-page:not(.page-item) .price-table tbody tr {
    margin-bottom: 6px;
    padding: 8px 10px;
    border-color: #d9e8de;
  }

  body.generated-page:not(.page-item) .price-table td {
    padding: 3px 0;
    font-size: 0.79rem;
  }

  body.generated-page:not(.page-item) .precheck-list {
    padding: 8px 10px 6px;
  }

  body.generated-page:not(.page-item) .precheck-item {
    min-height: 44px;
  }

  .site-footer {
    padding: 28px 14px 24px;
  }

  .site-footer .footer-nav {
    justify-content: flex-start;
    gap: 10px 14px;
  }
}

@media (max-width: 460px) {
  .site-brand-bar-copy small {
    display: none;
  }

  .site-brand-bar-copy strong {
    max-width: 78px;
    line-height: 1.18;
  }

  .site-page-hero .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  body.generated-page .link-grid,
  body.generated-page .conversion-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact list-card content: category/ranking pages lead to the full item view. */
body.generated-page:not(.page-item) .card-listing .card-header {
  border-bottom: 0;
}

body.generated-page .eyecatch::after,
body.generated-page .eyecatch-label {
  display: none;
}

body.generated-page:not(.page-item) .card-listing .card-header-text {
  display: flex;
  min-width: 0;
  min-height: 152px;
  flex-direction: column;
}

body.generated-page:not(.page-item) .list-card-saving {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin-top: 7px;
  padding: 6px 10px;
  color: #704d12;
  background: linear-gradient(135deg, #fff9e9, #fff1c8);
  border: 1px solid #ecd79b;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
}

body.generated-page:not(.page-item) .list-card-saving strong {
  color: #b85b22;
  font-size: 1rem;
  font-weight: 900;
}

body.generated-page .recent-price-drop-overview {
  border-top: 4px solid #27ae60;
}

body.generated-page:not(.page-item) .recent-price-drop-card {
  overflow: hidden;
  margin-top: 8px;
  background: linear-gradient(135deg, #f0fdf4 0%, #fffdf5 100%);
  border: 1px solid #bfe8ce;
  border-radius: 12px;
}

body.generated-page:not(.page-item) .recent-price-drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  color: #14532d;
  background: rgba(220, 252, 231, 0.72);
  border-bottom: 1px solid #cdebd7;
}

body.generated-page:not(.page-item) .recent-price-drop-head > span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

body.generated-page:not(.page-item) .recent-price-drop-head small {
  color: #557065;
  font-size: 0.66rem;
  font-weight: 800;
}

body.generated-page:not(.page-item) .recent-price-drop-head strong {
  font-size: 0.78rem;
  font-weight: 900;
}

body.generated-page:not(.page-item) .recent-price-drop-rows {
  display: grid;
}

body.generated-page:not(.page-item) .recent-price-drop-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

body.generated-page:not(.page-item) .recent-price-drop-row + .recent-price-drop-row {
  border-top: 1px dashed #cde3d5;
}

body.generated-page:not(.page-item) .recent-price-drop-sites,
body.generated-page:not(.page-item) .recent-price-drop-prices {
  margin: 0;
}

body.generated-page:not(.page-item) .recent-price-drop-sites {
  min-width: 0;
  color: #32483f;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.45;
}

body.generated-page:not(.page-item) .recent-price-drop-sites span {
  display: inline-block;
  margin-right: 6px;
  color: #657b70;
  font-size: 0.62rem;
}

body.generated-page:not(.page-item) .recent-price-drop-prices {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.74rem;
  white-space: nowrap;
}

body.generated-page:not(.page-item) .recent-price-drop-prices del {
  color: #7b8791;
  font-weight: 700;
}

body.generated-page:not(.page-item) .recent-price-drop-prices > span {
  color: #789083;
  font-weight: 900;
}

body.generated-page:not(.page-item) .recent-price-drop-prices strong {
  color: #08783e;
  font-size: 0.98rem;
  font-weight: 900;
}

body.generated-page:not(.page-item) .recent-price-drop-prices em {
  padding: 2px 6px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 900;
}

body.generated-page:not(.page-item) .list-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 9px;
}

body.generated-page:not(.page-item) .list-card-status {
  display: grid;
  min-width: 0;
  color: var(--site-muted);
  line-height: 1.25;
}

body.generated-page:not(.page-item) .list-card-status small {
  font-size: 0.63rem;
  font-weight: 700;
}

body.generated-page:not(.page-item) .list-card-status strong {
  overflow: hidden;
  margin-top: 2px;
  color: var(--site-navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.generated-page:not(.page-item) .card-listing .btn-link {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 15px;
}

@media (max-width: 640px) {
  body.generated-page:not(.page-item) .card-listing .card-header-text {
    min-height: 100px;
  }

  body.generated-page:not(.page-item) .list-card-saving {
    margin-top: 4px;
    padding: 4px 7px;
    font-size: 0.60rem;
  }

  body.generated-page:not(.page-item) .list-card-saving strong {
    font-size: 0.83rem;
  }

  body.generated-page:not(.page-item) .recent-price-drop-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
  }

  body.generated-page:not(.page-item) .recent-price-drop-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 7px 8px;
  }

  body.generated-page:not(.page-item) .recent-price-drop-prices {
    justify-content: flex-start;
    white-space: normal;
  }

  body.generated-page:not(.page-item) .list-card-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    padding-top: 7px;
  }

  body.generated-page:not(.page-item) .card-listing .btn-link {
    width: 100%;
    min-height: 42px;
  }
}

/* Static information/tools receive the same shell without replacing their page-specific UI. */
body.static-page :where(.section, .contact-intro, .contact-panel, .form-wrapper, .region-card, .form-section, .quick-access) {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--site-border);
  border-radius: 18px;
  box-shadow: var(--site-shadow-soft);
}

body.static-page :where(.section, .contact-intro, .contact-panel, .form-wrapper, .region-card, .form-section) h2 {
  color: var(--site-navy);
}

body.static-page.page-about main,
body.static-page.page-contact main,
body.static-page.page-privacy main,
body.static-page.page-faq main {
  width: min(880px, 100%);
}

body.static-page.page-simulator main,
body.static-page.page-municipality-directory main {
  width: min(1120px, 100%);
}

body.static-page .site-page-hero + .breadcrumb + .notice {
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
}

@media (max-width: 640px) {
  body.static-page :where(.section, .contact-intro, .contact-panel, .form-wrapper, .region-card, .form-section, .quick-access) {
    border-radius: 15px;
  }
}

/* Ranking summaries use a compact thumbnail.  Do not inherit the large listing-card image frame. */
body.generated-page .top-five-item .top-five-thumb-btn {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  max-width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(37, 65, 91, 0.08);
}

body.generated-page .top-five-item .top-five-thumb {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: inherit;
  background: #fff;
  object-fit: contain;
}

@media (max-width: 640px) {
  body.generated-page .top-five-item .top-five-thumb-btn {
    flex-basis: 56px;
    width: 56px;
    max-width: 56px;
    height: 56px;
    border-radius: 10px;
  }
}

/* Keep the municipality directory's discovery sections as one consistent panel system. */
body.static-page.page-municipality-directory main {
  display: grid;
  align-items: start;
  gap: 18px;
}

body.static-page.page-municipality-directory main > :where(.quick-access, .intro-panel, .region-card, .total-count, .legend, .muni-sections-title, #sections) {
  min-width: 0;
  margin: 0;
}

body.static-page.page-municipality-directory main > :where(.intro-panel, .region-card) {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--site-border);
  border-radius: 18px;
  box-shadow: var(--site-shadow-soft);
}

body.static-page.page-municipality-directory :where(.intro-panel, .region-card) > h2 {
  margin: 0;
  color: var(--site-navy);
  font-size: clamp(1.12rem, 2.2vw, 1.36rem);
  font-weight: 900;
  line-height: 1.35;
}

body.static-page.page-municipality-directory :where(.intro-panel, .region-card) > p {
  max-width: 72ch;
  margin: 8px 0 0;
  color: var(--site-muted);
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.75;
}

body.static-page.page-municipality-directory :where(.intro-panel, .region-card) .related-links {
  gap: 8px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--site-border);
}

body.static-page.page-municipality-directory :where(.intro-panel, .region-card) .related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 12px;
  color: #1769c2;
  background: #fff;
  border-color: #c9ddf5;
}

body.static-page.page-municipality-directory .direct-feature-grid {
  margin-top: 16px;
}

body.static-page.page-municipality-directory .total-count {
  padding: 14px 18px;
  color: #1769c2;
  background: #f7fbff;
  border: 1px solid #cee1f6;
  border-left: 5px solid #287de0;
  border-radius: 16px;
  box-shadow: var(--site-shadow-soft);
}

body.static-page.page-municipality-directory .muni-sections-title {
  margin: 4px 0 -2px;
  color: var(--site-navy);
}

/* Ranking index: a compact, editorial discovery hub instead of a wall of buttons. */
body.page-ranking-index {
  --ranking-ink: #16352f;
  --ranking-navy: #153448;
  --ranking-green: #158a58;
  --ranking-green-ink: #0b7044;
  --ranking-mint: #e8f8ef;
  --ranking-cream: #fff9ed;
  --ranking-gold: #d89217;
  --ranking-coral: #ec6b4b;
  --ranking-blue: #3479b8;
  --ranking-border: rgba(22, 53, 47, 0.12);
  --ranking-shadow: 0 18px 50px rgba(35, 67, 56, 0.10);
  background:
    radial-gradient(circle at 4% 22%, rgba(39, 174, 96, 0.07), transparent 24rem),
    radial-gradient(circle at 96% 42%, rgba(243, 156, 18, 0.07), transparent 26rem),
    #fffdf9;
}

body.page-ranking-index main {
  display: grid;
  max-width: 1120px;
  gap: 54px;
  padding-top: 20px;
  padding-bottom: 64px;
}

body.page-ranking-index main > section {
  min-width: 0;
  margin: 0;
}

body.page-ranking-index :where(.ranking-hub-paths a, .ranking-feature-card, .ranking-category-card, .ranking-directory-link) {
  -webkit-tap-highlight-color: transparent;
}

body.page-ranking-index .ranking-hub-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  gap: 24px;
  overflow: hidden;
  padding: clamp(24px, 4.2vw, 48px);
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 190, 81, 0.2), transparent 14rem),
    linear-gradient(135deg, #f2fbf5 0%, #fffaf0 72%, #fff3e4 100%);
  border: 1px solid rgba(24, 123, 80, 0.14);
  border-radius: 30px;
  box-shadow: var(--ranking-shadow);
}

body.page-ranking-index .ranking-hub-intro::before,
body.page-ranking-index .ranking-hub-intro::after {
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  content: "";
  border: 1px solid rgba(21, 138, 88, 0.12);
  border-radius: 50%;
}

body.page-ranking-index .ranking-hub-intro::before {
  top: -108px;
  left: 43%;
}

body.page-ranking-index .ranking-hub-intro::after {
  right: 29%;
  bottom: -132px;
  width: 240px;
  height: 240px;
  border-color: rgba(216, 146, 23, 0.13);
}

body.page-ranking-index .ranking-hub-copy {
  align-self: center;
}

body.page-ranking-index .ranking-hub-eyebrow,
body.page-ranking-index .ranking-section-head > div > span,
body.page-ranking-index .ranking-guide-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ranking-green-ink);
  font-size: 0.71rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.13em;
}

body.page-ranking-index .ranking-hub-eyebrow::before,
body.page-ranking-index .ranking-section-head > div > span::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

body.page-ranking-index .ranking-hub-copy h2 {
  max-width: 14em;
  margin: 14px 0 10px;
  color: var(--ranking-ink);
  font-size: clamp(1.7rem, 3.25vw, 2.65rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

body.page-ranking-index .ranking-hub-copy > p {
  max-width: 52em;
  margin: 0;
  color: #50655f;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.85;
}

body.page-ranking-index .ranking-hub-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

body.page-ranking-index .ranking-hub-paths a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  min-height: 76px;
  padding: 12px;
  color: var(--ranking-ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(22, 53, 47, 0.1);
  border-radius: 15px;
  box-shadow: 0 7px 22px rgba(35, 67, 56, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.page-ranking-index .ranking-hub-paths a > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  background: var(--ranking-green);
  border-radius: 10px;
}

body.page-ranking-index .ranking-hub-paths strong {
  align-self: end;
  font-size: 0.83rem;
  font-weight: 900;
  line-height: 1.3;
}

body.page-ranking-index .ranking-hub-paths small {
  overflow: hidden;
  align-self: start;
  color: #6d7d77;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-ranking-index .ranking-hub-paths a:hover,
body.page-ranking-index .ranking-hub-paths a:focus-visible {
  border-color: rgba(21, 138, 88, 0.42);
  box-shadow: 0 13px 28px rgba(35, 67, 56, 0.12);
  transform: translateY(-3px);
}

body.page-ranking-index .ranking-hub-data {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 294px;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(55, 202, 129, 0.33), transparent 11rem),
    linear-gradient(155deg, #163c37 0%, #153448 100%);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(18, 52, 49, 0.2);
}

body.page-ranking-index .ranking-hub-data::after {
  position: absolute;
  right: -54px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  content: "";
  border: 24px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

body.page-ranking-index .ranking-hub-data > span {
  color: #b9e7cf;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.page-ranking-index .ranking-hub-number {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: auto 0 18px;
}

body.page-ranking-index .ranking-hub-number strong {
  font-family: "Arial Rounded MT Bold", "Noto Sans JP", sans-serif;
  font-size: clamp(3.3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

body.page-ranking-index .ranking-hub-number em {
  max-width: 5.5em;
  color: #d4ece0;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

body.page-ranking-index .ranking-hub-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

body.page-ranking-index .ranking-hub-stats div {
  min-width: 0;
}

body.page-ranking-index .ranking-hub-stats strong,
body.page-ranking-index .ranking-hub-stats span {
  display: block;
}

body.page-ranking-index .ranking-hub-stats strong {
  font-size: 1.05rem;
  font-weight: 900;
}

body.page-ranking-index .ranking-hub-stats span {
  margin-top: 2px;
  color: #bad2c8;
  font-size: 0.59rem;
  font-weight: 700;
  line-height: 1.35;
}

body.page-ranking-index .ranking-section-head,
body.page-ranking-index .ranking-directory-head {
  position: static;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  overflow: visible;
  padding: 0;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
}

body.page-ranking-index :where(.ranking-section-head, .ranking-directory-head)::before {
  display: none;
}

body.page-ranking-index .ranking-section-head > div {
  min-width: 0;
}

body.page-ranking-index .ranking-section-head h2 {
  margin: 8px 0 3px;
  color: var(--ranking-ink);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

body.page-ranking-index .ranking-section-head p {
  max-width: 62em;
  margin: 0;
  color: #64746e;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.75;
}

body.page-ranking-index .ranking-section-head > strong {
  flex: 0 0 auto;
  padding: 7px 13px;
  color: var(--ranking-green-ink);
  font-size: 0.73rem;
  font-weight: 900;
  background: var(--ranking-mint);
  border-radius: 999px;
}

body.page-ranking-index .ranking-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

body.page-ranking-index .ranking-feature-card {
  --card-bg: #effaf3;
  --card-accent: var(--ranking-green);
  --card-accent-ink: #0b7044;
  --card-ink: #163f32;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  flex-direction: column;
  padding: 20px;
  color: var(--card-ink);
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
  border-radius: 22px;
  box-shadow: 0 9px 25px rgba(34, 67, 55, 0.08);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

body.page-ranking-index .ranking-feature-card.is-gold {
  --card-bg: #fff8e9;
  --card-accent: #d89217;
  --card-accent-ink: #855800;
  --card-ink: #59400d;
}

body.page-ranking-index .ranking-feature-card.is-coral {
  --card-bg: #fff2ed;
  --card-accent: #ec6b4b;
  --card-accent-ink: #9c3c26;
  --card-ink: #5e3025;
}

body.page-ranking-index .ranking-feature-card.is-blue {
  --card-bg: #eef7ff;
  --card-accent: #3479b8;
  --card-accent-ink: #1d5d91;
  --card-ink: #173e60;
}

body.page-ranking-index .ranking-feature-card.is-cream {
  --card-bg: #fffaf0;
  --card-accent: #a47227;
  --card-accent-ink: #6d4b17;
  --card-ink: #4f3b19;
}

body.page-ranking-index .ranking-feature-card.is-navy {
  --card-bg: #edf3f6;
  --card-accent: #315d70;
  --card-accent-ink: #244b5b;
  --card-ink: #173946;
}

body.page-ranking-index .ranking-feature-card::after {
  position: absolute;
  right: -50px;
  bottom: -62px;
  width: 140px;
  height: 140px;
  content: "";
  border: 22px solid color-mix(in srgb, var(--card-accent) 9%, transparent);
  border-radius: 50%;
}

body.page-ranking-index .ranking-feature-card:hover,
body.page-ranking-index .ranking-feature-card:focus-visible {
  box-shadow: 0 18px 34px color-mix(in srgb, var(--card-accent) 18%, transparent);
  transform: translateY(-5px);
}

body.page-ranking-index .ranking-feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  background: var(--card-accent);
  border-radius: 13px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--card-accent) 23%, transparent);
}

body.page-ranking-index .ranking-feature-preview {
  position: absolute;
  top: 17px;
  right: 18px;
  display: flex;
  padding-right: 11px;
}

body.page-ranking-index .ranking-feature-preview img {
  width: 48px;
  height: 48px;
  margin-right: -11px;
  padding: 3px;
  object-fit: contain;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(23, 51, 41, 0.13);
}

body.page-ranking-index .ranking-feature-kicker {
  margin-top: 22px;
  color: var(--card-accent-ink);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

body.page-ranking-index .ranking-feature-card h3 {
  margin: 5px 0 5px;
  color: inherit;
  font-size: 1.07rem;
  font-weight: 900;
  line-height: 1.4;
}

body.page-ranking-index .ranking-feature-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: color-mix(in srgb, var(--card-ink) 72%, transparent);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.page-ranking-index .ranking-feature-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--card-accent) 16%, transparent);
}

body.page-ranking-index .ranking-feature-meta strong {
  font-size: 0.82rem;
  font-weight: 900;
}

body.page-ranking-index .ranking-feature-meta em {
  color: color-mix(in srgb, var(--card-ink) 65%, transparent);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 800;
}

body.page-ranking-index .ranking-feature-arrow {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 13px;
  display: none;
  font-weight: 900;
}

body.page-ranking-index .ranking-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

body.page-ranking-index .ranking-category-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 84px;
  padding: 12px 14px;
  color: var(--ranking-ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--ranking-border);
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(34, 67, 55, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.page-ranking-index .ranking-category-card:hover,
body.page-ranking-index .ranking-category-card:focus-visible {
  border-color: rgba(21, 138, 88, 0.4);
  box-shadow: 0 14px 28px rgba(34, 67, 55, 0.11);
  transform: translateY(-3px);
}

body.page-ranking-index .ranking-category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  font-size: 1.45rem;
  background: var(--ranking-cream);
  border-radius: 15px;
}

body.page-ranking-index .ranking-category-card > span:nth-child(2) {
  min-width: 0;
}

body.page-ranking-index .ranking-category-card strong,
body.page-ranking-index .ranking-category-card small {
  display: block;
}

body.page-ranking-index .ranking-category-card strong {
  font-size: 0.86rem;
  font-weight: 900;
}

body.page-ranking-index .ranking-category-card small {
  overflow: hidden;
  margin-top: 2px;
  color: #71807b;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-ranking-index .ranking-category-card em {
  color: var(--ranking-green-ink);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

body.page-ranking-index .ranking-directory-section {
  padding: clamp(22px, 3vw, 34px);
  background: #f5f8f5;
  border: 1px solid rgba(22, 53, 47, 0.08);
  border-radius: 26px;
}

body.page-ranking-index .ranking-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

body.page-ranking-index .ranking-directory-card {
  --directory-accent: var(--ranking-green);
  --directory-accent-ink: #0b7044;
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(22, 53, 47, 0.1);
  border-top: 4px solid var(--directory-accent);
  border-radius: 19px;
  box-shadow: 0 8px 22px rgba(34, 67, 55, 0.06);
}

body.page-ranking-index .ranking-directory-card.is-gold {
  --directory-accent: var(--ranking-gold);
  --directory-accent-ink: #855800;
}

body.page-ranking-index .ranking-directory-card.is-coral {
  --directory-accent: var(--ranking-coral);
  --directory-accent-ink: #9c3c26;
}

body.page-ranking-index .ranking-directory-card.is-navy {
  --directory-accent: var(--ranking-navy);
  --directory-accent-ink: #173f51;
}

body.page-ranking-index .ranking-directory-card.is-blue {
  --directory-accent: var(--ranking-blue);
  --directory-accent-ink: #1d5d91;
}

body.page-ranking-index .ranking-directory-head {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

body.page-ranking-index .ranking-directory-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  background: var(--directory-accent);
  border-radius: 13px;
}

body.page-ranking-index .ranking-directory-head small {
  display: block;
  color: var(--directory-accent-ink);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

body.page-ranking-index .ranking-directory-head h3 {
  margin: 2px 0 0;
  color: var(--ranking-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

body.page-ranking-index .ranking-directory-card > p {
  margin: 11px 0 14px;
  color: #6a7873;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.6;
}

body.page-ranking-index .ranking-directory-links {
  display: grid;
}

body.page-ranking-index .ranking-directory-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 8px;
  align-items: center;
  min-height: 47px;
  padding: 8px 3px;
  color: var(--ranking-ink);
  text-decoration: none;
  border-top: 1px solid rgba(22, 53, 47, 0.09);
  transition: color 0.16s ease, padding 0.16s ease;
}

body.page-ranking-index .ranking-directory-link:hover,
body.page-ranking-index .ranking-directory-link:focus-visible {
  padding-right: 0;
  padding-left: 7px;
  color: var(--directory-accent-ink);
}

body.page-ranking-index .ranking-directory-link > span {
  min-width: 0;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.4;
}

body.page-ranking-index .ranking-directory-link small {
  padding: 3px 7px;
  color: #6f7c77;
  font-size: 0.64rem;
  font-weight: 800;
  background: #f3f6f4;
  border-radius: 999px;
  white-space: nowrap;
}

body.page-ranking-index .ranking-directory-link b {
  color: var(--directory-accent-ink);
  font-size: 0.78rem;
  text-align: right;
}

body.page-ranking-index .ranking-directory-more {
  border-top: 1px solid rgba(22, 53, 47, 0.09);
}

body.page-ranking-index .ranking-directory-more summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 7px 4px;
  color: var(--directory-accent-ink);
  font-size: 0.73rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

body.page-ranking-index .ranking-directory-more summary::-webkit-details-marker {
  display: none;
}

body.page-ranking-index .ranking-directory-more summary::after {
  margin-left: 7px;
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

body.page-ranking-index .ranking-directory-more[open] summary::after {
  content: "−";
}

body.page-ranking-index .ranking-guide-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(39, 174, 96, 0.22), transparent 22rem),
    var(--ranking-navy);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(21, 52, 72, 0.16);
}

body.page-ranking-index .ranking-guide-strip > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 23px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

body.page-ranking-index .ranking-guide-strip .ranking-guide-heading {
  display: block;
  border-left: 0;
}

body.page-ranking-index .ranking-guide-heading > span {
  color: #75d3a4;
}

body.page-ranking-index .ranking-guide-heading h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.45;
}

body.page-ranking-index .ranking-guide-strip > div > strong {
  color: #75d3a4;
  font-size: 0.72rem;
  font-weight: 900;
}

body.page-ranking-index .ranking-guide-strip b,
body.page-ranking-index .ranking-guide-strip small {
  display: block;
}

body.page-ranking-index .ranking-guide-strip b {
  font-size: 0.81rem;
  font-weight: 900;
}

body.page-ranking-index .ranking-guide-strip small {
  margin-top: 4px;
  color: #c3d1d7;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.55;
}

@media (max-width: 900px) {
  body.page-ranking-index main {
    gap: 44px;
  }

  body.page-ranking-index .ranking-hub-intro {
    grid-template-columns: 1fr;
  }

  body.page-ranking-index .ranking-hub-data {
    min-height: 230px;
  }

  body.page-ranking-index .ranking-feature-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-right: -16px;
    margin-left: -16px;
    padding: 2px 16px 18px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  body.page-ranking-index .ranking-feature-card {
    flex: 0 0 min(340px, 82vw);
    min-height: 238px;
    scroll-snap-align: start;
  }

  body.page-ranking-index .ranking-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-ranking-index .ranking-guide-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-ranking-index .ranking-guide-strip .ranking-guide-heading {
    grid-column: 1 / -1;
    padding-bottom: 16px;
  }

  body.page-ranking-index .ranking-guide-strip > div:nth-child(2) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body.page-ranking-index main {
    gap: 38px;
    padding-top: 10px;
    padding-bottom: 44px;
  }

  body.page-ranking-index .ranking-hub-intro {
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
  }

  body.page-ranking-index .ranking-hub-copy h2 {
    max-width: none;
    margin-top: 11px;
    font-size: 1.62rem;
  }

  body.page-ranking-index .ranking-hub-copy > p {
    font-size: 0.82rem;
    line-height: 1.75;
  }

  body.page-ranking-index .ranking-hub-paths {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  body.page-ranking-index .ranking-hub-paths a {
    min-height: 62px;
    padding: 10px 12px;
  }

  body.page-ranking-index .ranking-hub-data {
    min-height: 208px;
    padding: 19px;
    border-radius: 18px;
  }

  body.page-ranking-index .ranking-hub-number {
    margin-bottom: 15px;
  }

  body.page-ranking-index .ranking-hub-number strong {
    font-size: 3.6rem;
  }

  body.page-ranking-index .ranking-hub-stats strong {
    font-size: 0.9rem;
  }

  body.page-ranking-index .ranking-section-head {
    align-items: flex-start;
  }

  body.page-ranking-index .ranking-section-head h2 {
    font-size: 1.28rem;
  }

  body.page-ranking-index .ranking-section-head p {
    font-size: 0.78rem;
  }

  body.page-ranking-index .ranking-section-head > strong {
    padding: 6px 10px;
    font-size: 0.66rem;
  }

  body.page-ranking-index .ranking-feature-grid {
    margin-top: 15px;
  }

  body.page-ranking-index .ranking-feature-card {
    flex-basis: min(320px, 85vw);
    min-height: 228px;
    padding: 18px;
    border-radius: 19px;
  }

  body.page-ranking-index .ranking-feature-kicker {
    margin-top: 18px;
  }

  body.page-ranking-index .ranking-category-grid {
    gap: 8px;
    margin-top: 14px;
  }

  body.page-ranking-index .ranking-category-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    min-height: 78px;
    padding: 10px;
    border-radius: 15px;
  }

  body.page-ranking-index .ranking-category-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
    border-radius: 13px;
  }

  body.page-ranking-index .ranking-category-card > em {
    display: none;
  }

  body.page-ranking-index .ranking-category-card strong {
    font-size: 0.7rem;
    line-height: 1.45;
    white-space: normal;
    line-break: strict;
    text-wrap: balance;
  }

  body.page-ranking-index .ranking-category-card small {
    font-size: 0.61rem;
  }

  body.page-ranking-index .ranking-directory-section {
    margin-right: -5px;
    margin-left: -5px;
    padding: 18px 13px;
    border-radius: 20px;
  }

  body.page-ranking-index .ranking-directory-grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 16px;
  }

  body.page-ranking-index .ranking-directory-card {
    padding: 17px;
    border-radius: 16px;
  }

  body.page-ranking-index .ranking-directory-link {
    min-height: 48px;
  }

  body.page-ranking-index .ranking-guide-strip {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  body.page-ranking-index .ranking-guide-strip .ranking-guide-heading {
    grid-column: auto;
  }

  body.page-ranking-index .ranking-guide-strip > div {
    min-height: 72px;
    padding: 17px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-left: 0;
  }

  body.page-ranking-index .ranking-guide-strip .ranking-guide-heading {
    min-height: 0;
    border-top: 0;
  }
}

@media (max-width: 460px) {
  body.page-ranking-index .site-brand-bar-copy strong {
    max-width: 66px;
    overflow: hidden;
    font-size: 0.71rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.page-ranking-index .site-brand-bar-nav {
    gap: 0;
  }

  body.page-ranking-index .site-brand-bar-nav a {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  body.static-page.page-municipality-directory main {
    gap: 12px;
  }

  body.static-page.page-municipality-directory main > :where(.intro-panel, .region-card) {
    padding: 16px;
    border-radius: 15px;
  }

  body.static-page.page-municipality-directory :where(.intro-panel, .region-card) > p {
    font-size: 0.84rem;
  }

  body.static-page.page-municipality-directory :where(.intro-panel, .region-card) .related-links {
    gap: 7px;
    margin-top: 13px;
    padding-top: 12px;
  }

  body.static-page.page-municipality-directory :where(.intro-panel, .region-card) .related-links a {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 0.76rem;
  }
}

/* Ranking detail V2: editorial podium, compact result rows and contextual next steps. */
body.page-ranking.ranking-detail-v2 {
  --ranking-ink: var(--site-ink, #263746);
  --ranking-muted: var(--site-muted, #665f55);
  --ranking-green: var(--site-green, #27ae60);
  --ranking-green-deep: var(--site-green-deep, #1f8d50);
  --ranking-navy: var(--site-navy, #2c3e50);
  --ranking-coral: var(--site-coral, #e07a45);
  --ranking-cream: var(--site-cream, #faf6f0);
  --ranking-gold: var(--site-gold, #bd8b36);
  --ranking-border: var(--site-border, #e6dccb);
  --ranking-shadow: var(--site-shadow-soft, 0 7px 22px rgba(74, 58, 38, 0.08));
}

body.page-ranking.ranking-detail-v2 main {
  min-width: 0;
  overflow-x: clip;
}

body.page-ranking.ranking-detail-v2 .ranking-results {
  min-width: 0;
}

body.page-ranking.ranking-detail-v2 .ranking-podium {
  min-width: 0;
  margin: 0 0 22px;
}

body.page-ranking.ranking-detail-v2 .ranking-v2-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 17px;
}

body.page-ranking.ranking-detail-v2 .ranking-v2-heading > div {
  min-width: 0;
}

body.page-ranking.ranking-detail-v2 .ranking-v2-heading > div > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #9a572f;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.10em;
}

body.page-ranking.ranking-detail-v2 .ranking-v2-heading > div > span::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: 0 0 18px;
  background: var(--ranking-coral);
  border-radius: 99px;
}

body.page-ranking.ranking-detail-v2 .ranking-v2-heading h2 {
  margin: 0;
  color: var(--ranking-navy);
  font-size: clamp(1.18rem, 2.2vw, 1.46rem);
  font-weight: 900;
  line-height: 1.35;
}

body.page-ranking.ranking-detail-v2 .ranking-v2-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--ranking-muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.65;
}

body.page-ranking.ranking-detail-v2 .ranking-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  min-width: 0;
  padding-top: 8px;
}

body.page-ranking.ranking-detail-v2 .ranking-item-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 15px;
  overflow: hidden;
  color: var(--ranking-ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 174, 96, 0.07), transparent 12rem),
    rgba(255, 255, 255, 0.98);
  border: 1px solid var(--ranking-border);
  border-radius: 18px;
  box-shadow: var(--ranking-shadow);
  content-visibility: auto;
  contain-intrinsic-size: 210px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card:hover {
  border-color: rgba(39, 174, 96, 0.36);
  box-shadow: 0 14px 30px rgba(62, 77, 65, 0.13);
  transform: translateY(-2px);
}

body.page-ranking.ranking-detail-v2 .ranking-result-card.is-podium {
  grid-column: auto;
  grid-template-columns: 1fr;
  grid-template-rows: 178px minmax(0, 1fr);
  gap: 13px;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 174, 96, 0.12), transparent 12rem),
    linear-gradient(145deg, #fffefb, #f5fbf7);
  border-color: #d7e5da;
  contain-intrinsic-size: 465px;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card[data-ranking-position="1"] {
  z-index: 1;
  border: 2px solid rgba(189, 139, 54, 0.58);
  background:
    radial-gradient(circle at 95% 0%, rgba(224, 122, 69, 0.13), transparent 11rem),
    linear-gradient(145deg, #fffdf6, #fbf5e8 52%, #f5fbf7);
  box-shadow: 0 18px 38px rgba(122, 90, 37, 0.17);
  transform: translateY(-8px);
}

body.page-ranking.ranking-detail-v2 .ranking-result-card[data-ranking-position="1"]:hover {
  transform: translateY(-11px);
}

body.page-ranking.ranking-detail-v2 .ranking-result-card[data-ranking-position="2"] {
  border-top: 4px solid #aab4be;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card[data-ranking-position="3"] {
  border-top: 4px solid #bc7c50;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge {
  position: absolute;
  display: block;
  top: 10px;
  right: 10px;
  z-index: 3;
  margin: 0;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge-crown,
body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge-crown img {
  width: 58px;
  height: 58px;
}

body.page-ranking.ranking-detail-v2 .ranking-result-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 140px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f7f4ee);
  border: 1px solid #eee5d9;
  border-radius: 14px;
}

body.page-ranking.ranking-detail-v2 .ranking-result-media .thumb-button,
body.page-ranking.ranking-detail-v2 .ranking-result-media img,
body.page-ranking.ranking-detail-v2 .ranking-result-placeholder {
  width: 100%;
  height: 100%;
}

body.page-ranking.ranking-detail-v2 .ranking-result-media .thumb-button {
  min-width: 0;
  overflow: hidden;
  border-radius: inherit;
}

body.page-ranking.ranking-detail-v2 .ranking-result-media img {
  display: block;
  object-fit: contain;
  background: #fff;
}

body.page-ranking.ranking-detail-v2 .ranking-result-placeholder {
  display: grid;
  place-items: center;
  color: var(--ranking-green-deep);
  font-size: 2rem;
}

body.page-ranking.ranking-detail-v2 .ranking-result-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

body.page-ranking.ranking-detail-v2 .ranking-result-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 62px 7px 0;
}

body.page-ranking.ranking-detail-v2 .ranking-result-meta :where(span, em) {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: #426052;
  background: #edf8f1;
  border: 1px solid #d5ebdc;
  border-radius: 999px;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

body.page-ranking.ranking-detail-v2 .ranking-result-meta em {
  color: #9a4d2e;
  background: #fff2e9;
  border-color: #efd1c0;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card h2 {
  display: -webkit-box;
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
  color: var(--ranking-navy);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card h2 a {
  color: inherit;
  text-decoration: none;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card h2:focus-within {
  -webkit-line-clamp: unset;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card h2 a:hover,
body.page-ranking.ranking-detail-v2 .ranking-result-card h2 a:focus-visible {
  color: var(--ranking-green-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

body.page-ranking.ranking-detail-v2 .ranking-result-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: auto 0 9px;
}

body.page-ranking.ranking-detail-v2 .ranking-result-values > span {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 54px;
  padding: 7px 9px;
  background: #f7fbf8;
  border: 1px solid #d9e8de;
  border-radius: 11px;
}

body.page-ranking.ranking-detail-v2 .ranking-result-values small {
  color: var(--ranking-muted);
  font-size: 0.64rem;
  font-weight: 800;
}

body.page-ranking.ranking-detail-v2 .ranking-result-values strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ranking-green-deep);
  font-size: 0.94rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

body.page-ranking.ranking-detail-v2 .ranking-result-card.is-podium .ranking-result-values > span:last-child strong {
  color: #b85b22;
}

body.page-ranking.ranking-detail-v2 .ranking-result-site {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  margin: 0 0 10px;
  color: var(--ranking-muted);
}

body.page-ranking.ranking-detail-v2 .ranking-result-site span {
  font-size: 0.64rem;
  font-weight: 750;
}

body.page-ranking.ranking-detail-v2 .ranking-result-site strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ranking-navy);
  font-size: 0.73rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-ranking.ranking-detail-v2 .ranking-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

body.page-ranking.ranking-detail-v2 .ranking-result-actions > :where(a, button) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

body.page-ranking.ranking-detail-v2 .ranking-result-actions .btn-link {
  border-radius: 10px;
}

body.page-ranking.ranking-detail-v2 .ranking-next-panel {
  position: relative;
  isolation: isolate;
  margin: 22px 0 0;
  padding: clamp(19px, 3vw, 28px);
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 0%, rgba(39, 174, 96, 0.15), transparent 15rem),
    radial-gradient(circle at 0% 100%, rgba(224, 122, 69, 0.10), transparent 13rem),
    linear-gradient(145deg, #fffdf8, #f5fbf7);
  border: 1px solid #dfd4c5;
  border-radius: 22px;
  box-shadow: var(--ranking-shadow);
}

body.page-ranking.ranking-detail-v2 .ranking-next-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ranking-green), var(--ranking-gold), var(--ranking-coral));
}

body.page-ranking.ranking-detail-v2 .ranking-next-panel > h2,
body.page-ranking.ranking-detail-v2 .ranking-next-panel > header h2 {
  margin: 0 0 6px;
  color: var(--ranking-navy);
  font-size: clamp(1.18rem, 2.2vw, 1.46rem);
  font-weight: 900;
  line-height: 1.35;
}

body.page-ranking.ranking-detail-v2 .ranking-next-panel > p,
body.page-ranking.ranking-detail-v2 .ranking-next-panel > header p {
  margin: 0 0 17px;
  color: var(--ranking-muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.7;
}

body.page-ranking.ranking-detail-v2 .ranking-next-panel .ranking-v2-heading {
  align-items: flex-end;
  margin-bottom: 17px;
}

body.page-ranking.ranking-detail-v2 .ranking-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

body.page-ranking.ranking-detail-v2 .ranking-next-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  min-width: 0;
  min-height: 88px;
  padding: 13px 15px;
  color: var(--ranking-navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e5dbce;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(74, 58, 38, 0.06);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.page-ranking.ranking-detail-v2 .ranking-next-card:hover,
body.page-ranking.ranking-detail-v2 .ranking-next-card:focus-visible {
  color: var(--ranking-green-deep);
  border-color: rgba(39, 174, 96, 0.44);
  box-shadow: 0 10px 22px rgba(39, 174, 96, 0.12);
  transform: translateY(-2px);
}

body.page-ranking.ranking-detail-v2 .ranking-next-card :where(span, small) {
  grid-column: 1;
  grid-row: 1;
  color: #9a572f;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.4;
}

body.page-ranking.ranking-detail-v2 .ranking-next-card strong {
  grid-column: 1;
  grid-row: 2;
  margin-top: 3px;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.45;
}

body.page-ranking.ranking-detail-v2 .ranking-next-card > b {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  margin-left: 10px;
  color: var(--ranking-green-deep);
  font-size: 1.08rem;
  font-weight: 900;
}

#itemComparisonDetailTitle {
  scroll-margin-top: 92px;
}

/* Keep the product and every eligible application offer together. */
body.page-item {
  background: #fff;
}
body.page-item .site-page-hero {
  padding-block: 24px;
  background: #f3f9f5;
}
body.page-item .site-page-hero h1 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0;
}
body.page-item .site-page-hero-kicker,
body.page-item .site-page-hero-lead {
  display: none;
}
.item-overview {
  margin-bottom: 24px;
}
.item-overview-header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.item-overview-header .thumb-button {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  background: #fff;
  border: 1px solid #e1e8e4;
  border-radius: 8px;
}
.item-overview-header img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.item-overview-copy { min-width: 0; }
.item-overview-copy h2 {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.item-overview-location,
.item-overview-date {
  margin: 4px 0;
  color: #52675e;
  font-size: 13px;
}
.item-quick-apply.item-offers {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.item-offers-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.item-offers-heading h2 { margin: 0; font-size: 20px; }
#itemQuickApplyTitle { scroll-margin-top: 84px; }
.item-offers-heading > span,
.item-comparison-note { font-size: 13px; color: #52675e; }
.item-comparison-note { margin: 6px 0 12px; }
.item-freshness-warning {
  padding: 10px 12px;
  background: #fff4d6;
  color: #725113;
  font-size: 13px;
}
.item-offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(130px, .7fr) minmax(180px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-top: 1px solid #dce6df;
}
.item-offer-row.is-cheapest { background: #f0faf4; }
.item-offer-name,
.item-offer-price { min-width: 0; }
.item-offer-name strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.item-offer-name small { display: block; margin-top: 4px; color: #52675e; font-size: 12px; }
.item-offer-price strong { display: block; color: #2c3e50; font-size: 22px; font-variant-numeric: tabular-nums; }
.item-offer-row.is-cheapest .item-offer-price strong { color: #16844a; }
.item-offer-row.is-reference { background: #f5f6f7; border-color: #d8dde0; }
.item-offer-row.is-reference .item-offer-price strong,
.price-table .row-reference .price-cell { color: #636b73; }
.reference-price-label { display: block; font-size: 12px; font-weight: 500; color: #636b73; }
.item-offer-price span { display: block; color: #52675e; font-size: 12px; }
.item-offer-row .btn-link { min-width: 0; min-height: 48px; padding: 10px 12px; font-size: 14px; white-space: normal; }
.item-evidence { margin: 24px 0; border-block: 1px solid #dce6df; }
.item-evidence > summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: #2c3e50; }
.item-evidence .item-comparison-detail { border: 0; box-shadow: none; border-radius: 0; }
.rakuten-category-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 16px; }
.rakuten-category-links a { color: #197c49; font-size: 14px; text-underline-offset: 4px; }
.ranking-rakuten-status { margin: 0 0 8px; color: #52675e; font-size: 12px; }
body.page-ranking .ranking-rakuten-price strong { color: #a90000; }

@media (max-width: 720px) {
  body.page-item .site-page-hero { padding-block: 16px; }
  body.page-item .site-page-hero h1 { font-size: 18px; }
  .item-overview-header { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
  .item-overview-copy h2 { font-size: 14px; margin-top: 4px; }
  .item-overview-location, .item-overview-date { font-size: 12px; }
  .item-offer-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 8px; }
  .item-offer-row .btn-link { grid-column: 1 / -1; }
  .item-offer-price { text-align: right; }
  .item-offer-price strong { font-size: 20px; }
  body.has-mobile-item-apply .back-to-top { display: none; }
}

@media (max-width: 760px) {
  body.page-ranking.ranking-detail-v2 .site-page-hero .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-ranking.ranking-detail-v2 .site-page-hero .hero-stats > :nth-child(n + 3) {
    display: none;
  }

  body.page-ranking.ranking-detail-v2 .ranking-item-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-v2-heading {
    display: block;
    margin-bottom: 13px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-v2-heading > p {
    max-width: none;
    margin-top: 6px;
    font-size: 0.76rem;
  }

  body.page-ranking.ranking-detail-v2 .ranking-podium-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 0;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-card,
  body.page-ranking.ranking-detail-v2 .ranking-result-card.is-podium {
    grid-column: 1;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 12px;
    padding: 12px;
    contain-intrinsic-size: 270px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-card[data-ranking-position="1"],
  body.page-ranking.ranking-detail-v2 .ranking-result-card[data-ranking-position="1"]:hover {
    transform: none;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-media {
    min-height: 112px;
    height: 112px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge-crown,
  body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge-crown img {
    width: 48px;
    height: 48px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-meta {
    margin-right: 48px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-card h2 {
    margin-bottom: 7px;
    font-size: 0.84rem;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-values {
    gap: 5px;
    margin-bottom: 7px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-values > span {
    min-height: 48px;
    padding: 5px 7px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-values strong {
    font-size: 0.79rem;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-site {
    grid-template-columns: 1fr;
    gap: 1px;
    margin-bottom: 7px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-actions > :where(a, button) {
    min-height: 48px;
    padding-inline: 7px;
    font-size: 0.72rem;
  }

  body.page-ranking.ranking-detail-v2 .ranking-next-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-next-card {
    min-height: 68px;
    padding: 11px 13px;
  }
}

@media (max-width: 380px) {
  body.page-ranking.ranking-detail-v2 .ranking-result-card,
  body.page-ranking.ranking-detail-v2 .ranking-result-card.is-podium {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-media {
    min-height: 94px;
    height: 94px;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-meta :where(span, em) {
    min-height: 22px;
    padding-inline: 6px;
    font-size: 0.60rem;
  }

  body.page-ranking.ranking-detail-v2 .ranking-result-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Product cards: one primary action, full-width prices on small screens. */
body.page-ranking.ranking-detail-v2:is([data-page-slug="rice-20kg"], [data-page-slug="tissue"], [data-page-slug="beer-350ml"]) .ranking-product-highlights {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 4px 14px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: #365749;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
body.page-ranking.ranking-detail-v2:is([data-page-slug="rice-20kg"], [data-page-slug="tissue"], [data-page-slug="beer-350ml"]) .ranking-product-highlights li {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .site-page-hero { padding: 18px 16px; background: #f1f8f4; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .site-page-hero::before,
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .site-page-hero::after,
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .site-page-hero-kicker,
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .site-page-hero-lead,
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .hero-stats,
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] main > .intro { display: none; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .site-page-hero h1 { font-size: 26px; line-height: 1.5; margin: 0 0 12px; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer { padding: 0 0 16px; background: #fff; border: 0; border-bottom: 1px solid #dde6df; border-radius: 0; box-shadow: none; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer::before { display: none; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .category-section-kicker { display: none; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-section-heading { margin-bottom: 10px; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-section-heading h2 { font-size: 18px; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-section-heading p { font-size: 12px; line-height: 1.7; margin-top: 6px; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-control-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-control-grid select,
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-control-grid input { min-height: 44px; font-size: 13px; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-status-tabs { background: #f3f7f4; border: 0; border-radius: 0; }
body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .category-results-head h2 { font-size: 20px; }
@media (max-width: 760px) {
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .site-page-hero h1 { font-size: 20px; }
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .category-control-grid > label { min-width: 0; }
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .category-control-grid select { width: 100%; }
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-status-tabs { gap: 6px; }
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] #categoryExplorer .category-status-tabs button { min-height: 40px; padding: 6px 8px; font-size: 12px; }
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .category-control-footer { gap: 8px; }
  body.page-ranking.ranking-detail-v2[data-page-slug="rakuten"] .category-results-head h2 { font-size: 18px; }
  body.page-ranking .back-to-top, body.search-page .back-to-top { display: none; }
}
body.page-ranking.ranking-detail-v2 { background: #fff; }
body.page-ranking.ranking-detail-v2 *, body.page-ranking.ranking-detail-v2 *::before, body.page-ranking.ranking-detail-v2 *::after { letter-spacing: 0; }
body.page-ranking.ranking-detail-v2 .ranking-result-card,
body.page-ranking.ranking-detail-v2 .ranking-result-card.is-podium,
body.page-ranking.ranking-detail-v2 .ranking-result-card[data-ranking-position="1"] { background: #fff; border-radius: 8px; box-shadow: 0 3px 12px rgba(32, 60, 45, 0.06); transform: none; }
body.page-ranking.ranking-detail-v2 .ranking-result-media { background: #fff; border-radius: 8px; }
body.page-ranking.ranking-detail-v2 .ranking-result-values > span { border: 0; border-radius: 0; }
body.page-ranking.ranking-detail-v2 .ranking-result-values > span:last-child { background: #f5f6f7; }
body.page-ranking.ranking-detail-v2 .ranking-result-values > span:last-child strong,
body.page-ranking.ranking-detail-v2 .ranking-result-card.is-podium .ranking-result-values > span:last-child strong { color: #55626a; }
body.page-ranking.ranking-detail-v2 .ranking-result-actions { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); }
body.page-ranking.ranking-detail-v2 .ranking-result-actions .category-compare-toggle { background: #fff; border: 1px solid #bdccc3; box-shadow: none; color: #476153; font-size: 12px; border-radius: 8px; }
body.page-ranking.ranking-detail-v2 .ranking-result-actions .category-compare-toggle.is-selected { color: #17643d; background: #e9f6ee; border-color: #27ae60; }
body.page-ranking.ranking-detail-v2 .ranking-result-actions .btn-link { background: #238a58; border-radius: 8px; font-size: 13px; }
body.page-ranking.ranking-detail-v2 .ranking-result-actions .btn-link:hover { background: #197144; }
body.page-ranking.ranking-detail-v2 .ranking-result-card h2 { -webkit-line-clamp: 3; }
@media (max-width: 760px) {
  body.page-ranking.ranking-detail-v2 .ranking-result-card,
  body.page-ranking.ranking-detail-v2 .ranking-result-card.is-podium { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 12px; align-content: start; }
  body.page-ranking.ranking-detail-v2 .ranking-result-content { display: contents; }
  body.page-ranking.ranking-detail-v2 .ranking-result-media { grid-column: 1; grid-row: 1 / 3; width: 96px; height: 112px; min-height: 112px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-meta { grid-column: 2; grid-row: 1; margin: 0; padding: 0; gap: 3px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-meta :where(span, em) { border: 0; padding: 0; background: none; font-size: 11px; min-height: 0; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card h2 { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 1.6; margin: 0; }
  body.page-ranking.ranking-detail-v2 .ranking-result-values,
  body.page-ranking.ranking-detail-v2 .ranking-rakuten-status,
  body.page-ranking.ranking-detail-v2 .ranking-result-site,
  body.page-ranking.ranking-detail-v2 .ranking-result-actions { grid-column: 1 / -1; margin: 0; }
  body.page-ranking.ranking-detail-v2 .ranking-result-values strong { font-size: 20px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-values small { font-size: 11px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-values > span { padding: 8px 10px; min-height: 62px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-site { grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge { top: 12px; left: 12px; right: auto; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge-crown,
  body.page-ranking.ranking-detail-v2 .ranking-result-card .rank-badge-crown img { width: 32px; height: 32px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-actions { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); }
}

/* Two-action mobile item bar: keep both paths usable at 320px without overflow. */
@media (max-width: 720px) {
  body.has-mobile-item-apply {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .mobile-item-apply {
    grid-template-columns: minmax(76px, 0.30fr) minmax(0, 1fr);
    gap: 8px;
  }

  .mobile-item-apply-copy,
  .mobile-item-apply-actions {
    min-width: 0;
  }

  .mobile-item-apply-copy strong {
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
  }

  .mobile-item-apply-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .mobile-item-apply-actions > :only-child {
    grid-column: 1 / -1;
  }

  .mobile-item-compare-link,
  .mobile-item-apply-actions .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: normal;
  }

  .mobile-item-compare-link {
    color: #fff;
    background: var(--site-navy, #2c3e50);
    border: 1px solid var(--site-navy, #2c3e50);
    box-shadow: 0 6px 14px rgba(44, 62, 80, 0.20);
  }

  .mobile-item-compare-link:hover,
  .mobile-item-compare-link:focus-visible {
    color: #fff;
    background: #203142;
    border-color: #203142;
  }

  .mobile-item-apply-actions .btn-link.btn-rakuten {
    min-height: 48px;
    padding: 7px 8px;
  }
}

.search-entry-content {
  margin-block: 32px;
  padding-block: 28px;
  border-block: 1px solid #d9e4de;
  color: #2c3e50;
  line-height: 1.85;
  overflow-wrap: anywhere;
  scroll-margin-top: 100px;
}

.search-entry-content h2 { font-size: 1.35rem; line-height: 1.6; }
.search-entry-content h3 { margin-top: 28px; font-size: 1.15rem; }
.search-entry-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.search-entry-checks dt { font-weight: 800; border-bottom: 3px solid #27ae60; padding-bottom: 8px; }
.search-entry-checks dd { margin: 12px 0 0; }
.search-entry-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.search-entry-example { display: flex; flex-direction: column; min-width: 0; padding: 20px; background: #fff; border: 1px solid #d5e1da; border-radius: 8px; }
.search-entry-example h4 { font-size: 1rem; line-height: 1.65; margin: 10px 0; }
.search-entry-example h4 a { display: block; max-width: 100%; padding-right: 10px; box-sizing: border-box; letter-spacing: 0; }
.search-entry-example a { color: #235778; text-underline-offset: 3px; }
.search-entry-quantity { margin: 0; font-size: 0.85rem; font-weight: 800; color: #176342; }
.search-entry-date, .search-entry-formula, .search-entry-note { font-size: 0.8rem; color: #536572; }
.search-entry-unit { margin: 12px 0 0; font-size: 0.9rem; }
.search-entry-unit strong { display: block; font-size: 1.35rem; color: #176342; }
.search-entry-formula { margin: 4px 0 12px; }
.search-entry-offers { font-size: 0.85rem; margin-block: 12px 20px; }
.search-entry-offers > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 0.8fr); gap: 8px; padding-block: 10px; border-top: 1px solid #e7ece9; }
.search-entry-offers dd { margin: 0; text-align: right; font-weight: 700; }
.search-entry-offers small { display: block; font-weight: 400; font-size: 0.75rem; }
.search-entry-offers .is-lowest { color: #176342; }
.search-entry-example .search-entry-detail { margin-top: auto; padding-top: 8px; font-weight: 700; }
.search-entry-details { margin-block: 8px 24px; border-block: 1px solid #d5e1da; }
.search-entry-details > summary { padding: 16px 8px; color: #235778; cursor: pointer; font-weight: 700; }
.search-entry-details > summary:hover { color: #176342; }
.search-entry-details > summary:focus-visible { outline: 2px solid #235778; outline-offset: 3px; }
.search-entry-details .search-entry-content { margin: 0; border: 0; padding: 8px 0 24px; }

@media (max-width: 850px) {
  .search-entry-checks, .search-entry-examples { grid-template-columns: minmax(0, 1fr); }
  .search-entry-example { padding: 16px; }
  .search-entry-content h2 { font-size: 1.2rem; }
}

@media (max-width: 340px) {
  .mobile-item-apply {
    grid-template-columns: minmax(62px, 0.25fr) minmax(0, 1fr);
    gap: 6px;
    padding-right: max(7px, env(safe-area-inset-right));
    padding-left: max(7px, env(safe-area-inset-left));
  }

  .mobile-item-apply-copy span {
    font-size: 0.60rem;
  }

  .mobile-item-apply-copy strong {
    font-size: 0.82rem;
  }

  .mobile-item-apply-actions {
    gap: 5px;
  }

  .mobile-item-compare-link,
  .mobile-item-apply-actions .btn-link {
    padding-inline: 5px;
    font-size: 0.66rem;
  }
}
/* Product-specific facts, separate from price freshness and application controls. */
.item-selection-notes { padding: 24px 0; margin: 20px 0; border-top: 1px solid #d7e4dc; border-bottom: 1px solid #d7e4dc; }
.item-selection-notes h2 { font-size: 20px; line-height: 1.5; margin: 0 0 16px; }
.item-selection-notes dl { margin: 0; }
.item-selection-notes dl > div { display: grid; grid-template-columns: minmax(96px, 160px) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #e5ebe7; }
.item-selection-notes dt { font-weight: 700; }
.item-selection-notes dd { margin: 0; overflow-wrap: anywhere; }
.item-selection-notes ul { padding-left: 22px; margin: 16px 0; }
.item-selection-notes li { margin: 8px 0; line-height: 1.8; }
.item-selection-source { color: #53635a; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }

/* Verified lengths and tissue pairs supplement, rather than replace, quantity units. */
.daily-unit-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; margin: 8px 0; padding: 9px 11px; min-width: 0; border-radius: 8px; background: #edf8f0; color: #26563d; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.price-unit { min-width: 0; margin: 12px 0; padding: 12px 0 12px 12px; border-left: 3px solid #27ae60; color: #254a38; letter-spacing: 0; }
.price-unit-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; min-width: 0; }
.price-unit-main > span { font-size: 13px; font-weight: 700; }
.price-unit-main > strong { color: #147743; font-size: 23px; line-height: 1.4; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-unit > p { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 4px 0; font-size: 12px; line-height: 1.7; }
.price-unit > p > span { color: #54665e; }
.price-unit > small { display: block; color: #576760; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.item-offer-price .price-unit--offer { margin: 6px 0 0; padding: 0; border: 0; }
.item-offer-price .price-unit--offer .price-unit-main { gap: 2px 6px; }
.item-offer-price .price-unit--offer strong { font-size: 17px; color: #147743; }
.item-offer-price .price-unit--offer span { font-size: 11px; color: #365947; }
.price-unit-detail { margin: 16px 0 24px; border-block: 1px solid #d9e5dc; color: #455b4e; }
.price-unit-detail > summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.price-unit-detail > p { margin: 0 0 12px; font-size: 13px; line-height: 1.8; }
.price-unit-detail > summary:focus-visible { outline: 2px solid #176c44; outline-offset: 3px; }
.unit-group-field { min-width: 0; }
.unit-group-field select { width: 100%; min-width: 0; max-width: 100%; }
body.page-ranking.ranking-detail-v2 .ranking-result-content > .price-unit { grid-column: 1 / -1; margin: 4px 0; }
.search-page .result-card-content > .price-unit { grid-column: 1 / -1; }
.ranking-podium[hidden] { display: none !important; }
body.page-ranking.ranking-detail-v2 .ranking-result-card.is-unit-result .rank-badge { display: none; }
body.page-ranking.ranking-detail-v2 .ranking-result-card.is-unit-result { border-color: #d8e4dc; }
.search-page .search-quick-controls > .unit-group-field { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .price-unit-main > strong { font-size: 21px; }
  .item-offer-price .price-unit--offer .price-unit-main { justify-content: flex-end; }
  .item-offers > .price-unit { margin-bottom: 16px; }
}
.daily-unit-price strong { color: #187341; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.daily-unit-price small { flex-basis: 100%; color: #52655a; font-size: 11px; }
.daily-unit-detail, .daily-unit-guide { margin: 16px 0; padding: 16px; min-width: 0; border: 1px solid #d4e6d8; border-radius: 12px; background: #fff; }
.daily-unit-detail h2 { margin: 0 0 10px; color: #234c37; font-size: 18px; }
.daily-unit-detail p, .daily-unit-guide > p { margin: 8px 0; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.daily-unit-guide > summary { cursor: pointer; color: #234c37; font-size: 16px; font-weight: 700; line-height: 1.6; }
.daily-unit-guide > summary span { display: inline-block; margin-left: 6px; color: #53635a; font-size: 13px; font-weight: 500; }
.daily-unit-formula { font-variant-numeric: tabular-nums; }
.daily-unit-source { color: #53635a; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.daily-unit-table-wrap { margin-top: 16px; max-width: 100%; overflow-x: auto; }
.daily-unit-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
.daily-unit-table caption { padding: 0 0 8px; text-align: left; color: #26563d; font-weight: 700; }
.daily-unit-table th, .daily-unit-table td { padding: 9px 7px; vertical-align: top; text-align: left; border-bottom: 1px solid #e4ebe6; overflow-wrap: anywhere; }
.daily-unit-table thead th { background: #f4f8f5; }
.daily-unit-table th:first-child { width: 49%; }
.daily-unit-table td { font-variant-numeric: tabular-nums; }
.daily-unit-table td:nth-child(2) { color: #187341; font-weight: 700; }
.daily-unit-table th a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-weight: 500; }
.daily-unit-table th a:focus-visible { -webkit-line-clamp: unset; }
.daily-unit-table small { display: block; margin-top: 3px; color: #53635a; font-size: 11px; font-weight: 400; }
@media (max-width: 760px) {
  body.page-ranking.ranking-detail-v2 .ranking-result-card .daily-unit-price { grid-column: 1 / -1; margin: 0; }
  .daily-unit-detail, .daily-unit-guide { padding: 12px; }
  .daily-unit-table th, .daily-unit-table td { padding: 8px 5px; }
  .daily-unit-table th:first-child { width: 44%; }
}
@media (max-width: 480px) { .item-selection-notes dl > div { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; } }
/* Official-site guide: keep the three next steps readable on narrow screens. */
body.direct-site-guide header::before{content:none}
body.direct-site-guide header p:not(.site-promo-note){color:inherit}
body.direct-site-guide header h1{text-shadow:none}
.guide-article .guide-next-steps{margin:24px 0;padding:20px 0;border-top:1px solid #d8e5df;border-bottom:1px solid #d8e5df}
.guide-article .guide-next-steps ul{list-style:none;margin:12px 0;padding:0;display:grid;gap:16px}
.guide-article .guide-next-steps li{margin:0;padding:0;min-width:0}
.guide-article .guide-next-steps a{display:inline-block;padding:8px 0;font-weight:700;overflow-wrap:anywhere}
.guide-article .guide-next-steps li span{display:block;color:#52635d;font-size:.9rem;line-height:1.7}
.ranking-answer {
  padding: 24px 0;
  margin: 20px 0;
  border-block: 1px solid #d4e4dc;
  min-width: 0;
  scroll-margin-top: 90px;
}
.ranking-answer h2 { margin: 0 0 14px; font-size: 20px; line-height: 1.6; }
.ranking-answer p { margin: 12px 0; font-size: 15px; line-height: 1.9; font-weight: 400; overflow-wrap: anywhere; }
.ranking-answer a { color: #146b44; text-decoration: underline; text-underline-offset: 3px; white-space: normal; overflow-wrap: anywhere; }
.ranking-answer a:focus-visible { outline: 3px solid #267253; outline-offset: 3px; }
.ranking-answer summary { padding: 12px 0; cursor: pointer; font-weight: 700; }
.ranking-answer-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.ranking-answer-facts > div { border-top: 3px solid #3e6580; padding-top: 12px; }
.ranking-answer-facts > div:last-child { border-top-color: #218653; }
.ranking-answer-facts dt { font-size: 14px; }
.ranking-answer-facts dd { margin: 4px 0 0; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ranking-answer-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.ranking-answer-table caption { text-align: left; padding: 12px 0; font-weight: 700; }
.ranking-answer-table th, .ranking-answer-table td { padding: 14px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; line-height: 1.7; }
.ranking-answer-table th:first-child { width: 40%; }
.ranking-answer-table strong { display: block; color: #187341; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .ranking-answer { padding: 20px 0; }
  .ranking-answer h2 { font-size: 18px; }
  .ranking-answer-facts { gap: 10px; }
  .ranking-answer-facts dt { font-size: 12px; }
  .ranking-answer-facts dd { font-size: 21px; }
  .ranking-answer-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ranking-answer .summary-table caption { display: block; width: 100%; text-align: left; }
  .ranking-answer-table, .ranking-answer-table tbody, .ranking-answer-table tr { display: block; width: 100%; }
  .ranking-answer-table tr { padding: 12px 0; border-top: 2px solid #b9d6c1; }
  .ranking-answer-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 8px 0; width: 100%; }
  .ranking-answer-table td::before { content: attr(data-label); color: #52635b; font-weight: 500; }
  .ranking-answer-table td:first-child { display: block; }
  .ranking-answer-table td:first-child::before { display: none; }
  .ranking-answer-table td > .table-subtext, .ranking-answer-table td > strong { grid-column: 2; }
}
.ranking-comparison-note {
  grid-column: 1 / -1;
  margin: 8px 0;
  color: #52625d;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body[data-page-slug="guide-beer-tax-2026"] main { max-width: 960px; }
body[data-page-slug="guide-furusato-costs-2026"] main { max-width: 960px; }
.cost-article.seo-panel { border: 0; border-radius: 0; box-shadow: none; padding: 32px 40px; color: #263d35; letter-spacing: 0; }
.cost-article p, .cost-article li { font-size: 16px; line-height: 1.9; font-weight: 400; overflow-wrap: anywhere; }
.cost-article p { margin: 0 0 20px; }
.cost-article h2 { font-size: 22px; line-height: 1.6; margin: 44px 0 20px; padding-top: 24px; border-top: 1px solid #dbe6df; }
.cost-article h3 { font-size: 18px; line-height: 1.6; margin: 28px 0 12px; }
.cost-article a { color: #146943; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cost-article a:hover { color: #0a4b2e; }
.cost-article a:focus-visible { outline: 3px solid #267253; outline-offset: 4px; }
.cost-key-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0 36px; }
.cost-key-facts > div { padding: 16px 0; border-top: 3px solid #3e6580; }
.cost-key-facts > div:last-child { border-top-color: #218653; }
.cost-key-facts dt { min-height: 3.4em; font-size: 14px; line-height: 1.7; }
.cost-key-facts dd { margin: 6px 0 0; font-size: 36px; font-weight: 800; line-height: 1.4; font-variant-numeric: tabular-nums; }
.cost-key-facts small { margin-left: 4px; font-size: 15px; font-weight: 500; }
.cost-article .cost-figure { margin: 26px 0; padding: 26px 0; border-block: 1px solid #dbe6df; }
.cost-figure figcaption { font-size: 20px; line-height: 1.6; font-weight: 800; overflow-wrap: anywhere; }
.cost-figure-number { display: block; margin-bottom: 8px; color: #146943; font-size: 13px; font-weight: 700; }
.cost-article .cost-note { margin: 16px 0 0; font-size: 13px; line-height: 1.8; color: #53635c; }
.cost-flow-start { text-align: center; font-weight: 700; padding: 18px 12px; background: #f1f4f3; margin-top: 24px; border-radius: 6px; }
.cost-flow-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 30px; position: relative; }
.cost-flow-branches::before { content: ""; position: absolute; top: 0; left: 50%; height: 15px; border-left: 2px solid #9dadad; }
.cost-flow-branches > div { display: grid; gap: 8px; padding: 18px; border-top: 3px solid #218653; background: #edf7f0; position: relative; border-radius: 0 0 6px 6px; }
.cost-flow-branches > div::before { content: ""; position: absolute; top: -18px; height: 15px; width: calc(50% + 11px); border-top: 2px solid #9dadad; }
.cost-flow-branches > div:first-child::before { left: 50%; border-left: 2px solid #9dadad; }
.cost-flow-branches > div:last-child::before { right: 50%; border-right: 2px solid #9dadad; }
.cost-flow-branches .cost-flow-expenses { background: #eef3f8; border-top-color: #3e6580; }
.cost-flow-branches strong { font-size: 18px; }
.cost-flow-branches span { font-size: 14px; line-height: 1.7; }
.cost-flow-branches b { font-size: 26px; font-variant-numeric: tabular-nums; }
.cost-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0; font-size: 13px; line-height: 1.6; }
.cost-legend > span { display: flex; align-items: center; gap: 7px; }
.cost-legend i { width: 12px; height: 12px; flex: 0 0 12px; }
.cost-region { background: #218653; }
.cost-expenses { background: #3e6580; }
.cost-gift { background: #cc972c; }
.cost-other { background: #7c8c97; }
.cost-article .cost-timeline { list-style: none; padding: 0; margin: 0; }
.cost-timeline li { margin-top: 18px; }
.cost-period { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.cost-period > span { font-size: 12px; color: #146943; border-left: 3px solid #218653; padding-left: 8px; }
.cost-stacked-bar { display: flex; width: 100%; height: 38px; overflow: hidden; border-radius: 4px; }
.cost-stacked-bar > span { display: flex; justify-content: center; align-items: center; color: #fff; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cost-current .cost-stacked-bar { outline: 2px solid #263d35; outline-offset: 3px; }
.cost-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cost-article .cost-assumption { padding-left: 14px; border-left: 3px solid #a07014; margin: 18px 0; font-size: 14px; line-height: 1.8; }
.cost-assumption strong { display: block; }
.cost-example-row { padding: 20px 0; border-bottom: 1px solid #dbe6df; }
.cost-example-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cost-example-row h3 { margin: 0 0 12px; font-size: 17px; }
.cost-example-bar { height: 22px; }
.cost-example-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.cost-example-values dt { font-size: 13px; line-height: 1.7; }
.cost-example-values dd { margin: 6px 0 0; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cost-article .cost-result { margin: 16px 0 0; color: #885800; font-size: 15px; font-weight: 700; }
.cost-article .cost-result-maintain { color: #146943; }
.cost-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.cost-options > div { padding-top: 16px; border-top: 3px solid #218653; }
.cost-options > div:nth-child(2) { border-top-color: #cc972c; }
.cost-options > div:nth-child(3) { border-top-color: #3e6580; }
.cost-option-index { font-size: 26px; font-weight: 800; color: #60736b; }
.cost-options h3 { margin: 10px 0; font-size: 18px; }
.cost-options p { font-size: 14px; margin-bottom: 12px; }
.cost-options strong { font-size: 15px; line-height: 1.7; }
.cost-article .cost-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cost-steps li { display: flex; align-items: baseline; gap: 14px; padding-top: 14px; border-top: 1px solid #b4c9bd; }
.cost-steps li > span { font-size: 24px; font-weight: 800; color: #218653; }
.cost-steps h3 { margin: 0 0 7px; font-size: 17px; }
.cost-steps p { margin: 0; font-size: 14px; }
.cost-related { margin: 28px 0; padding: 24px 0; border-block: 2px solid #b4c9bd; }
.cost-related h3 { margin: 0 0 16px; }
.cost-related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #dbe6df; font-weight: 700; font-size: 16px; line-height: 1.7; }
.cost-related a:last-child { color: #43564c; }
@media (max-width: 600px) {
  .cost-article.seo-panel { padding: 24px 20px; }
  .cost-article h2 { font-size: 20px; }
  .cost-figure figcaption { font-size: 18px; }
  .cost-key-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cost-key-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top-width: 1px; }
  .cost-key-facts dt { min-height: 0; flex: 1; }
  .cost-key-facts dd { font-size: 30px; margin: 0; white-space: nowrap; }
  .cost-flow-branches { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 20px; }
  .cost-flow-branches > div::before { display: none; }
  .cost-flow-branches::before { height: 20px; }
  .cost-flow-branches > div { padding: 16px; }
  .cost-period { font-size: 14px; }
  .cost-example-values { gap: 8px; }
  .cost-example-values dt { min-height: 3.4em; font-size: 12px; }
  .cost-example-values dd { font-size: 17px; white-space: nowrap; }
  .cost-options, .cost-article .cost-steps { grid-template-columns: minmax(0, 1fr); }
  .cost-options p { margin-bottom: 6px; }
}
.beer-price-article.seo-panel { border: 0; border-radius: 0; box-shadow: none; padding: 32px 40px; }
.beer-price-article p, .beer-price-article li { color: #263d35; font-size: 16px; font-weight: 400; line-height: 1.95; overflow-wrap: anywhere; }
.beer-price-article p { margin: 0 0 20px; }
.beer-price-article h2 { font-size: 22px; line-height: 1.5; margin: 40px 0 18px; padding-top: 20px; border-top: 1px solid #dbe6df; }
.beer-price-article h3 { font-size: 18px; line-height: 1.6; margin: 28px 0 16px; }
.beer-price-article ol { margin: 12px 0 24px; padding-left: 1.6em; }
.beer-price-article li { margin-bottom: 12px; }
.beer-price-article a { color: #147541; text-decoration: underline; text-underline-offset: 3px; }
.beer-price-article a:hover { color: #0b512b; }
.beer-price-article .guide-table-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0 24px; }
.beer-price-article .guide-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.beer-price-article .guide-table th, .beer-price-article .guide-table td { text-align: left; vertical-align: middle; padding: 14px 12px; border-bottom: 1px solid #dbe6df; overflow-wrap: anywhere; }
.beer-price-article .guide-table th { background: #edf7f0; color: #234d35; font-weight: 700; }
.beer-price-article .guide-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.beer-price-article .guide-table td:first-child { max-width: 230px; font-weight: 700; }
.beer-price-article .guide-table a { display: block; }
.beer-guide-product-image { display: block; width: 80px; height: 80px; object-fit: contain; background: #fff; margin-bottom: 10px; }
.brand-comparison { padding: 12px 20px 32px; background: #fff; line-height: 1.85; }
body[data-page-slug="guide-super-dry-350ml-24"] { background: #fff; }
body[data-page-slug="guide-super-dry-350ml-24"] .site-page-hero { padding: 24px 16px; background: #eff7f3; }
body[data-page-slug="guide-super-dry-350ml-24"] .site-page-hero::before { display: none; }
body[data-page-slug="guide-super-dry-350ml-24"] .site-page-hero h1 { max-width: none; font-size: 30px; line-height: 1.5; letter-spacing: 0; }
body[data-page-slug="guide-super-dry-350ml-24"] .site-page-hero-kicker { letter-spacing: 0; }
.brand-comparison section { padding: 24px 0; border-bottom: 1px solid #d8e5df; scroll-margin-top: 90px; }
.brand-comparison h2 { font-size: 22px; line-height: 1.6; margin: 0 0 16px; }
.brand-comparison p { margin: 0 0 16px; overflow-wrap: anywhere; }
.brand-comparison a, .brand-related a { color: #156442; text-underline-offset: 3px; overflow-wrap: anywhere; }
.brand-comparison a:focus-visible, .brand-related a:focus-visible { outline: 3px solid #2379bc; outline-offset: 4px; }
.brand-comparison .brand-note { color: #53635c; font-size: 13px; }
.brand-contents, .brand-related { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 18px 0; font-weight: 700; }
.brand-related { border-top: 1px solid #d8e5df; }
.brand-compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 20px 0; font-size: 14px; }
.brand-compare-table caption { text-align: left; font-weight: 700; padding-bottom: 12px; }
.brand-compare-table th, .brand-compare-table td { text-align: left; vertical-align: middle; padding: 20px 16px; border-bottom: 1px solid #d8e5df; overflow-wrap: anywhere; }
.brand-compare-table thead th { background: #eef6f2; padding-block: 12px; }
.brand-compare-table th:first-child { width: 40%; }
.brand-compare-table th:nth-child(2) { width: 22%; }
.brand-product { display: flex; align-items: center; gap: 16px; }
.brand-product img { display: block; width: 120px; height: 120px; flex: 0 0 120px; object-fit: contain; background: #fff; }
.brand-product > div { min-width: 0; }
.brand-product strong, .brand-product span, .brand-product a { display: block; }
.brand-product span { font-weight: 400; font-size: 13px; margin: 6px 0; }
.brand-min { display: block; font-size: 24px; color: #157e47; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brand-unit { display: block; font-size: 13px; font-weight: 500; }
.brand-comparison .brand-offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.brand-offers small { display: block; color: #53635c; font-size: 11px; padding: 3px 2px 0; }
.brand-comparison .brand-offer-link { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; min-height: 44px; padding: 9px 12px; border-radius: 6px; color: #fff; background: #2c3e50; text-decoration: none; font-weight: 700; box-shadow: 0 2px 5px #20364022; }
.brand-offer-link strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.brand-comparison .brand-offer-link[data-provider="rakuten"] { background: #bf0000; }
.brand-comparison .brand-offer-link[data-provider="furunavi"] { background: #0066cc; }
.brand-comparison .brand-offer-link[data-provider="satofull"] { background: #b84900; }
.brand-comparison .brand-offer-link:hover { filter: brightness(.88); }
.brand-comparison .brand-pending { color: #697773; font-size: 13px; margin: 8px 0; }
.brand-shipping { margin: 20px 0; }
.brand-shipping > div { padding: 16px 0; border-top: 1px solid #d8e5df; }
.brand-shipping dt { font-weight: 700; }
.brand-shipping dd { margin: 8px 0 0; }
.brand-shipping small { display: block; color: #53635c; font-size: 13px; margin-top: 6px; }
.brand-formula { padding: 16px; background: #eef6f2; border-left: 3px solid #218653; font-weight: 700; }
@media (max-width: 800px) {
  body[data-page-slug="guide-super-dry-350ml-24"] .site-page-hero h1 { font-size: 24px; }
  body[data-page-slug="guide-super-dry-350ml-24"] .back-to-top { display: none; }
  .brand-comparison { padding: 4px 12px 24px; }
  .brand-comparison h2 { font-size: 20px; }
  .brand-compare-table, .brand-compare-table tbody { display: block; }
  .brand-compare-table caption { display: block; width: 100%; }
  .brand-compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .brand-compare-table tr { display: block; padding: 16px 0; border-top: 2px solid #d8e5df; }
  .brand-compare-table th, .brand-compare-table td, .brand-compare-table th:first-child { display: block; width: 100%; padding: 10px 0; border: 0; box-sizing: border-box; }
  .brand-compare-table td::before { content: attr(data-label); display: block; font-size: 12px; color: #53635c; margin-bottom: 6px; }
  .brand-product img { width: 100px; height: 100px; flex-basis: 100px; }
  .brand-product { gap: 12px; }
  .brand-contents, .brand-related { gap: 14px; }
}
.beer-price-article .beer-figure { margin: 28px 0; padding: 24px 0; border-top: 1px solid #dbe6df; border-bottom: 1px solid #dbe6df; }
.beer-figure figcaption { font-size: 20px; font-weight: 800; line-height: 1.6; color: #243e33; }
.beer-price-article .beer-figure-note { font-size: 14px; line-height: 1.8; color: #53635c; margin: 10px 0 16px; }
.beer-survey-bar { display: flex; gap: 3px; height: 28px; margin: 20px 0; overflow: hidden; }
.beer-survey-lower { background: #218653; }
.beer-survey-same { background: #b4c1c5; }
.beer-survey-higher { background: #b95037; }
.beer-survey-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.beer-survey-legend dt { font-size: 14px; font-weight: 500; line-height: 1.6; }
.beer-survey-dot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; }
.beer-survey-legend dd { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; color: #263d35; }
.beer-survey-legend small, .beer-tax-amount small { font-size: 14px; font-weight: 500; margin-left: 4px; }
.beer-unit-chart { margin: 22px 0; }
.beer-unit-row + .beer-unit-row { margin-top: 20px; }
.beer-unit-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; line-height: 1.6; }
.beer-unit-heading > span { font-size: 16px; font-weight: 700; }
.beer-unit-heading strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.beer-unit-heading small { font-size: 13px; font-weight: 500; margin-left: 5px; }
.beer-unit-track { height: 20px; background: #edf1ef; margin: 8px 0; }
.beer-unit-fill { display: block; height: 100%; }
.beer-unit-350 { background: #426c80; }
.beer-unit-500 { background: #218653; }
.beer-unit-total { display: block; font-size: 14px; color: #53635c; }
.beer-unit-axis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #b4c1c5; padding-top: 7px; margin-top: 16px; font-size: 12px; color: #53635c; }
.beer-unit-axis > :nth-child(2) { text-align: center; }
.beer-unit-axis > :last-child { text-align: right; }
.beer-price-article .beer-figure-takeaway { margin: 18px 0 0; padding-left: 14px; border-left: 3px solid #218653; font-size: 16px; font-weight: 700; }
.beer-figure-takeaway span { font-size: 14px; font-weight: 400; }
.beer-tax-diagram { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; gap: 12px; margin: 22px 0; }
.beer-tax-amount { display: grid; gap: 8px; padding: 16px 0; border-top: 3px solid #426c80; }
.beer-tax-amount:last-child { border-top-color: #218653; }
.beer-tax-amount > span { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.beer-tax-amount strong { font-size: 30px; font-variant-numeric: tabular-nums; color: #263d35; }
.beer-tax-separator { text-align: center; font-size: 32px; color: #6a7973; }
.beer-survey-details { border-top: 1px solid #dbe6df; border-bottom: 1px solid #dbe6df; margin: 28px 0; }
.beer-survey-details > summary { cursor: pointer; padding: 18px 0; font-size: 16px; font-weight: 700; line-height: 1.7; }
.beer-survey-details > summary:focus-visible { outline: 2px solid #218653; outline-offset: 4px; }
.beer-survey-details-body { padding-bottom: 12px; }
.beer-price-article .beer-survey-details h2 { margin-top: 0; padding-top: 8px; border-top: 0; }
@media (max-width: 600px) {
  .beer-price-article.seo-panel { padding: 24px 20px; }
  .beer-price-article h2 { font-size: 20px; }
  .beer-figure figcaption { font-size: 18px; }
  .beer-survey-legend { gap: 8px; }
  .beer-survey-dot { display: block; margin: 0 0 6px; }
  .beer-survey-legend dd { font-size: 26px; }
  .beer-tax-diagram { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .beer-tax-amount { padding: 14px 0; }
  .beer-tax-separator { line-height: 1.2; padding-bottom: 14px; }
  .beer-price-article .guide-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .beer-price-article .guide-table, .beer-price-article .guide-table tbody, .beer-price-article .guide-table tr { display: block; width: 100%; }
  .beer-price-article .guide-table tr { padding: 14px 0; border-top: 2px solid #b9d6c1; }
  .beer-price-article .guide-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; width: 100%; padding: 8px 0; }
  .beer-price-article .guide-table td::before { content: attr(data-label); color: #52635b; font-weight: 500; }
  .beer-price-article .guide-table td:first-child { display: block; max-width: none; padding-bottom: 12px; }
  .beer-price-article .guide-table td:first-child::before { display: none; }
  .beer-price-article .guide-table td:first-child a { display: flex; align-items: center; gap: 14px; }
  .beer-guide-product-image { flex: 0 0 80px; margin-bottom: 0; }
}
.choice-status-article { max-width: 920px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 32px; background: #fff; line-height: 1.9; overflow-wrap: anywhere; }
.choice-status-article h2 { margin-top: 36px; font-size: 1.35rem; text-wrap: balance; }
.choice-status-article h3 { font-size: 1.1rem; margin-top: 28px; }
.choice-status-article p { margin: 16px 0; }
.choice-status-article .guide-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; line-height: 1.8; }
.choice-status-article .guide-table th { background: #edf6f2; color: #285c48; text-align: left; }
.choice-status-article .guide-table th, .choice-status-article .guide-table td { padding: 14px 16px; border-bottom: 1px solid #d7e3de; vertical-align: top; }
.choice-status-article .guide-table th:first-child { width: 30%; }
.choice-actions, .choice-checks { margin: 28px 0; padding: 24px 0; border-top: 2px solid #438b73; border-bottom: 1px solid #c4dcd4; }
.choice-actions h2 { margin: 0 0 20px; font-size: 1.2rem; }
.choice-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.choice-action-grid > div { min-width: 0; padding: 0 12px 0 0; border-right: 1px solid #dbe5e1; }
.choice-action-grid > div:last-child { border-right: 0; }
.choice-action-grid dt { color: #276149; font-weight: 700; font-size: .92rem; margin-bottom: 12px; }
.choice-action-grid dd { margin: 0; }
.choice-action-grid strong { font-size: 1rem; line-height: 1.7; }
.choice-action-grid p { font-size: .86rem; margin-bottom: 0; }
.choice-checks h3 { margin: 0 0 16px; }
.choice-checks ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-left: 24px; }
.choice-checks li { padding-left: 4px; min-width: 0; }
.choice-checks li::marker { font-weight: 800; color: #277450; }
.choice-checks span { display: block; font-size: .86rem; }
@media (max-width: 640px) {
  .choice-status-article { padding: 22px 18px; }
  .choice-status-article h2 { font-size: 1.2rem; }
  .choice-action-grid, .choice-checks ol { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .choice-action-grid > div { border-right: 0; padding: 0 0 18px; border-bottom: 1px solid #dbe5e1; }
  .choice-action-grid > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .choice-action-grid dt { margin-bottom: 6px; }
  .choice-status-article .guide-table thead { display: none; }
  .choice-status-article .guide-table, .choice-status-article .guide-table tbody, .choice-status-article .guide-table tr, .choice-status-article .guide-table td { display: block; width: 100%; box-sizing: border-box; }
  .choice-status-article .guide-table tr { border-bottom: 1px solid #d7e3de; padding: 12px 0; }
  .choice-status-article .guide-table td { padding: 4px 0; border: 0; }
  .choice-status-article .guide-table td:first-child { font-weight: 700; color: #285c48; }
}
/* Municipality directory: the search and its results share one reading area. */
body.static-page.page-municipality-directory { background: #fff; color: #2c3e50; }
body.page-municipality-directory .site-page-hero { padding: 26px 20px 20px; background: #f2f8f4; }
body.page-municipality-directory .site-page-hero::before,
body.page-municipality-directory .site-page-hero::after,
body.page-municipality-directory .site-page-hero-kicker { display: none; }
body.page-municipality-directory .site-page-hero-inner { max-width: 1080px; padding: 0; }
body.page-municipality-directory .site-page-hero h1 { max-width: none; font-size: 28px; line-height: 1.5; margin: 0 0 6px; letter-spacing: 0; }
body.page-municipality-directory .site-page-hero .site-page-hero-lead { margin: 0; font-size: 15px; line-height: 1.7; font-weight: 400; }
body.page-municipality-directory .site-page-hero .site-promo-note { display: block; margin: 10px 0 0; max-width: none; padding: 0; border: 0; border-radius: 0; background: none; text-align: left; font-size: 12px; color: #596760; font-weight: 400; }
body.page-municipality-directory > .breadcrumb { max-width: 1120px; margin: 0 auto; padding: 12px 20px; font-size: 12px; }
body.static-page.page-municipality-directory main.directory-main { display: block; max-width: 1120px; width: 100%; margin: 0 auto; padding: 8px 20px 48px; }
body.page-municipality-directory .directory-main * { box-sizing: border-box; letter-spacing: 0; }
body.page-municipality-directory .directory-main [hidden] { display: none !important; }
body.page-municipality-directory .directory-main :is(button, input, select) { font: inherit; }
body.page-municipality-directory .directory-main :is(a, button, input, select, summary):focus-visible { outline: 3px solid #2275b7; outline-offset: 3px; }
body.page-municipality-directory .directory-main h2 { font-size: 19px; line-height: 1.5; margin: 0 0 12px; color: #2c3e50; }
body.page-municipality-directory .directory-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin: 0; padding: 0 0 20px; border: 0; border-bottom: 1px solid #dce5e0; border-radius: 0; background: none; box-shadow: none; }
body.page-municipality-directory .directory-filters > div { min-width: 0; }
body.page-municipality-directory .directory-filters label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
body.page-municipality-directory .directory-filters :is(input[type="search"], select) { width: 100%; min-height: 46px; border: 1px solid #a8bcb0; border-radius: 6px; padding: 9px 12px; color: #2c3e50; background: #fff; font-size: 16px; }
body.page-municipality-directory .directory-filter-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.page-municipality-directory .directory-filters .directory-checkbox { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; font-weight: 400; }
body.page-municipality-directory .directory-checkbox input { width: 18px; height: 18px; accent-color: #198b50; margin: 0; flex-shrink: 0; }
body.page-municipality-directory .directory-reset { border: 0; padding: 8px; background: transparent; color: #246747; min-height: 44px; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body.page-municipality-directory .directory-reset:disabled { color: #6b756f; cursor: default; text-decoration: none; }
body.page-municipality-directory .directory-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 12px; scroll-margin-top: 88px; }
body.page-municipality-directory .directory-result-bar h2 { margin: 0; }
body.page-municipality-directory .directory-result-bar p { margin: 0; font-size: 13px; color: #52645a; }
body.page-municipality-directory .directory-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid #2c3e50; }
body.page-municipality-directory .directory-row { display: grid; grid-template-columns: minmax(190px, 1.2fr) minmax(200px, 1.6fr) 210px; align-items: center; gap: 24px; padding: 22px 16px; border-bottom: 1px solid #dce5e0; }
body.page-municipality-directory .directory-row:hover { background: #f7fbf9; }
body.page-municipality-directory .directory-row > div { min-width: 0; }
body.page-municipality-directory .directory-pref { font-size: 13px; color: #5b6c62; }
body.page-municipality-directory .directory-city h3 { margin: 3px 0 5px; font-size: 20px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
body.page-municipality-directory .directory-city h3 a { color: #2c3e50; text-decoration: none; }
body.page-municipality-directory .directory-city h3 a:hover { color: #147746; text-decoration: underline; }
body.page-municipality-directory .directory-site-type { font-size: 12px; color: #596b60; }
body.page-municipality-directory .directory-products p { margin: 0; font-size: 14px; }
body.page-municipality-directory .directory-products strong { font-size: 23px; color: #198b50; margin-left: 4px; }
body.page-municipality-directory .directory-products small { font-size: 13px; margin-left: 3px; font-weight: 400; }
body.page-municipality-directory .directory-products .directory-category-text { margin-top: 5px; font-size: 13px; color: #596b60; line-height: 1.8; }
body.page-municipality-directory .directory-actions { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
body.page-municipality-directory .directory-compare { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border: 0; border-radius: 6px; background: #198b50; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; text-align: center; line-height: 1.5; cursor: pointer; box-shadow: 0 2px 5px #1b65351a; }
body.page-municipality-directory .directory-compare:hover { background: #126e3e; }
body.page-municipality-directory .directory-official { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 4px; color: #52645a; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
body.page-municipality-directory .directory-official:hover { color: #166f42; }
body.page-municipality-directory .directory-muted { font-size: 13px; color: #596b60; }
body.page-municipality-directory .directory-pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; }
body.page-municipality-directory .directory-pagination button { min-width: 80px; min-height: 44px; padding: 8px 14px; border: 1px solid #a8bcb0; border-radius: 6px; background: #fff; color: #246747; cursor: pointer; }
body.page-municipality-directory .directory-pagination button:hover:not(:disabled) { background: #ecf6ef; }
body.page-municipality-directory .directory-pagination button:disabled { color: #748279; background: #f1f4f2; border-color: #e0e6e2; cursor: default; }
body.page-municipality-directory .directory-pagination span { min-width: 110px; text-align: center; font-size: 14px; }
body.page-municipality-directory .directory-empty { padding: 36px 16px; background: #f6faf7; }
body.page-municipality-directory .directory-empty h3 { font-size: 18px; margin: 0 0 12px; }
body.page-municipality-directory .directory-empty p { font-size: 14px; line-height: 1.8; }
body.page-municipality-directory .directory-related { margin-top: 42px; padding-top: 26px; border-top: 1px solid #dce5e0; }
body.page-municipality-directory .directory-category-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.page-municipality-directory .directory-category-links a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #dce5e0; border-radius: 8px; text-decoration: none; color: #2c3e50; }
body.page-municipality-directory .directory-category-links a:hover { border-color: #198b50; }
body.page-municipality-directory .directory-category-links img { width: 64px; height: 64px; flex-shrink: 0; object-fit: contain; }
body.page-municipality-directory .directory-category-links strong { display: block; font-size: 16px; }
body.page-municipality-directory .directory-category-links small { display: block; font-size: 12px; color: #596b60; line-height: 1.6; margin-top: 4px; }
body.page-municipality-directory .directory-category-links a > span:last-child { margin-left: auto; }
body.page-municipality-directory .directory-help { margin-top: 28px; border-top: 1px solid #dce5e0; }
body.page-municipality-directory .directory-help details { border-bottom: 1px solid #dce5e0; }
body.page-municipality-directory .directory-help summary { padding: 18px 0; cursor: pointer; font-size: 15px; font-weight: 700; }
body.page-municipality-directory .directory-help p { font-size: 14px; line-height: 1.9; margin: 0 0 16px; max-width: 800px; }
body.page-municipality-directory .directory-help a { color: #167544; }
body.page-municipality-directory .directory-pref-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 16px; padding-bottom: 20px; }
body.page-municipality-directory .directory-pref-links a { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; text-decoration: none; }
body.page-municipality-directory .directory-pref-links span { font-size: 11px; color: #596b60; }
@media (max-width: 760px) {
  body.page-municipality-directory .site-brand-bar-inner { flex-wrap: wrap; gap: 4px; }
  body.page-municipality-directory .site-brand-bar-nav { flex: 1 0 100%; justify-content: space-between; overflow: visible; }
  body.page-municipality-directory .site-brand-bar-nav a { min-height: 44px; padding: 6px 8px; }
  body.page-municipality-directory .site-page-hero { padding: 18px 16px 14px; }
  body.page-municipality-directory .site-page-hero h1 { font-size: 21px; }
  body.page-municipality-directory .site-page-hero .site-page-hero-lead { font-size: 13px; }
  body.static-page.page-municipality-directory main.directory-main { padding: 4px 16px 32px; }
  body.page-municipality-directory .directory-filters { grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 12px; }
  body.page-municipality-directory .directory-search-field { grid-column: 1 / -1; }
  body.page-municipality-directory .directory-filter-footer { gap: 2px; flex-wrap: wrap; }
  body.page-municipality-directory .directory-filters .directory-checkbox { font-size: 13px; }
  body.page-municipality-directory .directory-reset { font-size: 12px; }
  body.page-municipality-directory .directory-result-bar { flex-wrap: wrap; gap: 4px 12px; scroll-margin-top: 128px; }
  body.page-municipality-directory .directory-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0; }
  body.page-municipality-directory .directory-city h3 { display: inline; margin: 0 8px; font-size: 20px; }
  body.page-municipality-directory .directory-site-type { display: block; margin-top: 4px; }
  body.page-municipality-directory .directory-products strong { font-size: 20px; }
  body.page-municipality-directory .directory-products .directory-category-text { margin-top: 0; }
  body.page-municipality-directory .directory-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
  body.page-municipality-directory .directory-compare { flex: 1 1 160px; padding: 10px 8px; }
  body.page-municipality-directory .directory-official { flex: 1 1 130px; }
  body.page-municipality-directory .directory-category-links { grid-template-columns: 1fr; gap: 10px; }
  body.page-municipality-directory .directory-pref-links { grid-template-columns: repeat(2, 1fr); }
}

/* Rank 4 onward: photograph, product facts, and price/action stay aligned. */
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced {
  grid-template-columns: 210px minmax(0, 1fr) 245px;
  grid-template-areas: "photo identity pricing" "photo offers actions";
  gap: 18px 24px;
  padding: 24px;
  border-color: #dce4e4;
  box-shadow: 0 3px 12px rgba(32, 60, 45, 0.04);
  contain-intrinsic-size: 300px;
}
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced:hover { transform: none; border-color: #a5c5b5; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-content { display: contents; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-media {
  grid-area: photo;
  display: block;
  width: 210px;
  height: 210px;
  min-height: 0;
  align-self: start;
  border: 0;
  background: #fff;
}
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-media .thumb-button,
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 0;
}
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-placeholder { font-size: 13px; color: #65757c; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-identity { grid-area: identity; min-width: 0; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-meta { margin: 0 0 10px; gap: 7px 10px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-meta span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #65757c;
  font-size: 12px;
  font-weight: 500;
}
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-meta .ranking-result-rank {
  position: static;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  width: auto;
  height: auto;
  margin: 0;
  padding-right: 10px;
  color: #263b48;
  border-right: 1px solid #dce4e4;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-rank b { font-size: 24px; line-height: 1.2; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced.is-unit-result .ranking-result-rank { display: none; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.6; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-quantity { margin: 0; color: #425962; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-quantity span { display: block; color: #65757c; font-size: 12px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-product-highlights { margin-top: 8px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-pricing {
  grid-area: pricing;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid #dce4e4;
}
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values { display: block; margin: 0; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values > span { display: block; padding: 0; min-height: 0; background: none; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values small { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 12px; font-weight: 500; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values em { padding: 1px 5px; border-radius: 3px; background: #e5f3ec; color: #087248; font-size: 10px; font-weight: 700; font-style: normal; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values strong { display: block; color: #168653; font-size: 30px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values > span:last-child strong { color: #168653; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values strong.is-large-amount { font-size: 23px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit { margin: 10px 0; padding: 0; border: 0; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit-main { gap: 3px 8px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit-main > span { color: #50646d; font-size: 12px; font-weight: 500; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit-main > strong { color: #263b48; font-size: 21px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-date,
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-unit-basis { margin: 6px 0 0; color: #65757c; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-offers { grid-area: offers; min-width: 0; align-self: end; border-top: 1px solid #edf1f1; padding-top: 12px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-site { display: block; margin: 0; font-size: 12px; line-height: 1.8; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-site span { font-size: 12px; font-weight: 400; margin-right: 7px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-site strong { white-space: normal; overflow-wrap: anywhere; font-size: 12px; font-weight: 600; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-rakuten { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin: 5px 0 0; color: #b91c27; font-size: 12px; font-weight: 600; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-rakuten strong { font-size: 14px; white-space: nowrap; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-rakuten span { font-size: 11px; white-space: nowrap; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-comparison-note,
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-provider-note,
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-difference { margin: 5px 0 0; color: #65757c; font-size: 12px; line-height: 1.7; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions { grid-area: actions; display: flex; flex-direction: column; align-self: end; gap: 6px; margin: 0; padding-left: 24px; border-left: 1px solid #dce4e4; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions .btn-link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 10px; background: #168653; border-radius: 5px; font-size: 13px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions .btn-link:hover { background: #0d7044; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions .btn-link span { font-size: 20px; line-height: 1; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .category-compare-toggle { min-height: 40px; border: 0; border-radius: 5px; background: #fff; font-size: 12px; }
body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .category-compare-toggle.is-selected { background: #e9f6ee; }
@media (max-width: 1050px) and (min-width: 781px) {
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced { grid-template-columns: 175px minmax(0, 1fr) 214px; gap: 16px; padding: 20px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-media { width: 175px; height: 175px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-pricing,
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions { padding-left: 16px; }
}
@media (max-width: 780px) {
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced {
    grid-template-columns: 140px minmax(0, 1fr);
    grid-template-areas: "photo identity" "pricing offers" "actions actions";
    gap: 18px;
    padding: 20px;
  }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-media { width: 140px; height: 140px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-pricing { border: 0; padding: 0; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-offers { align-self: start; border: 0; padding: 0; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions { flex-direction: row-reverse; border: 0; border-top: 1px solid #dce4e4; padding: 14px 0 0; align-items: center; gap: 12px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions .category-compare-toggle { width: auto; flex: 0 0 110px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions .btn-link { flex: 1; }
}
@media (max-width: 520px) {
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "photo identity" "pricing pricing" "offers offers" "actions actions";
    gap: 16px 12px;
    padding: 16px;
  }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-media { width: 104px; height: 120px; align-self: start; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-meta { gap: 6px; margin-bottom: 8px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-meta span { font-size: 11px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-rank b { font-size: 22px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced h2 { font-size: 15px; line-height: 1.65; margin-bottom: 8px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-quantity { font-size: 12px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-quantity span { font-size: 11px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; padding-top: 14px; border-top: 1px solid #dce4e4; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values { grid-column: 1; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values strong { font-size: 26px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values strong.is-large-amount { font-size: 20px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit { grid-column: 2; margin: 0; border-left: 1px solid #dce4e4; padding-left: 12px; align-self: center; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit-main { display: block; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit-main > strong { display: block; font-size: 22px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-date,
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-unit-basis { grid-column: 1 / -1; font-size: 10px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions .category-compare-toggle { flex-basis: 88px; padding: 8px 0; font-size: 11px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions .btn-link { font-size: 12px; gap: 6px; }
}
@media (max-width: 360px) {
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced { grid-template-columns: 86px minmax(0, 1fr); padding: 12px; gap: 14px 10px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-media { width: 86px; height: 105px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values strong { font-size: 23px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-values strong.is-large-amount { font-size: 18px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .price-unit-main > strong { font-size: 20px; }
  body.page-ranking.ranking-detail-v2 .ranking-result-card--balanced .ranking-result-actions { gap: 6px; }
}
