:root {
  --color-primary: #2e7d32;
  --color-primary-dark: #1b5e20;
  --color-accent: #f4b400;
  --color-background: #f7f9f8;
  --color-surface: #ffffff;
  --color-text: #222222;
  --color-text-sub: #5f6b65;
  --color-border: #dfe6e2;
  --color-soft-green: #eaf4ed;
  --color-soft-yellow: #fff8dc;
  --shadow-card: 0 12px 28px rgba(32, 68, 44, 0.09);
  --shadow-soft: 0 6px 18px rgba(32, 68, 44, 0.07);
  --radius-small: 8px;
  --radius-medium: 12px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

img,
picture {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-primary);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

body.no-scroll {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-small);
}

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

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 20px;
}

.section-band {
  padding: 48px 20px 72px;
}

.section-soft {
  max-width: none;
  background: #eef6f1;
}

.section-soft > .section-heading,
.section-soft > .comparison-table-wrap,
.section-soft > .comparison-mobile,
.section-soft > .basis-grid,
.section-soft > .flow-steps {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.35;
}

.section-heading p {
  margin: 0;
  color: var(--color-text-sub);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--color-primary-dark);
  font-weight: 700;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: var(--radius-small);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* ==============================
   Header
================================ */

.promotion-label {
  background: #eef3ef;
  color: var(--color-text-sub);
  font-size: 0.82rem;
  padding: 6px 20px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 22px rgba(32, 68, 44, 0.08);
}

.header-inner {
  max-width: 1120px;
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 800;
  text-decoration: none;
  min-width: 0;
}

.site-logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.95rem;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.94rem;
  font-weight: 700;
}

.global-nav a {
  color: var(--color-text);
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--color-primary-dark);
}

.menu-button {
  display: none;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-text);
  font-weight: 700;
  cursor: pointer;
}

.menu-button-lines,
.menu-button-lines::before,
.menu-button-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 999px;
}

.menu-button-lines {
  position: relative;
  margin-right: 8px;
}

.menu-button-lines::before,
.menu-button-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button-lines::before {
  top: -6px;
}

.menu-button-lines::after {
  top: 6px;
}

/* ==============================
   Hero
================================ */

.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--color-text-sub);
}

.hero {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--color-background) 100%);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.25;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.hero-note {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--color-text-sub);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.source-date {
  margin: 16px 0 0;
  color: var(--color-text-sub);
  font-size: 0.92rem;
}

.image-placeholder {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  border: 2px dashed #b9cec0;
  border-radius: var(--radius-medium);
  background:
    linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(244, 180, 0, 0.1)),
    #ffffff;
  color: var(--color-text-sub);
  text-align: center;
}

.image-placeholder span {
  display: block;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.image-placeholder small {
  display: block;
  margin-top: 4px;
}

.hero-image-placeholder {
  min-height: 310px;
  aspect-ratio: 4 / 3;
}

/* ==============================
   Ranking
================================ */

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

.ranking-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.ranking-card-featured {
  border-color: rgba(244, 180, 0, 0.7);
  box-shadow: var(--shadow-card);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.rank-gold {
  background: #fff6d6;
  border-color: #e7bd43;
  color: #6b4a00;
}

.rank-silver {
  background: #f1f4f4;
  border-color: #c8d0d0;
  color: #4d5c5c;
}

.rank-bronze {
  background: #f6eadf;
  border-color: #d6aa7d;
  color: #684119;
}

.ranking-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.card-catch {
  min-height: 3.2em;
  margin: 0;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.card-image-placeholder {
  margin: 18px 0;
  min-height: 150px;
  aspect-ratio: 16 / 10;
}

.feature-list,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.card-facts {
  margin: 18px 0 0;
  border-top: 1px solid var(--color-border);
}

.card-facts div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.card-facts dt {
  color: var(--color-text-sub);
  font-weight: 700;
}

.card-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.ranking-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius-small);
  background: var(--color-soft-green);
  color: var(--color-text);
}

/* ==============================
   Comparison
================================ */

.comparison-table-wrap {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  padding: 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.comparison-table thead th {
  background: var(--color-primary-dark);
  color: #ffffff;
  text-align: left;
}

.comparison-table tbody th {
  width: 18%;
  background: #f7faf8;
  text-align: left;
  color: var(--color-primary-dark);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-mobile {
  display: none;
}

.comparison-company-card {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.comparison-company-card h3 {
  margin: 0 0 12px;
}

.comparison-company-card dl,
.detail-facts {
  margin: 0;
}

.comparison-company-card dl div,
.detail-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.comparison-company-card dt,
.detail-facts dt {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.comparison-company-card dd,
.detail-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ==============================
   Details
================================ */

.company-detail {
  margin-top: 22px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  margin: 0 0 8px;
  border-radius: 999px;
  background: var(--color-soft-yellow);
  color: #6b4a00;
  font-weight: 800;
}

.company-detail h3 {
  margin: 0;
  font-size: 1.55rem;
}

.detail-catch {
  margin: 8px 0 0;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.detail-toggle {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-primary-dark);
  font-weight: 800;
  cursor: pointer;
}

.detail-panel {
  margin-top: 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.detail-image-placeholder {
  min-height: 210px;
  aspect-ratio: 4 / 3;
}

.company-detail h4 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
}

.detail-grid h4:first-child {
  margin-top: 0;
}

.detail-facts {
  margin-top: 22px;
  border-top: 1px solid var(--color-border);
}

.price-edit-area dd p {
  margin: 0;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.detail-columns ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.reviews-block {
  margin: 24px 0;
  padding: 18px;
  border: 1px dashed #b9cec0;
  border-radius: var(--radius-medium);
  background: #fbfdfb;
}

.reviews-block h4 {
  margin-top: 0;
}

.reviews-preparing {
  margin: 0;
  color: var(--color-text-sub);
}

/* ==============================
   Basis and Guide
================================ */

.basis-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.basis-grid article,
.guide-card {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.basis-grid h3,
.guide-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.basis-grid p,
.guide-card p {
  margin: 0;
  color: var(--color-text-sub);
}

/* ==============================
   Flow
================================ */

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-left: 0;
  list-style: none;
}

.flow-steps li {
  position: relative;
  padding: 22px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.flow-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
}

.flow-steps h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
}

.flow-steps p {
  margin: 0;
  color: var(--color-text-sub);
}

/* ==============================
   FAQ
================================ */

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

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 16px 52px 16px 18px;
  border: 0;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--color-primary-dark);
  font-size: 1.35rem;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--color-text-sub);
}

.faq-answer p {
  margin: 0;
}

/* ==============================
   Notice and Footer
================================ */

.notice-box {
  padding: 22px;
  border: 1px solid #ead27a;
  border-radius: var(--radius-medium);
  background: #fffaf0;
}

.notice-box h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.notice-box p {
  margin: 8px 0 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  min-width: 52px;
  min-height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-footer {
  background: #17391f;
  color: #ffffff;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 20px;
  display: grid;
  gap: 24px;
}

.footer-logo {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 1.18rem;
}

.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.84);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-nav a {
  color: #ffffff;
}

/* ==============================
   Responsive
================================ */

@media (max-width: 1024px) {
  .ranking-cards {
    grid-template-columns: 1fr;
  }

  .card-catch {
    min-height: auto;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }

  .section,
  .section-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .global-nav {
    position: fixed;
    top: calc(var(--header-height) + 31px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .global-nav a {
    min-height: 46px;
    padding: 10px;
    border-radius: var(--radius-small);
  }

  .global-nav a:hover {
    background: var(--color-soft-green);
  }

  .hero-inner,
  .detail-grid,
  .detail-columns,
  .basis-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-placeholder {
    min-height: 220px;
  }

  .comparison-table-wrap {
    display: none;
  }

  .comparison-mobile {
    display: grid;
    gap: 16px;
  }

  .detail-header {
    display: grid;
  }

  .detail-toggle {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-logo {
    font-size: 0.95rem;
  }

  .site-logo span:last-child {
    max-width: 13em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 br {
    display: none;
  }

  .hero-actions,
  .card-actions {
    display: grid;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .ranking-card,
  .company-detail {
    padding: 18px;
  }

  .comparison-company-card dl div,
  .detail-facts div,
  .card-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==============================
   Reference Design Adjustments
================================ */
:root {
  --color-page: #dbe4ee;
  --color-alert: #e53935;
  --color-alert-dark: #c62828;
}

body {
  background: var(--color-page);
}

.ranking-overview,
.details,
.guide,
.faq,
.notice {
  margin-top: 28px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(186, 200, 214, 0.8);
  border-radius: var(--radius-medium);
  box-shadow: 0 12px 32px rgba(40, 55, 74, 0.08);
}

.section-soft {
  background: #f4f8f6;
  border-top: 1px solid rgba(186, 200, 214, 0.8);
  border-bottom: 1px solid rgba(186, 200, 214, 0.8);
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef4f2 100%);
  border-bottom: 1px solid rgba(186, 200, 214, 0.8);
}

.button-primary {
  background: #19a974;
  color: #ffffff;
}

.button-primary:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.menu-button {
  background: var(--color-alert);
  color: #ffffff;
  border-color: var(--color-alert-dark);
}

.menu-button-lines,
.menu-button-lines::before,
.menu-button-lines::after {
  background: #ffffff;
}

.ranking-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #d3ddd7;
  border-radius: var(--radius-small);
  box-shadow: none;
}

.ranking-card-featured {
  background: #fffff2;
  border-color: #d9bd56;
  box-shadow: none;
}

.card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.rank-badge {
  border-radius: 30px;
}

.ranking-card .feature-list {
  min-height: 7.4em;
}

.card-facts {
  border-top: 2px solid #d3ddd7;
}

.card-facts div {
  border-bottom-color: #d3ddd7;
}

.card-actions {
  margin-top: auto;
  padding-top: 18px;
}

.comparison-table-wrap {
  border: 2px solid #555555;
  border-radius: var(--radius-small);
  box-shadow: none;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #555555;
}

.comparison-table thead th {
  background: #111827;
  color: #ffffff;
}

.comparison-table tbody th {
  background: #f3f5f7;
  color: #111827;
}

.comparison-table thead th:nth-child(2),
.comparison-table tbody td:nth-child(2) {
  background: #fffff2;
}

.comparison-table thead th:nth-child(2) {
  color: #111827;
  border-top: 4px solid #d9bd56;
}

.comparison-company-card {
  border: 2px solid #d3ddd7;
  border-radius: var(--radius-small);
  box-shadow: none;
}

.comparison-company-card:first-child {
  background: #fffff2;
  border-color: #d9bd56;
}

.company-detail {
  border: 2px solid #d3ddd7;
  border-radius: var(--radius-small);
  box-shadow: none;
}

.company-detail:first-of-type {
  background: #fffff2;
  border-color: #d9bd56;
}

.detail-toggle {
  background: var(--color-alert);
  border-color: var(--color-alert-dark);
  color: #ffffff;
}

.basis-grid article,
.guide-card,
.flow-steps li,
.faq-item {
  border-radius: var(--radius-small);
  box-shadow: none;
}

/* ==============================
   Smaho Ranking Reference Color Adjustments
================================ */
:root {
  --color-primary: #cc171a;
  --color-primary-dark: #990f12;
  --color-accent: #edd400;
  --color-background: #f8f8f8;
  --color-surface: #ffffff;
  --color-text: #333333;
  --color-text-sub: #555555;
  --color-border: #a2a2a2;
  --color-page: #f8f8f8;
  --color-alert: #cc171a;
  --color-alert-dark: #990f12;
  --shadow-card: none;
  --shadow-soft: none;
}

body {
  background: #f8f8f8;
  color: #333333;
}

.promotion-label {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  color: #555555;
  border-right: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}

.site-header {
  background: #ffffff;
  border-bottom: 3px solid #cc171a;
  box-shadow: none;
  backdrop-filter: none;
}

.header-inner,
.breadcrumb,
.hero-inner,
.footer-inner {
  max-width: 720px;
}

.site-logo-mark {
  background: #cc171a;
  color: #ffffff;
  border-radius: 0;
}

.global-nav a:hover,
.global-nav a[aria-current="page"],
.section-kicker,
.hero-lead,
.card-catch,
.detail-catch,
.comparison-company-card dt,
.detail-facts dt,
.footer-nav a {
  color: #cc171a;
}

.menu-button {
  background: #cc171a;
  border-color: #990f12;
  color: #ffffff;
  border-radius: 0;
}

.button {
  border-radius: 4px;
  box-shadow: none;
}

.button-primary {
  background: linear-gradient(180deg, #fff000 0%, #edd400 100%);
  color: #333333;
  border-color: #d4b900;
  box-shadow: 0 5px 0 #aa861b;
}

.button-primary:hover {
  background: linear-gradient(180deg, #ffe45c 0%, #e1bd00 100%);
  color: #333333;
}

.button-secondary {
  background: #ffffff;
  color: #cc171a;
  border-color: #cc171a;
}

.section,
.section-soft,
.section-band {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.section,
.ranking-overview,
.details,
.guide,
.faq,
.notice {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0;
  box-shadow: none;
}

.section-soft {
  background: #ffffff;
  border: 1px solid #dddddd;
}

.section-soft > .section-heading,
.section-soft > .comparison-table-wrap,
.section-soft > .comparison-mobile,
.section-soft > .basis-grid,
.section-soft > .flow-steps {
  max-width: none;
}

.hero {
  background: #ffffff;
  border: 1px solid #dddddd;
}

.hero-inner {
  grid-template-columns: 1fr;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  color: #333333;
}

.section-heading h2 {
  display: block;
  margin-right: -20px;
  margin-left: -20px;
  padding: 16px 20px;
  background: #cc171a;
  color: #ffffff;
  border-radius: 0;
  text-align: center;
}

.section-heading p {
  color: #555555;
}

.ranking-cards,
.basis-grid,
.guide-grid,
.flow-steps {
  grid-template-columns: 1fr;
}

.ranking-card,
.company-detail,
.comparison-company-card,
.basis-grid article,
.guide-card,
.flow-steps li,
.faq-item,
.notice-box,
.image-placeholder,
.reviews-block {
  border: 1px solid #a2a2a2;
  border-radius: 0;
  box-shadow: none;
}

.ranking-card-featured,
.comparison-company-card:first-child,
.company-detail:first-of-type {
  background: #fff9d7;
  border-color: #edd400;
}

.rank-badge {
  min-width: 90px;
  border-radius: 0;
  color: #ffffff;
}

.rank-gold,
.rank-silver,
.rank-bronze {
  background: #cc171a;
  border-color: #cc171a;
  color: #ffffff;
}

.card-facts,
.detail-facts {
  border-top: 1px solid #a2a2a2;
}

.card-facts div,
.detail-facts div,
.comparison-company-card dl div {
  border-bottom: 1px solid #dddddd;
}

.comparison-table-wrap {
  border: 1px solid #a2a2a2;
  border-radius: 0;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #a2a2a2;
}

.comparison-table thead th,
.comparison-table tbody th {
  background: #e61a1b;
  color: #ffffff;
}

.comparison-table thead th:nth-child(2) {
  background: #cc171a;
  color: #ffffff;
  border-top: 1px solid #a2a2a2;
}

.comparison-table tbody td:nth-child(2) {
  background: #fff9d7;
}

.detail-toggle,
.faq-item button {
  border-radius: 0;
}

.detail-toggle {
  background: #cc171a;
  border-color: #990f12;
  color: #ffffff;
}

.flow-number,
.site-logo-mark {
  background: #cc171a;
}

.faq-item button::after {
  color: #cc171a;
}

.notice-box {
  background: #fff9d7;
  border-color: #edd400;
}

.site-footer {
  background: #333333;
}

@media (min-width: 1025px) {
  .ranking-cards {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .global-nav {
    border-radius: 0;
  }
}

.footer-simple {
  display: block;
  text-align: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* ==============================
   Header Logo Adjustment
================================ */
.site-header {
  border-bottom: 0;
}

.site-logo-image {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(280px, 72vw);
  object-fit: contain;
}

@media (max-width: 560px) {
  .site-logo-image {
    height: 38px;
    max-width: 68vw;
  }
}

/* ==============================
   Unified Section Layout
================================ */
.section,
.section-band,
.section-soft,
.ranking-overview,
.comparison,
.details,
.selection-basis,
.guide,
.flow,
.faq,
.notice {
  max-width: 720px;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  background: #ffffff;
  border-top: 0;
  border-right: 1px solid #dddddd;
  border-bottom: 0;
  border-left: 1px solid #dddddd;
  border-radius: 0;
  box-shadow: none;
}

.hero {
  border-top: 1px solid #dddddd;
}

.notice {
  border-bottom: 1px solid #dddddd;
}

.section + .section,
.section + .section-soft,
.section-soft + .section,
.section-soft + .section-soft {
  padding-top: 36px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 0;
}

.notice-box {
  margin: 0;
}

/* ==============================
   Text Size Readability Adjustments
================================ */
.promotion-label,
.breadcrumb,
.global-nav,
.source-date,
.site-footer small {
  font-size: 1rem;
}

.section-heading p,
.card-facts,
.comparison-table,
.comparison-company-card,
.detail-facts,
.guide-card p,
.basis-grid p,
.flow-steps p,
.faq-answer,
.notice-box,
.ranking-note {
  font-size: 1rem;
}

.card-catch,
.detail-catch,
.feature-list,
.check-list,
.detail-columns,
.reviews-preparing {
  font-size: 1rem;
}

@media (max-width: 560px) {
  .global-nav,
  .breadcrumb,
  .source-date,
  .section-heading p,
  .card-facts,
  .comparison-company-card,
  .detail-facts,
  .guide-card p,
  .basis-grid p,
  .flow-steps p,
  .faq-answer,
  .notice-box,
  .ranking-note {
    font-size: 1rem;
  }
}

.detail-toggle,
.image-placeholder small {
  font-size: 1rem;
}

/* ==============================
   Ranking Images
================================ */
.ranking-image-wrap {
  margin: 18px 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #a2a2a2;
}

.ranking-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Show full ranking images without cropping */
.ranking-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background: #ffffff;
}

.ranking-image {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* ==============================
   Integrated Ranking Cards
================================ */
.ranking-card .feature-list {
  min-height: 0;
}

.card-subheading,
.card-columns h4 {
  margin: 18px 0 8px;
  font-size: 1.1rem;
  color: #333333;
}

.card-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card-columns ul {
  margin: 0;
  padding-left: 1.2em;
}

.card-columns li + li {
  margin-top: 6px;
}

@media (max-width: 768px) {
  .card-columns {
    grid-template-columns: 1fr;
  }
}

/* Ensure ranking photos are never cropped */
.ranking-image-wrap.card-image-placeholder {
  display: block;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  overflow: visible;
  background: #ffffff;
}

.ranking-image-wrap.card-image-placeholder .ranking-image,
.ranking-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 800 / 550;
  object-fit: contain;
}

/* ==============================
   Main Visual
================================ */
.hero.section-band {
  padding: 0;
  background: #ffffff;
}

.mv-image {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
}

/* ==============================
   Basis Notice Spacing
================================ */
.selection-basis .notice-box {
  margin-top: 24px;
}

.selection-basis .notice-box h2 {
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  color: #333333;
  text-align: left;
  font-size: 1.25rem;
  line-height: 1.5;
}

/* ==============================
   Warning Section
================================ */
.warning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.warning-list article {
  padding: 18px;
  border: 1px solid #a2a2a2;
  background: #fff9d7;
}

.warning-list h3 {
  margin: 0 0 8px;
  color: #cc171a;
  font-size: 1.1rem;
}

.warning-list p {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .warning-list {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   Desktop Text Scale
================================ */
@media (min-width: 769px) {
  body,
  .section-heading p,
  .warning-list p,
  .comparison-table,
  .comparison-company-card,
  .card-catch,
  .feature-list,
  .card-facts,
  .card-columns,
  .guide-card p,
  .basis-grid p,
  .flow-steps p,
  .faq-answer,
  .notice-box,
  .ranking-note {
    font-size: 17px;
    line-height: 1.8;
  }

  .warning-list h3,
  .card-subheading,
  .card-columns h4,
  .guide-card h3,
  .basis-grid h3,
  .flow-steps h3 {
    font-size: 1.2rem;
  }
}

/* ==============================
   Comparison CTA
================================ */
.comparison-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2fbf7a 0%, #16965c 100%);
  color: #ffffff;
  border: 1px solid #0f7d4b;
  box-shadow: 0 3px 0 #0b623b;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.comparison-cta:hover {
  background: linear-gradient(180deg, #36cc84 0%, #117f4d 100%);
  color: #ffffff;
}

.comparison-cta:focus-visible {
  outline: 3px solid #edd400;
  outline-offset: 3px;
}

.comparison-company-card .comparison-cta {
  width: 100%;
  margin-top: 14px;
}

/* Add breathing room around comparison CTA buttons */
.comparison-table tr:last-child td {
  padding: 18px 14px 20px;
  text-align: center;
}

.comparison-table .comparison-cta {
  width: min(100%, 180px);
  margin: 2px auto;
}

.comparison-company-card .comparison-cta {
  margin-top: 18px;
}

/* ==============================
   Visual Comparison Table
================================ */
.visual-comparison-wrap {
  overflow: visible;
  border: 2px solid #ff1f1f;
  background: #ffffff;
}

.visual-comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #081331;
}

.visual-comparison-table th,
.visual-comparison-table td {
  border: 1px solid #777777;
  text-align: center;
  vertical-align: middle;
}

.visual-comparison-table th:first-child,
.visual-comparison-table td:first-child {
  border-left: 3px solid #ff1f1f;
  border-right: 3px solid #ff1f1f;
  background: #fffdf1;
}

.visual-comparison-table thead th:first-child {
  border-top: 3px solid #ff1f1f;
}

.visual-comparison-table tbody tr:last-child td:first-child {
  border-bottom: 3px solid #ff1f1f;
}

.visual-company {
  position: relative;
  padding: 30px 10px 12px;
  background: #ffffff;
}

.visual-company img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 10px;
}

.visual-company strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.visual-rank {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 58px;
  padding: 6px 12px;
  border-radius: 4px;
  color: #333333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  font-weight: 800;
  font-size: 1rem;
}

.visual-rank-gold {
  background: #ffcf32;
}

.visual-rank-silver {
  background: #eeeeee;
}

.visual-rank-bronze {
  background: #d68134;
  color: #ffffff;
}

.visual-row-heading th {
  padding: 8px 12px;
  background: #ff6422;
  color: #ffffff;
  border-color: #ff6422;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
}

.visual-comparison-table td {
  padding: 16px 8px;
  background: #ffffff;
}

.visual-comparison-table td b {
  display: block;
  margin-top: 6px;
  color: #ff1f1f;
  font-size: 1rem;
  line-height: 1.5;
}

.visual-comparison-table td:not(.visual-first) b {
  color: #081331;
}

.judge {
  display: block;
  font-weight: 900;
  line-height: 1;
}

.judge-best,
.judge-good {
  color: #ff1f1f;
  font-size: 3.1rem;
}

.judge-check {
  color: #17315c;
  font-size: 3rem;
}

.visual-comparison-table .comparison-cta {
  width: min(100%, 150px);
  margin: 4px auto;
  font-size: 0.95rem;
  white-space: normal;
}

@media (max-width: 560px) {
  .visual-company {
    padding: 26px 5px 10px;
  }

  .visual-company img {
    max-width: 96px;
  }

  .visual-company strong,
  .visual-comparison-table td b,
  .visual-comparison-table .comparison-cta {
    font-size: 0.9rem;
  }

  .visual-row-heading th {
    font-size: 1rem;
  }

  .judge-best,
  .judge-good,
  .judge-check {
    font-size: 2.55rem;
  }
}

/* Keep visual comparison readable on mobile */
.visual-company strong,
.visual-comparison-table td b,
.visual-comparison-table .comparison-cta {
  font-size: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==============================
   Visual Comparison Refinement
================================ */
.visual-comparison-wrap {
  margin-top: 18px;
  border: 2px solid #ff2a2a;
  overflow: visible;
}

.visual-comparison-table {
  border-collapse: collapse;
  background: #ffffff;
}

.visual-comparison-table th,
.visual-comparison-table td {
  border: 1px solid #8c8c8c;
}

.visual-comparison-table th:first-child,
.visual-comparison-table td:first-child {
  border-left: 2px solid #ff2a2a;
  border-right: 2px solid #ff2a2a;
  background: #fffdf1;
}

.visual-comparison-table thead th:first-child {
  border-top: 2px solid #ff2a2a;
}

.visual-comparison-table tbody tr:last-child td:first-child {
  border-bottom: 2px solid #ff2a2a;
}

.visual-company {
  padding: 25px 10px 10px;
  background: #ffffff;
}

.visual-company img {
  max-width: 128px;
  aspect-ratio: 800 / 550;
  object-fit: contain;
  margin-bottom: 8px;
}

.visual-company strong {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
}

.visual-rank {
  top: -12px;
  min-width: 48px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  font-size: 0.95rem;
  line-height: 1.3;
}

.visual-row-heading th {
  padding: 6px 10px;
  background: #fffdf1;
  color: #ffffff;
  border-top: 1px solid #ff6422;
  border-bottom: 1px solid #ff6422;
  font-size: 1.05rem;
  line-height: 1.45;
}

.visual-comparison-table td {
  height: 102px;
  padding: 14px 8px;
}

.visual-comparison-table td b {
  margin-top: 8px;
  color: #ff1f1f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.visual-comparison-table td:not(.visual-first) b {
  color: #000000;
}

.judge {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  font-size: 0;
  line-height: 0;
}

.judge-best::before,
.judge-good::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #ff1f1f;
  border-radius: 50%;
}

.judge-best::after,
.judge-good::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid #ff1f1f;
  border-radius: 50%;
  background: #ffffff;
}

.judge-good::after {
  display: none;
}

.judge-check::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 28px;
  height: 28px;
  border-left: 2px solid #17315c;
  border-bottom: 2px solid #17315c;
  transform: rotate(135deg) skew(-8deg, -8deg);
  transform-origin: center;
}

.visual-comparison-table .comparison-cta {
  width: min(100%, 142px);
  min-height: 38px;
  margin: 4px auto;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  .visual-company {
    padding: 24px 5px 9px;
  }

  .visual-company img {
    max-width: 96px;
  }

  .visual-company strong,
  .visual-comparison-table td b,
  .visual-comparison-table .comparison-cta {
    font-size: 0.88rem;
  }

  .visual-comparison-table td {
    height: 100px;
    padding: 12px 5px;
  }

  .judge {
    width: 38px;
    height: 38px;
  }

  .judge-best::after,
  .judge-good::after {
    top: 13px;
    left: 13px;
    width: 12px;
    height: 12px;
  }
}

/* ==============================
   Visual Comparison Stable Reset
================================ */
.visual-comparison-wrap {
  width: 100%;
  margin: 18px auto 0;
  overflow: visible;
  border: 2px solid #ff2a2a;
  background: #ffffff;
}

.visual-comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  background: #ffffff;
}

.visual-comparison-table th,
.visual-comparison-table td {
  width: 33.333%;
  border: 1px solid #8b8b8b;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
}

.visual-comparison-table th:first-child,
.visual-comparison-table td:first-child {
  border-left: 2px solid #ff2a2a;
  border-right: 2px solid #ff2a2a;
  background: #fffef4;
}

.visual-company {
  position: relative;
  padding: 26px 8px 10px;
  background: #ffffff;
}

.visual-company img {
  display: block;
  width: 88%;
  max-width: 145px;
  height: auto;
  margin: 0 auto 8px;
  aspect-ratio: auto;
  object-fit: contain;
}

.visual-company strong {
  display: block;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.visual-rank {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 48px;
  padding: 4px 10px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  color: #333333;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.visual-rank-gold { background: #ffd735; }
.visual-rank-silver { background: #eeeeee; }
.visual-rank-bronze { background: #d57c32; color: #ffffff; }

.visual-row-heading th {
  width: 100%;
  padding: 8px 10px;
  background: #ff6422;
  color: #ffffff;
  border: 1px solid #ff6422;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.visual-comparison-table td {
  height: 104px;
  padding: 14px 7px;
  background: #ffffff;
}

.visual-comparison-table td.visual-first {
  background: #fffef4;
}

.visual-comparison-table td b {
  display: block;
  margin-top: 8px;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.visual-comparison-table td.visual-first b {
  color: #ff1f1f;
}

.judge {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  color: transparent;
  font-size: 0;
  line-height: 0;
  position: relative;
}

.judge-best::before,
.judge-good::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #ff1f1f;
  border-radius: 50%;
  background: transparent;
}

.judge-best::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid #ff1f1f;
  border-radius: 50%;
  background: transparent;
}

.judge-good::after {
  content: none;
}

.judge-check::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 28px solid #17315c;
}

.judge-check::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 21px solid #ffffff;
}

.visual-comparison-table .comparison-cta {
  display: inline-flex;
  width: auto;
  min-width: 124px;
  max-width: 100%;
  min-height: 40px;
  margin: 4px auto;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .visual-company {
    padding: 24px 4px 9px;
  }

  .visual-company img {
    width: 92%;
    max-width: 98px;
  }

  .visual-company strong,
  .visual-comparison-table td b {
    font-size: 13px;
  }

  .visual-row-heading th {
    font-size: 15px;
  }

  .visual-comparison-table td {
    height: 96px;
    padding: 12px 4px;
  }

  .judge {
    width: 36px;
    height: 36px;
  }

  .judge-best::after {
    top: 12px;
    left: 12px;
    width: 12px;
    height: 12px;
  }

  .judge-check::before {
    left: 5px;
    top: 5px;
    border-left-width: 13px;
    border-right-width: 13px;
    border-bottom-width: 25px;
  }

  .judge-check::after {
    left: 9px;
    top: 11px;
    border-left-width: 9px;
    border-right-width: 9px;
    border-bottom-width: 18px;
  }

  .visual-comparison-table .comparison-cta {
    min-width: 0;
    padding: 8px 8px;
    font-size: 12px;
    white-space: normal;
  }
}

/* ==============================
   Visual Comparison Readability Fix
================================ */
.visual-row-heading th {
  background: #ff6422;
  color: #ffffff;
  border-top: 2px solid #ff6422;
  border-bottom: 2px solid #ff6422;
  text-shadow: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.judge {
  width: auto;
  height: auto;
  margin: 0 auto;
  color: inherit;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.judge::before,
.judge::after,
.judge-best::before,
.judge-best::after,
.judge-good::before,
.judge-good::after,
.judge-check::before,
.judge-check::after {
  content: none;
  display: none;
}

.judge-best,
.judge-good {
  color: #ff1f1f;
}

.judge-check {
  color: #17315c;
}

.visual-comparison-table td b {
  margin-top: 8px;
}

@media (max-width: 560px) {
  .visual-row-heading th {
    font-size: 16px;
  }

  .judge {
    font-size: 40px;
  }
}

/* ==============================
   Comparison Symbol and Band Final Fix
================================ */
.comparison .visual-comparison-table .visual-row-heading > th {
  background: #cc171a !important;
  color: #ffffff !important;
  border-top: 2px solid #cc171a !important;
  border-bottom: 2px solid #cc171a !important;
  border-left: 1px solid #cc171a !important;
  border-right: 1px solid #cc171a !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  padding: 8px 10px !important;
}

.comparison .visual-comparison-table .judge {
  display: block !important;
  width: auto !important;
  height: auto !important;
  color: inherit;
  font-family: Arial, "Helvetica Neue", sans-serif !important;
  font-size: 48px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.comparison .visual-comparison-table .judge-good {
  color: #ff1f1f !important;
  font-size: 52px !important;
  transform: translateY(1px);
}

.comparison .visual-comparison-table .judge-best {
  color: #ff1f1f !important;
}

.comparison .visual-comparison-table .judge-check {
  color: #17315c !important;
}

@media (max-width: 560px) {
  .comparison .visual-comparison-table .visual-row-heading > th {
    font-size: 16px !important;
  }

  .comparison .visual-comparison-table .judge {
    font-size: 42px !important;
  }

  .comparison .visual-comparison-table .judge-good {
    font-size: 46px !important;
  }
}

/* ==============================
   Visual Comparison CTA Sizing
================================ */
.comparison .visual-comparison-table .comparison-cta {
  width: min(92%, 160px) !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  margin: 6px auto !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  box-shadow: 0 3px 0 #0b623b !important;
}

.visual-comparison-table tbody tr:last-child td {
  height: auto;
  padding: 16px 6px 18px;
}

@media (max-width: 560px) {
  .comparison .visual-comparison-table .comparison-cta {
    width: 94% !important;
    min-height: 38px !important;
    padding: 8px 5px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .visual-comparison-table tbody tr:last-child td {
    padding: 12px 3px 14px;
  }
}

/* ==============================
   Featured Rank Card
================================ */
.featured-rank-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #f33a3a;
  background: #ffffff;
}

.featured-rank-card .rank-badge,
.featured-rank-card .card-main {
  display: none;
}

.featured-rank-header {
  padding: 18px 20px 12px;
  background: #f53b3b;
  color: #ffffff;
}

.featured-rank-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
}

.featured-rank-title span {
  font-size: 1.55rem;
}

.featured-rank-header p:last-child {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.featured-rank-body {
  padding: 12px 12px 16px;
}

.featured-rank-image {
  margin: 0 0 12px;
  padding: 8px;
  border: 1px solid #cbd8e5;
  border-radius: 6px;
  background: #eef3f7;
  overflow: hidden;
}

.featured-rank-image .ranking-image {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.featured-rank-table {
  margin: 0 0 12px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.featured-rank-table div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 42px;
  border-bottom: 1px solid #cfd8e3;
}

.featured-rank-table div:last-child {
  border-bottom: 0;
}

.featured-rank-table dt,
.featured-rank-table dd {
  margin: 0;
  padding: 9px 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.featured-rank-table dt {
  background: #f3f7fb;
  color: #081331;
  font-weight: 800;
}

.featured-rank-table dd {
  color: #081331;
}

.featured-rank-cta {
  width: 100%;
  min-height: 44px;
  margin: 0 0 12px;
  background: #08ae75;
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 4px 0 #04764f;
  font-weight: 800;
}

.featured-rank-cta:hover {
  background: #079765;
  color: #ffffff;
}

.featured-rank-panel {
  margin: 0 -12px 12px;
  background: #ffffff;
}

.featured-rank-panel h4 {
  margin: 0;
  padding: 8px 12px;
  background: #dff0d8;
  color: #081331;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.5;
}

.featured-rank-panel ul,
.featured-rank-panel p {
  margin: 0;
  padding: 12px 16px;
  color: #081331;
  font-size: 1rem;
  line-height: 1.75;
}

.featured-rank-panel ul {
  padding-left: 28px;
}

.featured-rank-panel li + li {
  margin-top: 6px;
}

@media (max-width: 560px) {
  .featured-rank-header {
    padding: 16px 14px 12px;
  }

  .featured-rank-title {
    gap: 12px;
    font-size: 1.18rem;
  }

  .featured-rank-title span {
    font-size: 1.35rem;
  }

  .featured-rank-table div {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

/* Featured rank color tone adjustment */
.featured-rank-card {
  border-color: #cc171a;
}

.featured-rank-header {
  background: #cc171a;
}

/* ==============================
   Secondary Rank Cards
================================ */
.secondary-rank-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #263246;
  background: #ffffff;
}

.secondary-rank-card .rank-badge,
.secondary-rank-card .card-main {
  display: none;
}

.secondary-rank-header {
  padding: 18px 20px 12px;
  background: #263246;
  color: #ffffff;
}

.secondary-rank-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
}

.secondary-rank-title span {
  font-size: 1.55rem;
}

.secondary-rank-header p:last-child {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.secondary-rank-body {
  padding: 12px 12px 16px;
}

.secondary-rank-image {
  margin: 0 0 12px;
  padding: 8px;
  border: 1px solid #cbd8e5;
  border-radius: 6px;
  background: #eef3f7;
  overflow: hidden;
}

.secondary-rank-image .ranking-image {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.secondary-rank-table {
  margin: 0 0 12px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.secondary-rank-table div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 42px;
  border-bottom: 1px solid #cfd8e3;
}

.secondary-rank-table div:last-child {
  border-bottom: 0;
}

.secondary-rank-table dt,
.secondary-rank-table dd {
  margin: 0;
  padding: 9px 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.secondary-rank-table dt {
  background: #f3f7fb;
  color: #081331;
  font-weight: 800;
}

.secondary-rank-table dd {
  color: #081331;
}

.secondary-rank-cta {
  width: 100%;
  min-height: 44px;
  margin: 0 0 12px;
  background: #08ae75;
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 4px 0 #04764f;
  font-weight: 800;
}

.secondary-rank-cta:hover {
  background: #079765;
  color: #ffffff;
}

.secondary-rank-panel {
  margin: 0 -12px 12px;
  background: #ffffff;
}

.secondary-rank-panel h4 {
  margin: 0;
  padding: 8px 12px;
  background: #dff0d8;
  color: #081331;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.5;
}

.secondary-rank-panel ul,
.secondary-rank-panel p {
  margin: 0;
  padding: 12px 16px;
  color: #081331;
  font-size: 1rem;
  line-height: 1.75;
}

.secondary-rank-panel ul {
  padding-left: 28px;
}

.secondary-rank-panel li + li {
  margin-top: 6px;
}

@media (max-width: 560px) {
  .secondary-rank-header {
    padding: 16px 14px 12px;
  }

  .secondary-rank-title {
    gap: 12px;
    font-size: 1.18rem;
  }

  .secondary-rank-title span {
    font-size: 1.35rem;
  }

  .secondary-rank-table div {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

/* ==============================
   Fixed Bottom CTA
================================ */
body {
  padding-bottom: 92px;
}

.fixed-bottom-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(204, 23, 26, 0.96);
  box-shadow: 0 -4px 16px rgba(8, 19, 49, 0.18);
}

.fixed-bottom-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 680px);
  min-height: 54px;
  margin: 0 auto;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ffd735;
  color: #081331;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 #b88600;
}

.fixed-bottom-cta a:hover,
.fixed-bottom-cta a:focus-visible {
  background: #ffe36a;
  color: #081331;
  transform: translateY(1px);
  box-shadow: 0 3px 0 #b88600;
}

@media (max-width: 560px) {
  body {
    padding-bottom: 82px;
  }

  .fixed-bottom-cta {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }

  .fixed-bottom-cta a {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 1rem;
  }
}

/* Fixed Bottom CTA visual adjustment */
body {
  padding-bottom: 86px;
}

.fixed-bottom-cta {
  padding: 0 12px calc(8px + env(safe-area-inset-bottom));
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.fixed-bottom-cta a {
  width: min(100%, 414px);
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ff4646 0%, #f51d25 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 5px 0 #9b1518, 0 8px 14px rgba(8, 19, 49, 0.2);
  pointer-events: auto;
}

.fixed-bottom-cta a:hover,
.fixed-bottom-cta a:focus-visible {
  background: linear-gradient(180deg, #ff5656 0%, #e9151d 100%);
  color: #ffffff;
  transform: translateY(1px);
  box-shadow: 0 4px 0 #9b1518, 0 7px 12px rgba(8, 19, 49, 0.2);
}

@media (max-width: 560px) {
  body {
    padding-bottom: 78px;
  }

  .fixed-bottom-cta {
    padding: 0 10px calc(7px + env(safe-area-inset-bottom));
  }

  .fixed-bottom-cta a {
    width: min(100%, 414px);
    min-height: 52px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}

/* Fixed Bottom CTA container width */
.fixed-bottom-cta {
  padding-right: 16px;
  padding-left: 16px;
}

.fixed-bottom-cta a {
  width: min(100%, 720px);
}

@media (max-width: 560px) {
  .fixed-bottom-cta {
    padding-right: 12px;
    padding-left: 12px;
  }

  .fixed-bottom-cta a {
    width: 100%;
  }
}

/* ==============================
   Promotion Notice
================================ */
.promotion-notice {
  max-width: 720px;
  margin: 10px auto 0;
  padding: 0 18px;
  color: #555555;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: right;
}

@media (max-width: 560px) {
  .promotion-notice {
    margin-top: 8px;
    padding: 0 14px;
    font-size: 0.86rem;
    text-align: left;
  }
}

/* ==============================
   FV Connection Adjustment
================================ */
.hero.section-band {
  border-bottom: 0;
}

.promotion-notice {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 18px 6px;
  background: #ffffff;
  border-right: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  color: #333333;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: right;
}

.promotion-notice + .warning-section.section {
  padding-top: 0;
}

.promotion-notice + .warning-section .section-heading {
  margin-bottom: 0;
}

.promotion-notice + .warning-section .section-heading h2 {
  margin: 0 -20px 0;
}

@media (max-width: 768px) {
  .promotion-notice + .warning-section .section-heading h2 {
    margin-right: -16px;
    margin-left: -16px;
  }
}

@media (max-width: 560px) {
  .promotion-notice {
    padding: 7px 14px 6px;
    font-size: 0.84rem;
    text-align: right;
  }
}
