:root {
  --ink: #222;
  --muted: #666;
  --line: #d8e3ea;
  --blue: #1f6f9f;
  --blue-dark: #143f5c;
  --blue-soft: #eef7fb;
  --teal: #1d7a72;
  --orange: #f7a600;
  --orange-dark: #de7800;
  --yellow-soft: #fff8dc;
  --red: #e33b2f;
  --bg: #f6f7f8;
  --panel: #fff;
  --shadow: 0 8px 20px rgba(30, 45, 62, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.mobile-break {
  display: none;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(14px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.brand {
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-header nav a {
  padding: 6px 9px;
  border-radius: 4px;
  color: #444;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.service-nav-menu {
  position: relative;
}

.service-nav-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 4px;
  color: #444;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.service-nav-menu summary::-webkit-details-marker {
  display: none;
}

.service-nav-menu summary::after {
  content: "▼";
  margin-left: 6px;
  font-size: 9px;
}

.service-nav-menu[open] summary {
  color: var(--ds-blue, var(--blue-dark));
  background: var(--ds-blue-soft, var(--blue-soft));
}

.service-nav-menu div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 4px;
  min-width: min(520px, calc(100vw - 28px));
  max-height: calc(100dvh - 92px);
  padding: 8px;
  border: 1px solid var(--ds-border-soft, var(--line));
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.16);
  overflow-y: auto;
}

.site-header nav .service-nav-menu div a {
  display: block;
  padding: 9px 10px;
  color: var(--ds-text, var(--ink));
  white-space: normal;
  line-height: 1.35;
}

.site-header nav .service-nav-menu div a:hover {
  color: var(--ds-blue, var(--blue));
  background: var(--ds-blue-soft, var(--blue-soft));
}

.site-header nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f1f8fb);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 78px) 0 clamp(36px, 6vw, 66px);
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.ad-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 4px 10px;
  border: 1px solid #c8d7de;
  border-radius: 4px;
  color: #5a6268;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  color: #162331;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.16;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  margin-bottom: 0;
  color: #34424d;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button,
.mini-button,
.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button.primary,
.mini-button {
  color: #fff;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16), 0 7px 16px rgba(222, 120, 0, 0.24);
}

.button.outline {
  border: 2px solid var(--blue);
  color: var(--blue-dark);
  background: #fff;
}

.button.wide {
  width: 100%;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 2px 0 12px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px) 280px;
  gap: 24px;
  align-items: start;
  width: min(1140px, calc(100% - 32px));
  margin: 24px auto 0;
}

.article,
.sidebar {
  min-width: 0;
}

.article {
  display: flex;
  flex-direction: column;
}

.toc-section {
  order: 1;
}

#criteria {
  order: 2;
}

#criteria .section-lead {
  text-align: center;
}

.comment-section {
  order: 3;
}

#ranking {
  order: 4;
}

.safety-checkpoint {
  padding-top: 0;
  overflow: hidden;
}

.safety-heading {
  margin: calc(clamp(18px, 3vw, 28px) * -1) calc(clamp(18px, 3vw, 28px) * -1) 18px;
  padding: 16px 22px 15px;
  background: #087fbd;
}

.safety-heading span,
.safety-heading h2 {
  color: #fff;
}

.safety-heading span {
  margin-bottom: 5px;
  font-size: 12px;
}

.safety-heading h2 {
  margin: 0;
  font-size: clamp(21px, 3.4vw, 28px);
  line-height: 1.25;
}

#advance-guide {
  order: 5;
}

.faq-section {
  order: 6;
}

#columns {
  order: 7;
}

#reference-links {
  order: 8;
}

.final-cta {
  order: 9;
}

.intro-box,
.section,
.final-cta,
.side-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.intro-box {
  padding: clamp(18px, 3vw, 28px);
  border-top: 5px solid var(--blue);
}

.intro-box h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.intro-box strong {
  color: var(--red);
  background: linear-gradient(transparent 62%, #fff1a8 0);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.trust-strip span {
  padding: 5px 9px;
  border: 1px solid #b9dcef;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #f7fcff;
  font-size: 12px;
  font-weight: 900;
}

.best-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.best-links a {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #b9dcef;
  border-radius: 6px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 900;
  text-decoration: none;
}

.best-links span {
  width: fit-content;
  padding: 1px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
}

.toc-section {
  padding: clamp(26px, 4vw, 42px) clamp(18px, 4vw, 38px);
  border-color: #edf0f2;
  background: #fff;
  box-shadow: none;
}

.toc-heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 22px;
  text-align: center;
}

.toc-heading > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.toc-section h2 {
  margin-bottom: 0;
  color: #202020;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}

.toc-section h2 span {
  color: #333;
  font-size: 18px;
  line-height: 1;
}

.toc-list,
.toc-extra {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
}

.toc-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  color: #222;
  text-decoration: none;
}

.toc-list a:hover {
  color: var(--blue-dark);
}

.toc-list a > span {
  position: relative;
  min-width: 38px;
  padding-right: 9px;
  color: #707070;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  text-align: right;
}

.toc-list a > span::after {
  content: "";
  position: absolute;
  top: 0.23em;
  right: 0;
  width: 1px;
  height: 1.15em;
  background: #9b9b9b;
}

.toc-main {
  margin-top: 12px;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 500;
  line-height: 1.45;
}

.toc-main:first-child {
  margin-top: 0;
}

.toc-sub {
  padding-left: 25px;
  color: #303030;
  font-size: clamp(14px, 1.5vw, 15px);
  font-weight: 500;
  line-height: 1.55;
}

.toc-toggle {
  display: grid;
  gap: 10px;
}

.toc-toggle summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin: 14px auto 0;
  padding: 6px 18px;
  border: 1px solid #c6ced4;
  border-radius: 999px;
  color: #333;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.toc-toggle summary::-webkit-details-marker {
  display: none;
}

.toc-toggle summary::before,
.toc-toggle summary::after {
  content: "";
  width: 28px;
  height: 1px;
  margin: 0 12px;
  background: #cfd7dc;
}

.toc-more-close {
  display: none;
}

.toc-toggle[open] .toc-more-open {
  display: none;
}

.toc-toggle[open] .toc-more-close {
  display: inline;
}

.toc-extra {
  padding-top: 2px;
}

.toc-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin: 18px auto 0;
  padding: 6px 18px;
  border: 1px solid #c6ced4;
  border-radius: 999px;
  color: #333;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.toc-more::before,
.toc-more::after {
  content: "・・・・";
  margin: 0 14px;
  color: #cfcfcf;
  letter-spacing: 2px;
}

.section {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 28px);
}

.heading {
  margin: -1px -1px 20px;
  padding: 14px 18px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.heading.blue {
  color: #fff;
  background: var(--blue);
  border-bottom-color: var(--blue-dark);
}

.heading span {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0.9;
}

.heading h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.25;
}

.diagnosis .heading {
  margin-bottom: 16px;
  padding: 10px 14px;
}

.diagnosis .heading h2 {
  font-size: clamp(20px, 2.4vw, 26px);
}

.section-lead {
  margin: 0 0 16px;
  color: #444;
  font-weight: 700;
}

.criteria-score-panel {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #cddbe4;
  border-radius: 8px;
  background: #f8fbfd;
}

.criteria-score-head {
  display: grid;
  gap: 4px;
}

.criteria-score-head span {
  width: fit-content;
  padding: 3px 9px;
  border: 1px solid #b8d1e0;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.criteria-score-head p {
  margin: 0;
  color: #34424d;
  font-weight: 800;
}

.criteria-score-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.criteria-score-list div {
  display: grid;
  grid-template-columns: minmax(96px, 0.55fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #dde8ee;
}

.criteria-score-list dt {
  color: #243544;
  font-weight: 900;
}

.criteria-score-list dd {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  color: #4c5963;
  font-size: 14px;
  line-height: 1.55;
}

.criteria-score-list b {
  color: var(--blue);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.criteria-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.criteria-detail-grid article {
  padding: 16px;
  border: 1px solid #dbe6ed;
  border-radius: 8px;
  background: #fff;
}

.criteria-detail-grid h3 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 18px;
}

.criteria-detail-grid ul,
.criteria-detail-grid p {
  margin: 0;
  color: #47545f;
  font-size: 14px;
  font-weight: 700;
}

.criteria-detail-grid ul {
  padding-left: 1.2em;
}

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

.faq-list details {
  border: 1px solid #d8e3ea;
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  padding: 14px 16px;
  color: #1e3344;
  font-weight: 900;
  line-height: 1.5;
  cursor: pointer;
}

.faq-list summary::marker {
  color: var(--blue);
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
  color: #46535d;
  font-weight: 700;
}

.detail-page {
  width: min(940px, calc(100% - 32px));
  margin: 28px auto 48px;
}

.detail-article {
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-article h1 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 46px);
}

.detail-article .lead {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(16px, 1.8vw, 19px);
}

.detail-hero-image {
  display: block;
  width: 100%;
  max-height: 420px;
  margin: 8px 0 26px;
  border: 1px solid #d9e3ea;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 14px 30px rgba(35, 48, 60, 0.12);
}

.detail-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8ee;
}

.detail-section h2 {
  margin-bottom: 10px;
  color: #1f3344;
  font-size: clamp(21px, 2.4vw, 27px);
}

.detail-section p {
  margin-bottom: 0;
  color: #46535d;
  font-weight: 700;
}

.detail-condition-section > p {
  margin-bottom: 16px;
}

.detail-check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: #394752;
  font-weight: 800;
}

.detail-review-list,
.detail-caution-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: #394752;
  font-weight: 800;
}

.detail-review-list li::marker {
  color: var(--ds-blue, var(--blue-dark));
}

.detail-caution-list li::marker {
  color: #a54520;
}

.detail-note {
  margin-top: 14px !important;
  padding: 10px 12px;
  border-left: 4px solid #d8e3ea;
  background: #f8fafb;
  color: #5b6670 !important;
  font-size: 13px;
  font-weight: 700 !important;
}

.detail-page .pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-page .pros-cons > div {
  padding: 16px;
  border: 1px solid #d8e3ea;
  border-radius: 8px;
  background: #fbfcfd;
}

.detail-page .pros-cons h3 {
  margin: 0 0 10px;
  color: #17364b;
  font-size: 16px;
}

.detail-source-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: #394752;
  font-weight: 800;
}

.detail-source-list a {
  color: var(--ds-blue, var(--blue));
}

.detail-summary {
  margin-top: 8px;
}

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

.detail-actions .service-cta {
  width: auto;
  min-width: min(100%, 300px);
  border: 2px solid var(--ds-blue, #0017c1);
  color: #fff;
  background: var(--ds-blue, #0017c1);
}

.detail-actions .service-cta::before,
.detail-actions .service-cta::after {
  display: none;
  content: none;
}

.detail-back-link {
  color: var(--blue-dark);
  font-weight: 900;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .criteria-score-list div,
  .criteria-score-list dd,
  .criteria-detail-grid {
    grid-template-columns: 1fr;
  }

  .criteria-score-panel,
  .criteria-detail-grid article {
    padding: 14px;
  }
}

.diagnosis .section-lead {
  margin-bottom: 12px;
  font-size: 13px;
}

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

.section-flow article {
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid #d7e5ed;
  border-radius: 8px;
  background: #fff;
}

.section-flow span {
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.section-flow h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.25;
}

.section-flow p {
  margin: 0;
  color: #444;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.section-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.section-route a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid #b9dcef;
  border-radius: 6px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  text-decoration: none;
}

.section-route b {
  color: #333;
  font-size: 12px;
}

.section-route span {
  font-size: 15px;
  font-weight: 900;
}

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

.recommend-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 238px;
  padding: 16px;
  border: 2px solid #d7e5ed;
  border-radius: 8px;
  color: #222;
  background: #fff;
  text-decoration: none;
}

.recommend-card.first {
  border-color: #ffc85e;
  background: linear-gradient(180deg, #fff8dc, #fff);
}

.recommend-card strong {
  color: var(--red);
  font-size: 17px;
  text-align: center;
}

.recommend-card img {
  display: block;
  max-height: 54px;
  object-fit: contain;
  margin: 0 auto;
}

.recommend-card p {
  margin: 0;
  color: #444;
  font-size: 14px;
}

.flash-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.flash-logo img:first-child {
  width: 38px;
}

.flash-logo img:last-child {
  max-width: 138px;
}

.flash-logo.big img:first-child {
  width: 48px;
}

.flash-logo.big img:last-child {
  max-width: 150px;
}

.scroll-note {
  display: none;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.top-three-compare {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.top-compare-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: start;
  padding: 16px;
  overflow: hidden;
  border: 2px solid #d7e5ed;
  border-radius: 8px;
  color: #222;
  background: #fff;
  text-decoration: none;
}

.top-compare-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(8, 118, 187, 0.08);
}

.top-compare-card span {
  width: fit-content;
  padding: 2px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.top-compare-card strong {
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.25;
}

.top-compare-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #444;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.top-compare-1 {
  border-color: #ffc85e;
  background: linear-gradient(180deg, #fff8dc, #fff);
  box-shadow: 0 10px 22px rgba(247, 166, 0, 0.16);
}

.top-compare-2 {
  border-color: #b9dcef;
  background: linear-gradient(180deg, #f7fcff, #fff);
}

.top-compare-3 {
  border-color: #f0c4a0;
  background: linear-gradient(180deg, #fff4ea, #fff);
}

.table-box {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

th,
td {
  padding: 12px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14px;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  text-align: center;
}

td:first-child,
td:last-child {
  text-align: center;
}

tbody tr.highlight {
  background: #fff8dc;
}

tbody tr.top-row {
  position: relative;
  font-weight: 800;
}

tbody tr.top-row td {
  border-top: 2px solid rgba(8, 118, 187, 0.22);
  border-bottom: 2px solid rgba(8, 118, 187, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

tbody tr.top-row td:first-child {
  border-left: 6px solid var(--red);
}

tbody tr.top-row td:nth-child(2) {
  position: relative;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
}

tbody tr.top-row td:nth-child(2)::after {
  content: "優先おすすめ";
  display: inline-flex;
  width: fit-content;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
  white-space: nowrap;
}

tbody tr.top-row .mini-button {
  min-height: 38px;
  padding-inline: 13px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 16px rgba(225, 74, 59, 0.16);
}

tbody tr.rank-gold {
  background: linear-gradient(90deg, #fff4c7, #fff8dc 45%, #fff);
}

tbody tr.rank-gold td:first-child {
  border-left-color: #f0a800;
}

tbody tr.rank-gold td:nth-child(2)::after {
  content: "最優先";
  background: #f0a800;
}

tbody tr.rank-silver {
  background: linear-gradient(90deg, #eaf7ff, #f7fcff 45%, #fff);
}

tbody tr.rank-bronze {
  background: linear-gradient(90deg, #fff0e2, #fff8f1 45%, #fff);
}

tbody b {
  color: var(--red);
}

.mini-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.text-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.vertical-compare {
  display: none;
  gap: 12px;
  margin-top: 16px;
}

.compare-card {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-card.best {
  border-color: #ffc85e;
  background: linear-gradient(180deg, #fff8dc, #fff);
}

.compare-card:nth-child(-n + 3) {
  border-width: 2px;
  border-color: rgba(8, 118, 187, 0.28);
  box-shadow: 0 10px 22px rgba(8, 118, 187, 0.08);
}

.compare-card:nth-child(-n + 3) > div:first-child::after {
  content: "優先おすすめ";
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.compare-card.best > div:first-child::after {
  content: "最優先";
  background: #f0a800;
}

.compare-card[hidden] {
  display: none;
}

.compare-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.compare-card span {
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.compare-card strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.compare-card p {
  margin: 0;
  color: #444;
  font-size: 14px;
}

.compare-card dl,
.operator-info {
  display: grid;
  gap: 6px;
  margin: 0;
}

.compare-card dl div,
.operator-info div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f6f7f8;
}

.compare-card dt,
.compare-card dd,
.operator-info dt,
.operator-info dd {
  margin: 0;
  font-size: 13px;
}

.compare-card dt,
.operator-info dt {
  color: var(--blue-dark);
  font-weight: 900;
}

.compare-card dd,
.operator-info dd {
  color: #333;
  font-weight: 800;
}

.diagnosis-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
  align-items: stretch;
}

.quiz-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  grid-column: 1;
  gap: 6px;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 0;
  background: #fff;
}

.quiz-row:first-child {
  border-radius: 8px 8px 0 0;
}

.quiz-row:nth-child(3) {
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
}

.quiz-row p {
  flex: 1 0 100%;
  margin: 0;
  color: var(--blue-dark);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.quiz-row button,
.filter-bar button {
  min-height: 34px;
  border: 1px solid #b9dcef;
  border-radius: 999px;
  color: #333;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.quiz-row button {
  width: fit-content;
  padding: 5px 11px;
}

.quiz-row button.selected,
.filter-bar button.active {
  border-color: var(--orange-dark);
  color: #fff;
  background: var(--orange-dark);
}

.diagnosis-result {
  display: grid;
  gap: 8px;
  align-content: center;
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: 12px;
  border: 2px solid #ffc85e;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8dc, #fff);
}

.diagnosis-result .result-label {
  width: fit-content;
  margin: 0;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 900;
}

.diagnosis-result h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 18px;
}

.diagnosis-result p:not(.result-label) {
  margin: 0;
  color: #444;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

.diagnosis-result .button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-bar button {
  padding: 5px 11px;
}

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

.score-grid article {
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 150px;
  padding: 14px;
  border: 1px solid #b9dcef;
  border-radius: 7px;
  background: linear-gradient(180deg, #f7fcff, #fff);
  text-align: center;
}

.score-grid span {
  display: inline-flex;
  width: fit-content;
  padding: 2px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.score-grid h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.35;
}

.score-grid p {
  margin: 0;
  color: #444;
  font-size: 13px;
  line-height: 1.65;
}

.comment-box {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 2px solid #b9dcef;
  border-radius: 8px;
  background: #f7fcff;
}

.comment-box img {
  width: 120px;
  border-radius: 8px;
}

.comment-box h2 {
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 22px;
}

.comment-box p {
  margin: 0;
  color: #444;
}

.rank-card {
  overflow: hidden;
  margin-top: 18px;
  border: 2px solid #d8e3ea;
  border-radius: 8px;
  background: #fff;
}

.rank-card.rank-1 {
  border-color: #ffc85e;
  box-shadow: 0 10px 24px rgba(247, 166, 0, 0.15);
}

.rank-card.priority-rank {
  position: relative;
  border-color: #1183bf;
  box-shadow: 0 12px 28px rgba(17, 131, 191, 0.16);
}

.rank-card.priority-rank::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #0080bd, #16a7e0);
}

.priority-rank .rank-title {
  padding-right: 190px;
  border-bottom-color: #b9dcef;
  background:
    linear-gradient(90deg, rgba(0, 128, 189, 0.1), rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #fff, #f7fcff);
}

.priority-rank .rank-badge {
  background: linear-gradient(180deg, #ff2d17, #f07f00);
  box-shadow: 0 6px 14px rgba(240, 80, 0, 0.22);
}

.priority-label {
  position: absolute;
  top: 20px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff;
  background: #0080bd;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.priority-rank .brand-panel {
  border-color: #b9dcef;
  background: #f7fcff;
}

.priority-rank .button.primary {
  background: linear-gradient(180deg, #ff9f15, #f07f00);
  box-shadow: 0 6px 14px rgba(240, 127, 0, 0.2);
}

.rank-card.compact-rank {
  border-width: 1px;
}

.compact-rank .rank-title {
  padding-top: 15px;
  padding-bottom: 13px;
  background: #fff;
}

.compact-rank .rank-title h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.compact-rank .rank-title p {
  font-size: 14px;
}

.rank-title {
  position: relative;
  padding: 18px 20px 16px 86px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fbfd);
}

.rank-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.rank-badge.medal-icon {
  width: 58px;
  height: 58px;
  background: transparent;
  color: transparent;
  border-radius: 0;
}

.rank-badge.medal-icon img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.rank-title h3 {
  margin: 0 0 2px;
  color: var(--blue-dark);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}

.rank-title p {
  margin: 0;
  color: #444;
  font-weight: 800;
}

.rank-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
}

.service-content {
  gap: 16px;
  padding: clamp(14px, 2.6vw, 20px);
}

.service-visual {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: clamp(14px, 2.4vw, 20px);
  border: 1px solid #d6e4ec;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fcff, #fff);
}

.rank-1 .service-visual {
  border-color: #f1d27d;
  background: linear-gradient(180deg, #fff9e8, #fff);
}

.service-logo-wrap {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 14px;
  border: 1px solid #dbe6ec;
  border-radius: 7px;
  background: #fff;
}

.service-logo-wrap img {
  max-height: 62px;
  object-fit: contain;
}

.service-logo-wrap .flash-logo {
  flex-wrap: wrap;
}

.visual-kicker {
  width: fit-content;
  margin: 0 0 7px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #155678;
  background: #e7f4fa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.rank-1 .visual-kicker {
  color: #785207;
  background: #fff1bf;
}

.service-visual h4,
.service-notes h4,
.company-info h4,
.voice-box h4 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
}

.service-visual p:last-child {
  margin: 6px 0 0;
  color: #354754;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.service-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-summary div {
  display: grid;
  align-content: start;
  min-height: 86px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.service-summary div:last-child {
  border-right: 0;
}

.service-summary dt,
.service-summary dd {
  margin: 0;
  padding: 8px 10px;
  text-align: center;
}

.service-summary dt {
  color: #526674;
  background: #f3f8fb;
  font-size: 12px;
  font-weight: 900;
}

.service-summary dd {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: #17364b;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.service-notes,
.company-info,
.voice-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-notes ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.service-notes li {
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.company-info {
  background: #f7fbf9;
}

.company-info dl {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  border-top: 1px solid #d7e4dc;
}

.company-info dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  border-bottom: 1px solid #d7e4dc;
}

.company-info dt,
.company-info dd {
  margin: 0;
  padding: 9px 10px;
  color: #33433b;
  font-size: 13px;
  line-height: 1.55;
}

.company-info dt {
  font-weight: 900;
}

.company-info dd {
  font-weight: 700;
}

.voice-list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.voice-list blockquote {
  margin: 0;
  padding: 12px 13px;
  border-left: 3px solid #c9dce8;
  background: #fbfcfd;
}

.voice-list b {
  display: block;
  margin-bottom: 4px;
  color: #17364b;
  font-size: 13px;
}

.voice-list p {
  margin: 0;
  color: #424242;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.voice-note {
  margin: 10px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
}

.service-link {
  justify-self: start;
}

.brand-panel {
  display: grid;
  grid-template-columns: minmax(140px, 210px) minmax(0, 1fr) auto;
  gap: 14px;
  align-content: center;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
}

.brand-panel img {
  max-height: 52px;
  object-fit: contain;
}

.brand-panel p {
  margin: 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.brand-panel .button {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 13px;
  white-space: nowrap;
}

.text-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid #c8dce8;
  border-radius: 6px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.points {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding-left: 25px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.specs {
  display: grid;
  margin: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.pros-cons div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
}

.pros-cons b {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
}

.pros-cons p {
  margin: 0;
  color: #444;
  font-size: 13px;
  font-weight: 700;
}

.specs div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.specs dt,
.specs dd {
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
}

.specs dt {
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 900;
}

.cta-copy {
  margin: 12px 0 8px;
  color: var(--red);
  font-weight: 900;
  text-align: center;
}

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

.lower-rank-card,
.plan-list article {
  position: relative;
  padding: 14px 14px 14px 58px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
}

.lower-rank-card span {
  position: absolute;
  top: 16px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 900;
}

.lower-rank-card h3,
.plan-list h3 {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.35;
}

.lower-rank-card p,
.plan-list p {
  margin: 0 0 10px;
  color: #444;
  font-size: 13px;
  line-height: 1.65;
}

.lower-rank-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
}

.lower-rank-facts div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.lower-rank-facts dt,
.lower-rank-facts dd {
  margin: 0;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.45;
}

.lower-rank-facts dt {
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 900;
}

.lower-rank-facts dd {
  color: #444;
  font-weight: 700;
}

.plan-list article {
  padding-left: 16px;
  border-left: 5px solid var(--blue);
}

.check-list {
  display: grid;
  gap: 10px;
  counter-reset: check;
}

.check-list article {
  position: relative;
  min-height: 92px;
  padding: 15px 16px 15px 62px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
  counter-increment: check;
}

.check-list article::before {
  content: counter(check);
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange-dark);
  font-size: 14px;
  font-weight: 900;
}

.check-list h3 {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.35;
}

.check-list p {
  margin: 0;
  color: #444;
  font-size: 14px;
}

.safety-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.safety-layout img {
  width: 150px;
  border-radius: 8px;
  background: #fff;
}

.safety-layout ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety-layout li {
  position: relative;
  padding-left: 26px;
  color: #333;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.safety-layout li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.policy-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #b9dcef;
  border-left: 5px solid var(--blue);
  border-radius: 7px;
  background: #f7fcff;
}

.policy-box p {
  margin: 0;
  color: #444;
  font-weight: 700;
}

.operator-info {
  margin-top: 4px;
}

.loan-guide {
  display: grid;
  gap: 20px;
}

.compact-lead {
  max-width: 760px;
}

.advance-about-section {
  display: grid;
  gap: 16px;
}

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

.advance-about-grid article {
  display: grid;
  gap: 9px;
  justify-items: center;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  text-align: center;
}

.advance-about-grid img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.advance-about-grid h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 19px;
  line-height: 1.35;
}

.advance-about-grid p {
  margin: 0;
  color: #444;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.65;
}

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

.benefit-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.benefit-card img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.benefit-generated-icon {
  display: block;
  width: 78px;
  height: 78px;
  background-image: url("assets/generated/benefit-icons/benefit-icon-set-v123.png");
  background-repeat: no-repeat;
  background-size: 220px auto;
}

.benefit-generated-icon-payment {
  background-position: left center;
}

.benefit-generated-icon-phone {
  background-position: center center;
}

.benefit-generated-icon-ticket {
  background-position: right center;
}

.benefit-card h3,
.simple-card-grid h3,
.criteria-mini-grid h3,
.sub-guide h2 {
  margin: 0;
  color: var(--blue-dark);
}

.benefit-card p,
.simple-card-grid p,
.criteria-mini-grid p,
.sub-guide p,
.criteria-list dd {
  margin: 0;
  color: #444;
  line-height: 1.65;
}

.benefit-card p,
.simple-card-grid p,
.criteria-mini-grid p {
  font-size: 14px;
  font-weight: 800;
}

.sub-guide {
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 0 0 18px;
  border: 1px solid #b9dcef;
  border-radius: 8px;
  background: #fff;
}

.sub-guide h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
}

.sub-guide-title {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-bottom: 1px solid #d4e7f1;
  background: #f4fbff;
}

.sub-guide-title span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.sub-guide > :not(h2) {
  margin-right: 18px;
  margin-left: 18px;
}

.sub-guide > .sub-guide-title {
  margin-right: 0;
  margin-left: 0;
}

.sub-guide-lead {
  color: #333;
  font-weight: 700;
}

.simple-card-grid,
.criteria-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.simple-card-grid article,
.criteria-mini-grid article {
  display: grid;
  gap: 9px;
  align-content: start;
  min-height: 164px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.simple-card-grid img,
.criteria-mini-grid img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.criteria-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.criteria-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.criteria-list dt {
  padding: 13px 14px;
  color: var(--blue-dark);
  background: #eef7fc;
  font-weight: 900;
}

.criteria-list dd {
  padding: 13px 14px;
}

.summary-box {
  border-color: #b9dcef;
  background: #fff;
}

.summary-box .sub-guide-title {
  padding: 14px 18px 16px;
  background: #eef8fd;
}

.summary-box .sub-guide-title h2 {
  font-size: clamp(24px, 3vw, 29px);
  line-height: 1.22;
}

.summary-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
}

.summary-choice-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 9px;
  min-height: 226px;
  padding: 18px 18px 17px;
  border: 1px solid #c9d8db;
  border-radius: 8px;
  border-top: 4px solid var(--blue);
  background: #fff;
  box-shadow: 0 8px 18px rgba(12, 57, 78, 0.06);
}

.summary-choice-grid b {
  margin: 0;
  color: var(--blue-dark);
  font-size: 15px;
  line-height: 1.35;
}

.summary-choice-grid span {
  color: #333;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
}

.summary-choice-grid p {
  margin: 0;
  color: #4a5457;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.58;
}

.summary-choice-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 7px;
  color: #fff;
  background: #245a68;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.summary-choice-grid a:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.summary-choice-card-primary {
  border-top-color: #246070;
  background: linear-gradient(180deg, #f7fbfc 0%, #fff 36%);
}

.summary-choice-card-speed {
  border-top-color: #31718c;
  background: linear-gradient(180deg, #f5fbfd 0%, #fff 36%);
}

.summary-choice-card-rate {
  border-top-color: #2f6f8f;
  background: linear-gradient(180deg, #f4fbff 0%, #fff 36%);
}

.summary-choice-card-primary a {
  background: #245a68;
}

.summary-choice-card-speed a {
  background: #31718c;
}

.summary-choice-card-rate a {
  background: #2f6f8f;
}

.final-ranking {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.final-ranking a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #ffc85e;
  border-radius: 7px;
  color: var(--blue-dark);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.final-ranking span {
  width: fit-content;
  padding: 1px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
}

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-list section {
  padding: 16px;
  border-left: 5px solid var(--blue);
  border-radius: 6px;
  background: #fbfcfd;
}

.topic-list h3 {
  margin-bottom: 6px;
  font-size: 21px;
}

.topic-list p {
  margin-bottom: 6px;
  color: #444;
}

.topic-list a {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: grid;
  gap: 8px;
  min-height: 104px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-weight: 800;
}

.flow li span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--blue-dark);
  font-weight: 900;
}

.faq p {
  margin: 0;
  padding: 0 16px 16px;
  color: #444;
}

.final-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 22px 0 90px;
  padding: 24px;
  border-color: #ffc85e;
  background: linear-gradient(180deg, #fff8dc, #fff);
  text-align: center;
}

.final-cta p {
  margin: 0;
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.sidebar {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 14px;
}

.side-box {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.side-title,
.side-box.cta p {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 900;
}

.side-box a:not(.button) {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: #333;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.side-box a:not(.button):last-child {
  border-bottom: 0;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: 0 10px 24px rgba(30, 45, 62, 0.22);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-inner,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .recommend-grid,
  .top-three-compare,
  .best-links,
  .score-grid,
  .section-flow,
  .section-route,
  .advance-about-grid,
  .loan-card-grid,
  .summary-point-grid {
    grid-template-columns: 1fr;
  }

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

  .diagnosis-panel {
    grid-template-columns: 1fr;
  }

  .diagnosis-result {
    position: static;
    grid-column: auto;
    grid-row: auto;
  }

  .brand-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .brand-panel .button {
    width: min(100%, 320px);
  }
}

@media (max-width: 720px) {
  .site-header nav {
    display: none;
  }

  .hero-inner,
  .page-grid {
    width: min(100% - 24px, 1140px);
  }

  h1 {
    font-size: 32px;
  }

  .intro-box,
  .section {
    padding: 16px;
  }

  .toc-section {
    padding: 22px 16px;
  }

  .toc-section h2 {
    margin-bottom: 20px;
  }

  .toc-list {
    gap: 11px;
  }

  .toc-list a > span {
    min-width: 36px;
  }

  .toc-sub {
    padding-left: 10px;
    font-size: 13px;
  }

  .toc-more::before,
  .toc-more::after {
    margin: 0 8px;
    letter-spacing: 1px;
  }

  .heading {
    margin: -16px -16px 16px;
    padding: 12px 14px;
  }

  .scroll-note {
    display: inline-flex;
  }

  .table-box {
    display: block;
  }

  .vertical-compare {
    display: none;
  }

  .comment-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .comment-box img {
    margin: 0 auto;
  }

  .rank-title {
    min-height: 72px;
    padding: 13px 14px 13px 78px;
  }

  .priority-rank .rank-title {
    padding: 50px 14px 13px 78px;
  }

  .priority-label {
    top: 13px;
    right: 14px;
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
  }

  .compact-rank .rank-title {
    padding: 13px 14px 13px 78px;
  }

  .rank-badge {
    top: 13px;
    left: 14px;
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .rank-title h3,
  .compact-rank .rank-title h3 {
    font-size: 22px;
  }

  .rank-title p,
  .compact-rank .rank-title p {
    font-size: 13px;
    line-height: 1.45;
  }

  .rank-content {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .brand-panel {
    gap: 10px;
    padding: 12px;
  }

  .brand-panel img,
  .text-logo {
    max-width: 220px;
  }

  .points li {
    font-size: 13px;
  }

  .cta-copy {
    margin-top: 10px;
    font-size: 13px;
  }

  .specs div {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .specs dt {
    border-bottom: 1px solid var(--line);
  }

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

  .safety-layout {
    grid-template-columns: 1fr;
  }

  .safety-layout img {
    margin: 0 auto;
  }

  .lower-ranking,
  .plan-list {
    grid-template-columns: 1fr;
  }

  .final-ranking {
    grid-template-columns: 1fr;
  }

  .compare-card dl div,
  .operator-info div,
  .criteria-list div {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    position: static;
    width: calc(100% - 24px);
    margin: 18px 12px 12px;
  }
}

/* Section 5 top-three emphasis. */
#ranking .priority-rank {
  border-color: #8fbfd2;
  background: linear-gradient(180deg, #fbfdff 0%, #fff 48%);
  box-shadow: 0 10px 22px rgba(20, 63, 92, 0.1);
}

#ranking .priority-rank .rank-title {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 20px 22px;
  background: linear-gradient(90deg, #edf7fb 0%, #fff 72%);
}

#ranking .priority-rank .rank-title h3 {
  color: #0b567b;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
}

#ranking .priority-rank .rank-title p {
  grid-column: 2;
  color: #2f5366;
  font-size: 15px;
}

#ranking .rank-badge.medal,
#ranking .priority-rank .rank-badge.medal {
  position: static;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: #fff;
  line-height: 1;
  text-align: center;
  box-shadow: 0 7px 16px rgba(40, 62, 70, 0.18);
}

#ranking .rank-badge.medal small {
  display: block;
  font-size: 24px;
  font-weight: 900;
}

#ranking .rank-badge.medal b {
  display: block;
  margin-top: -3px;
  font-size: 11px;
  font-weight: 900;
}

#ranking .medal-gold {
  background: linear-gradient(145deg, #f7c747, #c98b18);
}

#ranking .medal-silver {
  background: linear-gradient(145deg, #dce5ec, #8799a6);
}

#ranking .medal-bronze {
  background: linear-gradient(145deg, #d79958, #9c5d2a);
}

#ranking .priority-rank .summary-highlight dt {
  color: #0b567b;
  background: #e8f6fc;
}

#ranking .priority-rank .summary-highlight dd {
  color: #b85a00;
  background: #fffaf0;
  font-size: 17px;
  font-weight: 900;
}

#ranking .service-notes mark {
  padding: 0 2px 2px;
  color: #0a5d84;
  background: linear-gradient(transparent 62%, #cdeffd 0);
  font-weight: 900;
}

#ranking .priority-rank .service-cta {
  justify-self: center;
  width: min(100%, 340px);
  min-height: 56px;
  padding: 13px 20px;
  border-color: #0b72a9;
  color: #fff;
  background: linear-gradient(180deg, #0d86c3, #075f98);
  font-size: 16px;
  box-shadow: 0 9px 18px rgba(7, 95, 152, 0.18);
}

@media (max-width: 720px) {
  #ranking .priority-rank .rank-title {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
  }

  #ranking .rank-badge.medal,
  #ranking .priority-rank .rank-badge.medal {
    width: 50px;
    height: 50px;
  }

  #ranking .priority-rank .rank-title h3 {
    font-size: 28px;
  }
}

/* Final blogger-style overrides. */
:root {
  --ink: #222421;
  --muted: #666b66;
  --line: #d9ded8;
  --blue: #315f74;
  --blue-dark: #254c5d;
  --blue-soft: #f3f6f5;
  --orange: #315f74;
  --orange-dark: #315f74;
  --yellow-soft: #faf7ea;
  --red: #6d4f4b;
  --bg: #f7f7f4;
  --shadow: none;
}

body {
  background: var(--bg);
}

.site-header {
  position: static;
  box-shadow: none;
}

.site-header nav a {
  padding: 3px 0;
  border-radius: 0;
}

.site-header nav a:hover {
  background: transparent;
  text-decoration: underline;
}

.hero {
  background: #fff;
}

.hero-inner {
  width: min(900px, calc(100% - 32px));
  text-align: left;
}

.hero-copy {
  justify-items: start;
}

.lead {
  max-width: 680px;
  font-weight: 500;
}

.ad-label {
  border-color: var(--line);
  color: var(--muted);
  background: #fff;
}

.page-grid {
  display: block;
  width: min(920px, calc(100% - 32px));
}

.section,
.toc-section,
.final-cta,
.side-box {
  border-radius: 4px;
  box-shadow: none;
}

.toc-section h2 {
  gap: 0;
}

.section {
  margin-top: 18px;
}

.heading,
.heading.blue,
.safety-heading {
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.heading span,
.heading.blue span,
.safety-heading span {
  color: var(--muted);
}

.button,
.mini-button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--blue-dark);
  background: transparent;
  box-shadow: none;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button.primary,
.button.outline,
.mini-button,
.source-link,
tbody tr.top-row .mini-button,
.priority-rank .button.primary {
  color: var(--blue-dark);
  background: transparent;
  box-shadow: none;
}

.score-grid article,
.section-flow article,
.recommend-card,
.top-compare-card,
.compare-card,
.rank-card,
.brand-panel,
.pros-cons div,
.specs div,
.check-list article,
.loan-card-grid article,
.caution-list article {
  border-color: var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.score-grid article {
  min-height: auto;
}

.score-grid span,
.section-flow span,
.rank-badge {
  color: var(--muted);
  background: transparent;
}

.table-box {
  border-radius: 4px;
}

th {
  color: var(--ink);
  background: #f0f3f2;
}

tbody tr.highlight,
tbody tr.rank-gold,
tbody tr.rank-silver,
tbody tr.rank-bronze {
  background: #fff;
}

tbody tr.top-row td,
tbody tr.rank-gold td,
tbody tr.rank-silver td,
tbody tr.rank-bronze td {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

tbody tr.top-row td:first-child {
  border-left: 0;
}

tbody tr.top-row td:nth-child(2) {
  color: var(--ink);
}

tbody tr.top-row td:nth-child(2)::after,
.priority-label,
.vertical-compare,
.final-cta,
.sidebar,
.sticky-cta,
.section-plan,
.diagnosis,
.cta-copy {
  display: none;
}

.rank-card {
  overflow: hidden;
}

.rank-title,
.compact-rank .rank-title,
.priority-rank .rank-title {
  min-height: auto;
  padding: 18px;
  background: #fff;
}

.rank-title::before {
  display: none;
}

.rank-badge,
.priority-rank .rank-badge {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin-bottom: 8px;
  border-radius: 0;
  font-size: 13px;
  text-align: left;
}

.rank-title h3,
.compact-rank .rank-title h3 {
  color: var(--ink);
}

.rank-content {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.brand-panel {
  align-content: start;
  gap: 10px;
  padding: 0;
  border: 0;
}

.brand-panel .button {
  width: auto;
}

.points li::before {
  color: var(--muted);
}

.safety-layout {
  grid-template-columns: 1fr;
}

@media (max-width: 720px) {
  .hero-inner,
  .page-grid {
    width: min(100% - 24px, 920px);
  }

  .rank-content {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    width: calc(100% - 24px);
    max-width: 920px;
  }

  h1 {
    max-width: 340px;
    font-size: 30px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .lead {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
}

/* Section 5 expanded service reviews. */
.service-review .rank-content {
  grid-template-columns: 1fr;
}

.section,
.rank-card,
.rank-content,
.service-content,
.service-visual,
.service-visual > div,
.service-summary,
.service-notes,
.company-info,
.voice-box {
  min-width: 0;
  max-width: 100%;
}

#ranking,
#ranking * {
  white-space: normal;
}

#ranking .flash-logo {
  white-space: normal;
}

.service-review .rank-title {
  border-bottom-color: var(--line);
}

.section h2,
.rank-title h3,
.rank-title p,
.safety-layout li,
.service-visual h4,
.service-visual p,
.service-summary dd,
.service-notes li,
.company-info dd,
.voice-list p {
  overflow-wrap: anywhere;
}

.service-review .rank-badge {
  color: var(--muted);
}

.service-visual,
.service-logo-wrap,
.service-summary,
.service-notes,
.company-info,
.voice-box {
  border-color: var(--line);
  border-radius: 4px;
  box-shadow: none;
}

.service-visual,
.rank-1 .service-visual {
  background: #fff;
}

.visual-kicker,
.rank-1 .visual-kicker {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.service-summary dt {
  color: var(--muted);
  background: #f4f6f5;
}

.service-summary dd {
  color: var(--ink);
}

.service-summary .appeal {
  border-color: rgba(185, 92, 25, 0.42);
  background: #fff4dd;
}

.service-summary .appeal dt {
  color: #7f3f0b;
  background: #f4d79a;
}

.service-summary .appeal dd {
  color: #8f310f;
  font-weight: 950;
}

.point-line {
  color: #123f60;
  font-weight: 950;
  background: linear-gradient(transparent 58%, rgba(255, 192, 73, 0.72) 58%);
}

.company-info {
  background: #fbfcfa;
}

.voice-list blockquote {
  border-left-color: var(--line);
  background: #fbfcfd;
}

.service-link {
  min-height: auto;
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#ranking .priority-rank {
  border-color: #a9ccd9;
  box-shadow: 0 8px 18px rgba(20, 63, 92, 0.08);
}

#ranking .priority-rank::before {
  height: 4px;
  background: #6aa6bd;
}

#ranking .priority-rank .rank-title {
  padding-right: 16px;
  background: #fbfdfe;
}

#ranking .priority-rank .rank-title h3 {
  color: #0f3f5d;
  font-size: clamp(28px, 3.2vw, 36px);
}

#ranking .priority-rank .rank-title p {
  color: #2f5366;
}

#ranking .priority-rank .rank-badge {
  color: #fff;
  background: #2f6f8c;
  box-shadow: none;
}

#ranking .priority-rank .service-summary dd {
  color: #0f3f5d;
  font-size: 16px;
}

#ranking .priority-rank .visual-kicker {
  color: #0f3f5d;
  background: #e6f1f6;
}

.service-cta {
  justify-self: center;
  min-width: min(100%, 240px);
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #b8d2df;
  border-radius: 4px;
  color: #123d59;
  background: #f7fbfd;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

.service-cta::after {
  content: none;
}

.priority-cta {
  width: min(100%, 430px);
  min-height: 68px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-color: #a54520;
  color: #fff;
  background: linear-gradient(180deg, #b94e28, #8f321c);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.25;
  box-shadow: 0 10px 22px rgba(143, 50, 28, 0.24);
}

.priority-cta::before {
  content: attr(data-recommendation);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 12px;
  border-radius: 999px;
  color: #8f321c;
  background: #fff7dc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

#ranking .priority-rank.rank-1 {
  border-color: rgba(186, 125, 20, 0.54);
  background: linear-gradient(180deg, #fffaf0, #fff);
}

#ranking .priority-rank:nth-of-type(2) {
  border-color: rgba(76, 116, 148, 0.42);
}

#ranking .priority-rank:nth-of-type(3) {
  border-color: rgba(165, 94, 40, 0.42);
}

#ranking .priority-rank .service-summary .appeal {
  background: #ffe9bd;
}

#ranking .priority-rank .service-summary .appeal dt {
  color: #fff;
  background: #a54520;
}

#ranking .priority-rank .service-summary .appeal dd {
  color: #7e2511;
  font-size: 18px;
}

#ranking .priority-rank .point-line {
  color: #0b3858;
  background: linear-gradient(transparent 54%, rgba(255, 183, 46, 0.9) 54%);
}

.service-logo-wrap img[src$=".svg"],
.service-logo-wrap img[src$=".jpg"],
.service-logo-wrap img[src$=".webp"] {
  width: 100%;
  max-width: 170px;
}

.service-logo-wrap img[src$=".webp"] {
  max-width: 190px;
  max-height: 98px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .mobile-break {
    display: block;
  }

  #ranking .heading h2,
  #ranking .service-visual h4,
  #ranking .service-visual p,
  #ranking .service-summary dd,
  .safety-layout li {
    word-break: break-all;
    line-break: anywhere;
  }

  .service-visual {
    grid-template-columns: 1fr;
  }

  .service-logo-wrap {
    justify-items: start;
    min-height: auto;
  }

  .service-summary {
    grid-template-columns: 1fr;
  }

  .service-summary div {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-summary div:last-child {
    border-bottom: 0;
  }

  .service-summary dt,
  .service-summary dd {
    display: block;
    min-height: auto;
    text-align: left;
  }

  .company-info dl div {
    grid-template-columns: 1fr;
  }

  .company-info dt {
    padding-bottom: 0;
  }
}

/* Section 5 image-first ranking layout. */
#ranking .service-review {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#ranking .service-review .rank-title {
  order: 2;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

#ranking .service-review .rank-title h3 {
  margin: 0;
  color: #17364b;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 950;
}

#ranking .service-review .rank-title p {
  grid-column: 2;
  color: #526170;
  font-size: 14px;
  font-weight: 800;
}

#ranking .service-review .rank-content {
  display: contents;
}

#ranking .service-review .service-visual {
  order: 1;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  margin: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #f8fbfd, #fff 62%);
}

#ranking .service-review .service-summary {
  order: 3;
  margin: 18px clamp(14px, 2.6vw, 20px) 0;
}

#ranking .service-review .service-notes {
  order: 4;
  margin: 14px clamp(14px, 2.6vw, 20px) 0;
}

#ranking .service-review .company-info {
  order: 5;
  margin: 14px clamp(14px, 2.6vw, 20px) 0;
}

#ranking .service-review .voice-box {
  order: 6;
  margin: 14px clamp(14px, 2.6vw, 20px) 0;
}

#ranking .service-review .service-cta {
  order: 7;
  margin: 18px auto clamp(16px, 2.6vw, 22px);
}

#ranking .service-logo-wrap {
  min-height: 120px;
  padding: 18px;
  border-color: #cfdbe3;
  background: #fff;
}

#ranking .service-logo-wrap img {
  width: 100%;
  max-width: 220px;
  max-height: 96px;
}

#ranking .service-logo-wrap img[src$=".webp"],
#ranking .service-logo-wrap img[src$=".jpg"],
#ranking .service-logo-wrap img[src$=".svg"] {
  width: 100%;
  max-width: 230px;
  max-height: 104px;
  object-fit: contain;
}

#ranking .priority-rank {
  border-width: 2px;
  background: #fff;
}

#ranking .priority-rank.rank-1 {
  border-color: #c48a16;
}

#ranking .priority-rank:nth-of-type(2) {
  border-color: #7c93a5;
}

#ranking .priority-rank:nth-of-type(3) {
  border-color: #a76432;
}

#ranking .priority-rank .service-visual {
  background: linear-gradient(90deg, #fff5dc, #fff 62%);
}

#ranking .priority-rank:nth-of-type(2) .service-visual {
  background: linear-gradient(90deg, #eef4f8, #fff 62%);
}

#ranking .priority-rank:nth-of-type(3) .service-visual {
  background: linear-gradient(90deg, #fff0e4, #fff 62%);
}

#ranking .priority-rank .rank-title {
  border-top-color: rgba(36, 54, 75, 0.12);
  background: #fff;
}

#ranking .priority-rank .rank-title h3 {
  color: #0b567b;
  font-size: clamp(30px, 4vw, 44px);
}

#ranking .priority-rank.rank-1 .rank-title h3 {
  color: #8a5307;
}

#ranking .priority-rank:nth-of-type(2) .rank-title h3 {
  color: #355e78;
}

#ranking .priority-rank:nth-of-type(3) .rank-title h3 {
  color: #82502b;
}

#ranking .rank-badge.medal-icon,
#ranking .priority-rank .rank-badge.medal-icon {
  position: static;
  width: 70px;
  height: 70px;
}

#ranking .rank-badge.medal-icon img,
#ranking .priority-rank .rank-badge.medal-icon img {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 7px 12px rgba(82, 54, 18, 0.2));
}

#ranking .rank-badge:not(.medal-icon) {
  position: static;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #355f7c;
  font-size: 15px;
}

#ranking .service-summary .appeal {
  border-color: #b95c19;
  background: #fff0ca;
}

#ranking .service-summary .appeal dt {
  color: #fff;
  background: #9a4319;
}

#ranking .service-summary .appeal dd {
  color: #7b240d;
  background: #fff6df;
  font-size: 17px;
  font-weight: 950;
}

#ranking .priority-rank .service-summary .appeal {
  border-color: #8f321c;
  background: #ffe1a3;
}

#ranking .priority-rank .service-summary .appeal dt {
  background: #8f321c;
}

#ranking .priority-rank .service-summary .appeal dd {
  color: #641a08;
  background: #fff1c8;
  font-size: clamp(18px, 2vw, 21px);
}

#ranking .point-line {
  color: #0b3858;
  background: linear-gradient(transparent 50%, rgba(255, 190, 48, 0.95) 50%);
  font-weight: 950;
}

#ranking .service-cta {
  width: min(100%, 300px);
  min-height: 46px;
  border-color: #a9c5d2;
  color: #123d59;
  background: #f6fbfd;
  box-shadow: none;
}

#ranking .priority-rank .priority-cta {
  width: min(100% - 28px, 460px);
  min-height: 70px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-color: #8a321e;
  color: #fff;
  background: linear-gradient(180deg, #c5532b, #8f321c);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.25;
  box-shadow: 0 12px 24px rgba(143, 50, 28, 0.24);
}

#ranking .priority-rank .priority-cta::before {
  content: attr(data-recommendation);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 12px;
  border-radius: 999px;
  color: #8f321c;
  background: #fff7dc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

#ranking #ticket-center .priority-cta {
  border-color: #9f6a13;
  background: linear-gradient(180deg, #c8942c 0%, #9f6a13 100%);
  box-shadow: 0 12px 24px rgba(159, 106, 19, 0.24);
}

#ranking #ticket-center .priority-cta::before {
  color: #7a4f0c;
  background: #fff5d2;
}

#ranking #flash-ticket .priority-cta {
  border-color: #667685;
  background: linear-gradient(180deg, #8c9ba8 0%, #5f6f7e 100%);
  box-shadow: 0 12px 24px rgba(95, 111, 126, 0.2);
}

#ranking #flash-ticket .priority-cta::before {
  color: #4f5f6f;
  background: #f3f7fa;
}

#ranking #premium-ticket .priority-cta {
  border-color: #98613a;
  background: linear-gradient(180deg, #b5794d 0%, #89522f 100%);
  box-shadow: 0 12px 24px rgba(137, 82, 47, 0.22);
}

#ranking #premium-ticket .priority-cta::before {
  color: #744321;
  background: #fff0e5;
}

@media (max-width: 720px) {
  #ranking .service-review .service-visual {
    grid-template-columns: 1fr;
  }

  #ranking .service-review .rank-title {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 16px;
  }

  #ranking .service-review .rank-title p {
    grid-column: 1 / -1;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 58px;
    height: 58px;
  }

  #ranking .service-logo-wrap {
    justify-items: center;
  }
}

/* Section 5 rebuild: official LP FV image first, then rank/service details. */
#ranking .service-review {
  overflow: hidden;
  border: 1px solid #d8e3ea;
  border-radius: 8px;
  background: #fff;
}

#ranking .service-review .service-visual {
  order: 1;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: #eef5f8;
}

#ranking .service-review .service-visual::before {
  display: none;
}

#ranking .service-fv-wrap {
  display: block;
  width: 100%;
  margin: 0;
  background: #eef5f8;
}

#ranking .service-fv-shot {
  display: block;
  width: 100%;
  aspect-ratio: 1365 / 720;
  object-fit: cover;
  object-position: top center;
}

#ranking .service-visual-copy {
  display: none;
}

#ranking .service-review .rank-title {
  order: 2;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  padding: 20px clamp(18px, 3vw, 34px);
  border-top: 1px solid #d8e3ea;
  border-bottom: 1px solid #e8eef2;
  background: #fff;
}

#ranking .service-review .rank-title h3 {
  margin: 0;
  color: #17364b;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.18;
  font-weight: 950;
}

#ranking .service-review .rank-title p {
  grid-column: 2;
  margin: 0;
  color: #526170;
  font-size: 14px;
  font-weight: 800;
}

#ranking .priority-rank .rank-title {
  min-height: auto;
  background: linear-gradient(90deg, #fffaf0, #fff);
}

#ranking .priority-rank.rank-1 .rank-title {
  border-top: 4px solid #c48a16;
}

#ranking .priority-rank:nth-of-type(2) .rank-title {
  border-top: 4px solid #8096a7;
}

#ranking .priority-rank:nth-of-type(3) .rank-title {
  border-top: 4px solid #a66534;
}

#ranking .rank-badge.medal-icon,
#ranking .priority-rank .rank-badge.medal-icon,
#ranking .rank-badge.medal-icon img,
#ranking .priority-rank .rank-badge.medal-icon img {
  width: 76px;
  height: 76px;
}

#ranking .rank-badge:not(.medal-icon) {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #355f7c;
  color: #fff;
  font-size: 16px;
}

#ranking .service-review .service-summary {
  order: 3;
  margin: 18px clamp(14px, 2.6vw, 22px) 0;
}

#ranking .service-review .service-notes {
  order: 4;
  margin: 14px clamp(14px, 2.6vw, 22px) 0;
}

#ranking .service-review .company-info {
  order: 5;
  margin: 14px clamp(14px, 2.6vw, 22px) 0;
}

#ranking .service-review .voice-box {
  order: 6;
  margin: 14px clamp(14px, 2.6vw, 22px) 0;
}

#ranking .service-review .service-cta {
  order: 7;
  margin: 20px auto clamp(18px, 3vw, 28px);
}

@media (max-width: 720px) {
  #ranking .service-fv-shot {
    aspect-ratio: 390 / 260;
  }

  #ranking .service-review .rank-title {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 16px;
  }

  #ranking .service-review .rank-title p {
    grid-column: 1 / -1;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img,
  #ranking .rank-badge:not(.medal-icon) {
    width: 62px;
    height: 62px;
  }
}

/* Section 5 benchmark-like service banner layout. */
#ranking .service-review .service-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(310px, 0.78fr);
  grid-template-rows: auto auto;
  align-items: center;
  min-height: clamp(260px, 30vw, 360px);
  overflow: hidden;
  padding: clamp(20px, 3.2vw, 42px);
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(246, 252, 255, 0.05), rgba(246, 252, 255, 0.3) 36%, rgba(255, 255, 255, 0.84) 64%),
    url("assets/hero-ticket-buyback.png") left center / cover no-repeat;
}

#ranking .service-review .service-visual::before {
  content: "";
  position: absolute;
  top: clamp(24px, 3vw, 44px);
  right: clamp(18px, 3vw, 46px);
  bottom: clamp(24px, 3vw, 44px);
  width: min(48%, 500px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(20, 52, 79, 0.14);
  backdrop-filter: blur(2px);
}

#ranking .service-review .service-logo-wrap {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  min-height: 58px;
  padding: 0 clamp(18px, 2vw, 30px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

#ranking .service-review .service-logo-wrap img {
  max-width: min(100%, 250px);
  max-height: 58px;
}

#ranking .service-review .service-visual > div:not(.service-logo-wrap) {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  padding: 0 clamp(18px, 2vw, 30px) clamp(10px, 1.3vw, 18px);
}

#ranking .service-review .service-visual h4 {
  margin-top: 8px;
  color: #073b57;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.22;
}

#ranking .service-review .service-visual p:not(.visual-kicker) {
  color: #123f59;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 900;
}

#ranking .service-review .visual-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 4px;
  color: #075a8f;
  background: #e5f5fb;
  font-size: 12px;
  font-weight: 950;
}

#ranking .service-review .rank-title {
  padding: 20px clamp(20px, 3vw, 34px);
}

#ranking .priority-rank .rank-title {
  min-height: 122px;
}

#ranking .priority-rank .rank-title h3 {
  font-size: clamp(34px, 4.2vw, 50px);
}

#ranking .rank-badge.medal-icon,
#ranking .priority-rank .rank-badge.medal-icon,
#ranking .rank-badge.medal-icon img,
#ranking .priority-rank .rank-badge.medal-icon img {
  width: 82px;
  height: 82px;
}

@media (max-width: 720px) {
  #ranking .service-review .service-visual {
    grid-template-columns: 1fr;
    min-height: 255px;
    padding: 18px;
    background:
      linear-gradient(90deg, rgba(246, 252, 255, 0.14), rgba(255, 255, 255, 0.82)),
      url("assets/hero-ticket-buyback.png") center center / cover no-repeat;
  }

  #ranking .service-review .service-visual::before {
    inset: auto 16px 18px 16px;
    width: auto;
    height: 152px;
  }

  #ranking .service-review .service-logo-wrap,
  #ranking .service-review .service-visual > div:not(.service-logo-wrap) {
    grid-column: 1;
    padding-inline: 16px;
  }

  #ranking .service-review .service-logo-wrap {
    grid-row: 1;
    align-self: end;
    min-height: 48px;
    margin-top: 86px;
  }

  #ranking .service-review .service-logo-wrap img {
    max-height: 44px;
  }

  #ranking .service-review .service-visual > div:not(.service-logo-wrap) {
    grid-row: 2;
  }

  #ranking .service-review .service-visual h4 {
    font-size: 25px;
  }

  #ranking .service-review .service-visual p:not(.visual-kicker) {
    font-size: 13px;
  }

  #ranking .service-review .rank-title {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 66px;
    height: 66px;
  }
}

/* v83: show each official LP FV catch image directly, without generated backgrounds or overlay copy. */
#ranking .service-review .service-visual,
#ranking .priority-rank .service-visual,
#ranking .priority-rank:nth-of-type(2) .service-visual,
#ranking .priority-rank:nth-of-type(3) .service-visual {
  display: block;
  min-height: 0;
  padding: 0;
  background: #fff;
}

#ranking .service-review .service-visual::before {
  display: none;
}

#ranking .service-review .service-fv-wrap {
  display: block;
  width: 100%;
  margin: 0;
  background: #fff;
}

#ranking .service-review .service-fv-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
}

#ranking .service-review .service-visual-copy {
  display: none;
}

@media (max-width: 720px) {
  #ranking .service-review .service-visual,
  #ranking .priority-rank .service-visual,
  #ranking .priority-rank:nth-of-type(2) .service-visual,
  #ranking .priority-rank:nth-of-type(3) .service-visual {
    min-height: 0;
    padding: 0;
    background: #fff;
  }

  #ranking .service-review .service-fv-shot {
    height: auto;
    aspect-ratio: auto;
  }
}

/* v85: keep top-three service names on one line on mobile. */
@media (max-width: 720px) {
  #ranking .service-review .rank-title {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 6px 10px;
    padding: 18px 14px;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 58px;
    height: 58px;
  }

  #ranking .service-review .rank-title h3 {
    min-width: 0;
    max-width: 100%;
    color: #7b4a11;
    font-size: clamp(25px, 7vw, 31px);
    line-height: 1.05;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  #ranking .service-review .rank-title p {
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  #ranking .service-review .rank-title {
    grid-template-columns: 54px minmax(0, 1fr);
    padding-inline: 12px;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 54px;
    height: 54px;
  }

  #ranking .service-review .rank-title h3 {
    font-size: 26px;
  }
}

/* v86: GPT-generated badge images for top three ranking cards. */
#ranking .priority-rank .rank-title {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 20px clamp(18px, 3vw, 34px);
}

#ranking .priority-rank .rank-title-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

#ranking .priority-rank .rank-title-copy h3,
#ranking .priority-rank .rank-title-copy p {
  margin: 0;
}

#ranking .priority-rank .rank-title-copy h3 {
  overflow-wrap: normal;
  word-break: keep-all;
  line-height: 1.12;
}

#ranking .priority-rank .rank-title-copy p {
  max-width: 760px;
  color: #334155;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 850;
  line-height: 1.55;
}

#ranking .rank-badge.medal-icon,
#ranking .priority-rank .rank-badge.medal-icon,
#ranking .rank-badge.medal-icon img,
#ranking .priority-rank .rank-badge.medal-icon img {
  width: 96px;
  height: 96px;
}

#ranking .rank-badge.medal-icon,
#ranking .priority-rank .rank-badge.medal-icon {
  position: static;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 68, 107, 0.12);
  box-shadow: 0 10px 22px rgba(27, 47, 69, 0.12);
}

#ranking .rank-badge.medal-icon img,
#ranking .priority-rank .rank-badge.medal-icon img {
  display: block;
  object-fit: contain;
  filter: none;
}

#ranking .rank-1 .rank-title {
  background:
    linear-gradient(90deg, rgba(255, 234, 162, 0.74), rgba(255, 255, 255, 0.92) 68%),
    #fffdf5;
}

#ranking #flash-ticket.priority-rank .rank-title {
  background:
    linear-gradient(90deg, rgba(232, 238, 246, 0.82), rgba(255, 255, 255, 0.94) 68%),
    #f8fafc;
}

#ranking #premium-ticket.priority-rank .rank-title {
  background:
    linear-gradient(90deg, rgba(255, 220, 194, 0.75), rgba(255, 255, 255, 0.94) 68%),
    #fff8f2;
}

@media (max-width: 720px) {
  #ranking .priority-rank .rank-title {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    min-height: 104px;
    padding: 15px 14px;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 76px;
    height: 76px;
  }

  #ranking .priority-rank .rank-title-copy {
    gap: 5px;
  }

  #ranking .priority-rank .rank-title-copy h3 {
    font-size: clamp(22px, 7vw, 30px);
    white-space: nowrap;
  }

  #ranking .priority-rank .rank-title-copy p {
    grid-column: auto;
    font-size: 13px;
    line-height: 1.45;
  }
}

/* v90 redo: section 5 visual refinements */
#ranking .service-review .service-fv-wrap {
  padding: clamp(10px, 2vw, 18px);
  background: #fff;
}

#ranking .service-review .service-fv-shot {
  width: min(100%, 920px);
  margin-inline: auto;
}

#ranking .rank-badge.medal-icon,
#ranking .priority-rank .rank-badge.medal-icon {
  width: 88px !important;
  height: 88px !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#ranking .rank-badge.medal-icon img,
#ranking .priority-rank .rank-badge.medal-icon img {
  width: 88px !important;
  height: 88px !important;
  filter: none;
}

#ranking .service-review .rank-title h3,
#ranking .priority-rank .rank-title-copy h3 {
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Hiragino Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

#ranking .priority-rank .rank-title-copy h3 {
  font-size: clamp(26px, 3.2vw, 38px);
}

#ranking .service-review:not(.priority-rank) .rank-title h3 {
  font-size: clamp(23px, 2.8vw, 32px);
}

#ranking .rank-badge:not(.medal-icon) {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border: 2px solid #154b86;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #eef6ff 100%);
  color: #154b86;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 6px 14px rgba(21, 75, 134, 0.1);
}

@media (max-width: 720px) {
  #ranking .service-review .service-fv-wrap {
    padding: 8px;
  }

  #ranking .service-review .service-fv-shot {
    width: 92%;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon {
    width: 64px !important;
    height: 64px !important;
  }

  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 64px !important;
    height: 64px !important;
  }

  #ranking .priority-rank .rank-title {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  #ranking .priority-rank .rank-title-copy h3 {
    font-size: clamp(21px, 6.2vw, 27px);
  }

  #ranking .service-review:not(.priority-rank) .rank-title h3 {
    font-size: 22px;
  }

  #ranking .rank-badge:not(.medal-icon) {
    width: 50px;
    height: 50px;
    margin: 0;
    font-size: 14px;
  }
}

/* v98: integrated medal assets and calmer premium title bands. */
#ranking .priority-rank .rank-title {
  gap: 10px 18px;
  background: linear-gradient(90deg, #fffaf0 0%, #fffdf8 48%, #fff 100%);
  border-bottom-color: rgba(102, 72, 22, 0.14);
}

#ranking .priority-rank.rank-1 .rank-title {
  border-top-color: #b8872d;
  background:
    linear-gradient(90deg, rgba(184, 135, 45, 0.18), rgba(255, 255, 255, 0.94) 58%),
    #fffaf0;
}

#ranking .priority-rank:nth-of-type(2) .rank-title {
  border-top-color: #8d9ca8;
  background:
    linear-gradient(90deg, rgba(141, 156, 168, 0.2), rgba(255, 255, 255, 0.94) 58%),
    #f8fafb;
}

#ranking .priority-rank:nth-of-type(3) .rank-title {
  border-top-color: #a66f45;
  background:
    linear-gradient(90deg, rgba(166, 111, 69, 0.18), rgba(255, 255, 255, 0.94) 58%),
    #fff8f1;
}

#ranking .priority-rank .rank-title-copy p,
#ranking .service-review .rank-title p {
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  letter-spacing: 0;
}

#ranking .rank-badge.medal-icon,
#ranking .priority-rank .rank-badge.medal-icon {
  width: 88px !important;
  height: 88px !important;
  overflow: visible;
}

#ranking .rank-badge.medal-icon img,
#ranking .priority-rank .rank-badge.medal-icon img {
  width: 88px !important;
  height: 88px !important;
  filter: drop-shadow(0 8px 14px rgba(42, 28, 10, 0.18));
}

#ranking .service-review:not(.priority-rank) .rank-title {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 6px 14px;
}

#ranking .rank-badge:not(.medal-icon) {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #b9c7d1;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef4f8 100%);
  box-shadow: inset 0 0 0 4px #fff, 0 5px 12px rgba(29, 54, 72, 0.1);
  color: #213f55;
  font-family: Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

@media (max-width: 720px) {
  #ranking .priority-rank .rank-title {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 6px 12px;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 66px !important;
    height: 66px !important;
  }

  #ranking .priority-rank .rank-title-copy p,
  #ranking .service-review .rank-title p {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  #ranking .service-review:not(.priority-rank) .rank-title {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  #ranking .rank-badge:not(.medal-icon) {
    width: 46px;
    height: 46px;
    font-size: 13px;
  }
}

/* v99: keep all service names the same size; distinguish top three with finish only. */
#ranking .service-review .rank-title h3,
#ranking .priority-rank .rank-title-copy h3 {
  font-size: clamp(24px, 2.8vw, 34px) !important;
  line-height: 1.16;
  font-weight: 850;
}

#ranking .priority-rank .rank-title {
  border-bottom-color: rgba(97, 72, 31, 0.2);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.72);
}

#ranking .priority-rank .rank-title-copy h3 {
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-bottom: 6px;
}

#ranking .priority-rank .rank-title-copy h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.42;
}

#ranking .priority-rank.rank-1 .rank-title-copy h3 {
  color: #87611c;
}

#ranking #flash-ticket.priority-rank .rank-title-copy h3 {
  color: #536778;
}

#ranking #premium-ticket.priority-rank .rank-title-copy h3 {
  color: #805633;
}

#ranking .service-review:not(.priority-rank) .rank-title h3 {
  color: #17364b;
}

@media (max-width: 720px) {
  #ranking .service-review .rank-title h3,
  #ranking .priority-rank .rank-title-copy h3 {
    font-size: clamp(22px, 6.6vw, 27px) !important;
    line-height: 1.14;
  }
}

/* v136: separate top-service colors and stabilize the strength summary cards. */
#ranking .priority-rank.rank-1 {
  border-color: #253f63;
}

#ranking .priority-rank.rank-1 .rank-title {
  border-top-color: #253f63;
  background:
    linear-gradient(90deg, rgba(37, 63, 99, 0.16), rgba(255, 255, 255, 0.94) 58%),
    #f8fbff;
}

#ranking .priority-rank.rank-1 .rank-title-copy h3 {
  color: #253f63;
}

#ranking #flash-ticket.priority-rank {
  border-color: #6e7f8e;
}

#ranking #flash-ticket.priority-rank .rank-title {
  border-top-color: #6e7f8e;
  background:
    linear-gradient(90deg, rgba(110, 127, 142, 0.19), rgba(255, 255, 255, 0.94) 58%),
    #f7f9fb;
}

#ranking #flash-ticket.priority-rank .rank-title-copy h3 {
  color: #4c6275;
}

#ranking #premium-ticket.priority-rank {
  border-color: #7d3147;
}

#ranking #premium-ticket.priority-rank .rank-title {
  border-top-color: #7d3147;
  background:
    linear-gradient(90deg, rgba(125, 49, 71, 0.15), rgba(255, 255, 255, 0.95) 58%),
    #fff7f9;
}

#ranking #premium-ticket.priority-rank .rank-title-copy h3 {
  color: #7d3147;
}

#ranking .priority-rank .service-summary {
  border-color: #d6dfe6;
}

#ranking .priority-rank .service-summary div {
  min-width: 0;
  border-color: #d6dfe6;
}

#ranking .priority-rank .service-summary .appeal dt {
  font-size: 12px;
  letter-spacing: 0;
}

#ranking .priority-rank .service-summary .appeal dd {
  min-width: 0;
  padding-inline: 8px;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.34;
  overflow-wrap: anywhere;
}

#ranking .priority-rank.rank-1 .service-summary .appeal {
  border-color: #253f63;
  background: #eef4fb;
}

#ranking .priority-rank.rank-1 .service-summary .appeal dt {
  background: #253f63;
}

#ranking .priority-rank.rank-1 .service-summary .appeal dd {
  color: #253f63;
  background: #f5f9ff;
}

#ranking #flash-ticket.priority-rank .service-summary .appeal {
  border-color: #6e7f8e;
  background: #f0f3f6;
}

#ranking #flash-ticket.priority-rank .service-summary .appeal dt {
  background: #6e7f8e;
}

#ranking #flash-ticket.priority-rank .service-summary .appeal dd {
  color: #405568;
  background: #f8fafc;
}

#ranking #premium-ticket.priority-rank .service-summary .appeal {
  border-color: #7d3147;
  background: #f8e8ed;
}

#ranking #premium-ticket.priority-rank .service-summary .appeal dt {
  background: #7d3147;
}

#ranking #premium-ticket.priority-rank .service-summary .appeal dd {
  color: #7d3147;
  background: #fff7f9;
}

@media (max-width: 720px) {
  #ranking .priority-rank .service-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-color: #d6dfe6;
  }

  #ranking .priority-rank .service-summary div {
    display: grid;
    grid-template-columns: 1fr;
    border-right: 1px solid #d6dfe6;
    border-bottom: 1px solid #d6dfe6;
  }

  #ranking .priority-rank .service-summary div:nth-child(2n) {
    border-right: 0;
  }

  #ranking .priority-rank .service-summary div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  #ranking .priority-rank .service-summary dt,
  #ranking .priority-rank .service-summary dd {
    display: grid;
    place-items: center;
    text-align: center;
  }

  #ranking .priority-rank .service-summary dt {
    min-height: 38px;
    padding: 8px 6px;
  }

  #ranking .priority-rank .service-summary dd {
    min-height: 58px;
    padding: 9px 7px;
    font-size: clamp(18px, 5.4vw, 21px);
    line-height: 1.32;
  }

  #ranking #premium-ticket.priority-rank .service-summary .appeal dd {
    font-size: clamp(15px, 4.25vw, 17px);
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

/* v138: place the open-state TOC close control after all expanded items. */
.toc-toggle {
  display: grid;
}

.toc-toggle summary {
  order: 2;
}

.toc-extra {
  order: 1;
}

/* v104: keep Section 5 service-name bands fully visible on mobile. */
#ranking .service-review .rank-title,
#ranking .priority-rank .rank-title {
  align-items: center;
}

#ranking .service-review .rank-title h3,
#ranking .priority-rank .rank-title-copy h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
  white-space: normal;
  font-size: clamp(20px, 2.25vw, 28px) !important;
  line-height: 1.18;
}

#ranking .priority-rank .rank-title-copy h3 {
  display: block;
  width: 100%;
}

#ranking .priority-rank .rank-title-copy p,
#ranking .service-review .rank-title p {
  max-width: 100%;
  font-size: clamp(13px, 1.45vw, 16px);
  line-height: 1.52;
}

@media (max-width: 720px) {
  #ranking .service-review .rank-title,
  #ranking .priority-rank .rank-title {
    padding: 18px 14px;
  }

  #ranking .priority-rank .rank-title {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px 10px;
  }

  #ranking .service-review:not(.priority-rank) .rank-title {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 6px 10px;
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 56px !important;
    height: 56px !important;
  }

  #ranking .rank-badge:not(.medal-icon) {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  #ranking .service-review .rank-title h3,
  #ranking .priority-rank .rank-title-copy h3 {
    font-size: clamp(18px, 5.35vw, 23px) !important;
    line-height: 1.2;
  }

  #ranking .priority-rank .rank-title-copy h3 {
    padding-bottom: 5px;
  }

  #ranking .priority-rank .rank-title-copy p,
  #ranking .service-review .rank-title p {
    font-size: clamp(12px, 3.45vw, 14px);
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  #ranking .service-review .rank-title,
  #ranking .priority-rank .rank-title {
    padding-inline: 12px;
  }

  #ranking .priority-rank .rank-title {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  #ranking .rank-badge.medal-icon,
  #ranking .priority-rank .rank-badge.medal-icon,
  #ranking .rank-badge.medal-icon img,
  #ranking .priority-rank .rank-badge.medal-icon img {
    width: 50px !important;
    height: 50px !important;
  }

  #ranking .service-review .rank-title h3,
  #ranking .priority-rank .rank-title-copy h3 {
    font-size: 18px !important;
  }
}

/* v105: blog-style investigation sections before the ranking. */
.blog-research-section,
.quick-compare-section,
.safe-check-section,
.research-criteria-section,
.lp-review-section,
.risk-before-use-section,
.recommend-fit-section {
  scroll-margin-top: 96px;
}

.research-merge-grid,
.research-grid,
.lp-review-grid,
.risk-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.research-merge-grid article,
.research-grid article,
.lp-review-grid article,
.risk-grid article,
.fit-grid article {
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(20, 28, 38, 0.06);
}

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

.research-merge-grid article {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  text-align: center;
}

.research-merge-grid img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 4px;
  border-radius: 18px;
  background: #fff;
}

.research-merge-grid span,
.research-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #17345c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.research-merge-grid h3,
.research-grid h3,
.lp-review-grid h3,
.risk-grid h3,
.fit-grid h3 {
  display: block;
  margin: 0 0 8px;
  color: #182333;
  font-size: 18px;
  line-height: 1.35;
}

.research-merge-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-merge-grid li {
  position: relative;
  padding-left: 18px;
  color: #4b5a6b;
  font-size: 14px;
  line-height: 1.7;
}

.research-merge-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #17345c;
}

.research-merge-grid p {
  max-width: 310px;
  margin: 0;
  color: #4f5b6a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.research-grid p,
.lp-review-grid p,
.risk-grid p,
.fit-grid p {
  display: block;
  margin: 0;
  color: #4b5a6b;
  font-size: 14px;
  line-height: 1.75;
}

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

.compare-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 2.8fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}

.compare-list article:nth-child(-n + 3) {
  border-color: rgba(173, 128, 38, 0.28);
  background: linear-gradient(90deg, rgba(255, 250, 238, 0.9), #fff);
}

.compare-list strong {
  color: #172437;
  font-size: 16px;
  line-height: 1.4;
}

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

.compare-list dl div {
  min-width: 0;
  border-left: 1px solid rgba(44, 62, 80, 0.1);
  padding-left: 10px;
}

.compare-list dt {
  margin: 0 0 4px;
  color: #7a8797;
  font-size: 11px;
  font-weight: 800;
}

.compare-list dd {
  margin: 0;
  color: #273243;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.safe-summary-card {
  overflow: hidden;
  border: 3px solid #0b78df;
  border-radius: 12px;
  background: #fff;
}

.safe-summary-card h3 {
  margin: 0;
  padding: 20px 26px;
  color: #fff;
  background: #0b78df;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.safe-summary-card ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 28px 34px 30px;
  list-style: none;
}

.safe-summary-card li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: #2f3338;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
}

.safe-summary-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #222;
}

@media (max-width: 860px) {
  .research-merge-grid,
  .research-grid,
  .lp-review-grid,
  .risk-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .compare-list article {
    grid-template-columns: 1fr;
  }

  .compare-list dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-list dl div {
    border-left: 0;
    padding-left: 0;
  }

  .safe-summary-card {
    border-width: 3px;
    border-radius: 10px;
  }

  .safe-summary-card h3 {
    padding: 16px 18px;
    font-size: 20px;
  }

  .safe-summary-card ul {
    gap: 15px;
    padding: 23px 20px 25px;
  }

  .safe-summary-card li {
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.75;
  }

  .safe-summary-card li::before {
    width: 13px;
    height: 13px;
  }

  .research-merge-grid article {
    padding: 20px 18px;
  }

  .research-merge-grid img {
    width: 74px;
    height: 74px;
  }

  .research-merge-grid h3 {
    font-size: 20px;
  }

  .research-merge-grid p {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* v108: restrained generated-image CTA treatment. */
#ranking .priority-rank .priority-cta {
  width: min(100% - 28px, 470px);
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: start;
  gap: 3px 12px;
  padding: 12px 18px;
  border: 1px solid #1f3349;
  border-radius: 8px;
  background: #172d45;
  color: #fff;
  text-align: left;
  box-shadow: 0 8px 18px rgba(22, 34, 48, 0.16);
}

#ranking .priority-rank .priority-cta::before {
  grid-column: 2;
  grid-row: 1;
  content: attr(data-recommendation);
  display: block;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

#ranking .priority-rank .priority-cta span {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  color: #fff;
  font-size: clamp(15px, 1.85vw, 18px);
  font-weight: 900;
  line-height: 1.35;
}

#ranking .priority-rank .cta-image-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

#ranking #ticket-center .priority-cta {
  border-color: #7a5a19;
  background: #243247;
}

#ranking #flash-ticket .priority-cta {
  border-color: #687888;
  background: #26323d;
}

#ranking #premium-ticket .priority-cta {
  border-color: #805237;
  background: #2f2c2b;
}

#ranking #ticket-center .priority-cta::before,
#ranking #flash-ticket .priority-cta::before,
#ranking #premium-ticket .priority-cta::before {
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

@media (max-width: 720px) {
  #ranking .priority-rank .priority-cta {
    width: 100%;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 3px 10px;
    padding: 11px 14px;
  }

  #ranking .priority-rank .cta-image-icon {
    width: 38px;
    height: 38px;
  }
}

/* v112: editorial profile and fixed generated research icons. */
.editor-profile-card {
  order: 3;
  margin: -10px 0 34px;
  padding: 22px 26px 24px;
  border-left: 4px solid #0f7a54;
  border-radius: 0 8px 8px 0;
  background: #e7f6ed;
  color: #071924;
}

#ranking {
  order: 4;
}

#safe-check {
  order: 5;
}

#advance-guide {
  order: 6;
}

.faq-section {
  order: 7;
}

.editor-profile-card p {
  margin: 0;
  color: #071924;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.editor-profile-card p + p {
  margin-top: 12px;
}

.editor-profile-card strong {
  font-weight: 900;
}

.editor-profile-name {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 2px !important;
}

.editor-profile-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 45% 45%;
  background: #4b2a82;
  box-shadow: 0 9px 0 2px #4b2a82;
  transform: translateY(-4px);
}

.research-merge-grid article {
  min-height: 242px;
}

.research-merge-grid img {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

@media (max-width: 720px) {
  .editor-profile-card {
    margin: -4px 0 28px;
    padding: 18px 18px 20px;
  }

  .editor-profile-card p {
    font-size: 13.5px;
    line-height: 1.85;
  }

  .editor-profile-name {
    align-items: flex-start;
  }

  .editor-profile-icon {
    margin-top: 5px;
  }

  .research-merge-grid article {
    min-height: 212px;
  }

  .research-merge-grid img {
    width: 82px;
    height: 82px;
    margin-bottom: 12px;
  }
}

/* v118: keep the visual order before the table of contents and guide blocks. */
#safe-check {
  order: 1;
}

#criteria {
  order: 2;
}

.editor-profile-card {
  order: 3;
}

.toc-section {
  order: 4;
}

#ranking {
  order: 5;
}

#advance-guide {
  order: 6;
}

#advance-merit {
  order: 7;
}

.faq-section {
  order: 8;
}

/* v121: rebuild the benefits and guide sections with concise icon cards. */
@media (max-width: 980px) {
  .benefit-card-grid,
  .simple-card-grid,
  .criteria-mini-grid,
  .summary-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .benefit-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    padding: 14px;
  }

  .benefit-card img {
    width: 60px;
    height: 60px;
  }

  .benefit-generated-icon {
    width: 60px;
    height: 60px;
    background-size: 170px auto;
  }

  .benefit-card h3,
  .simple-card-grid h3,
  .criteria-mini-grid h3 {
    font-size: 17px;
    line-height: 1.35;
  }

  .benefit-card p,
  .simple-card-grid p,
  .criteria-mini-grid p,
  .sub-guide-lead {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .simple-card-grid article,
  .criteria-mini-grid article {
    min-height: auto;
    padding: 14px;
  }

  .simple-card-grid img,
  .criteria-mini-grid img {
    width: 50px;
    height: 50px;
  }

  .sub-guide-title {
    padding: 14px 16px;
  }

  .flow li {
    min-height: auto;
  }

  .summary-choice-grid article {
    min-height: auto;
    padding: 15px;
  }
}

/* v125: make ranking summary strengths refined and restore visible table lines. */
#ranking .service-summary {
  border: 1px solid #cfd8d8;
  background: #fff;
}

#ranking .service-summary div {
  border-right: 1px solid #cfd8d8;
  border-bottom: 1px solid #cfd8d8;
  background: #fff;
}

#ranking .service-summary div:last-child {
  border-right: 0;
}

#ranking .service-summary dt {
  border-right: 1px solid rgba(207, 216, 216, 0.9);
  color: #43535a;
  background: #f3f6f5;
}

#ranking .service-summary dd {
  color: #183844;
  background: #fff;
}

#ranking .service-summary .appeal {
  border-color: #c2b28e;
  background: #fff8e6;
}

#ranking .service-summary .appeal dt {
  color: #fff;
  background: #7a5030;
}

#ranking .service-summary .appeal dd {
  color: #5e351c;
  background: #fff5dc;
}

#ranking #ticket-center .service-summary .appeal {
  border-color: #8d5a3f;
}

#ranking #ticket-center .service-summary .appeal dt {
  background: #743728;
}

#ranking #ticket-center .service-summary .appeal dd {
  color: #542414;
  background: #fff0c8;
}

#ranking #flash-ticket .service-summary .appeal {
  border-color: #9caab0;
}

#ranking #flash-ticket .service-summary .appeal dt {
  background: #465661;
}

#ranking #flash-ticket .service-summary .appeal dd {
  color: #2f414c;
  background: #eef4f6;
}

#ranking #premium-ticket .service-summary .appeal {
  border-color: #a68151;
}

#ranking #premium-ticket .service-summary .appeal dt {
  background: #6b5030;
}

#ranking #premium-ticket .service-summary .appeal dd {
  color: #533817;
  background: #f8ead2;
}

@media (min-width: 721px) {
  #ranking .service-summary div:nth-child(5n) {
    border-right: 0;
  }

  #ranking .service-summary div:nth-last-child(-n + 5) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  #ranking .service-summary div {
    border-right: 0;
    border-bottom: 1px solid #cfd8d8;
  }

  #ranking .service-summary div:last-child {
    border-bottom: 0;
  }

  #ranking .service-summary dt {
    border-right: 1px solid #cfd8d8;
  }
}

/* v126: keep the merged advance guide blocks in the intended reading order. */
#advance-guide > .heading {
  order: 1;
}

#advance-guide > .section-lead {
  order: 2;
}

#advance-guide > .advance-about-grid {
  order: 3;
}

#advance-guide > #advance-merit {
  order: 4;
}

#advance-guide > #advance-demerit {
  order: 5;
}

#advance-guide > #advance-screening {
  order: 6;
}

#advance-guide > #advance-summary {
  order: 7;
}

/* v127: replace FAQ with official references and add a structured footer. */
.reference-section {
  order: 8;
}

.reference-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #cfdce1;
  border-radius: 8px;
  background: #fbfdfc;
}

.reference-card p {
  margin: 0;
  color: #26383d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.75;
}

.reference-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.reference-card li {
  color: #26383d;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.75;
}

.reference-card a {
  color: #006b59;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-operator-card {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid #cfdce1;
  border-radius: 8px;
  background: #fff;
}

.operator-heading {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2eaed;
}

.operator-heading span {
  color: #5f6f75;
  font-size: 12px;
  font-weight: 900;
}

.operator-heading h2 {
  margin: 0;
  color: #202624;
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 850;
  line-height: 1.35;
}

.site-operator-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.site-operator-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #edf2f3;
}

.site-operator-list div:last-child {
  border-bottom: 0;
}

.site-operator-list dt,
.site-operator-list dd {
  margin: 0;
  color: #26383d;
  font-size: 14px;
  line-height: 1.75;
}

.site-operator-list dt {
  font-weight: 950;
}

.site-operator-list dd {
  font-weight: 750;
}

.site-footer {
  margin-top: clamp(34px, 6vw, 70px);
  color: #dff4ef;
  background: #055c43;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 7vw, 92px);
  max-width: 1020px;
  margin: 0 auto;
  padding: 46px 24px 40px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: #ffe27a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.4;
}

.footer-column a {
  color: #e7fbf5;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-compact {
  display: grid;
  gap: 12px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px 22px;
}

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

.footer-legal-grid p {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(231, 251, 245, 0.18);
  border-radius: 7px;
  color: #dff4ef;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.footer-legal-grid strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.footer-copy {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(231, 251, 245, 0.22);
  color: #d5eee8;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 780px) {
  .reference-card {
    padding: 18px;
  }

  .site-operator-card {
    padding: 18px;
  }

  .site-operator-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .footer-legal-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 22px 30px;
  }
}

/* v131: add generated heading icons and keep the ranking section title on one mobile line. */
.heading.blue,
.sub-guide-title {
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}

.heading.blue {
  display: grid;
}

.section-title-icon,
.sub-guide-title-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.heading.blue > span,
.heading.blue > h2,
.sub-guide-title > span,
.sub-guide-title > h2 {
  grid-column: 2;
}

.heading.blue > span,
.sub-guide-title > span {
  margin-bottom: 0;
}

#ranking > .heading h2 {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .heading.blue,
  .sub-guide-title {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 9px;
  }

  .section-title-icon,
  .sub-guide-title-icon {
    width: 30px;
    height: 30px;
  }

  .heading.blue > h2 {
    font-size: clamp(17px, 4.8vw, 19px);
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

/* v134: site name, FV subtitle and editable table of contents. */
.hero .lead {
  max-width: none;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.45;
  white-space: nowrap;
}

.toc-section {
  padding: clamp(24px, 4vw, 38px) clamp(16px, 4vw, 34px);
  border: 1px solid #d9e2e6;
  background: #fff;
}

.toc-heading {
  gap: 2px;
  margin-bottom: 18px;
}

.toc-heading > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.toc-section h2 {
  margin-bottom: 0;
  color: #202624;
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 800;
}

.toc-list {
  gap: 9px;
  max-width: 760px;
}

.toc-list a {
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-bottom: 1px solid #edf1f2;
  border-radius: 4px;
}

.toc-list a:hover {
  background: #f7faf9;
}

.toc-list a > span {
  min-width: 44px;
  color: #6b777c;
  font-size: 13px;
  font-weight: 800;
}

.toc-list a > span::after {
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  background: #c8d4d9;
}

.toc-main {
  margin-top: 0;
  font-size: clamp(15px, 1.8vw, 17px);
}

.toc-main strong {
  font-weight: 800;
}

.toc-sub {
  padding-left: 16px;
  font-size: 14px;
}

.toc-toggle {
  display: grid;
  gap: 8px;
}

.toc-toggle summary {
  min-height: 40px;
  margin-top: 12px;
  border-color: #cbd7dc;
  color: #2f3c42;
}

@media (max-width: 720px) {
  .brand {
    font-size: 16px;
  }

  .hero .lead {
    max-width: 100%;
    font-size: clamp(12px, 3.35vw, 14px);
    line-height: 1.35;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .toc-section {
    padding: 22px 14px;
  }

  .toc-list {
    gap: 6px;
  }

  .toc-list a {
    min-height: 40px;
    padding: 7px 6px;
  }

  .toc-list a > span {
    min-width: 40px;
    font-size: 12px;
  }

.toc-main,
  .toc-sub {
    font-size: 13px;
    line-height: 1.35;
  }
}

/* v135: remove small icons from the basic-knowledge subheadings. */
.sub-guide-title.no-icon {
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
}

.sub-guide-title.no-icon > span,
.sub-guide-title.no-icon > h2 {
  grid-column: 1;
}

/* v136 final override: make the top three service palettes distinct in production CSS. */
#ranking .priority-rank.rank-1,
#ranking #ticket-center.priority-rank,
#ranking .priority-rank.rank-1 .service-summary .appeal,
#ranking #ticket-center.priority-rank .service-summary .appeal {
  border-color: #253f63;
}

#ranking .priority-rank.rank-1 .rank-title,
#ranking #ticket-center.priority-rank .rank-title {
  border-top-color: #253f63;
  background: linear-gradient(90deg, rgba(37, 63, 99, 0.16), rgba(255, 255, 255, 0.94) 58%), #f8fbff;
}

#ranking .priority-rank.rank-1 .rank-title-copy h3,
#ranking #ticket-center.priority-rank .rank-title-copy h3,
#ranking .priority-rank.rank-1 .service-summary .appeal dd,
#ranking #ticket-center.priority-rank .service-summary .appeal dd {
  color: #253f63;
}

#ranking .priority-rank.rank-1 .service-summary .appeal dt,
#ranking #ticket-center.priority-rank .service-summary .appeal dt {
  background: #253f63;
}

#ranking .priority-rank.rank-1 .service-summary .appeal dd,
#ranking #ticket-center.priority-rank .service-summary .appeal dd {
  background: #f5f9ff;
}

#ranking #flash-ticket.priority-rank,
#ranking #flash-ticket.priority-rank .service-summary .appeal {
  border-color: #6e7f8e;
}

#ranking #flash-ticket.priority-rank .rank-title {
  border-top-color: #6e7f8e;
  background: linear-gradient(90deg, rgba(110, 127, 142, 0.19), rgba(255, 255, 255, 0.94) 58%), #f7f9fb;
}

#ranking #flash-ticket.priority-rank .rank-title-copy h3,
#ranking #flash-ticket.priority-rank .service-summary .appeal dd {
  color: #405568;
}

#ranking #flash-ticket.priority-rank .service-summary .appeal dt {
  background: #6e7f8e;
}

#ranking #flash-ticket.priority-rank .service-summary .appeal dd {
  background: #f8fafc;
}

#ranking #premium-ticket.priority-rank,
#ranking #premium-ticket.priority-rank .service-summary .appeal {
  border-color: #7d3147;
}

#ranking #premium-ticket.priority-rank .rank-title {
  border-top-color: #7d3147;
  background: linear-gradient(90deg, rgba(125, 49, 71, 0.15), rgba(255, 255, 255, 0.95) 58%), #fff7f9;
}

#ranking #premium-ticket.priority-rank .rank-title-copy h3,
#ranking #premium-ticket.priority-rank .service-summary .appeal dd {
  color: #7d3147;
}

#ranking #premium-ticket.priority-rank .service-summary .appeal dt {
  background: #7d3147;
}

#ranking #premium-ticket.priority-rank .service-summary .appeal dd {
  background: #fff7f9;
}

#ranking .priority-rank .service-summary,
#ranking .priority-rank .service-summary div {
  border-color: #d6dfe6;
}

#ranking .priority-rank .service-summary .appeal dd {
  min-width: 0;
  padding-inline: 8px;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.34;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  #ranking .priority-rank .service-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #ranking .priority-rank .service-summary div {
    display: grid;
    grid-template-columns: 1fr;
    border-right: 1px solid #d6dfe6;
    border-bottom: 1px solid #d6dfe6;
  }

  #ranking .priority-rank .service-summary div:nth-child(2n) {
    border-right: 0;
  }

  #ranking .priority-rank .service-summary div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  #ranking .priority-rank .service-summary dt,
  #ranking .priority-rank .service-summary dd {
    display: grid;
    place-items: center;
    text-align: center;
  }

  #ranking .priority-rank .service-summary dt {
    min-height: 38px;
    padding: 8px 6px;
  }

  #ranking .priority-rank .service-summary dd {
    min-height: 58px;
    padding: 9px 7px;
    font-size: clamp(18px, 5.4vw, 21px);
    line-height: 1.32;
  }

  #ranking #premium-ticket.priority-rank .service-summary .appeal dd {
    font-size: clamp(17px, 4.9vw, 20px);
  }
}

/* v142: reduce artificial polish, push top three, and make ranks 4-10 compact. */
.section-title-icon,
.cta-image-icon,
.research-merge-grid img,
.advance-about-grid img,
.benefit-card img,
.simple-card-grid img,
.criteria-mini-grid img {
  display: none !important;
}

.hero {
  background: #f7fafc;
}

.hero-inner {
  width: min(980px, calc(100% - 32px));
  padding-top: clamp(34px, 6vw, 58px);
  padding-bottom: clamp(28px, 5vw, 46px);
}

.hero .lead {
  max-width: 760px;
  margin-bottom: 18px;
  color: #23313c;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 800;
}

.top3-hero-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  width: min(820px, 100%);
  gap: 10px;
  margin-top: 4px;
}

.top3-hero-actions .button {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 5px;
  font-size: 14px;
}

.top3-hero-actions .button.outline {
  border: 1px solid #bccbd5;
  color: #17364b;
}

.editor-profile-card {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.editor-profile-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.editor-profile-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  background: #1f6f9f;
  font-size: 18px;
  font-weight: 900;
}

.editor-profile-heading h2 {
  margin: 0;
  color: #151f28;
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.25;
}

.editor-profile-body {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.editor-profile-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid #d8e3ea;
  border-radius: 50%;
  color: #1f6f9f;
  background: #eef7fb;
  font-size: 24px;
  font-weight: 900;
}

.editor-profile-card .editor-profile-name {
  margin: 0 0 8px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
}

.editor-profile-card p {
  margin: 0;
  color: #354550;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
}

.ranking-cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #d7e5ed;
  border-radius: 8px;
  background: #f8fbfd;
}

.ranking-cta-strip p {
  margin: 0;
  color: #263743;
  font-size: 14px;
  line-height: 1.6;
}

.ranking-cta-strip b {
  display: block;
  margin-bottom: 2px;
  color: #17364b;
  font-size: 16px;
}

.ranking-cta-strip span {
  display: block;
}

.ranking-cta-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ranking-cta-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #fff;
  background: #1f6f9f;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

#ranking .priority-rank {
  margin-top: 18px;
  border-width: 2px;
  box-shadow: 0 14px 30px rgba(28, 52, 74, 0.12);
}

#ranking .priority-rank.rank-1 {
  transform: translateY(-2px);
}

#ranking .priority-rank .service-content {
  gap: 16px;
}

#ranking .voice-box {
  padding: 14px 16px;
  border: 1px solid #d9e2e8;
  border-radius: 8px;
  background: #fff;
}

#ranking .voice-box h4 {
  margin-bottom: 8px;
  color: #17364b;
  font-size: 15px;
}

.review-quote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #202b33;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.75;
}

#ranking .voice-note {
  margin: 7px 0 0;
  color: #707a82;
  font-size: 12px;
  line-height: 1.55;
}

#ranking .compact-rank-card {
  margin-top: 12px;
  border-color: #dce5eb;
  background: #fff;
  box-shadow: none;
}

#ranking .compact-rank-card .rank-title {
  display: grid;
  grid-template-columns: 54px 82px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 0;
  border-bottom: 1px solid #e3ebf0;
  background: #fff;
}

#ranking .compact-rank-card .compact-logo {
  display: grid;
  width: 82px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce5eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

#ranking .compact-rank-card .compact-logo img {
  display: block;
  width: 100%;
  max-width: 70px;
  max-height: 34px;
  object-fit: contain;
}

#ranking .compact-rank-card .compact-logo-sheep img,
#ranking .compact-rank-card .compact-logo-minimum img,
#ranking .compact-rank-card .compact-logo-quick img {
  width: 44px;
  height: 44px;
  max-width: none;
  max-height: none;
  border-radius: 5px;
  object-fit: cover;
}

#ranking .compact-rank-card .compact-logo-speed-star img {
  max-width: 76px;
  max-height: 30px;
}

#ranking .compact-rank-card .compact-title-copy {
  min-width: 0;
}

#ranking .compact-rank-card .rank-title h3 {
  margin: 0;
  color: #17364b;
  font-size: clamp(19px, 2vw, 23px) !important;
  line-height: 1.25;
}

#ranking .compact-rank-card .rank-title p {
  margin: 4px 0 0;
  color: #53616b;
  font-size: 13px;
  line-height: 1.5;
}

#ranking .compact-rank-card .rank-badge {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: #eef3f6;
  color: #17364b;
  box-shadow: none;
}

#ranking .compact-rank-card .service-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 14px 16px 16px;
}

#ranking .compact-rank-card .service-visual,
#ranking .compact-rank-card .service-notes,
#ranking .compact-rank-card .company-info {
  display: none !important;
}

#ranking .compact-rank-card .service-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 1px solid #dce5eb;
  border-radius: 6px;
  overflow: hidden;
}

#ranking .compact-rank-card .service-summary div {
  min-height: 48px;
  border-color: #dce5eb;
}

#ranking .compact-rank-card .service-summary div:nth-child(n + 5) {
  display: none;
}

#ranking .compact-rank-card .service-summary dt {
  padding: 6px 7px;
  color: #5a6670;
  background: #f5f8fa;
  font-size: 11px;
}

#ranking .compact-rank-card .service-summary dd {
  padding: 7px;
  color: #172734;
  font-size: 13px;
  font-weight: 900;
}

#ranking .compact-rank-card .voice-box {
  display: grid;
  align-content: center;
  margin: 0;
  padding: 12px;
  background: #fbfcfd;
}

#ranking .compact-rank-card .voice-box h4 {
  margin-bottom: 4px;
  font-size: 13px;
}

#ranking .compact-rank-card .review-quote {
  font-size: 13px;
  line-height: 1.6;
}

#ranking .compact-rank-card .voice-note {
  font-size: 11px;
}

#ranking .compact-rank-card .service-cta {
  align-self: center;
  min-width: 148px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
}

.summary-choice-card p,
.reference-card p,
.site-operator-list dd,
.footer-legal-compact p {
  font-weight: 500;
}

@media (max-width: 820px) {
  .top3-hero-actions,
  .ranking-cta-strip,
  #ranking .compact-rank-card .service-content {
    grid-template-columns: 1fr;
  }

  .ranking-cta-strip div {
    justify-content: stretch;
  }

  .ranking-cta-strip a {
    flex: 1 1 120px;
  }

  #ranking .compact-rank-card .service-cta {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .editor-profile-body {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .editor-profile-avatar {
    width: 54px;
    height: 54px;
    font-size: 19px;
  }

  #ranking .compact-rank-card .service-summary {
    grid-template-columns: 1fr;
  }

  #ranking .compact-rank-card .service-summary div {
    border-right: 0;
  }

  #ranking .compact-rank-card .rank-title {
    grid-template-columns: 46px 64px minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
  }

  #ranking .compact-rank-card .rank-badge {
    width: 42px;
    height: 42px;
  }

  #ranking .compact-rank-card .compact-logo {
    width: 64px;
    height: 44px;
  }

  #ranking .compact-rank-card .compact-logo img {
    max-width: 54px;
    max-height: 28px;
  }

  #ranking .compact-rank-card .compact-logo-sheep img,
  #ranking .compact-rank-card .compact-logo-minimum img,
  #ranking .compact-rank-card .compact-logo-quick img {
    width: 34px;
    height: 34px;
  }
}

.top3-hero-actions .button.primary {
  border: 1px solid #1f6f9f;
  color: #fff;
  background: #1f6f9f;
  box-shadow: none;
  text-decoration: none;
}

.top3-hero-actions .button.outline {
  text-decoration: none;
}

@media (max-width: 720px) {
  .hero .lead {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .top3-hero-actions .button,
  .ranking-cta-strip a,
  #ranking .service-cta,
  #ranking .compact-rank-card .review-quote,
  .safe-summary-card li,
  .research-merge-grid p {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .safe-summary-card ul {
    padding-left: 1.1em;
  }

  .safe-summary-card,
  .safe-summary-card *,
  .research-merge-grid,
  .research-merge-grid *,
  .editor-profile-card,
  .editor-profile-card *,
  #ranking,
  #ranking * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .safe-summary-card li,
  .research-merge-grid p,
  .editor-profile-card p {
    line-break: anywhere;
  }
}

/* v143: quieter editorial layout based on the latest frontend direction. */
.site-header {
  box-shadow: none;
}

.hero {
  border-bottom: 1px solid #e1e8ee;
  background: #f9fbfc;
}

.hero-inner {
  width: min(900px, calc(100vw - 32px));
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(24px, 4vw, 38px);
}

.hero h1 {
  max-width: 760px;
  color: #142330;
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: 0;
}

.hero .lead {
  width: min(720px, calc(100vw - 32px));
  max-width: 100%;
  margin-bottom: 16px;
  font-weight: 700;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
  line-break: anywhere;
}

.top3-hero-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.top3-hero-actions .button {
  justify-content: flex-start;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 4px;
  box-shadow: none;
  line-height: 1.35;
}

.top3-hero-actions .button b {
  margin-right: 6px;
  color: inherit;
}

.top3-hero-actions .button.primary,
.top3-hero-actions .button.outline {
  border: 1px solid #cbd8e0;
  color: #183142;
  background: #fff;
}

.top3-hero-actions .button.primary {
  border-color: #1f6f9f;
}

.heading.blue {
  gap: 6px;
}

.heading.blue > span,
.toc-heading span,
.sub-guide-title span,
.operator-heading span {
  color: #526675;
  letter-spacing: 0;
}

.editor-profile-card {
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: 6px;
}

.editor-profile-heading {
  margin-bottom: 10px;
}

.editor-profile-heading h2 {
  font-size: clamp(20px, 2vw, 25px);
}

.editor-profile-body {
  display: block;
}

.editor-profile-avatar,
.editor-profile-mark,
.visual-kicker {
  display: none !important;
}

.ranking-cta-strip {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fff;
}

.ranking-cta-strip div {
  justify-content: flex-start;
}

.ranking-cta-strip a {
  min-height: 36px;
  border: 1px solid #cbd8e0;
  border-radius: 4px;
  color: #17364b;
  background: #f7fafc;
  font-weight: 800;
}

#ranking .priority-rank {
  border-width: 1px;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

#ranking .priority-rank.rank-1 {
  transform: none;
  border-color: #b7cbd9;
}

#ranking .priority-rank .rank-title {
  border-bottom-color: #e1e8ee;
  background: #fff;
}

#ranking .priority-rank .rank-badge {
  width: 54px;
  height: 54px;
  border: 1px solid #c9d8e2;
  border-radius: 6px;
  color: #17364b;
  background: #f5f8fa;
  box-shadow: none;
  font-size: 15px;
}

#ranking .priority-rank .service-visual {
  border-radius: 6px;
  box-shadow: none;
}

#ranking .priority-rank .service-visual-copy {
  background: rgba(255, 255, 255, 0.94);
}

#ranking .priority-rank .service-visual-copy h4 {
  letter-spacing: 0;
}

#ranking .voice-box,
#ranking .compact-rank-card,
#ranking .compact-rank-card .service-summary {
  border-radius: 6px;
}

#ranking .service-cta {
  border-radius: 4px;
  box-shadow: none;
}

#ranking .priority-cta {
  background: #1f6f9f;
}

.summary-choice-card {
  border-radius: 6px;
  box-shadow: none;
}

.summary-choice-card a {
  border-radius: 4px;
  box-shadow: none;
}

.safe-summary-card {
  border: 1px solid #d7e3eb;
  border-radius: 6px;
}

.safe-summary-card h3 {
  padding: 16px 22px;
  color: #142330;
  background: #f3f7fa;
  font-size: 20px;
}

.safe-summary-card li::before {
  width: 10px;
  height: 10px;
  top: 0.78em;
  background: #263540;
}

@media (max-width: 820px) {
  .top3-hero-actions {
    grid-template-columns: 1fr;
  }

  .top3-hero-actions .button {
    justify-content: center;
  }

  .hero h1 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero .lead {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    line-break: anywhere;
  }

  .safe-summary-card h3 {
    padding: 14px 18px;
    font-size: 18px;
  }
}

/* v144: add restrained color, lucide icons, and softer natural-light depth. */
body {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 38%),
    #f5f4ef;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(239, 246, 243, 0.72) 100%),
    url("assets/previews/lp-fv-catch/ticket-center.jpg") center 28% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -34px;
  width: min(330px, 34vw);
  aspect-ratio: 4 / 3;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 6px;
  background: url("assets/previews/lp-fv-catch/flash-ticket.jpg") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(42, 48, 54, 0.16);
  transform: rotate(-1.6deg);
  opacity: 0.92;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.kicker {
  color: #147466;
}

.top3-hero-actions .button,
.ranking-cta-strip a,
#ranking .service-cta,
.summary-choice-card a {
  gap: 8px;
}

.top3-hero-actions svg,
.ranking-cta-strip svg,
#ranking .service-cta svg,
.safe-summary-card svg,
.research-merge-grid svg,
.lucide-heading-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.top3-hero-actions .button.primary {
  color: #fff;
  border-color: #1f6f9f;
  background: #1f6f9f;
}

.top3-hero-actions .button.outline {
  background: rgba(255, 255, 255, 0.86);
}

.lucide-heading-icon {
  display: inline-flex;
  color: #1f6f9f;
}

.heading.blue {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
}

.heading.blue > span,
.heading.blue > h2 {
  grid-column: 2;
}

.heading.blue .lucide-heading-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: center;
  color: #268b7d;
}

.section,
.toc-section,
.editor-profile-card,
#ranking .rank-card,
.site-operator-card,
.reference-card {
  border-color: rgba(194, 207, 214, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(42, 49, 56, 0.06);
}

.safe-summary-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.safe-summary-card h3 {
  background: #eef5f2;
}

.safe-summary-card ul {
  gap: 14px;
}

.safe-summary-card li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-left: 0;
}

.safe-summary-card li::before {
  display: none;
}

.safe-summary-card li svg {
  margin-top: 0.45em;
  color: #2b8175;
}

.research-merge-grid article {
  position: relative;
  min-height: 210px;
  border-color: #d6e2df;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(249, 247, 241, 0.9));
  box-shadow: 0 12px 28px rgba(50, 55, 58, 0.07);
}

.research-merge-grid article:nth-child(1) {
  transform: rotate(-0.35deg);
}

.research-merge-grid article:nth-child(2) {
  transform: rotate(0.4deg) translateY(2px);
}

.research-merge-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: #1f6f9f;
}

.editor-profile-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-profile-card {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 247, 0.92));
}

#ranking .priority-rank {
  border-color: rgba(154, 188, 197, 0.95);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.94));
  box-shadow: 0 14px 34px rgba(36, 52, 61, 0.08);
}

#ranking .priority-rank .rank-title {
  background:
    linear-gradient(90deg, rgba(239, 247, 245, 0.95), rgba(255, 255, 255, 0.82));
}

#ranking .priority-rank .rank-badge {
  color: #123140;
  border-color: #b9cfd0;
  background: #edf5f2;
}

#ranking .priority-rank .service-visual {
  overflow: visible;
  background: transparent;
}

#ranking .priority-rank .service-fv-wrap {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(38, 45, 52, 0.14);
  transform: rotate(-0.45deg);
}

#ranking #flash-ticket.priority-rank .service-fv-wrap {
  transform: rotate(0.5deg);
}

#ranking #premium-ticket.priority-rank .service-fv-wrap {
  transform: rotate(-0.25deg) translateY(2px);
}

#ranking .priority-rank .service-visual-copy {
  border: 1px solid rgba(207, 220, 218, 0.88);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(40, 48, 54, 0.08);
}

.ranking-cta-strip {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 245, 0.88));
}

.ranking-cta-strip a {
  color: #164053;
  border-color: #bfd3d4;
  background: rgba(255, 255, 255, 0.82);
}

#ranking .priority-cta {
  background: #1f6f9f;
}

#ranking .compact-rank-card {
  background: rgba(255, 255, 255, 0.9);
}

.summary-choice-card {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(248, 246, 239, 0.88));
}

@media (max-width: 820px) {
  .hero::after {
    right: -22px;
    bottom: -28px;
    width: 154px;
    border-width: 6px;
    opacity: 0.38;
  }

  .top3-hero-actions .button {
    justify-content: flex-start;
  }

  .heading.blue {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .safe-summary-card li {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .research-merge-grid article,
  #ranking .priority-rank .service-fv-wrap {
    transform: none !important;
  }
}

/* v146: Digital Agency design system inspired readability and UI roles. */
:root {
  --ds-text: #1a1a1c;
  --ds-muted: #565c65;
  --ds-border: #c5c9d1;
  --ds-border-soft: #d8dce3;
  --ds-bg: #f7f8fb;
  --ds-surface: #ffffff;
  --ds-surface-blue: #f0f6ff;
  --ds-blue: #0017c1;
  --ds-blue-hover: #000082;
  --ds-blue-soft: #e8f1fe;
  --ds-green: #007a4d;
  --ds-green-soft: #e5f4ed;
  --ds-warning: #9f6a00;
  --ds-warning-soft: #fff7e6;
  --ds-focus: #ffdc58;
  --ds-shadow-low: 0 1px 2px rgba(0, 0, 0, 0.08);
  --ds-shadow-soft: 0 8px 20px rgba(17, 24, 39, 0.08);
}

body {
  color: var(--ds-text);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 38%),
    var(--ds-bg);
}

a {
  color: var(--ds-blue);
  text-underline-offset: 0.16em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 4px solid var(--ds-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #111;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--ds-border-soft);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--ds-shadow-low);
}

.site-header .brand {
  color: var(--ds-text);
}

.site-header nav a {
  border-radius: 4px;
  color: var(--ds-muted);
}

.site-header nav a:hover {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

.hero {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 47%, rgba(240, 246, 255, 0.78) 100%),
    url("assets/previews/lp-fv-catch/ticket-center.jpg") center 26% / cover no-repeat;
}

.hero::after {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.14);
  filter: saturate(0.9) contrast(0.96);
}

.ad-label,
.kicker,
.heading.blue > span,
.toc-heading span,
.sub-guide-title span,
.operator-heading span {
  color: var(--ds-muted);
  letter-spacing: 0;
}

.kicker {
  color: var(--ds-green);
}

.hero h1,
.heading h2,
.toc-heading h2,
.sub-guide-title h2,
.editor-profile-heading h2,
#ranking .rank-title h3,
#ranking .priority-rank .rank-title-copy h3 {
  color: var(--ds-text);
}

.hero .lead,
.section-lead,
.editor-profile-card p,
#ranking .rank-title p,
.summary-choice-card p,
.reference-card p {
  color: var(--ds-muted);
}

.button,
.mini-button,
.source-link,
.ranking-cta-strip a,
#ranking .service-cta,
.summary-choice-card a {
  min-height: 44px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.button.primary,
.mini-button,
.top3-hero-actions .button.primary,
#ranking .priority-cta,
#ranking .service-cta,
.summary-choice-card a {
  border: 2px solid var(--ds-blue);
  color: #fff;
  background: var(--ds-blue);
}

.button.primary:hover,
.mini-button:hover,
.top3-hero-actions .button.primary:hover,
#ranking .priority-cta:hover,
#ranking .service-cta:hover,
.summary-choice-card a:hover {
  border-color: var(--ds-blue-hover);
  background: var(--ds-blue-hover);
}

.button.outline,
.top3-hero-actions .button.outline,
.ranking-cta-strip a {
  border: 2px solid var(--ds-blue);
  color: var(--ds-blue);
  background: rgba(255, 255, 255, 0.94);
}

.button.outline:hover,
.top3-hero-actions .button.outline:hover,
.ranking-cta-strip a:hover {
  color: #fff;
  background: var(--ds-blue);
}

.section,
.toc-section,
.editor-profile-card,
#ranking .rank-card,
.site-operator-card,
.reference-card,
.summary-choice-card {
  border: 1px solid var(--ds-border-soft);
  border-radius: 6px;
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-low);
}

.heading.blue {
  gap: 8px 10px;
  border-bottom-color: var(--ds-border-soft);
}

.heading.blue .lucide-heading-icon,
.lucide-heading-icon,
.safe-summary-card li svg,
.research-merge-grid svg {
  color: var(--ds-blue);
}

.safe-summary-card {
  border: 1px solid var(--ds-border-soft);
  background: var(--ds-surface);
  box-shadow: none;
}

.safe-summary-card h3 {
  color: var(--ds-text);
  background: var(--ds-blue-soft);
}

.safe-summary-card li {
  color: var(--ds-text);
  border-bottom: 1px solid var(--ds-border-soft);
}

.safe-summary-card li:last-child {
  border-bottom: 0;
}

.research-merge-grid article {
  border: 1px solid var(--ds-border-soft);
  background: var(--ds-surface);
  box-shadow: none;
}

.research-merge-grid article:nth-child(1) {
  transform: rotate(-0.18deg);
}

.research-merge-grid article:nth-child(2) {
  transform: rotate(0.16deg) translateY(1px);
}

.editor-profile-card {
  border-left: 5px solid var(--ds-blue);
  background:
    linear-gradient(90deg, var(--ds-surface-blue), #fff 34%);
}

.toc-list a {
  border: 1px solid var(--ds-border-soft);
  color: var(--ds-text);
  background: var(--ds-surface);
}

.toc-list a:hover {
  border-color: var(--ds-blue);
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

.toc-list a > span {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

.ranking-cta-strip {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface-blue);
}

.ranking-cta-strip b {
  color: var(--ds-text);
}

#ranking .priority-rank {
  border: 2px solid var(--ds-border);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-soft);
}

#ranking .priority-rank.rank-1,
#ranking #ticket-center.priority-rank {
  border-color: var(--ds-blue);
}

#ranking .priority-rank .rank-title {
  border-bottom: 1px solid var(--ds-border-soft);
  background: var(--ds-surface-blue);
}

#ranking #flash-ticket.priority-rank .rank-title {
  background: var(--ds-green-soft);
}

#ranking #premium-ticket.priority-rank .rank-title {
  background: var(--ds-warning-soft);
}

#ranking .priority-rank .rank-badge,
#ranking .compact-rank-card .rank-badge {
  border: 1px solid var(--ds-border);
  color: var(--ds-blue);
  background: var(--ds-surface);
}

#ranking .service-summary,
#ranking .compact-rank-card .service-summary {
  border-color: var(--ds-border-soft);
}

#ranking .service-summary dt,
#ranking .compact-rank-card .service-summary dt {
  color: var(--ds-muted);
  background: #f4f6f8;
}

#ranking .service-summary dd,
#ranking .compact-rank-card .service-summary dd {
  color: var(--ds-text);
}

#ranking .service-summary .appeal dt {
  color: #fff;
  background: var(--ds-blue);
}

#ranking .service-summary .appeal dd {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

#ranking .service-fv-wrap {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

#ranking .voice-box {
  border-color: var(--ds-border-soft);
  background: #fafbfc;
}

.review-quote {
  color: var(--ds-text);
}

#ranking .voice-note {
  color: var(--ds-muted);
}

#ranking .compact-rank-card {
  box-shadow: none;
}

#ranking .compact-rank-card .rank-title {
  background: #fafbfc;
}

.summary-choice-card-primary,
.summary-choice-card-speed,
.summary-choice-card-rate {
  border-color: var(--ds-border-soft);
  background: var(--ds-surface);
}

.reference-card a,
.footer a {
  color: var(--ds-blue);
}

@media (max-width: 820px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .site-header nav {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
  }

  .site-header nav > a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    background:
      linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%),
      url("assets/previews/lp-fv-catch/ticket-center.jpg") center top / cover no-repeat;
  }

  .top3-hero-actions .button,
  .ranking-cta-strip a,
  #ranking .service-cta {
    min-height: 48px;
  }

  .editor-profile-card {
    border-left-width: 4px;
    background: var(--ds-surface);
  }

  .service-nav-menu {
    width: 100%;
  }

  .service-nav-menu summary {
    justify-content: center;
    width: 100%;
  }

  .service-nav-menu div {
    position: fixed;
    top: 92px;
    right: 12px;
    left: 12px;
    z-index: 100;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    min-width: 0;
    max-height: calc(100dvh - 112px);
    margin-top: 6px;
    overscroll-behavior: contain;
  }

  .site-header nav .service-nav-menu div a {
    padding: 8px 8px;
    font-size: 12px;
    white-space: normal;
  }

  .detail-page .pros-cons {
    grid-template-columns: 1fr;
  }
}

/* v151: service detail article layout, using Digital Agency DS-style color roles. */
:root {
  --ds-primary-blue: #0031d8;
  --ds-primary-blue-hover: #0017c1;
  --ds-link-blue: #0017c1;
  --ds-surface-blue: #f0f7ff;
  --ds-surface-neutral: #f7f9fb;
  --ds-border-neutral: #c5d1db;
  --ds-warning-bg: #fff7e6;
  --ds-warning-border: #b26b00;
  --ds-success-bg: #eef8f2;
  --ds-success-border: #008a45;
}

.detail-page {
  width: min(1040px, calc(100% - 32px));
}

.detail-article {
  position: relative;
  border-color: var(--ds-border-neutral);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92)),
    #fff;
  box-shadow: 0 18px 42px rgba(27, 39, 53, 0.08);
}

.detail-article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--ds-primary-blue), #008a45 52%, #f2a900);
}

.detail-article h1 {
  color: #1a2733;
  letter-spacing: 0;
}

.detail-article .lead {
  color: #34495a;
}

.detail-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 24px;
  padding: 12px;
  border: 1px solid var(--ds-border-neutral);
  border-radius: 8px;
  background: var(--ds-surface-neutral);
}

.detail-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #b7c7d6;
  border-radius: 6px;
  color: var(--ds-link-blue);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.detail-jump-nav a:hover {
  border-color: var(--ds-primary-blue);
  background: var(--ds-surface-blue);
}

.detail-hero-image {
  border-color: var(--ds-border-neutral);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(27, 39, 53, 0.1);
}

.detail-section {
  margin-top: 24px;
  padding: 22px 20px;
  border: 1px solid var(--ds-border-neutral);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.detail-section + .detail-section {
  border-top: 1px solid var(--ds-border-neutral);
}

.detail-section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #1a2733;
  letter-spacing: 0;
}

.detail-section h2::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 28px;
  border-radius: 999px;
  background: var(--ds-primary-blue);
}

.detail-section p {
  color: #34495a;
}

.detail-condition-section,
.forum-review-section,
.rating-section {
  background: var(--ds-surface-blue);
}

.detail-summary-box,
.related-section {
  background: var(--ds-surface-neutral);
}

.cancel-section {
  border-color: #e3bf78;
  background: var(--ds-warning-bg);
}

.cancel-section h2::before {
  background: var(--ds-warning-border);
}

.detail-review-list,
.detail-check-list,
.detail-caution-list,
.detail-flow-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.detail-review-list li,
.detail-check-list li,
.detail-caution-list li,
.detail-flow-list li {
  position: relative;
  padding: 11px 13px 11px 38px;
  border: 1px solid #d4e1ec;
  border-radius: 8px;
  color: #243647;
  background: #fff;
  font-weight: 800;
  line-height: 1.65;
}

.detail-review-list li::before,
.detail-check-list li::before,
.detail-caution-list li::before,
.detail-flow-list li::before {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.detail-review-list li::before {
  content: "5";
  background: var(--ds-primary-blue);
}

.detail-check-list li::before {
  content: "";
  border: 4px solid #fff;
  background: var(--ds-success-border);
  box-shadow: 0 0 0 1px var(--ds-success-border);
}

.detail-caution-list li {
  border-color: #e0c18b;
  background: #fffaf0;
}

.detail-caution-list li::before {
  content: "!";
  background: var(--ds-warning-border);
}

.detail-flow-list {
  counter-reset: flow-step;
}

.detail-flow-list li {
  counter-increment: flow-step;
}

.detail-flow-list li::before {
  content: counter(flow-step);
  background: var(--ds-primary-blue);
}

.simulation-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.simulation-card div {
  padding: 14px;
  border: 1px solid var(--ds-border-neutral);
  border-radius: 8px;
  background: #fff;
}

.simulation-card span,
.rating-score span,
.rating-score small {
  display: block;
  color: #5d6c78;
  font-size: 12px;
  font-weight: 900;
}

.simulation-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ds-primary-blue);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
}

.rating-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}

.rating-score {
  padding: 18px;
  border: 1px solid #a8bed4;
  border-radius: 8px;
  background: #fff;
}

.rating-score strong {
  display: inline-block;
  margin-top: 2px;
  color: var(--ds-primary-blue);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
}

.rating-card p {
  margin: 0;
  padding: 16px;
  border-left: 4px solid var(--ds-primary-blue);
  background: rgba(255, 255, 255, 0.78);
}

.related-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.related-service-card {
  display: grid;
  gap: 7px;
  min-height: 164px;
  padding: 15px;
  border: 1px solid var(--ds-border-neutral);
  border-radius: 8px;
  color: #243647;
  background: #fff;
  text-decoration: none;
}

.related-service-card:hover {
  border-color: var(--ds-primary-blue);
  background: var(--ds-surface-blue);
}

.related-service-card span {
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--ds-primary-blue);
  font-size: 12px;
  font-weight: 900;
}

.related-service-card strong {
  color: #1a2733;
  font-size: 17px;
  line-height: 1.35;
}

.related-service-card small {
  color: #546675;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-actions .service-cta {
  background: var(--ds-primary-blue);
}

.detail-actions .service-cta:hover {
  background: var(--ds-primary-blue-hover);
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ds-primary-blue);
  border-radius: 6px;
  color: var(--ds-primary-blue);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 760px) {
  .detail-page {
    width: min(100% - 20px, 560px);
    margin-top: 18px;
  }

  .detail-article {
    padding: 18px 12px 24px;
  }

  .detail-section {
    padding: 18px 13px;
  }

  .detail-jump-nav,
  .simulation-card,
  .rating-card,
  .related-service-grid {
    grid-template-columns: 1fr;
  }

  .detail-jump-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-jump-nav a {
    justify-content: center;
    padding-inline: 8px;
    text-align: center;
  }

  .detail-review-list li,
  .detail-check-list li,
  .detail-caution-list li,
  .detail-flow-list li {
    padding-right: 10px;
    overflow-wrap: anywhere;
  }

  .detail-actions > a {
    width: 100%;
  }
}

/* v152: compact service logos for 4th-10th cards */
#ranking .service-review.compact-rank-card:not(.priority-rank) .rank-title {
  grid-template-columns: 54px 82px minmax(0, 1fr);
}

#ranking .compact-rank-card .compact-title-copy h3 {
  margin: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

#ranking .compact-rank-card .compact-title-copy p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  #ranking .service-review.compact-rank-card:not(.priority-rank) .rank-title {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  #ranking .compact-rank-card .compact-logo {
    justify-self: start;
    width: 82px;
    height: 44px;
  }

  #ranking .compact-rank-card .compact-title-copy {
    grid-column: 1 / -1;
  }

  #ranking .compact-rank-card .compact-title-copy h3 {
    font-size: 22px !important;
    line-height: 1.3;
  }
}
.seo-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.seo-guide-grid a {
  display: grid;
  gap: 8px;
  min-height: 172px;
  padding: 16px;
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 35, 70, 0.06);
}

.seo-guide-grid span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: #0057b8;
  font-size: 11px;
  font-weight: 800;
}

.seo-guide-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.4;
}

.seo-guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* v155: basic guide previews */
.guide-preview-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  margin: 18px 0;
}

.guide-preview-card,
.guide-topic-table-wrap {
  border: 1px solid var(--ds-border-soft, var(--line));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.06);
}

.guide-preview-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
}

.guide-preview-card span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ds-primary-blue, #0031d8);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.guide-preview-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.35;
}

.guide-preview-toc {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: preview-toc;
}

.guide-preview-toc li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.guide-preview-toc li::before {
  counter-increment: preview-toc;
  content: counter(preview-toc);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ds-surface-blue, #eef7ff);
  color: var(--ds-primary-blue, #0031d8);
  font-size: 12px;
  font-weight: 900;
}

.guide-topic-table-wrap {
  overflow-x: auto;
}

.guide-topic-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.guide-topic-table th,
.guide-topic-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--ds-border-soft, var(--line));
  color: var(--text);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.guide-topic-table th {
  background: var(--ds-surface-blue, #eef7ff);
  color: var(--ds-primary-blue, #0031d8);
  font-size: 12px;
  font-weight: 900;
}

.guide-topic-table td:first-child {
  color: var(--ds-primary-blue, #0031d8);
  font-weight: 900;
}

.basic-guide-section {
  background: linear-gradient(180deg, #fffdf7, #fff);
}

.basic-preview .guide-preview-card span {
  background: #007a52;
}

.basic-preview .guide-preview-toc li::before {
  background: #e8f8f1;
  color: #007a52;
}

.basic-guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

@media (max-width: 760px) {
  .guide-preview-layout {
    grid-template-columns: 1fr;
  }

  .guide-preview-card h3 {
    font-size: 18px;
  }
}

/* v156: benchmark-style column links */
.column-links.section {
  border: 0;
  border-radius: 0;
  background: #f2faf5;
  box-shadow: none;
}

.column-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.column-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 clamp(34px, 6vw, 62px);
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.column-tabs::-webkit-scrollbar {
  display: none;
}

.column-tabs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #d8e6dc;
  border-radius: 999px;
  color: #26593b;
  background: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.column-tabs a.active {
  border-color: #26593b;
  color: #fff;
  background: #26593b;
}

.column-heading h2 {
  margin: 0;
  color: #26593b;
  font-size: clamp(30px, 4.8vw, 48px);
  line-height: 1.2;
}

.column-heading h2::after {
  content: "";
  display: block;
  width: min(320px, 72%);
  height: 4px;
  margin-top: 22px;
  background: #26593b;
}

.column-list {
  display: grid;
  gap: 24px;
  margin: clamp(34px, 5vw, 56px) 0 0;
  padding: 0 0 0 28px;
  text-align: left;
}

.column-list li {
  padding-left: 10px;
  color: #1a1a1c;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.62;
}

.column-list li::marker {
  color: #1a1a1c;
  font-size: 0.62em;
}

.column-list a {
  display: inline;
  color: #26593b;
  text-align: left;
  text-decoration: none;
}

.column-list a:hover,
.column-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* v157: keep TOP as a compact directory to ranking, detail pages, and columns. */
.home-guide-hub.section,
.column-links.section {
  padding-block: clamp(34px, 5vw, 64px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-guide-hub.section {
  background: #fff;
}

.hub-head,
.column-heading {
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vw, 34px);
  text-align: center;
}

.hub-head > span,
.column-heading > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  color: #40536d;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.hub-head h2,
.column-heading h2 {
  margin: 12px 0 0;
  color: #1d2733;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.28;
  letter-spacing: 0;
}

.column-heading h2::after {
  content: none;
}

.hub-head p,
.column-heading p {
  margin: 12px auto 0;
  color: #5f6f84;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.8;
}

.hub-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
}

.hub-link-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  color: #1d2733;
  background: #fff;
  text-decoration: none;
}

.hub-link-card.primary {
  border-color: #99b7dc;
  background: #f2f7fd;
}

.hub-link-card span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #235ca8;
  font-size: 13px;
  font-weight: 900;
}

.hub-link-card strong {
  font-size: 16px;
  line-height: 1.45;
}

.hub-link-card small {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.hub-link-card:hover,
.hub-link-card:focus-visible,
.column-feature-link:hover,
.column-feature-link:focus-visible,
.column-side-list a:hover,
.column-side-list a:focus-visible {
  border-color: #235ca8;
  box-shadow: 0 8px 22px rgba(18, 38, 63, 0.1);
  transform: translateY(-1px);
}

.hub-bottom-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.column-links.section {
  background: #f6f8fb;
}

.column-shell {
  max-width: 1040px;
}

.column-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: stretch;
}

.column-feature-link,
.column-side-list a {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  color: #1d2733;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.column-feature-link {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  min-height: 212px;
}

.column-feature-link span,
.column-side-list span {
  color: #235ca8;
  font-size: 12px;
  font-weight: 900;
}

.column-feature-link strong {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.42;
}

.column-feature-link small {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.column-side-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.column-side-list a {
  display: grid;
  gap: 6px;
  padding: 16px;
  min-height: 100px;
}

.column-side-list strong {
  font-size: 15px;
  line-height: 1.48;
}

.column-feature-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.28fr) repeat(3, minmax(150px, 0.74fr));
  gap: 10px;
  margin-top: 22px;
}

.column-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #a9c4e4;
  border-radius: 8px;
  background: #eef5fd;
  box-shadow: 0 14px 32px rgba(31, 41, 55, 0.06);
}

.column-cta-panel span {
  color: #235ca8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.column-cta-panel h3 {
  margin: 7px 0 0;
  color: #172433;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
}

.column-cta-panel p {
  max-width: 650px;
  margin: 10px 0 0;
  color: #526675;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

.column-cta-actions {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.column-cta-actions .button {
  width: 100%;
  min-height: 48px;
  white-space: normal;
}

.column-title-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  list-style: none;
}

.column-title-list li {
  min-width: 0;
  border-bottom: 1px solid #edf2f7;
}

.column-title-list li:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.column-title-list a {
  display: block;
  padding: 10px 0;
  color: #1d2733;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.column-title-list a:hover,
.column-title-list a:focus-visible {
  color: #235ca8;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.column-feature-row a {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 88px;
  padding: 15px 16px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  color: #1d2733;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.column-feature-row .column-feature-main {
  min-height: 124px;
  padding: 20px;
  background: #eef5fd;
  border-color: #a9c4e4;
}

.column-feature-row span,
.column-category h3 span {
  color: #235ca8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.column-feature-row strong {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.35;
}

.column-feature-row small {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.column-category-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.guide-column-board {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 18px;
}

.column-category {
  min-width: 0;
  padding: 16px 14px 14px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
}

.column-category h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  color: #172433;
  font-size: 15px;
  line-height: 1.35;
}

.column-category h3 span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #235ca8;
  font-size: 11px;
}

.column-category ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-category li + li {
  border-top: 1px solid #edf2f7;
}

.column-category a {
  display: block;
  min-width: 0;
  padding: 8px 0;
  color: #1d2733;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
}

.column-feature-row a:hover,
.column-feature-row a:focus-visible,
.column-category a:hover,
.column-category a:focus-visible {
  color: #235ca8;
  border-color: #235ca8;
  outline: none;
}

.column-feature-row a:hover,
.column-feature-row a:focus-visible {
  box-shadow: 0 8px 22px rgba(18, 38, 63, 0.1);
  transform: translateY(-1px);
}

.column-return {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.column-return a {
  color: #235ca8;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .hub-link-grid,
  .column-layout,
  .column-side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .column-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .column-feature-row .column-feature-main {
    grid-column: 1 / -1;
  }

  .column-cta-panel {
    grid-template-columns: 1fr;
  }

  .column-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .column-title-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .column-title-list li:nth-last-child(-n + 3) {
    border-bottom: 1px solid #edf2f7;
  }

  .column-title-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .column-category-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .column-feature-link {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .home-guide-hub.section,
  .column-links.section {
    padding-block: 30px;
  }

  .hub-head,
  .column-heading {
    text-align: left;
  }

  .hub-link-grid,
  .column-layout,
  .column-side-list {
    grid-template-columns: 1fr;
  }

  .column-feature-row,
  .column-category-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .column-feature-row {
    margin-top: 18px;
  }

  .column-cta-panel {
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
  }

  .column-cta-panel h3 {
    font-size: 20px;
  }

  .column-cta-panel p {
    font-size: 13px;
    line-height: 1.65;
  }

  .column-cta-actions {
    grid-template-columns: 1fr;
  }

  .column-cta-actions .button {
    min-height: 44px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }

  .column-title-list {
    gap: 0 12px;
    padding: 10px 12px;
  }

  .column-title-list a {
    padding: 8px 0;
    font-size: 12px;
  }

  .column-feature-row a {
    min-height: 62px;
    padding: 10px;
    gap: 4px;
  }

  .column-feature-row .column-feature-main {
    min-height: 92px;
    padding: 14px;
  }

  .column-feature-row strong {
    font-size: 13px;
    line-height: 1.28;
  }

  .column-feature-row small {
    font-size: 11px;
    line-height: 1.4;
  }

  .column-feature-row span {
    font-size: 10px;
  }

  .column-category {
    padding: 12px 10px 9px;
  }

  .column-category h3 {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .column-category h3 span {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .column-category a {
    padding: 6px 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .hub-link-card {
    min-height: auto;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
  }

  .hub-link-card small {
    grid-column: 2;
  }

  .hub-bottom-cta {
    justify-content: stretch;
  }

  .hub-bottom-cta .button {
    width: 100%;
  }
}

/* v158: make service detail links and lower article paths clearer. */
.service-title-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(35, 92, 168, 0.42);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.service-title-link::after {
  content: " 詳細";
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 0 8px;
  border: 1px solid #b9cbe0;
  border-radius: 999px;
  color: #235ca8;
  background: #f3f8ff;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}

.service-title-link:hover,
.service-title-link:focus-visible {
  color: #235ca8;
  text-decoration-color: currentColor;
}

.rank-title-copy p,
.compact-title-copy p {
  margin-top: 6px;
}

.faq-column-strip.section {
  padding-block: clamp(28px, 4vw, 44px);
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.faq-column-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.faq-column-head span {
  color: #235ca8;
  font-size: 13px;
  font-weight: 900;
}

.faq-column-head h2 {
  margin: 0;
  color: #1d2733;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.35;
}

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

.faq-column-list a {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 15px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  color: #1d2733;
  background: #f8fafc;
  text-decoration: none;
}

.faq-column-list a:hover,
.faq-column-list a:focus-visible {
  border-color: #235ca8;
  background: #f3f8ff;
}

.faq-column-list span {
  color: #235ca8;
  font-size: 12px;
  font-weight: 900;
}

.faq-column-list strong {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .service-title-link::after {
    margin-left: 6px;
    padding-inline: 7px;
    font-size: 11px;
  }

  .faq-column-head {
    display: grid;
    gap: 6px;
  }

  .faq-column-list {
    grid-template-columns: 1fr;
  }

  .faq-column-list a {
    min-height: auto;
  }
}

/* v159: compact criteria and stronger editorial author card. */
.compact-heading {
  gap: 6px;
  padding-bottom: 14px;
}

.compact-heading .lucide-heading-icon {
  display: none;
}

.research-criteria-section .section-lead {
  max-width: 760px;
  margin: 0 0 14px;
  color: #334155;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.75;
}

.compact-criteria-panel {
  margin: 12px 0 10px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d6e2ea;
  background: #fff;
}

.compact-criteria-panel .criteria-score-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.compact-criteria-panel .criteria-score-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 142px;
  padding: 16px 14px;
  border-top: 0;
  border-right: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
}

.compact-criteria-panel .criteria-score-list div:last-child {
  border-right: 0;
}

.compact-criteria-panel .criteria-score-list dt {
  color: #102033;
  font-size: 15px;
  line-height: 1.35;
}

.compact-criteria-panel .criteria-score-list dd {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.compact-criteria-panel .criteria-score-list b {
  color: var(--ds-blue);
  font-size: 26px;
  line-height: 1;
}

.criteria-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--ds-blue);
  background: #f8fafc;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.editor-profile-card {
  border: 1px solid #d9e2ea;
  border-left: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.editor-profile-card::before {
  content: "";
  display: block;
  height: 5px;
  border-radius: 8px 8px 0 0;
  background: var(--ds-blue);
}

.editor-profile-heading {
  padding: 22px 24px 0;
}

.editor-profile-heading .lucide-heading-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--ds-blue);
  box-shadow: 0 8px 18px rgba(0, 67, 206, 0.18);
}

.editor-profile-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.editor-profile-body {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 24px 24px;
}

.editor-profile-avatar {
  display: grid !important;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 4px solid #e5eef6;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef6ff 0%, #fff 100%);
  color: var(--ds-blue);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

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

.editor-profile-card .editor-profile-name {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.editor-profile-name span {
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.editor-profile-card p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.editor-profile-facts {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  list-style-position: inside;
}

@media (max-width: 760px) {
  .research-criteria-section .section-lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .compact-criteria-panel .criteria-score-list {
    grid-template-columns: 1fr;
  }

  .compact-criteria-panel .criteria-score-list div {
    grid-template-columns: minmax(96px, 0.7fr) minmax(0, 1fr);
    min-height: auto;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .compact-criteria-panel .criteria-score-list div:last-child {
    border-bottom: 0;
  }

  .compact-criteria-panel .criteria-score-list dd {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    font-size: 12px;
  }

  .compact-criteria-panel .criteria-score-list b {
    font-size: 20px;
  }

  .criteria-note {
    font-size: 13px;
  }

  .editor-profile-heading {
    padding: 18px 18px 0;
  }

  .editor-profile-heading .lucide-heading-icon {
    width: 38px;
    height: 38px;
  }

  .editor-profile-body {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 18px 20px;
  }

  .editor-profile-avatar {
    display: grid !important;
    width: 62px;
    height: 62px;
    border-width: 3px;
    font-size: 18px;
  }

  .editor-profile-card .editor-profile-name {
    font-size: 16px;
  }

  .editor-profile-card p {
    font-size: 13px;
    line-height: 1.75;
  }

  .editor-profile-facts {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* v177: keep the column CTA before FAQ in the top page article body. */
.article > #ranking {
  order: 5;
}

.article > #columns {
  order: 8;
}

.article > #faq {
  order: 9;
}

.article > #reference-links {
  order: 10;
}

/* v178: ranking evidence and experienced-user condition shortcuts. */
.condition-picker {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #d6e4ec;
  border-radius: 8px;
  background: #fff;
}

.condition-picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.condition-picker-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 4px;
  color: #155678;
  background: #e7f4fa;
  font-size: 12px;
  font-weight: 900;
}

.condition-picker-head h3 {
  margin: 0;
  color: #17364b;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.35;
}

.condition-chip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.condition-chip-grid a {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 4px;
  padding: 12px 10px;
  border: 1px solid #dce7ee;
  border-radius: 7px;
  color: #17364b;
  background: #f8fbfd;
  text-decoration: none;
}

.condition-chip-grid svg {
  width: 18px;
  height: 18px;
  color: #1f6f9f;
}

.condition-chip-grid strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.condition-chip-grid small {
  display: block;
  color: #60707b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.fit-check {
  padding: 14px;
  border: 1px solid #dce5eb;
  border-radius: 8px;
  background: #fbfcfd;
}

.fit-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: #f7fbf9;
}

.fit-check p {
  margin: 0;
  color: #33433b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.fit-check strong {
  display: block;
  margin-bottom: 3px;
  color: #17364b;
  font-size: 12px;
  font-weight: 900;
}

.detail-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #cfdde5;
  border-radius: 5px;
  color: #17364b;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

#ranking .compact-rank-card .service-content {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 8px 12px;
}

#ranking .compact-rank-card .service-summary {
  grid-column: 1;
  grid-row: 1 / span 2;
}

#ranking .compact-rank-card .voice-box,
#ranking .compact-rank-card .fit-check {
  display: none !important;
}

#ranking .compact-rank-card .service-cta {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
}

#ranking .compact-rank-card .detail-link {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  justify-self: stretch;
  width: auto;
  min-height: 42px;
  text-align: center;
}

#ranking .compact-rank-card .fit-check p {
  font-size: 12px;
  line-height: 1.55;
}

#ranking .compact-rank-card .fit-check p:nth-child(2) {
  color: #5d3a24;
}

#ranking .compact-rank-card .fit-check strong {
  font-size: 10px;
}

@media (max-width: 820px) {
  .condition-picker-head {
    display: grid;
    justify-items: start;
    align-items: start;
  }

  .condition-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #ranking .compact-rank-card .service-content {
    grid-template-columns: 1fr;
  }

  #ranking .compact-rank-card .service-summary,
  #ranking .compact-rank-card .detail-link,
  #ranking .compact-rank-card .service-cta {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .fit-check {
    grid-template-columns: 1fr;
  }

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

/* v183: image-reference header and rebuilt first view. */
body .site-header.reference-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 0 clamp(14px, 4vw, 42px);
  border-bottom: 1px solid #d8d8d8;
  background: #fff;
  box-shadow: 0 4px 12px rgba(20, 30, 42, 0.12);
}

.reference-header nav {
  display: none;
}

.global-nav-menu {
  position: relative;
  z-index: 40;
}

body .global-nav-menu > summary {
  display: grid;
  gap: 8px;
  width: 54px;
  height: 54px;
  padding: 0;
  place-content: center;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  list-style: none;
}

body .global-nav-menu > summary::marker,
body .global-nav-menu > summary::-webkit-details-marker {
  display: none;
  content: "";
}

body .global-nav-menu > summary span {
  display: block;
  width: 40px;
  height: 6px;
  border-radius: 99px;
  background: #282748;
}

body .global-nav-menu > .global-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  width: min(330px, calc(100vw - 28px));
  max-height: calc(100vh - 98px);
  padding: 10px;
  border: 1px solid #d6dde4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(20, 30, 42, 0.2);
  overflow-y: auto;
}

.global-nav-panel p {
  margin: 0 0 6px;
  padding: 8px 10px;
  color: #5d6670;
  font-size: 12px;
  font-weight: 900;
}

.global-nav-panel a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 6px;
  color: #182232;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.global-nav-panel a:hover {
  background: #f0f6f9;
  color: #1f6f9f;
}

body .reference-brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: clamp(10px, 2vw, 18px);
  min-width: 0;
  color: #222;
  font-size: clamp(22px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

body .reference-brand .brand-mark {
  position: relative;
  display: inline-grid;
  align-items: end;
  grid-template-columns: repeat(3, 13px);
  flex: 0 0 auto;
  gap: 4px;
  width: 62px;
  height: 52px;
  padding: 0 8px 5px;
  color: #f29300;
  border-bottom: 5px solid currentColor;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 0;
  width: 5px;
  height: 51px;
  border-radius: 99px;
  background: currentColor;
}

.brand-mark::after {
  content: "$";
  position: absolute;
  right: 10px;
  top: 24px;
  color: currentColor;
  font-size: 17px;
  font-weight: 900;
}

.brand-mark span {
  display: block;
  border: 4px solid currentColor;
  border-bottom: 0;
}

.brand-mark span:nth-child(1) {
  height: 25px;
}

.brand-mark span:nth-child(2) {
  height: 39px;
}

.brand-mark span:nth-child(3) {
  height: 30px;
}

.header-search {
  position: relative;
  justify-self: end;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.header-search span {
  position: absolute;
  inset: 12px 14px 16px 10px;
  border: 7px solid #282748;
  border-radius: 50%;
}

.header-search span::after {
  content: "";
  position: absolute;
  right: -13px;
  bottom: -12px;
  width: 20px;
  height: 7px;
  border-radius: 99px;
  background: #282748;
  transform: rotate(45deg);
  transform-origin: center;
}

body .reference-hero {
  border-bottom: 1px solid #dce5ea;
  background:
    linear-gradient(135deg, rgba(247, 166, 0, 0.14), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #fff, #f2f8fb);
}

body .reference-hero::after {
  display: none;
}

body .reference-hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 42px);
  width: min(980px, calc(100% - 32px));
  padding-top: clamp(26px, 5vw, 56px);
  padding-bottom: clamp(24px, 5vw, 52px);
  text-align: left;
}

body .reference-hero .hero-copy {
  justify-items: start;
}

.reference-hero .ad-label {
  margin-bottom: 12px;
}

.reference-hero h1 {
  max-width: 680px;
  margin-bottom: 14px;
  color: #121927;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
}

.reference-hero .lead {
  width: auto;
  max-width: 680px;
  margin-bottom: 18px;
  color: #273647;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 800;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

.article-info-note {
  display: grid;
  gap: 20px;
  width: min(760px, 100%);
  margin-top: 22px;
  color: #30343a;
}

.article-info-intro,
.article-info-body {
  margin: 0;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
}

.article-info-date {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
}

.article-info-date span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #f8b23c, #f2a11f);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 900;
}

.article-info-date time {
  color: #30343a;
  font-weight: 500;
}

.article-info-body b {
  color: #24282e;
  font-weight: 900;
}

@media (max-width: 720px) {
  .article-info-note {
    gap: 14px;
    margin-top: 18px;
  }

  .article-info-intro,
  .article-info-body {
    font-size: 16px;
    line-height: 1.72;
  }

  .article-info-date {
    gap: 10px 14px;
    font-size: 24px;
  }

  .article-info-date span {
    min-height: 38px;
    padding: 6px 16px;
    font-size: 18px;
  }
}

body .hero-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(680px, 100%);
  gap: 8px;
  margin: 0 0 14px;
}

body .hero-route-grid a {
  display: grid;
  gap: 2px;
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid #c8dbe5;
  border-left: 5px solid #f29300;
  border-radius: 8px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(24, 47, 64, 0.08);
}

.hero-route-grid strong {
  color: #162331;
  font-size: 17px;
  line-height: 1.2;
}

.hero-route-grid span {
  color: #4b5964;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.reference-hero .top3-hero-actions {
  justify-content: start;
  width: min(680px, 100%);
}

.hero-ranking-board {
  align-self: center;
  padding: 18px;
  border: 1px solid #d3e0e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 39, 54, 0.12);
}

.hero-ranking-board p {
  margin: 0 0 10px;
  color: #1f6f9f;
  font-size: 13px;
  font-weight: 900;
}

.hero-ranking-board ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-ranking-board li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 11px;
  border: 1px solid #e0e8ee;
  border-radius: 8px;
  background: #f8fbfd;
}

.hero-ranking-board li span {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: #f29300;
  font-size: 18px;
  font-weight: 900;
}

.hero-ranking-board strong {
  color: #142330;
  font-size: 18px;
  line-height: 1.2;
}

.hero-ranking-board small {
  color: #596873;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-ranking-board > a {
  display: flex;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #fff;
  background: #1f6f9f;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 860px) {
  body .reference-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-ranking-board {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body .site-header.reference-header {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 4px;
    min-height: 62px;
    padding: 0 10px;
  }

  body .global-nav-menu > summary {
    width: 46px;
    height: 46px;
    gap: 6px;
  }

  body .global-nav-menu > summary span {
    width: 34px;
    height: 5px;
  }

  body .global-nav-menu > .global-nav-panel {
    top: calc(100% + 8px);
    left: 0;
  }

  body .reference-brand {
    gap: 8px;
    font-size: clamp(20px, 6vw, 28px);
  }

  body .reference-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body .reference-brand .brand-mark {
    grid-template-columns: repeat(3, 8px);
    gap: 3px;
    width: 42px;
    height: 38px;
    padding: 0 6px 4px;
    border-bottom-width: 4px;
  }

  .brand-mark::before {
    left: 19px;
    width: 4px;
    height: 38px;
  }

  .brand-mark::after {
    right: 7px;
    top: 18px;
    font-size: 12px;
  }

  .brand-mark span {
    border-width: 3px;
    border-bottom: 0;
  }

  .brand-mark span:nth-child(1) {
    height: 18px;
  }

  .brand-mark span:nth-child(2) {
    height: 29px;
  }

  .brand-mark span:nth-child(3) {
    height: 22px;
  }

  .header-search {
    width: 46px;
    height: 46px;
  }

  .header-search span {
    inset: 9px 12px 14px 8px;
    border-width: 6px;
  }

  .header-search span::after {
    right: -11px;
    bottom: -10px;
    width: 18px;
    height: 6px;
  }

  body .reference-hero .hero-inner {
    width: min(100% - 24px, 1120px);
    padding-top: 22px;
  }

  .reference-hero h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  body .hero-route-grid {
    grid-template-columns: 1fr;
  }

  body .hero-route-grid a {
    min-height: 58px;
  }

  .reference-hero .top3-hero-actions {
    grid-template-columns: 1fr;
  }
}

/* v185: article-style first view based on the benchmark intro. */
body .article-fv {
  background: #fff;
}

body .article-fv .hero-inner {
  width: min(980px, calc(100% - 32px));
  padding-top: clamp(30px, 5vw, 58px);
  padding-bottom: clamp(32px, 5vw, 60px);
}

body .article-fv .hero-copy {
  display: block;
}

.article-category {
  margin: 0 0 clamp(22px, 4vw, 30px);
  padding: 10px 14px;
  border-radius: 4px;
  color: #fff;
  background: #2495d3;
  font-size: clamp(14px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.6;
}

body .article-fv h1 {
  max-width: 920px;
  margin: 0 0 18px;
  color: #333;
  font-size: clamp(30px, 5.8vw, 52px);
  font-weight: 900;
  line-height: 1.22;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 clamp(26px, 5vw, 42px);
  color: #4d4d4d;
  font-size: clamp(15px, 2.8vw, 22px);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 40px;
  padding: 3px 10px;
  border: 2px solid #333;
  border-radius: 4px;
  color: #333;
  background: #fff;
  font-weight: 700;
  line-height: 1;
}

.article-meta time {
  font-weight: 700;
}

.article-pr-banner {
  margin: 0 0 clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid #dbe8ef;
  border-radius: 6px;
  background: #f7fbfd;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.article-pr-banner img {
  display: block;
  width: 100%;
  height: auto;
}

body .article-fv .lead {
  max-width: 920px;
  margin: 0 0 22px;
  color: #3d3d3d;
  font-size: clamp(18px, 3.8vw, 30px);
  font-weight: 500;
  line-height: 1.85;
}

body .article-fv .sub-lead {
  margin-bottom: 0;
}

body .article-fv .lead strong {
  font-weight: 900;
}

.article-fv-summary {
  margin-top: clamp(28px, 5vw, 42px);
  padding: clamp(16px, 3vw, 22px);
  border-left: 6px solid #e87500;
  border-radius: 6px;
  background: #fff7ec;
}

.article-fv-summary strong {
  display: block;
  margin-bottom: 10px;
  color: #333;
  font-size: clamp(17px, 3vw, 22px);
}

.article-fv-summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #444;
  font-size: clamp(15px, 2.6vw, 19px);
  font-weight: 700;
  line-height: 1.65;
}

@media (max-width: 720px) {
  body .article-fv .hero-inner {
    width: min(100% - 24px, 980px);
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .article-category {
    padding: 9px 12px;
  }

  body .article-fv h1 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .article-meta {
    gap: 12px;
  }

  .article-meta span {
    min-width: 48px;
    min-height: 36px;
  }
}

/* v186: visible order requested by the editor. */
.article > #ranking {
  order: 1;
}

.article > #quick-compare {
  order: 2;
}

.article > #condition-picker {
  order: 3;
}

.article > #criteria {
  order: 4;
}

.article > #faq {
  order: 5;
}

.article > #columns {
  order: 6;
}

.article > #advance-guide {
  order: 7;
}

.article > #safe-check {
  order: 8;
}

.article > #editor-profile {
  order: 9;
}

.article > #toc {
  order: 10;
}

.article > #reference-links {
  order: 11;
}

/* v198: force every service card to stack detail CTA directly above the LP CTA. */
body #ranking .service-review .rank-content.service-content {
  display: grid;
  grid-template-columns: 1fr;
}

body #ranking .service-review .detail-link {
  order: 7;
  justify-self: center;
  width: min(100%, 430px);
  margin: 18px auto 0;
}

body #ranking .service-review .service-cta {
  order: 8;
  justify-self: center;
  margin: 8px auto clamp(18px, 3vw, 28px);
}

body #ranking .compact-rank-card .service-summary {
  grid-column: 1;
  grid-row: auto;
  order: 1;
}

body #ranking .compact-rank-card .detail-link {
  grid-column: 1;
  grid-row: auto;
  order: 2;
  justify-self: stretch;
  width: 100%;
  margin: 0;
}

body #ranking .compact-rank-card .service-cta {
  grid-column: 1;
  grid-row: auto;
  order: 3;
  justify-self: stretch;
  width: 100%;
  margin: 0;
}

/* v199: replace per-service numeric tables with judgment criteria and rank reasons. */
body #ranking .rank-reason-box {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid #d6e2ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 38, 56, 0.06);
}

body #ranking .rank-reason-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce6ec;
}

body #ranking .rank-reason-head span {
  color: #5d6a74;
  font-size: 13px;
  font-weight: 900;
}

body #ranking .rank-reason-head h4 {
  margin: 0;
  color: #111820;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 900;
}

body #ranking .rank-reason-list {
  display: grid;
  margin: 0;
  border: 1px solid #d6e2ea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

body #ranking .rank-reason-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  border-bottom: 1px solid #dce6ec;
}

body #ranking .rank-reason-list div:last-child {
  border-bottom: 0;
}

body #ranking .rank-reason-list dt,
body #ranking .rank-reason-list dd {
  margin: 0;
  min-width: 0;
}

body #ranking .rank-reason-list dt {
  display: grid;
  align-items: center;
  padding: 14px 16px;
  border-right: 1px solid #dce6ec;
  background: #f5f8fa;
  color: #071a2d;
  font-size: 16px;
  font-weight: 900;
}

body #ranking .rank-reason-list dd {
  padding: 14px 16px;
  color: #3f4f5c;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 800;
}

body #ranking .priority-rank .rank-reason-list dt {
  background: #eef5fb;
  color: #0b2f4a;
}

body #ranking .rank-1 .rank-reason-list dt {
  background: #eef7ff;
}

body #ranking #flash-ticket .rank-reason-list dt {
  background: #f1f6f8;
}

body #ranking #premium-ticket .rank-reason-list dt {
  background: #fff7ea;
}

body #ranking .compact-rank-card .rank-reason-box {
  grid-column: 1;
  grid-row: auto;
  order: 1;
}

@media (max-width: 720px) {
  body #ranking .rank-reason-box {
    padding: 14px;
  }

  body #ranking .rank-reason-head {
    display: grid;
    justify-items: start;
    gap: 4px;
  }

  body #ranking .rank-reason-list div {
    grid-template-columns: 1fr;
  }

  body #ranking .rank-reason-list dt {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid #dce6ec;
    padding: 10px 12px;
    font-size: 15px;
  }

body #ranking .rank-reason-list dd {
  padding: 11px 12px 14px;
  font-size: 14px;
  line-height: 1.75;
  }
}

/* v200: shorten rank reasons and keep service visual before the reason block. */
body #ranking .service-review .service-visual {
  order: 1;
}

body #ranking .service-review .rank-reason-box {
  order: 2;
}

body #ranking .service-review .company-info {
  order: 3;
}

body #ranking .service-review .voice-box {
  order: 4;
}

body #ranking .service-review .concise-rank-reason {
  gap: 12px;
  padding: 16px;
}

body #ranking .rank-reason-points {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #d6e2ea;
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  background: #fff;
}

body #ranking .rank-reason-points li {
  display: grid;
  grid-template-columns: minmax(92px, 0.26fr) minmax(0, 1fr);
  border-bottom: 1px solid #dce6ec;
}

body #ranking .rank-reason-points li:last-child {
  border-bottom: 0;
}

body #ranking .rank-reason-points b {
  display: grid;
  align-items: center;
  padding: 12px 14px;
  border-right: 1px solid #dce6ec;
  background: #eef5fb;
  color: #0b2f4a;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

body #ranking .rank-reason-points span {
  display: block;
  padding: 12px 14px;
  color: #3f4f5c;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 800;
}

body #ranking .priority-rank .compact-logo {
  display: grid;
  place-items: center;
  width: 98px;
  min-height: 58px;
  padding: 9px;
  border: 1px solid rgba(203, 216, 224, 0.9);
  border-radius: 8px;
  background: #fff;
}

body #ranking .priority-rank .compact-logo img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 720px) {
  body #ranking .rank-reason-points li {
    grid-template-columns: 1fr;
  }

  body #ranking .rank-reason-points b {
    min-height: 38px;
    border-right: 0;
    border-bottom: 1px solid #dce6ec;
    padding: 9px 12px;
    font-size: 14px;
  }

  body #ranking .rank-reason-points span {
    padding: 10px 12px 13px;
    font-size: 14px;
    line-height: 1.7;
  }

  body #ranking .priority-rank .compact-logo {
    width: 86px;
    min-height: 48px;
    padding: 7px;
  }
}

/* v200 fix: keep the service header/logo at the top of every ranking card. */
body #ranking .service-review {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

body #ranking .service-review > .rank-title,
body #ranking .priority-rank > .rank-title,
body #ranking .compact-rank-card > .rank-title {
  order: 1;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
}

body #ranking .service-review > .rank-content,
body #ranking .service-review > .rank-content.service-content {
  order: 2;
}

body #ranking .rank-title-copy,
body #ranking .compact-title-copy {
  min-width: 0;
}

body #ranking .rank-title-copy h3,
body #ranking .compact-title-copy h3,
body #ranking .rank-title-copy p,
body #ranking .compact-title-copy p {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  body #ranking .service-review > .rank-title,
  body #ranking .priority-rank > .rank-title,
  body #ranking .compact-rank-card > .rank-title {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 10px;
  }
}

/* v201: article-style ranking cards based on the reference layout. */
#ranking .article-rank-card {
  display: grid;
  gap: 0;
  margin: clamp(26px, 4vw, 42px) 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#ranking .article-rank-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  order: 1;
  margin: 0 0 18px;
  padding: 18px 0;
  border-top: 4px solid #df9b2d;
  border-bottom: 4px solid #df9b2d;
}

#ranking .article-rank-heading .rank-badge {
  width: auto;
  min-width: 58px;
  height: 38px;
  padding: 0 13px;
  border-radius: 4px;
  background: #111827;
  color: #fff;
  font-size: 17px;
  line-height: 38px;
  font-weight: 900;
  text-align: center;
}

#ranking .article-rank-heading h3 {
  margin: 0;
  color: #0a0f18;
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

#ranking .article-rank-heading a {
  color: inherit;
  text-decoration: none;
}

#ranking .article-rank-heading .service-title-link::after {
  content: none;
}

#ranking .article-service-content {
  display: grid !important;
  order: 2 !important;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid #9a9a9a;
  background: #fff;
}

#ranking .article-service-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 0;
}

#ranking .article-service-hero .compact-logo {
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  min-height: 70px;
  padding: 10px 18px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

#ranking .article-service-hero .compact-logo img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

#ranking .article-service-hero .compact-logo-sheep img,
#ranking .article-service-hero .compact-logo-minimum img,
#ranking .article-service-hero .compact-logo-quick img,
#ranking .article-service-hero .compact-logo-speed-star img,
#ranking .article-service-hero .compact-logo-bakusoku img,
#ranking .article-service-hero .compact-logo-yaiba img {
  max-height: 64px;
}

#ranking .article-service-hero .service-fv-shot {
  display: block;
  width: min(100%, 730px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

#ranking .article-feature-box {
  display: grid;
  gap: 18px;
  margin-top: 6px;
}

#ranking .article-feature-box h4 {
  position: relative;
  margin: 0;
  padding: 18px 22px;
  border-radius: 6px;
  background: #ffd045;
  color: #fff;
  font-size: clamp(24px, 4.8vw, 40px);
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

#ranking .article-feature-box h4::after {
  content: "";
  position: absolute;
  left: 70px;
  bottom: -18px;
  width: 0;
  height: 0;
  border-top: 20px solid #ffd045;
  border-right: 22px solid transparent;
  border-left: 22px solid transparent;
}

#ranking .article-feature-box ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

#ranking .article-feature-box li {
  position: relative;
  padding-left: 42px;
  color: #333;
  font-size: clamp(19px, 3.8vw, 31px);
  line-height: 1.55;
  font-weight: 700;
}

#ranking .article-feature-box li::before {
  content: "☆";
  position: absolute;
  left: 0;
  top: 0.02em;
  color: #ffbf24;
  font-size: 1.12em;
  line-height: 1;
  text-shadow: 0 1px 0 #b66b00;
}

#ranking .article-service-table-wrap {
  overflow: hidden;
  border: 2px solid #d2d2d2;
  background: #fff;
}

#ranking .article-service-table {
  width: 100%;
  border-collapse: collapse;
}

#ranking .article-service-table th,
#ranking .article-service-table td {
  padding: clamp(14px, 3vw, 24px) clamp(12px, 3vw, 26px);
  border: 2px solid #d2d2d2;
  color: #333;
  font-size: clamp(17px, 3.4vw, 30px);
  line-height: 1.35;
  letter-spacing: 0;
  vertical-align: middle;
}

#ranking .article-service-table th {
  width: 40%;
  background: #fbfbfb;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

#ranking .article-service-table td {
  font-weight: 500;
}

#ranking .article-detail-link {
  display: grid;
  place-items: center;
  order: initial !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: center !important;
  width: min(100%, 720px);
  min-height: 74px;
  margin: 6px auto 0;
  padding: 16px 22px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(#75d441, #63c335);
  box-shadow: inset 0 -10px 0 rgba(36, 92, 18, 0.35);
  color: #fff;
  font-size: clamp(24px, 4.5vw, 40px);
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

#ranking .article-service-explain {
  display: grid;
  order: 3 !important;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px) 0 0;
  background: transparent;
}

#ranking .article-service-explain p {
  margin: 0;
  color: #333;
  font-size: clamp(17px, 3.1vw, 28px);
  line-height: 1.9;
  font-weight: 500;
}

#ranking .article-service-explain b {
  color: #252525;
  font-weight: 900;
}

#ranking .article-official-cta {
  justify-self: center;
  width: min(100%, 560px);
  margin-top: 4px;
  order: initial !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

#ranking .article-rank-card .rank-reason-box,
#ranking .article-rank-card .company-info,
#ranking .article-rank-card .voice-box,
#ranking .article-rank-card .service-visual,
#ranking .article-rank-card .rank-title {
  display: none;
}

@media (max-width: 720px) {
  #ranking .article-rank-card {
    margin: 28px 0 38px;
  }

  #ranking .article-rank-heading {
    gap: 10px;
    padding: 14px 0;
    border-top-width: 3px;
    border-bottom-width: 3px;
  }

  #ranking .article-rank-heading .rank-badge {
    min-width: 50px;
    height: 34px;
    padding: 0 10px;
    font-size: 15px;
    line-height: 34px;
  }

  #ranking .article-service-content {
    gap: 18px;
    padding: 16px;
  }

  #ranking .article-service-hero {
    gap: 10px;
  }

  #ranking .article-service-hero .compact-logo {
    min-height: 56px;
    padding: 6px 12px;
  }

  #ranking .article-service-hero .compact-logo img {
    max-height: 48px;
  }

  #ranking .article-feature-box h4 {
    padding: 14px 16px;
  }

  #ranking .article-feature-box h4::after {
    left: 44px;
    bottom: -15px;
    border-top-width: 16px;
    border-right-width: 18px;
    border-left-width: 18px;
  }

  #ranking .article-feature-box li {
    padding-left: 31px;
  }

  #ranking .article-service-table th,
  #ranking .article-service-table td {
    padding: 13px 12px;
    font-size: clamp(15px, 3.2vw, 18px);
  }

  #ranking .article-service-table th {
    width: 46%;
  }

  #ranking .article-detail-link {
    min-height: 60px;
  }
}

/* v204: make the top 3 recommendations unmistakable. */
#ranking .article-rank-card.featured-rank {
  position: relative;
  margin: clamp(30px, 5vw, 52px) 0;
  padding: clamp(10px, 2vw, 18px);
  border: 3px solid #d89a22;
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 16px 34px rgba(123, 73, 12, 0.14);
}

#ranking .article-rank-card.top-rank-1 {
  border-color: #d89a22;
  background: #fffaf0;
}

#ranking .article-rank-card.top-rank-2 {
  border-color: #8fa3b8;
  background: #f6f9fc;
  box-shadow: 0 16px 34px rgba(51, 65, 85, 0.12);
}

#ranking .article-rank-card.top-rank-3 {
  border-color: #b9834c;
  background: #fff7ed;
  box-shadow: 0 16px 34px rgba(120, 53, 15, 0.12);
}

#ranking .article-rank-card.featured-rank::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-radius: 5px 0 0 5px;
  background: #d89a22;
}

#ranking .article-rank-card.top-rank-2::before {
  background: #8fa3b8;
}

#ranking .article-rank-card.top-rank-3::before {
  background: #b9834c;
}

#ranking .featured-rank .article-rank-heading {
  grid-template-columns: auto auto minmax(0, 1fr);
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-top: 0;
  border-bottom: 2px solid rgba(216, 154, 34, 0.42);
}

#ranking .top-rank-2 .article-rank-heading {
  border-bottom-color: rgba(143, 163, 184, 0.48);
}

#ranking .top-rank-3 .article-rank-heading {
  border-bottom-color: rgba(185, 131, 76, 0.48);
}

#ranking .featured-rank-label {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

#ranking .featured-rank .article-rank-heading .rank-badge {
  min-width: 72px;
  height: 46px;
  border-radius: 6px;
  background: #d89a22;
  box-shadow: inset 0 -6px 0 rgba(92, 52, 7, 0.2);
  font-size: 21px;
  line-height: 46px;
}

#ranking .top-rank-2 .article-rank-heading .rank-badge {
  background: #64748b;
  box-shadow: inset 0 -6px 0 rgba(30, 41, 59, 0.18);
}

#ranking .top-rank-3 .article-rank-heading .rank-badge {
  background: #b9834c;
  box-shadow: inset 0 -6px 0 rgba(90, 43, 15, 0.18);
}

#ranking .featured-rank .article-rank-heading h3 {
  font-size: clamp(34px, 5.8vw, 52px);
}

#ranking .featured-rank .article-service-content {
  border-color: rgba(17, 24, 39, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

#ranking .featured-rank .article-service-hero .compact-logo {
  width: min(100%, 390px);
  min-height: 92px;
  border: 2px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
}

  #ranking .featured-rank .article-service-hero .compact-logo img {
  max-height: 72px;
}

#ranking .featured-rank .article-feature-box h4 {
  background: #0f6f7f;
  font-size: clamp(26px, 5vw, 42px);
}

#ranking .featured-rank .article-feature-box h4::after {
  border-top-color: #0f6f7f;
}

#ranking .featured-rank .article-service-table-wrap {
  border-color: #c4d4df;
}

#ranking .featured-rank .article-service-table th {
  background: #eef6f8;
  color: #12323a;
}

#ranking .featured-rank .article-service-table tr[data-source="manual"] td {
  color: #0f5132;
  font-weight: 900;
}

#ranking .featured-rank .article-detail-link {
  width: min(100%, 780px);
}

#ranking .featured-rank .article-official-cta {
  width: min(100%, 620px);
}

@media (max-width: 720px) {
  #ranking .article-rank-card.featured-rank {
    margin: 26px 0 34px;
    padding: 12px;
    border-width: 2px;
  }

  #ranking .article-rank-card.featured-rank::before {
    width: 5px;
  }

  #ranking .featured-rank .article-rank-heading {
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
  }

  #ranking .featured-rank-label {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 28px;
    padding-inline: 10px;
    font-size: 12px;
  }

  #ranking .featured-rank .article-rank-heading .rank-badge {
    min-width: 58px;
    height: 38px;
    font-size: 17px;
    line-height: 38px;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    font-size: clamp(27px, 7vw, 34px);
  }

  #ranking .featured-rank .article-service-hero .compact-logo {
    min-height: 68px;
  }

#ranking .featured-rank .article-service-hero .compact-logo img {
    max-height: 56px;
  }
}

/* v205: table of contents moved below FV, above ranking. */
.article-toc-section {
  order: 0 !important;
  width: 100%;
  margin: 0 0 clamp(16px, 3vw, 26px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article > #criteria {
  order: 1 !important;
  margin-top: 0;
}

.article > #top-picks {
  order: 2 !important;
}

.article > #ranking {
  order: 3 !important;
}

.article > #quick-compare {
  order: 4 !important;
}

.article > #faq {
  order: 5 !important;
}

.article > #columns,
.article > #columns.bottom-column-links {
  order: 6 !important;
}

.article > #advance-guide {
  order: 7 !important;
}

.article-toc-details {
  border-radius: 5px;
  background: transparent;
}

.article-toc-details > summary {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  min-height: clamp(54px, 7vw, 72px);
  padding: clamp(10px, 2vw, 16px) clamp(16px, 4vw, 34px);
  border-radius: 5px;
  background: #cf7429;
  color: #fff;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 2px 0 rgba(123, 72, 28, 0.1);
}

.article-toc-details > summary::-webkit-details-marker {
  display: none;
}

.article-toc-details .toc-title {
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.article-toc-details .toc-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(32px, 4.8vw, 42px);
  padding: 0 clamp(10px, 2vw, 16px);
  border-radius: 5px;
  background: #fff;
  color: #5c779c;
  font-size: clamp(16px, 2.6vw, 22px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.article-toc-details .toc-display-close {
  display: none;
}

.article-toc-details[open] .toc-display-open {
  display: none;
}

.article-toc-details[open] .toc-display-close {
  display: inline;
}

.article-toc-section .toc-list {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: none;
  margin-top: 10px;
  padding: clamp(10px, 2vw, 18px) clamp(14px, 4vw, 34px);
  border: 1px solid #ead7c7;
  border-radius: 5px;
  background: #fffaf5;
}

.article-toc-section .toc-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  padding: 10px 6px;
  border-bottom: 1px solid #f0dfd1;
  border-radius: 0;
  background: transparent;
  color: #20262b;
  text-decoration: none;
}

.article-toc-section .toc-list a:hover {
  background: #fff2e6;
}

.article-toc-section .toc-list a > span {
  min-width: 0;
  color: #cf7429;
  font-size: 14px;
  font-weight: 900;
}

.article-toc-section .toc-list a > span::after {
  display: none;
}

.article-toc-section .toc-main {
  margin: 0;
  font-size: clamp(15px, 2vw, 18px);
}

.article-toc-section .toc-main strong {
  font-weight: 900;
}

.article-toc-section .toc-toggle {
  margin-top: 10px;
}

.article-toc-section .toc-toggle summary {
  justify-content: center;
  min-height: 44px;
  margin: 0;
  border: 1px solid #e2c4a8;
  border-radius: 4px;
  background: #fff;
  color: #8a4f1f;
  font-weight: 900;
}

.article-toc-section .toc-extra {
  display: grid;
  gap: 0;
}

.article-toc-section .toc-sub {
  padding-left: 6px;
  font-size: 14px;
}

.article-toc-section .toc-list > a:last-of-type,
.article-toc-section .toc-extra a:last-child {
  border-bottom: 0;
}

@media (max-width: 720px) {
  .article-toc-section {
    margin-bottom: 18px;
  }

  .article-toc-details > summary {
    min-height: 54px;
    padding: 10px 14px;
  }

  .article-toc-details .toc-title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .article-toc-details .toc-display {
    min-height: 34px;
    padding-inline: 10px;
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .article-toc-section .toc-list {
    padding: 8px 14px;
  }

  .article-toc-section .toc-list a {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 43px;
    padding: 8px 2px;
  }

  .article-toc-section .toc-main,
  .article-toc-section .toc-sub {
    font-size: 13px;
    line-height: 1.35;
  }
}

/* v211: keep the ranking criteria as a short premise below the table of contents. */
.article > #criteria.research-criteria-section {
  padding: clamp(14px, 2.4vw, 18px);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.article > #criteria .compact-heading {
  margin: -1px -1px 12px;
  padding: 10px 14px;
}

.article > #criteria .compact-heading h2 {
  font-size: clamp(19px, 2.4vw, 24px);
}

.criteria-brief-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  padding: clamp(14px, 2.4vw, 18px) clamp(16px, 3vw, 22px);
  border: 1px solid #dbe6f0;
  border-left: 5px solid var(--ds-blue);
  border-radius: 6px;
  background: #f8fbff;
}

.criteria-brief-panel p {
  margin: 0;
  color: #243244;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

.criteria-brief-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.criteria-brief-panel li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #c9d8e8;
  border-radius: 999px;
  background: #fff;
  color: var(--ds-blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .article > #criteria.research-criteria-section {
    padding: 12px;
  }

  .article > #criteria .compact-heading {
    margin-bottom: 10px;
    padding: 9px 12px;
  }

  .article > #criteria .compact-heading h2 {
    font-size: 18px;
  }

  .criteria-brief-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px 14px;
  }

  .criteria-brief-panel p {
    font-size: 13px;
    line-height: 1.65;
  }

  .criteria-brief-panel ul {
    justify-content: flex-start;
  }

  .criteria-brief-panel li {
    min-height: 28px;
    font-size: 12px;
  }
}

/* v208: keep the top header fixed while scrolling. */
/* v209: responsive fixed-header polish for desktop and mobile. */
:root {
  --fixed-header-height: 74px;
}

html {
  scroll-padding-top: 0;
}

body {
  padding-top: var(--fixed-header-height);
}

body .site-header.reference-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: var(--fixed-header-height);
  z-index: 3000;
}

body .reference-hero .hero-inner {
  padding-top: clamp(20px, 4vw, 44px);
}

#toc,
#ranking,
#quick-compare,
#criteria,
#top-picks,
#faq,
#columns,
#advance-guide,
#safe-check,
#reference-links,
#ticket-center,
#flash-ticket,
#premium-ticket {
  scroll-margin-top: calc(var(--fixed-header-height) + 18px);
}

#ranking .article-service-content,
#ranking .article-rank-card,
.article-toc-section,
.section,
.card {
  min-width: 0;
}

/* v212: compact purpose-based recommendations for the top three services. */
.top-picks-section {
  margin-top: 0;
  margin-bottom: clamp(18px, 3vw, 28px);
  padding: clamp(14px, 2.4vw, 18px);
  border: 1px solid #dbe6f0;
  border-radius: 8px;
  background: #fff;
}

.top-picks-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.top-picks-heading span {
  color: var(--ds-blue);
  font-size: 12px;
  font-weight: 900;
}

.top-picks-heading h2 {
  margin: 0;
  color: #152235;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.35;
}

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

.top-pick-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d9e5ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fc 100%);
  color: #152235;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.top-pick-card:hover {
  transform: translateY(-1px);
  border-color: #b7cde2;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.top-pick-type {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--ds-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.top-pick-card strong {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.35;
}

.top-pick-card em {
  color: #12805c;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
}

.top-pick-card small {
  color: #526174;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.quick-compare-section {
  margin-top: clamp(20px, 3vw, 30px);
}

.user-compare-table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ds-border-soft, #dce6ee);
  border-radius: 8px;
  overflow: hidden;
}

.user-compare-table th,
.user-compare-table td {
  border: 0;
  border-right: 1px solid var(--ds-border-soft, #dce6ee);
  border-bottom: 1px solid var(--ds-border-soft, #dce6ee);
  vertical-align: middle;
}

.user-compare-table th:last-child,
.user-compare-table td:last-child {
  border-right: 0;
}

.user-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.user-compare-table td:first-child {
  min-width: 150px;
  font-weight: 900;
}

.user-compare-table td:not(:first-child) {
  min-width: 132px;
  color: #243244;
  font-weight: 800;
}

.user-compare-table a {
  color: var(--ds-blue);
  text-decoration: none;
}

.user-compare-table a:hover {
  text-decoration: underline;
}

.user-compare-table .quick-top-rank {
  background: linear-gradient(90deg, #fff8e8 0%, #ffffff 46%);
}

.user-compare-table .quick-top-rank-2 {
  background: linear-gradient(90deg, #eef7ff 0%, #ffffff 46%);
}

.user-compare-table .quick-top-rank-3 {
  background: linear-gradient(90deg, #fff3ed 0%, #ffffff 46%);
}

.user-compare-table .quick-top-rank td:first-child {
  border-left: 4px solid #f6a51a;
}

.user-compare-table .quick-top-rank-2 td:first-child {
  border-left-color: #2f80ed;
}

.user-compare-table .quick-top-rank-3 td:first-child {
  border-left-color: #d96f2c;
}

.user-compare-table .compare-service-cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 8px;
}

.user-compare-table .compare-service-cell small {
  grid-column: 2;
  color: #6f4e06;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.compare-rank-chip,
.compare-cell-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.compare-rank-chip {
  padding: 5px 7px;
  background: #eef2f7;
  color: #526174;
}

.quick-top-rank .compare-rank-chip {
  background: #f6a51a;
  color: #ffffff;
}

.quick-top-rank-2 .compare-rank-chip {
  background: #2f80ed;
}

.quick-top-rank-3 .compare-rank-chip {
  background: #d96f2c;
}

.user-compare-table td:not(:first-child) .compare-cell-note {
  margin: 0 0 5px;
  padding: 4px 7px;
  background: rgba(11, 121, 89, 0.1);
  color: #0b7959;
}

.user-compare-table td:not(:first-child) strong {
  display: block;
  color: #172033;
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .top-picks-section {
    padding: 12px;
  }

  .top-picks-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
  }

  .top-picks-heading h2 {
    font-size: 18px;
  }

  .top-picks-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .top-pick-card {
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 4px 10px;
    padding: 10px 12px;
  }

  .top-pick-card strong,
  .top-pick-card em {
    grid-column: 2;
  }

  .top-pick-type {
    grid-row: 1 / 3;
    align-self: center;
    text-align: center;
  }

  .top-pick-card strong {
    font-size: 15px;
  }

  .top-pick-card small {
    display: none;
  }

  .quick-compare-section .section-lead {
    font-size: 13px;
    line-height: 1.65;
  }
}

#ranking .article-service-table-wrap,
.guide-topic-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#ranking .article-service-table {
  min-width: 0;
}

@media (min-width: 721px) and (max-width: 920px) {
  :root {
    --fixed-header-height: 68px;
  }

  body .site-header.reference-header {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    padding-inline: 16px;
  }

  body .reference-brand {
    font-size: clamp(24px, 4vw, 34px);
  }
}

@media (max-width: 720px) {
  :root {
    --fixed-header-height: 60px;
  }

  body .site-header.reference-header {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: var(--fixed-header-height);
    padding-inline: 8px;
  }

  body .global-nav-menu > summary,
  .header-search {
    width: 42px;
    height: 42px;
  }

  body .reference-brand {
    gap: 6px;
    font-size: clamp(18px, 5.4vw, 24px);
  }

  body .reference-brand .brand-mark {
    width: 38px;
    height: 34px;
  }

  .article-category,
  .reference-hero h1,
  .reference-hero .lead,
  .article-info-body,
  #ranking .article-rank-heading h3,
  #ranking .article-feature-box li,
  #ranking .article-service-explain p {
    overflow-wrap: anywhere;
  }

  #ranking .article-service-content {
    padding: 14px;
  }

  #ranking .article-service-table-wrap {
    overflow-x: visible;
  }

  #ranking .article-service-table,
  #ranking .article-service-table tbody,
  #ranking .article-service-table tr,
  #ranking .article-service-table th,
  #ranking .article-service-table td {
    display: block;
    width: 100%;
  }

  #ranking .article-service-table tr {
    border-bottom: 1px solid #d2d2d2;
  }

  #ranking .article-service-table tr:last-child {
    border-bottom: 0;
  }

  #ranking .article-service-table th,
  #ranking .article-service-table td {
    border: 0;
    text-align: left;
  }

  #ranking .article-service-table th {
    padding-bottom: 4px;
    white-space: normal;
  }

  #ranking .article-service-table td {
    padding-top: 4px;
  }

  .guide-topic-table {
    min-width: 620px;
  }

  .user-compare-table {
    min-width: 760px;
  }
}

/* v219 redo: article-style essential guides and bottom column archive. */
.essential-guides-section {
  order: 5 !important;
  scroll-margin-top: 96px;
  background: #fff;
}

.article > #faq {
  order: 6 !important;
}

.article > #safe-check {
  order: 7 !important;
}

.article > #editor-profile {
  order: 8 !important;
}

.section > .heading > span,
.top-picks-heading > span,
.column-heading > span,
.operator-heading > span {
  display: none !important;
}

/* v291: requested cleanup for criteria copy, guide block, and top-3 rank alignment. */
#criteria.research-criteria-section {
  padding-bottom: clamp(18px, 3vw, 28px) !important;
}

.article > #essential-guides {
  display: none !important;
}

/* v291 final override: line up the top-three medal center with the service-name center. */
#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
  transform: translateX(clamp(-18px, -3.6vw, -14px)) !important;
}

/* v297 final: keep the requested compact quick table after older mobile rules. */
#quick-compare.quick-compare-section {
  padding: clamp(14px, 2.4vw, 22px) !important;
}

#quick-compare .compact-heading {
  display: grid !important;
  justify-items: center !important;
  margin: 0 0 clamp(14px, 2vw, 18px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#quick-compare .compact-heading span {
  display: none !important;
}

#quick-compare .compact-heading h2 {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 !important;
  padding: 2px 16px 4px !important;
  color: #24262a !important;
  background: linear-gradient(transparent 18%, #fff98b 18%, #fff98b 88%, transparent 88%);
  font-size: clamp(22px, 3.2vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

#quick-compare .compact-heading h2::before,
#quick-compare .compact-heading h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #24262a;
}

#quick-compare .compact-heading h2::before {
  left: -2px;
  transform: translateY(-50%) rotate(52deg);
  transform-origin: left center;
}

#quick-compare .compact-heading h2::after {
  right: -2px;
  transform: translateY(-50%) rotate(-52deg);
  transform-origin: right center;
}

#quick-compare .guide-topic-table-wrap {
  margin: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
}

#quick-compare .guide-topic-table.user-compare-table {
  display: table !important;
  width: 100% !important;
  min-width: 680px !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

#quick-compare .guide-topic-table.user-compare-table thead {
  position: static !important;
  display: table-header-group !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

#quick-compare .guide-topic-table.user-compare-table tbody {
  display: table-row-group !important;
}

#quick-compare .guide-topic-table.user-compare-table tr {
  display: table-row !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

#quick-compare .guide-topic-table.user-compare-table th,
#quick-compare .guide-topic-table.user-compare-table td {
  display: table-cell !important;
  min-height: 0 !important;
  padding: 9px 10px !important;
  border-right: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.42 !important;
  text-align: left !important;
  vertical-align: middle !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  overflow: hidden !important;
}

#quick-compare .guide-topic-table.user-compare-table th:last-child,
#quick-compare .guide-topic-table.user-compare-table td:last-child {
  border-right: 0 !important;
}

#quick-compare .guide-topic-table.user-compare-table th {
  background: #f8fafc !important;
  color: #667085 !important;
  font-weight: 700 !important;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(1),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(1) {
  width: 30%;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(2),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(2) {
  width: 27%;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(3),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(3) {
  width: 24%;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(4),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(4) {
  width: 19%;
}

#quick-compare .user-compare-table td::before,
#quick-compare .user-compare-table td:first-child::before {
  content: none !important;
}

#quick-compare .user-compare-table .compare-service-cell {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 5px 7px !important;
  width: 100% !important;
  min-width: 0 !important;
}

#quick-compare .user-compare-table .compare-rank-chip {
  display: inline-grid !important;
  min-width: 42px !important;
  height: 24px !important;
  padding: 0 7px !important;
  font-size: 10px !important;
}

#quick-compare .user-compare-table .compare-service-cell small {
  display: block !important;
  grid-column: 2 !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

#quick-compare .user-compare-table .compare-service-cell a,
#quick-compare .user-compare-table strong,
#quick-compare .user-compare-table td:not(:first-child) strong {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.34 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  #quick-compare.quick-compare-section {
    padding: 12px 10px 14px !important;
  }

  #quick-compare .compact-heading {
    margin-bottom: 12px !important;
  }

  #quick-compare .compact-heading h2 {
    padding-inline: 13px !important;
    font-size: clamp(20px, 5.4vw, 24px) !important;
    white-space: nowrap;
  }

  #quick-compare .compact-heading h2::before,
  #quick-compare .compact-heading h2::after {
    width: 14px;
  }

  #quick-compare .guide-topic-table.user-compare-table {
    width: 760px !important;
    min-width: 760px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table th,
  #quick-compare .guide-topic-table.user-compare-table td {
    padding: 8px 8px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  #quick-compare .user-compare-table .compare-service-cell a,
  #quick-compare .user-compare-table strong,
  #quick-compare .user-compare-table td:not(:first-child) strong {
    font-size: 13px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  #quick-compare .user-compare-table .compare-service-cell small {
    display: none !important;
  }

  #quick-compare .user-compare-table .compare-rank-chip {
    min-width: 35px !important;
    height: 21px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 390px) {
  #quick-compare .compact-heading h2 {
    font-size: 19px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table {
    width: 740px !important;
    min-width: 740px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table th,
  #quick-compare .guide-topic-table.user-compare-table td {
    padding: 7px 7px !important;
  }
}

/* v300 final: keep the top-three purpose service names on the same left edge. */
#top-picks .top-pick-card,
#top-picks .top-pick-ticket-center,
#top-picks .top-pick-flash-ticket,
#top-picks .top-pick-premium-ticket {
  grid-template-columns: 118px minmax(0, 1fr) !important;
}

@media (max-width: 720px) {
  #top-picks .top-pick-card,
  #top-picks .top-pick-ticket-center,
  #top-picks .top-pick-flash-ticket,
  #top-picks .top-pick-premium-ticket {
    grid-template-columns: 124px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }
}

@media (max-width: 390px) {
  #top-picks .top-pick-card,
  #top-picks .top-pick-ticket-center,
  #top-picks .top-pick-flash-ticket,
  #top-picks .top-pick-premium-ticket {
    grid-template-columns: 122px minmax(0, 1fr) !important;
  }
}

/* v297: compact horizontal quick table and reference-style yellow title band. */
#quick-compare.quick-compare-section {
  padding: clamp(14px, 2.4vw, 22px) !important;
}

#quick-compare .compact-heading {
  display: grid !important;
  justify-items: center !important;
  margin: 0 0 clamp(14px, 2vw, 18px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#quick-compare .compact-heading span {
  display: none !important;
}

#quick-compare .compact-heading h2 {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 !important;
  padding: 2px 16px 4px !important;
  color: #24262a !important;
  background: linear-gradient(transparent 18%, #fff98b 18%, #fff98b 88%, transparent 88%);
  font-size: clamp(22px, 3.2vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

#quick-compare .compact-heading h2::before,
#quick-compare .compact-heading h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #24262a;
}

#quick-compare .compact-heading h2::before {
  left: -2px;
  transform: translateY(-50%) rotate(52deg);
  transform-origin: left center;
}

#quick-compare .compact-heading h2::after {
  right: -2px;
  transform: translateY(-50%) rotate(-52deg);
  transform-origin: right center;
}

#quick-compare .guide-topic-table-wrap {
  border-radius: 6px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
}

#quick-compare .guide-topic-table.user-compare-table {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
}

#quick-compare .guide-topic-table th,
#quick-compare .guide-topic-table td {
  padding: 9px 10px !important;
  font-size: 13px !important;
  line-height: 1.42 !important;
  vertical-align: middle !important;
}

#quick-compare .guide-topic-table th:nth-child(1),
#quick-compare .guide-topic-table td:nth-child(1) {
  width: 30%;
}

#quick-compare .guide-topic-table th:nth-child(2),
#quick-compare .guide-topic-table td:nth-child(2) {
  width: 27%;
}

#quick-compare .guide-topic-table th:nth-child(3),
#quick-compare .guide-topic-table td:nth-child(3) {
  width: 24%;
}

#quick-compare .guide-topic-table th:nth-child(4),
#quick-compare .guide-topic-table td:nth-child(4) {
  width: 19%;
}

#quick-compare .user-compare-table .compare-service-cell {
  gap: 5px 7px !important;
}

#quick-compare .user-compare-table .compare-rank-chip {
  min-width: 42px !important;
  height: 24px !important;
  padding: 0 7px !important;
  font-size: 10px !important;
}

#quick-compare .user-compare-table .compare-service-cell a,
#quick-compare .user-compare-table strong {
  font-size: 14px !important;
  line-height: 1.34 !important;
}

#quick-compare .user-compare-table .compare-service-cell small {
  font-size: 10px !important;
  line-height: 1.25 !important;
}

@media (max-width: 760px) {
  #quick-compare.quick-compare-section {
    padding: 12px 10px 14px !important;
  }

  #quick-compare .compact-heading {
    margin-bottom: 12px !important;
  }

  #quick-compare .compact-heading h2 {
    padding-inline: 13px !important;
    font-size: clamp(20px, 5.4vw, 24px) !important;
    white-space: nowrap;
  }

  #quick-compare .compact-heading h2::before,
  #quick-compare .compact-heading h2::after {
    width: 14px;
  }

  #quick-compare .guide-topic-table-wrap {
    margin: 0 !important;
    border: 1px solid var(--line) !important;
    background: #fff !important;
  }

  #quick-compare .guide-topic-table.user-compare-table {
    display: table !important;
    width: 590px !important;
    min-width: 590px !important;
    border-collapse: collapse !important;
  }

  #quick-compare .user-compare-table thead {
    position: static !important;
    display: table-header-group !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  #quick-compare .user-compare-table tbody {
    display: table-row-group !important;
  }

  #quick-compare .user-compare-table tr {
    display: table-row !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  #quick-compare .guide-topic-table.user-compare-table th,
  #quick-compare .guide-topic-table.user-compare-table td {
    display: table-cell !important;
    min-height: 0 !important;
    padding: 8px 8px !important;
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  #quick-compare .guide-topic-table.user-compare-table th:last-child,
  #quick-compare .guide-topic-table.user-compare-table td:last-child {
    border-right: 0 !important;
  }

  #quick-compare .user-compare-table td::before,
  #quick-compare .user-compare-table td:first-child::before {
    content: none !important;
  }

  #quick-compare .guide-topic-table.user-compare-table td:first-child {
    padding: 8px !important;
    background: #fff !important;
  }

  #quick-compare .user-compare-table .compare-service-cell {
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    width: 100% !important;
  }

  #quick-compare .user-compare-table .compare-service-cell a,
  #quick-compare .user-compare-table strong {
    display: inline !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  #quick-compare .user-compare-table .compare-service-cell small {
    display: none !important;
  }

  #quick-compare .user-compare-table .compare-rank-chip {
    min-width: 35px !important;
    height: 21px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 390px) {
  #quick-compare .compact-heading h2 {
    font-size: 19px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table {
    width: 560px !important;
    min-width: 560px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table th,
  #quick-compare .guide-topic-table.user-compare-table td {
    padding: 7px 7px !important;
  }
}

/* v291 final: line up the top-three medal center with the service-name center. */
#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
  transform: translateX(clamp(-18px, -3.6vw, -14px)) !important;
}

#ranking .featured-rank .article-rank-heading {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  text-align: center !important;
}

/* v296: keep the quick comparison as a horizontally scrollable table on mobile. */
#quick-compare .guide-topic-table-wrap {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

#quick-compare .guide-topic-table.user-compare-table {
  display: table !important;
  width: max-content !important;
  min-width: 760px !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

#quick-compare .user-compare-table thead {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

#quick-compare .user-compare-table tbody {
  display: table-row-group !important;
}

#quick-compare .user-compare-table tr {
  display: table-row !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#quick-compare .guide-topic-table.user-compare-table th,
#quick-compare .guide-topic-table.user-compare-table td {
  display: table-cell !important;
  min-height: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #e3e6ea !important;
  text-align: center !important;
  vertical-align: middle !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

#quick-compare .guide-topic-table.user-compare-table th {
  background: #f7f8fa !important;
  color: #20242a !important;
  font-size: clamp(17px, 2vw, 24px) !important;
}

#quick-compare .guide-topic-table.user-compare-table td:first-child {
  background: #fff !important;
  text-align: left !important;
}

#quick-compare .user-compare-table td::before {
  content: none !important;
}

#quick-compare .user-compare-table .compare-service-cell {
  display: block !important;
  width: max-content !important;
  min-width: 160px !important;
}

#quick-compare .user-compare-table .compare-rank-chip,
#quick-compare .user-compare-table .compare-service-cell small {
  display: none !important;
}

#quick-compare .user-compare-table .compare-service-cell a {
  color: #2f68bd !important;
  font-size: clamp(17px, 2vw, 23px) !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

#quick-compare .user-compare-table td:not(:first-child) strong {
  display: block !important;
  color: #30343a !important;
  font-size: clamp(16px, 1.8vw, 21px) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  white-space: nowrap !important;
}

#ranking .featured-rank .article-rank-heading .featured-rank-label,
#ranking .featured-rank .article-rank-heading .rank-badge,
#ranking .featured-rank .article-rank-heading h3 {
  justify-self: center !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
}

#ranking .featured-rank .article-rank-heading h3 {
  width: 100% !important;
  text-align: center !important;
}

.article > #reference-links {
  order: 9 !important;
}

.article > #columns.bottom-column-links {
  order: 10 !important;
}

.essential-article-stack {
  display: grid;
  gap: 0;
  margin-top: clamp(18px, 2.5vw, 28px);
}

.essential-guide-article {
  padding: clamp(22px, 3.5vw, 36px) 0;
  border-top: 4px solid #e08a24;
}

.essential-guide-article:last-child {
  border-bottom: 4px solid #e08a24;
}

.essential-guide-article h3 {
  margin: 0 0 clamp(18px, 2.8vw, 28px);
  padding-bottom: clamp(16px, 2.2vw, 22px);
  border-bottom: 4px solid #e08a24;
  color: #06080a;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 950;
  line-height: 1.34;
  letter-spacing: 0;
}

.essential-guide-article p {
  margin: 0;
  color: #3f3f42;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.95;
}

.essential-guide-article p + p {
  margin-top: clamp(16px, 2.4vw, 26px);
}

.essential-guide-article a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: clamp(16px, 2.2vw, 24px);
  color: #185b8f;
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bottom-column-links.section {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.bottom-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.5vw, 36px) clamp(18px, 3vw, 28px);
  margin-top: clamp(20px, 3vw, 32px);
}

.bottom-column-card {
  display: grid;
  gap: 12px;
  color: #33373d;
  text-decoration: none;
}

.bottom-column-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  background: #eef2f6;
}

.bottom-column-card strong {
  color: #33373d;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 950;
  line-height: 1.45;
  letter-spacing: 0;
}

.bottom-column-card time {
  color: #52575f;
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 600;
  line-height: 1.3;
}

.bottom-column-card:hover strong,
.bottom-column-card:focus-visible strong {
  color: #185b8f;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .essential-guide-article {
    padding: 24px 0;
    border-top-width: 3px;
  }

  .essential-guide-article:last-child {
    border-bottom-width: 3px;
  }

  .essential-guide-article h3 {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom-width: 3px;
    font-size: 25px;
    line-height: 1.38;
  }

  .essential-guide-article p {
    font-size: 17px;
    line-height: 1.9;
  }

  .essential-guide-article p + p {
    margin-top: 18px;
  }

  .bottom-column-grid {
    gap: 28px 14px;
  }

  .bottom-column-card {
    gap: 9px;
  }

  .bottom-column-card strong {
    font-size: 18px;
    line-height: 1.48;
  }

  .bottom-column-card time {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .bottom-column-grid {
    grid-template-columns: 1fr;
  }
}

/* v224: guide column pages inherit the finished ranking-site look in the Worker build. */
body.guide-page {
  --guide-blue: #1f6f9f;
  --guide-green: #16856f;
  --guide-ink: #102233;
  background:
    linear-gradient(180deg, rgba(238, 247, 251, 0.92) 0, rgba(255, 255, 255, 0.98) 260px),
    #f5f8fa;
}

body.guide-page main {
  width: min(1040px, calc(100% - 36px));
}

body.guide-page .topbar {
  min-height: 64px;
  border-bottom-color: rgba(31, 111, 159, 0.18);
  box-shadow: 0 8px 22px rgba(16, 34, 51, 0.07);
}

body.guide-page .topbar .brand {
  color: var(--guide-ink);
}

body.guide-page .topbar .brand-mark {
  border: 0;
  background: linear-gradient(135deg, var(--guide-blue), var(--guide-green));
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

body.guide-page .topbar nav a {
  color: #315468;
  text-decoration: none;
}

body.guide-page .topbar nav a:hover,
body.guide-page .topbar nav a:focus-visible {
  color: var(--guide-blue);
  background: #edf7fb;
  outline: none;
}

body.guide-page .breadcrumb {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(31, 111, 159, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
}

body.guide-page .breadcrumb a,
body.guide-page .guide-cta-row .button,
body.guide-page .related-card {
  text-decoration: none;
}

body.guide-page .guide-hero {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 111, 159, 0.18);
  background:
    linear-gradient(135deg, rgba(31, 111, 159, 0.12), rgba(22, 133, 111, 0.08) 46%, rgba(244, 165, 28, 0.1)),
    #fff;
}

body.guide-page .guide-hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 42px);
  bottom: clamp(18px, 4vw, 34px);
  width: clamp(86px, 14vw, 142px);
  aspect-ratio: 1;
  border: 12px solid rgba(31, 111, 159, 0.08);
  border-radius: 999px;
  pointer-events: none;
}

body.guide-page .guide-hero .kicker {
  width: fit-content;
  color: #0e6e5b;
  background: #e9f8f3;
}

body.guide-page .guide-hero h1,
body.guide-page .guide-lead,
body.guide-page .guide-meta {
  position: relative;
  z-index: 1;
}

body.guide-page .guide-meta div {
  border-color: rgba(31, 111, 159, 0.16);
  background: rgba(255, 255, 255, 0.88);
}

body.guide-page .guide-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 22px;
  border-color: rgba(22, 133, 111, 0.2);
  background:
    linear-gradient(90deg, rgba(235, 249, 245, 0.98), rgba(255, 255, 255, 0.98)),
    #fff;
}

body.guide-page .guide-summary h2,
body.guide-page .guide-summary p {
  grid-column: 1;
}

body.guide-page .guide-summary p {
  margin-bottom: 0;
}

body.guide-page .guide-summary .guide-cta-row {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin-top: 0;
}

body.guide-page .guide-article section,
body.guide-page .guide-toc li,
body.guide-page .guide-checks li,
body.guide-page .guide-steps li,
body.guide-page .related-card,
body.guide-page .column-category {
  border-color: rgba(31, 111, 159, 0.14);
}

body.guide-page .guide-article h2::after {
  background: linear-gradient(90deg, var(--guide-blue), var(--guide-green));
}

body.guide-page .guide-toc li,
body.guide-page .guide-checks li,
body.guide-page .guide-steps li,
body.guide-page .related-card,
body.guide-page .column-category {
  background: #f8fbfc;
}

body.guide-page .guide-toc li {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-left-width: 5px;
  color: var(--guide-ink);
}

body.guide-page .guide-checks li::before {
  box-shadow: 0 0 0 5px rgba(22, 133, 111, 0.12);
}

body.guide-page .guide-table-wrap {
  border-color: rgba(31, 111, 159, 0.16);
}

body.guide-page .guide-table th {
  background: #eaf6fb;
}

body.guide-page .guide-table td {
  background: #fff;
}

body.guide-page .guide-steps span {
  background: var(--guide-blue);
  box-shadow: 0 4px 12px rgba(31, 111, 159, 0.22);
}

body.guide-page .related-card {
  min-height: 118px;
  align-content: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.guide-page .related-card:hover,
body.guide-page .related-card:focus-visible {
  border-color: rgba(31, 111, 159, 0.42);
  box-shadow: 0 10px 24px rgba(31, 111, 159, 0.1);
  transform: translateY(-1px);
  outline: none;
}

body.guide-page .related-card span {
  color: var(--guide-blue);
}

body.guide-page .guide-column-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

body.guide-page .column-category {
  min-width: 0;
  padding: 17px 15px 15px;
  border-radius: 8px;
}

body.guide-page .column-category h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--guide-ink);
  font-size: 17px;
  line-height: 1.35;
}

body.guide-page .column-category h3 span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--guide-blue), var(--guide-green));
  font-size: 12px;
  font-weight: 950;
}

body.guide-page .column-category ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.guide-page .column-category li {
  margin: 0;
}

body.guide-page .column-category li + li {
  border-top: 1px solid rgba(31, 111, 159, 0.1);
}

body.guide-page .column-category a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 0;
  color: #1b3445;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  text-decoration: none;
}

body.guide-page .column-category a:hover,
body.guide-page .column-category a:focus-visible {
  color: var(--guide-blue);
}

@media (max-width: 720px) {
  body.guide-page main {
    width: min(100% - 20px, 1040px);
    padding-top: 14px;
  }

  body.guide-page .topbar {
    padding: 10px 12px 11px;
    border-bottom-color: rgba(31, 111, 159, 0.14);
  }

  body.guide-page .topbar .brand {
    font-size: 17px;
  }

  body.guide-page .topbar nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.guide-page .topbar nav a {
    justify-content: center;
    min-height: 34px;
    padding: 0 6px;
    color: #294b5e;
  }

  body.guide-page .breadcrumb {
    width: 100%;
    font-size: 11px;
  }

  body.guide-page .guide-hero {
    padding: 24px 17px 18px;
  }

  body.guide-page .guide-hero::after {
    right: -34px;
    bottom: -42px;
    width: 116px;
    border-width: 10px;
  }

  body.guide-page .guide-hero h1 {
    font-size: 30px;
    line-height: 1.18;
  }

  body.guide-page .guide-lead {
    font-size: 15px;
    line-height: 1.82;
  }

  body.guide-page .guide-meta div {
    padding: 11px 12px;
  }

  body.guide-page .guide-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.guide-page .guide-summary h2,
  body.guide-page .guide-summary p,
  body.guide-page .guide-summary .guide-cta-row {
    grid-column: auto;
    grid-row: auto;
  }

  body.guide-page .guide-summary .guide-cta-row {
    margin-top: 2px;
  }

  body.guide-page .guide-article h2 {
    font-size: 23px;
  }

  body.guide-page .guide-article p,
  body.guide-page .guide-article li {
    font-size: 14px;
  }

  body.guide-page .guide-cta-row .button {
    min-height: 46px;
    font-size: 14px;
  }

  body.guide-page .guide-column-board {
    grid-template-columns: 1fr;
  }
}

/* v226: make each company's official LP the primary conversion path. */
#ranking .article-rank-card .article-detail-link {
  justify-self: center !important;
  width: fit-content !important;
  max-width: 100%;
  min-height: 38px;
  margin: 0 auto;
  padding: 7px 2px;
  border: 0;
  border-radius: 0;
  color: #315468;
  background: transparent;
  box-shadow: none;
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 850;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: none;
}

#ranking .article-rank-card .article-detail-link::after {
  content: "で詳細確認";
  font-weight: 750;
}

#ranking .article-rank-card .cta-recommend {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 15px 18px;
  border: 1px solid rgba(240, 162, 26, 0.42);
  border-radius: 7px 7px 0 0;
  background:
    linear-gradient(180deg, #fff9ed 0%, #fff4dc 100%),
    #fff7e8;
  color: #5f3407;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

#ranking .article-rank-card .cta-recommend span {
  display: inline-flex;
  justify-self: center;
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  color: #9a4e09;
  background: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

#ranking .article-rank-card .cta-recommend strong {
  display: block;
  font-size: clamp(16px, 2.1vw, 22px);
  font-weight: 950;
  line-height: 1.42;
}

#ranking .article-rank-card .article-official-cta,
#ranking .article-rank-card.featured-rank .article-official-cta {
  flex-direction: column;
  gap: 3px;
  justify-self: stretch;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 16px 22px;
  border: 2px solid #f0a21a;
  border-radius: 0 0 7px 7px;
  color: #fff;
  background: linear-gradient(180deg, #ffb629 0%, #f28a13 100%);
  box-shadow: inset 0 -4px 0 rgba(141, 68, 0, 0.22), 0 14px 26px rgba(202, 102, 0, 0.25);
  font-size: clamp(20px, 3.1vw, 30px);
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(92, 45, 0, 0.2);
}

#ranking .article-rank-card .article-official-cta::before {
  content: "公式サイトで最新条件へ";
  display: block;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(11px, 1.35vw, 13px);
  font-weight: 900;
  line-height: 1.2;
}

#ranking .article-rank-card .article-official-cta span {
  display: block;
}

#ranking .article-rank-card .article-official-cta:hover,
#ranking .article-rank-card .article-official-cta:focus-visible {
  background: linear-gradient(180deg, #ffc247 0%, #f08a11 100%);
  box-shadow: inset 0 -4px 0 rgba(141, 68, 0, 0.2), 0 16px 30px rgba(202, 102, 0, 0.32);
  transform: translateY(-1px);
  outline: none;
}

/* v234: keep quick table and ranking as separate sections. */
.article > #quick-compare.quick-compare-section {
  order: 3 !important;
}

.article > #ranking {
  order: 4 !important;
}

@media (max-width: 720px) {
  #ranking .article-rank-card .cta-recommend {
    margin-top: 14px;
    padding: 13px 12px;
  }

  #ranking .article-rank-card .cta-recommend strong {
    font-size: 16px;
  }

  #ranking .article-rank-card .article-official-cta,
  #ranking .article-rank-card.featured-rank .article-official-cta {
    min-height: 66px;
    padding: 13px 14px;
    font-size: 18px;
  }

  #ranking .article-rank-card .article-detail-link {
    min-height: 34px;
    font-size: 13px;
  }
}

/* v233: quick comparison table cleanup and mobile card layout. */
.user-compare-table td:not(:first-child) strong {
  display: inline;
  color: #172033;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.user-compare-table .compare-service-cell a {
  min-width: 0;
  color: var(--ds-primary-blue, #0031d8);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

@media (max-width: 760px) {
  .guide-topic-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .guide-topic-table.user-compare-table {
    display: block;
    min-width: 0;
    border-collapse: separate;
  }

  .user-compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .user-compare-table tbody {
    display: grid;
    gap: 12px;
  }

  .user-compare-table tr {
    display: grid;
    gap: 0;
    border: 1px solid var(--ds-border-soft, var(--line));
    border-left: 6px solid var(--ds-primary-blue, #0031d8);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.08);
  }

  .user-compare-table .quick-top-rank-1 {
    border-left-color: #f7a600;
    background: linear-gradient(90deg, #fff9ec, #fff 42%);
  }

  .user-compare-table .quick-top-rank-2 {
    border-left-color: #2f80ed;
    background: linear-gradient(90deg, #eef7ff, #fff 42%);
  }

  .user-compare-table .quick-top-rank-3 {
    border-left-color: #de7826;
    background: linear-gradient(90deg, #fff3ea, #fff 42%);
  }

  .guide-topic-table.user-compare-table td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid var(--ds-border-soft, var(--line));
    color: #172033;
    font-size: 14px;
    font-weight: 780;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .guide-topic-table.user-compare-table td:last-child {
    border-bottom: 0;
  }

  .user-compare-table td::before {
    content: attr(data-label);
    color: #5d6674;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
  }

  .guide-topic-table.user-compare-table td:first-child {
    grid-template-columns: 1fr;
    padding: 13px 12px;
    background: rgba(238, 247, 255, 0.72);
  }

  .user-compare-table td:first-child::before {
    content: none;
  }

  .user-compare-table .compare-service-cell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 10px;
    width: 100%;
  }

  .user-compare-table .compare-service-cell a {
    color: var(--ds-primary-blue, #0031d8);
    font-size: 16px;
    font-weight: 950;
    line-height: 1.35;
  }

  .user-compare-table .compare-service-cell small {
    grid-column: 2;
    color: #7a5a00;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
  }

  .user-compare-table .compare-rank-chip {
    display: inline-grid;
    place-items: center;
    min-width: 50px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f7a600;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
  }

  .user-compare-table td:not(:first-child) strong {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}

/* v235: simple visual system pass. Keep emphasis only on headings, key numbers, and CTA. */
:root {
  --ink: #17202b;
  --muted: #667085;
  --line: #e5e7eb;
  --blue: #2d5f7c;
  --blue-dark: #1f2f46;
  --blue-soft: #f3f6f8;
  --teal: #256f83;
  --orange: #c84a26;
  --orange-dark: #9f351b;
  --yellow-soft: #f8fafc;
  --bg: #f6f7f9;
  --panel: #fff;
  --shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.reference-brand,
.button,
.mini-button,
.source-link,
.service-cta,
.rank-badge,
.featured-rank-label,
.compare-rank-chip {
  letter-spacing: 0;
}

h1,
.reference-hero h1,
.hero-copy h1 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
}

h2,
.heading h2,
.section h2 {
  color: var(--ink);
  font-weight: 760;
  line-height: 1.26;
}

h3,
.rank-card h3,
.article-rank-heading h3,
.heading h3 {
  color: var(--ink);
  font-weight: 760;
}

p,
li,
td,
.section-lead,
.article-service-explain p,
.essential-guide-article p,
.guide-topic-card p {
  color: #344054;
  font-weight: 500;
}

.heading span,
.section-title p,
.reference-hero .meta,
.toc-main span,
.article-meta,
.source-note,
.table-note,
.compare-service-cell small {
  color: var(--muted);
  font-weight: 650;
}

.reference-header,
.reference-hero,
.article,
.section,
.quick-compare-section,
#ranking,
.essential-guides-section,
.bottom-column-links.section,
.final-cta {
  background: var(--bg);
}

.reference-header {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.reference-brand {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 760;
}

body .reference-hero {
  background: var(--bg);
}

body .reference-hero .hero-inner {
  gap: clamp(20px, 4vw, 48px);
}

.reference-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.top-pick-card,
.toc-panel,
.section,
.quick-compare-section,
.rank-card,
.article-rank-card,
.guide-topic-table-wrap,
.article-feature-box,
.article-service-table-wrap,
.cta-recommend,
.hub-bottom-cta,
.guide-topic-card,
.bottom-column-card,
.final-cta,
.faq-box,
.editor-profile,
.safe-check-card {
  border-color: var(--line) !important;
  background: var(--panel) !important;
  box-shadow: var(--shadow) !important;
}

.section {
  border-radius: 8px;
}

.heading.blue,
.heading,
.article-rank-heading,
.rank-content,
.article-service-explain,
.guide-topic-table th,
.guide-topic-table td,
.article-service-table th,
.article-service-table td,
.quick-compare-section,
.article > #ranking {
  border-color: var(--line) !important;
}

.heading.blue span,
.heading span,
.featured-rank-label,
.rank-badge,
.compare-rank-chip,
.top-pick-type,
.cta-recommend span {
  color: var(--blue-dark) !important;
  border: 1px solid var(--line) !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.rank-badge {
  color: #fff !important;
  border-color: var(--blue-dark) !important;
  background: var(--blue-dark) !important;
}

.guide-topic-table th,
.article-service-table th {
  color: var(--muted) !important;
  background: #f8fafc !important;
  font-weight: 650 !important;
}

.guide-topic-table td,
.article-service-table td {
  color: #344054 !important;
  background: #fff !important;
  font-weight: 500 !important;
}

.guide-topic-table strong,
.user-compare-table td:not(:first-child) strong,
.article-service-table td,
.rank-card .rate,
.rank-card .score {
  color: var(--orange-dark) !important;
  font-weight: 780 !important;
}

.user-compare-table .compare-service-cell a,
.service-title-link,
.article-detail-link,
.bottom-column-card strong {
  color: var(--blue-dark) !important;
  font-weight: 760 !important;
}

.article-service-hero,
.service-fv-shot {
  border-radius: 8px !important;
}

.article-service-hero {
  border: 1px solid var(--line);
  background: #f8fafc;
  box-shadow: none !important;
}

.article-feature-box h4 {
  color: var(--ink);
  font-weight: 760;
}

#ranking .article-rank-card .cta-recommend {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line) !important;
  border-radius: 8px 8px 0 0;
  background: #f8fafc !important;
  color: var(--ink);
  text-align: left;
  box-shadow: none !important;
}

#ranking .article-rank-card .cta-recommend span {
  justify-self: start;
  font-size: 12px;
}

#ranking .article-rank-card .cta-recommend strong {
  color: var(--ink);
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 760;
  line-height: 1.55;
}

.button.primary,
.mini-button,
.source-link.service-cta,
#ranking .article-rank-card .article-official-cta,
#ranking .article-rank-card.featured-rank .article-official-cta {
  border: 1px solid var(--orange-dark) !important;
  border-radius: 0 0 8px 8px;
  color: #fff !important;
  background: var(--orange) !important;
  box-shadow: 0 8px 18px rgba(159, 53, 27, 0.18) !important;
  font-weight: 760 !important;
  text-shadow: none !important;
}

.button.primary {
  border-radius: 8px;
}

.button.secondary,
.button.outline {
  color: var(--blue-dark) !important;
  border-color: var(--line) !important;
  background: #fff !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

#ranking .article-rank-card .article-official-cta:hover,
#ranking .article-rank-card .article-official-cta:focus-visible,
.button.primary:hover,
.source-link.service-cta:hover {
  background: var(--orange-dark) !important;
  transform: none;
}

#ranking .article-rank-card .article-official-cta::before {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
}

.article-rank-card.featured-rank,
.rank-card.rank-1,
.rank-card.priority-rank {
  border-top: 1px solid var(--line) !important;
}

.article-rank-card.featured-rank::before,
.rank-card.priority-rank::before {
  content: none !important;
}

.lucide-heading-icon,
.heading i {
  color: var(--blue-dark) !important;
}

.final-cta {
  color: #fff;
  background: var(--blue-dark) !important;
}

.final-cta p,
.final-cta li {
  color: rgba(255, 255, 255, 0.82);
}

body .reference-hero h1,
body .hero h1,
body h1 {
  font-weight: 800 !important;
}

#ranking .article-feature-box {
  gap: 12px;
}

#ranking .article-feature-box h4,
#ranking .featured-rank .article-feature-box h4 {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f8fafc !important;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 760;
  text-shadow: none;
}

#ranking .article-feature-box h4::after,
#ranking .featured-rank .article-feature-box h4::after {
  content: none;
}

#ranking .article-feature-box li {
  padding-left: 18px;
  color: #344054;
  font-size: clamp(14px, 1.7vw, 17px);
  font-weight: 500;
}

#ranking .article-feature-box li::before {
  content: "";
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  text-shadow: none;
}

@media (max-width: 720px) {
  .reference-hero h1,
  h1 {
    font-size: clamp(28px, 7.8vw, 34px);
    line-height: 1.22;
  }

  h2,
  .heading h2 {
    font-size: 24px;
    line-height: 1.32;
  }

  .section {
    border-radius: 8px;
  }

  #ranking .article-rank-card .cta-recommend {
    padding: 13px 12px;
  }

  #ranking .article-rank-card .cta-recommend strong {
    font-size: 15px;
  }

  #ranking .article-rank-card .article-official-cta,
  #ranking .article-rank-card.featured-rank .article-official-cta {
    min-height: 62px;
    padding: 13px 14px;
    font-size: 17px;
  }
}

/* v236: article layout outside rankings and quick comparison tables. */
.article > .section:not(#ranking):not(#quick-compare),
.article > .intro-box,
.article > .final-cta,
.guide-article > section:not(.guide-table-section),
.detail-article > .detail-section {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article > .section:not(#ranking):not(#quick-compare),
.guide-article > section,
.detail-article > .detail-section {
  margin-top: clamp(26px, 4vw, 46px);
  padding: clamp(24px, 4vw, 42px) 0 0 !important;
  border-top: 1px solid #dfe5e9 !important;
}

.article > .section:not(#ranking):not(#quick-compare) > .heading,
.article > .section:not(#ranking):not(#quick-compare) > .compact-heading,
.guide-article .guide-summary,
.guide-article .guide-toc,
.detail-summary-box,
.rating-card,
.simulation-card,
.fit-check,
.pros-cons,
.related-grid,
.related-service-grid {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article > .section:not(#ranking):not(#quick-compare) > .heading,
.article > .section:not(#ranking):not(#quick-compare) > .compact-heading {
  margin: 0 0 18px !important;
  padding: 0 0 12px !important;
  border-bottom: 3px solid #e08a24 !important;
  color: var(--ink) !important;
}

.article > .section:not(#ranking):not(#quick-compare) > .heading span,
.article > .section:not(#ranking):not(#quick-compare) > .compact-heading span {
  color: #6f7880 !important;
}

.article > .section:not(#ranking):not(#quick-compare) > .heading h2,
.article > .section:not(#ranking):not(#quick-compare) > .compact-heading h2,
.guide-article h2,
.detail-article h2 {
  color: #171b20 !important;
  font-weight: 850;
  letter-spacing: 0;
}

.criteria-brief-panel,
.article-fv-summary,
.article-info-note,
.safety-heading,
.guide-summary,
.guide-toc {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.section-flow,
.reason-grid,
.check-list,
.top-picks-grid,
.related-grid,
.related-service-grid,
.pros-cons,
.fit-check {
  display: grid;
  gap: 0 !important;
}

.section-flow article,
.reason-grid article,
.check-list li,
.top-pick-card,
.related-card,
.related-service-card,
.pros-cons > div,
.fit-check p {
  min-height: 0 !important;
  padding: 16px 0 !important;
  border: 0 !important;
  border-top: 1px solid #e2e7eb !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.related-card,
.related-service-card,
.top-pick-card {
  color: inherit;
  text-decoration: none;
}

.related-card span,
.related-service-card span,
.top-pick-card span,
.top-pick-card em {
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #6f7880 !important;
  background: transparent !important;
  font-style: normal;
}

.related-card strong,
.related-service-card strong,
.top-pick-card strong {
  color: #185b8f !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.simulation-card,
.rating-card,
.service-summary.detail-summary {
  display: grid;
  gap: 0 !important;
  margin-top: 14px;
  border-top: 1px solid #dfe5e9 !important;
}

.simulation-card > div,
.rating-card > div,
.service-summary.detail-summary > div {
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #dfe5e9 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.guide-steps,
.detail-flow-list {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guide-steps li,
.detail-flow-list li {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid #e2e7eb;
}

.faq details {
  border: 0 !important;
  border-top: 1px solid #e2e7eb !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .article > .section:not(#ranking):not(#quick-compare),
  .guide-article > section,
  .detail-article > .detail-section {
    margin-top: 30px;
    padding-top: 24px !important;
  }
}

/* v236b: make article headers read like editorial pages, not panels. */
.guide-hero,
.detail-article,
.detail-jump-nav,
.guide-meta div,
.breadcrumb {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guide-hero,
.detail-article {
  padding-inline: 0 !important;
}

.guide-hero {
  border-top: 4px solid #e08a24 !important;
  border-bottom: 1px solid #dfe5e9 !important;
}

.guide-meta,
.detail-jump-nav {
  gap: 0 !important;
  border-top: 1px solid #dfe5e9 !important;
}

.guide-meta div,
.detail-jump-nav a {
  padding: 14px 0 !important;
  border-top: 1px solid #e2e7eb !important;
}

.guide-meta div:first-child,
.detail-jump-nav a:first-child {
  border-top: 0 !important;
}

.guide-toc ol,
.detail-jump-nav {
  display: block !important;
  margin: 0;
  padding: 0 !important;
  list-style-position: inside;
}

.guide-toc li {
  display: list-item !important;
  padding: 10px 0 !important;
  border-top: 1px solid #e2e7eb !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.detail-jump-nav a {
  display: inline !important;
  margin-right: 16px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #185b8f !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* v238: restore v236 base and keep only requested emphasis changes. */
.article-info-note {
  display: inline-flex;
  width: fit-content;
}

.article-info-date {
  margin: 0;
}

.criteria-marker {
  display: inline;
  font-weight: 900;
  text-decoration-line: underline;
  text-decoration-thickness: 0.22em;
  text-underline-offset: -0.06em;
  text-decoration-skip-ink: none;
}

.marker-safety {
  color: #174f79;
  text-decoration-color: rgba(70, 155, 214, 0.42);
}

.marker-clarity {
  color: #7a3f0f;
  text-decoration-color: rgba(232, 151, 48, 0.46);
}

.marker-speed {
  color: #17634f;
  text-decoration-color: rgba(58, 174, 130, 0.44);
}

.top-picks-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px) !important;
}

.top-pick-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px !important;
  border: 1px solid #d8e3ea !important;
  border-top-width: 5px !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08) !important;
}

.top-pick-ribbon {
  justify-self: start;
  width: fit-content !important;
  padding: 4px 9px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 950 !important;
  line-height: 1;
}

.top-pick-card .top-pick-type {
  color: #5f6975 !important;
  font-size: 12px;
  font-weight: 850 !important;
}

.top-pick-card strong {
  color: #12263d !important;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.22;
}

.top-pick-card em {
  color: #17202b !important;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 950 !important;
  line-height: 1.45;
  text-decoration-line: underline;
  text-decoration-thickness: 0.2em;
  text-underline-offset: -0.05em;
  text-decoration-skip-ink: none;
}

.top-pick-card small {
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.top-pick-ticket-center {
  border-top-color: #245d93 !important;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 70%) !important;
}

.top-pick-ticket-center .top-pick-ribbon {
  background: #245d93 !important;
}

.top-pick-ticket-center em {
  text-decoration-color: rgba(74, 153, 217, 0.38);
}

.top-pick-flash-ticket {
  border-top-color: #a85b18 !important;
  background: linear-gradient(180deg, #fff8ef 0%, #fff 70%) !important;
}

.top-pick-flash-ticket .top-pick-ribbon {
  background: #a85b18 !important;
}

.top-pick-flash-ticket em {
  text-decoration-color: rgba(236, 157, 53, 0.42);
}

.top-pick-premium-ticket {
  border-top-color: #1f7b67 !important;
  background: linear-gradient(180deg, #f2fbf8 0%, #fff 70%) !important;
}

.top-pick-premium-ticket .top-pick-ribbon {
  background: #1f7b67 !important;
}

.top-pick-premium-ticket em {
  text-decoration-color: rgba(62, 181, 143, 0.42);
}

.user-compare-table .quick-top-rank .compare-rank-chip {
  color: #fff !important;
  border: 0 !important;
  font-weight: 950 !important;
}

.user-compare-table .quick-top-rank-1 .compare-rank-chip,
.user-compare-table .quick-top-rank-1 .rank-badge {
  background: #245d93 !important;
}

.user-compare-table .quick-top-rank-2 .compare-rank-chip,
.user-compare-table .quick-top-rank-2 .rank-badge {
  background: #a85b18 !important;
}

.user-compare-table .quick-top-rank-3 .compare-rank-chip,
.user-compare-table .quick-top-rank-3 .rank-badge {
  background: #1f7b67 !important;
}

.user-compare-table .quick-top-rank td:not(:first-child) strong,
#ranking .featured-rank .article-service-table tr:nth-child(4) td,
#ranking .featured-rank .article-service-table tr:nth-child(5) td,
#ranking .featured-rank .article-service-table tr:nth-child(6) td {
  color: #8f351c !important;
  font-weight: 900 !important;
  text-decoration-line: underline;
  text-decoration-thickness: 0.18em;
  text-underline-offset: -0.04em;
  text-decoration-color: rgba(224, 138, 36, 0.36);
  text-decoration-skip-ink: none;
}

#ranking #ticket-center.article-rank-card {
  border-top-color: #245d93 !important;
}

#ranking #flash-ticket.article-rank-card {
  border-top-color: #a85b18 !important;
}

#ranking #premium-ticket.article-rank-card {
  border-top-color: #1f7b67 !important;
}

#ranking #ticket-center .featured-rank-label,
#ranking #ticket-center .rank-badge {
  background: #245d93 !important;
  border-color: #245d93 !important;
}

#ranking #flash-ticket .featured-rank-label,
#ranking #flash-ticket .rank-badge {
  background: #a85b18 !important;
  border-color: #a85b18 !important;
}

#ranking #premium-ticket .featured-rank-label,
#ranking #premium-ticket .rank-badge {
  background: #1f7b67 !important;
  border-color: #1f7b67 !important;
}

/* v276: use attached medal images for top three ranking icons. */
#ranking .featured-rank .featured-rank-label {
  display: none !important;
}

#ranking .featured-rank .article-rank-heading {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(12px, 2vw, 18px) !important;
}

#ranking .featured-rank .article-rank-heading h3 {
  grid-column: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

#ranking .featured-rank .article-rank-heading .service-title-link {
  white-space: nowrap !important;
}

#ranking .featured-rank .rank-badge.rank-badge-image {
  display: grid !important;
  place-items: center !important;
  width: clamp(82px, 7.4vw, 104px) !important;
  height: clamp(82px, 7.4vw, 104px) !important;
  min-width: clamp(82px, 7.4vw, 104px) !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#ranking .featured-rank .rank-badge.rank-badge-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.22));
}

#ranking .featured-rank .rank-badge.rank-badge-image small {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  #ranking .featured-rank .article-rank-heading {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  #ranking .featured-rank .rank-badge.rank-badge-image,
  #ranking .featured-rank .rank-badge.rank-badge-image img {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.16 !important;
  }
}

/* v281 final override: compact laurel medals and keep top-three service names on one line. */
#ranking .featured-rank .article-rank-heading {
  grid-template-columns: clamp(86px, 9vw, 118px) minmax(0, 1fr) !important;
  gap: clamp(10px, 1.8vw, 16px) !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image,
#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image img {
  width: clamp(86px, 9vw, 118px) !important;
  height: clamp(56px, 5.9vw, 78px) !important;
  min-width: clamp(86px, 9vw, 118px) !important;
}

#ranking .featured-rank .article-rank-heading h3,
#ranking .featured-rank .article-rank-heading .service-title-link {
  min-width: 0 !important;
  white-space: nowrap !important;
}

#ranking .featured-rank .article-rank-heading h3 {
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1.16 !important;
}

@media (max-width: 720px) {
  #ranking .featured-rank .article-rank-heading {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image,
  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image img {
    width: 62px !important;
    height: 42px !important;
    min-width: 62px !important;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    font-size: clamp(20px, 5.4vw, 23px) !important;
    line-height: 1.16 !important;
  }
}

/* v281: attached-reference laurel medals and one-line mobile service names. */
#ranking .featured-rank .article-rank-heading {
  grid-template-columns: clamp(86px, 9vw, 118px) minmax(0, 1fr) !important;
  gap: clamp(10px, 1.8vw, 16px) !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image,
#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image img {
  width: clamp(86px, 9vw, 118px) !important;
  height: clamp(56px, 5.9vw, 78px) !important;
  min-width: clamp(86px, 9vw, 118px) !important;
}

#ranking .featured-rank .article-rank-heading h3,
#ranking .featured-rank .article-rank-heading .service-title-link {
  min-width: 0 !important;
  white-space: nowrap !important;
}

#ranking .featured-rank .article-rank-heading h3 {
  font-size: clamp(28px, 4vw, 42px) !important;
}

@media (max-width: 720px) {
  #ranking .featured-rank .article-rank-heading {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image,
  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image img {
    width: 62px !important;
    height: 42px !important;
    min-width: 62px !important;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    font-size: clamp(20px, 5.4vw, 23px) !important;
    line-height: 1.16 !important;
  }
}

#ranking .featured-rank .article-rank-heading h3 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.15;
}

#ranking .article-rank-card .article-detail-link {
  font-size: clamp(15px, 1.8vw, 17px);
}

#ranking #ticket-center .article-official-cta,
.detail-page .detail-article:has(a[href*="ticket-center.jp"]) .service-cta.priority-cta {
  border-color: #245d93 !important;
  background: #245d93 !important;
  box-shadow: 0 10px 22px rgba(36, 93, 147, 0.22) !important;
}

#ranking #flash-ticket .article-official-cta,
.detail-page .detail-article:has(a[href*="flash-kaitori.com"]) .service-cta.priority-cta {
  border-color: #a85b18 !important;
  background: #a85b18 !important;
  box-shadow: 0 10px 22px rgba(168, 91, 24, 0.22) !important;
}

#ranking #premium-ticket .article-official-cta,
.detail-page .detail-article:has(a[href*="premium-ticket.co.jp"]) .service-cta.priority-cta {
  border-color: #1f7b67 !important;
  background: #1f7b67 !important;
  box-shadow: 0 10px 22px rgba(31, 123, 103, 0.22) !important;
}

@media (max-width: 720px) {
  .top-picks-grid {
    grid-template-columns: 1fr;
  }

  .top-pick-card {
    padding: 16px 14px !important;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    font-size: clamp(30px, 8.4vw, 38px);
  }

  #ranking .article-rank-card .article-detail-link {
    font-size: 14px;
  }
}

/* v260: overlay green topic labels on the column thumbnails. */
.bottom-column-card .column-thumb {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9 !important;
  background: #eef2f6 !important;
}

.bottom-column-card .column-thumb::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.68)) !important;
  pointer-events: none !important;
}

.bottom-column-card .column-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.bottom-column-card .column-thumb-title {
  position: absolute !important;
  left: clamp(14px, 2.2vw, 24px) !important;
  right: clamp(14px, 2.2vw, 24px) !important;
  bottom: clamp(13px, 2vw, 22px) !important;
  z-index: 1 !important;
  width: fit-content !important;
  max-width: calc(100% - clamp(28px, 4.4vw, 48px)) !important;
  padding: 7px 10px 8px !important;
  border-left: 5px solid #1f7b67 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #17634f !important;
  font-size: clamp(16px, 2vw, 24px) !important;
  font-weight: 950 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

/* v264 final order guard: checklist must appear above FAQ. */
.article > #safe-check {
  order: 6 !important;
}

.article > #faq {
  order: 7 !important;
}

.article > #editor-profile {
  order: 8 !important;
}

.section > .heading > span,
.top-picks-heading > span,
.column-heading > span,
.operator-heading > span {
  display: none !important;
}

/* v264 redo: requested-only adjustments from v260. */
.article-toc-section .toc-list a,
body.guide-page .guide-toc li {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-toc-section .toc-list a > span,
.article-toc-section .toc-sub > span {
  display: none;
}

.article-toc-section .toc-list {
  gap: 8px;
}

.article-toc-section .toc-main,
.article-toc-section .toc-sub {
  padding: 8px 0;
  color: #1d2733;
}

.article-toc-section .toc-main:hover,
.article-toc-section .toc-sub:hover {
  color: #235ca8;
  background: transparent;
}

body.guide-page .guide-toc li {
  padding: 0;
}

body.guide-page .guide-toc li::before {
  content: none;
}

.section > .heading > span,
.top-picks-heading > span,
.column-heading > span,
.operator-heading > span {
  display: none !important;
}

#ranking .article-rank-card .article-detail-link {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #b8c7d6;
  border-radius: 6px;
  color: #24445c;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 800;
}

#ranking .article-rank-card .article-detail-link::after {
  content: none;
}

#ranking .article-rank-card .article-detail-link:hover,
#ranking .article-rank-card .article-detail-link:focus-visible {
  border-color: #7f9cb5;
  color: #17364b;
  background: #eef4f8;
}

.editor-profile-body {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.editor-profile-avatar {
  display: block !important;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef4f8;
}

.editor-profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 680px) {
  .editor-profile-body {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .editor-profile-avatar {
    width: 56px;
    height: 56px;
  }
}

/* v240: compact reference-style TOC requested from the attached image. */
.article-toc-section {
  margin: clamp(18px, 3vw, 26px) 0 clamp(18px, 3vw, 28px);
}

.article-fv-summary {
  width: min(920px, 100%);
  margin: clamp(28px, 5vw, 42px) auto 0;
  padding: clamp(16px, 3vw, 22px);
  border: 0 !important;
  border-left: 6px solid #e87500 !important;
  border-radius: 6px !important;
  background: #fff7ec !important;
}

.article-info-note {
  display: grid !important;
  gap: 14px;
  width: min(920px, 100%);
  margin: 24px auto 0;
}

.article-info-body {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.85;
}

.article-toc-details {
  border-left: 2px solid #d8e6ef;
  border-radius: 0;
  background: #fff;
}

.article-toc-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 12px clamp(16px, 4vw, 34px);
  border-radius: 0;
  background: #fff;
  color: #142333;
  box-shadow: none;
}

.article-toc-details > summary::before {
  content: "▶";
  color: #142333;
  font-size: 14px;
  line-height: 1;
}

.article-toc-details[open] > summary::before {
  content: "▼";
}

.article-toc-details .toc-title,
.article-toc-details .toc-display {
  color: #142333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.article-toc-details .toc-display {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.article-toc-details .toc-display-open,
.article-toc-details .toc-display-close,
.article-toc-details[open] .toc-display-open,
.article-toc-details[open] .toc-display-close {
  display: inline !important;
}

.article-toc-section .toc-list {
  margin: 0;
  padding: 6px clamp(16px, 4vw, 34px) 16px;
  border: 0;
  border-left: 2px solid #d8e6ef;
  border-radius: 0;
  background: #fff;
}

.article-toc-section .toc-list a {
  min-height: 42px;
}

@media (max-width: 720px) {
  .article-toc-details > summary {
    min-height: 50px;
    padding: 11px 16px;
  }

  .article-toc-details .toc-title,
  .article-toc-details .toc-display {
    font-size: 15px;
  }

  .article-toc-section .toc-list {
    padding-inline: 16px;
  }
}

/* v241: remove the post-FV rule and bring FV typography closer to article body scale. */
body .reference-hero.article-fv,
body .article-fv {
  border-bottom: 0 !important;
}

body .article-fv .hero-inner {
  padding-top: clamp(28px, 4.6vw, 50px);
  padding-bottom: clamp(24px, 4vw, 42px);
}

.article-category {
  margin-bottom: clamp(16px, 3vw, 24px);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 650;
  line-height: 1.5;
}

body .article-fv h1 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800 !important;
  line-height: 1.28;
}

.article-meta {
  margin-bottom: clamp(22px, 4vw, 34px);
  font-size: clamp(14px, 1.5vw, 16px);
}

.article-meta span {
  min-width: 48px;
  min-height: 34px;
  border-width: 1.5px;
  font-weight: 650;
}

body .article-fv .lead {
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 500;
  line-height: 1.8;
}

@media (max-width: 720px) {
  body .article-fv .hero-inner {
    padding-top: 22px;
    padding-bottom: 26px;
  }

  .article-category {
    font-size: 13px;
  }

  body .article-fv h1 {
    font-size: clamp(28px, 7.4vw, 32px);
    line-height: 1.3;
  }

  .article-meta {
    font-size: 14px;
  }

  body .article-fv .lead {
    font-size: 16px;
    line-height: 1.78;
  }
}

/* v242: tighten the blank space between the FV lead and the comparison summary. */
body .article-fv .hero-inner {
  padding-bottom: clamp(4px, 1vw, 8px);
}

body .article-fv + .page-grid {
  margin-top: clamp(4px, 1vw, 8px);
}

.article-fv-summary {
  margin-top: clamp(4px, 1vw, 8px);
}

body .article-fv .lead {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  body .article-fv .hero-inner {
    padding-bottom: 4px;
  }

  body .article-fv + .page-grid {
    margin-top: 4px;
  }

  .article-fv-summary {
    margin-top: 4px;
  }
}

/* v244: keep only ranking, quick comparison, and the author profile card-like. */
.article > .section:not(#ranking):not(#quick-compare),
.top-picks-section,
.safe-check-section,
.reference-section,
.bottom-column-links,
.reference-card,
.site-operator-card,
.safe-summary-card,
.hub-bottom-cta {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article > .section:not(#ranking):not(#quick-compare) {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.top-picks-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.top-pick-card,
.top-pick-ticket-center,
.top-pick-flash-ticket,
.top-pick-premium-ticket {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: baseline;
  padding: 18px 0 !important;
  border: 0 !important;
  border-top: 1px solid #dfe7ed !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.top-pick-card:hover,
.top-pick-card:focus-visible {
  transform: none !important;
  border-color: #dfe7ed !important;
  background: transparent !important;
  box-shadow: none !important;
}

.top-pick-card .top-pick-ribbon,
.top-pick-card .top-pick-type {
  grid-column: 1;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 12px;
  line-height: 1.45;
}

.top-pick-ticket-center .top-pick-ribbon,
.top-pick-ticket-center .top-pick-type {
  color: #245d93 !important;
}

.top-pick-flash-ticket .top-pick-ribbon,
.top-pick-flash-ticket .top-pick-type {
  color: #a85b18 !important;
}

.top-pick-premium-ticket .top-pick-ribbon,
.top-pick-premium-ticket .top-pick-type {
  color: #1f7b67 !important;
}

.top-pick-card strong,
.top-pick-card em,
.top-pick-card small {
  grid-column: 2;
}

.top-pick-card strong {
  font-size: clamp(18px, 2vw, 22px);
}

.top-pick-card em {
  font-size: 15px;
}

.top-pick-card small {
  font-size: 13px;
  font-weight: 650;
}

.safe-summary-card {
  overflow: visible;
}

.safe-summary-card h3 {
  padding: 0 0 12px !important;
  border-bottom: 2px solid #dfe7ed;
  color: #142330 !important;
  background: transparent !important;
  font-size: clamp(18px, 2vw, 22px);
}

.safe-summary-card ul {
  gap: 0 !important;
  padding: 0 !important;
}

.safe-summary-card li {
  padding: 14px 0 !important;
  border-bottom: 1px solid #e5ebef !important;
}

.safe-summary-card li:last-child {
  border-bottom: 0 !important;
}

.reference-card {
  gap: 14px;
  padding: 0 !important;
}

.reference-card ul {
  gap: 0 !important;
  padding-left: 1.2em;
}

.reference-card li {
  padding: 10px 0;
  border-bottom: 1px solid #e5ebef;
}

.reference-card li:last-child {
  border-bottom: 0;
}

.site-operator-card {
  margin-top: 24px;
  padding: 0 !important;
  border-top: 1px solid #dfe7ed !important;
}

.operator-heading {
  padding: 18px 0 12px;
}

.bottom-column-grid {
  gap: 0 !important;
}

.bottom-column-card {
  padding: 18px 0 !important;
  border: 0 !important;
  border-top: 1px solid #dfe7ed !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bottom-column-card img {
  border-radius: 0 !important;
}

@media (max-width: 720px) {
  .top-pick-card,
  .top-pick-ticket-center,
  .top-pick-flash-ticket,
  .top-pick-premium-ticket {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px 10px;
    padding: 15px 0 !important;
  }

  .top-pick-card small {
    display: block;
  }

  .safe-summary-card h3 {
    padding-bottom: 10px !important;
  }
}

/* v260: overlay green topic labels on the column thumbnails. */
.bottom-column-card .column-thumb {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9 !important;
  background: #eef2f6 !important;
}

.bottom-column-card .column-thumb::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.68)) !important;
  pointer-events: none !important;
}

.bottom-column-card .column-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.bottom-column-card .column-thumb-title {
  position: absolute !important;
  left: clamp(14px, 2.2vw, 24px) !important;
  right: clamp(14px, 2.2vw, 24px) !important;
  bottom: clamp(13px, 2vw, 22px) !important;
  z-index: 1 !important;
  width: fit-content !important;
  max-width: calc(100% - clamp(28px, 4.4vw, 48px)) !important;
  padding: 7px 10px 8px !important;
  border-left: 5px solid #1f7b67 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #17634f !important;
  font-size: clamp(16px, 2vw, 24px) !important;
  font-weight: 950 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

/* v265 requested-only corrections. */
.article > #service-details {
  order: 5 !important;
}

.article > #safe-check {
  order: 6 !important;
}

.article > #faq {
  order: 7 !important;
}

.article > #editor-profile {
  order: 8 !important;
}

.article > #reference-links {
  order: 9 !important;
}

.article > #columns {
  order: 10 !important;
}

.section > .heading > span,
.top-picks-heading > span,
.column-heading > span,
.operator-heading > span {
  display: none !important;
}

.article-toc-section .toc-list {
  display: block !important;
  padding: 6px clamp(16px, 4vw, 34px) 16px !important;
  border: 0 !important;
  border-left: 2px solid #d8e6ef !important;
  background: #fff !important;
}

.article-toc-section .toc-list a,
.article-toc-section .toc-main,
.article-toc-section .toc-sub {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #142333 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  text-decoration: none !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.article-toc-section .toc-list a > span,
.article-toc-section .toc-sub > span {
  display: none !important;
}

.article-toc-section .toc-main strong {
  display: inline !important;
  font-weight: 800 !important;
}

#ranking .article-rank-card .article-detail-link {
  justify-self: center !important;
  width: fit-content !important;
  max-width: calc(100% - 24px) !important;
  min-height: 36px !important;
  margin: 10px auto 0 !important;
  padding: 6px 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #315468 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

#ranking .article-rank-card .article-detail-link::after {
  content: none !important;
}

#ranking .featured-rank .article-detail-link {
  width: fit-content !important;
}

@media (max-width: 720px) {
  .article-toc-section .toc-list a,
  .article-toc-section .toc-main,
  .article-toc-section .toc-sub {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  #ranking .article-rank-card .article-detail-link {
    min-height: 34px !important;
    font-size: 13px !important;
  }
}

/* v265: polish guide articles so column pages match the main article quality. */
body.guide-page {
  margin: 0 !important;
  background: #f5f7fa !important;
  color: #142333 !important;
}

body.guide-page .topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  min-height: 68px !important;
  padding: 0 clamp(18px, 5vw, 54px) !important;
  border-bottom: 1px solid #dce5ec !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
}

body.guide-page .topbar .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #142333 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.guide-page .topbar .brand-mark {
  display: inline-grid !important;
  place-items: center !important;
  min-width: 44px !important;
  min-height: 34px !important;
  border-radius: 4px !important;
  background: #f29a00 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body.guide-page .topbar nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

body.guide-page .topbar nav a {
  color: #315468 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.guide-page main {
  padding: clamp(18px, 4vw, 42px) 0 clamp(46px, 7vw, 80px) !important;
}

body.guide-page .guide-article {
  width: min(100% - 32px, 1040px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.guide-page .breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  margin: 0 0 18px !important;
  color: #6b7b8f !important;
  font-size: 14px !important;
}

body.guide-page .breadcrumb a {
  color: #225ca8 !important;
  text-decoration: none !important;
}

body.guide-page .guide-hero {
  position: relative !important;
  padding: clamp(24px, 5vw, 46px) 0 clamp(24px, 4vw, 38px) !important;
  border-bottom: 1px solid #dbe4ec !important;
  background: transparent !important;
}

body.guide-page .guide-hero::before,
body.guide-page .guide-hero::after {
  content: none !important;
}

body.guide-page .guide-hero .kicker {
  display: inline-block !important;
  margin: 0 0 16px !important;
  padding: 0 0 8px !important;
  border-bottom: 3px solid #e8941a !important;
  color: #17634f !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

body.guide-page .guide-hero h1 {
  max-width: 880px !important;
  margin: 0 0 18px !important;
  color: #142333 !important;
  font-size: clamp(34px, 4.4vw, 56px) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

body.guide-page .guide-lead {
  max-width: 920px !important;
  margin: 0 0 24px !important;
  color: #435469 !important;
  font-size: clamp(16px, 1.7vw, 19px) !important;
  line-height: 1.85 !important;
}

body.guide-page .guide-meta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #dbe4ec !important;
  border-bottom: 1px solid #dbe4ec !important;
}

body.guide-page .guide-meta div {
  padding: 15px 18px !important;
  border-right: 1px solid #dbe4ec !important;
}

body.guide-page .guide-meta div:last-child {
  border-right: 0 !important;
}

body.guide-page .guide-meta dt {
  margin: 0 0 7px !important;
  color: #607188 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.guide-page .guide-meta dd {
  margin: 0 !important;
  color: #172033 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body.guide-page .guide-summary,
body.guide-page .guide-article section {
  margin: clamp(22px, 4vw, 34px) 0 0 !important;
  padding: clamp(18px, 3vw, 26px) !important;
  border: 1px solid #dbe4ec !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

body.guide-page .guide-summary {
  border-left: 6px solid #e8941a !important;
}

body.guide-page .guide-article h2 {
  margin: 0 0 16px !important;
  padding: 0 0 12px !important;
  border-bottom: 2px solid #e8941a !important;
  color: #142333 !important;
  font-size: clamp(22px, 2.6vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

body.guide-page .guide-article h2::after {
  content: none !important;
}

body.guide-page .guide-article p,
body.guide-page .guide-article li {
  color: #435469 !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

body.guide-page .guide-toc ol,
body.guide-page .guide-checks,
body.guide-page .guide-steps {
  margin: 0 !important;
}

body.guide-page .guide-toc li {
  border-bottom: 1px solid #e6edf2 !important;
}

body.guide-page .guide-toc li:last-child {
  border-bottom: 0 !important;
}

body.guide-page .guide-table-wrap {
  overflow-x: auto !important;
  margin-top: 14px !important;
  border: 1px solid #dbe4ec !important;
  border-radius: 8px !important;
}

body.guide-page .guide-table {
  width: 100% !important;
  min-width: 680px !important;
  border-collapse: collapse !important;
}

body.guide-page .guide-table th,
body.guide-page .guide-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid #dbe4ec !important;
  text-align: left !important;
  vertical-align: top !important;
}

body.guide-page .guide-table th {
  background: #f0f5f8 !important;
  color: #315468 !important;
  font-weight: 900 !important;
}

body.guide-page .guide-table td {
  background: #fff !important;
  color: #435469 !important;
}

body.guide-page .guide-table tr:last-child th,
body.guide-page .guide-table tr:last-child td {
  border-bottom: 0 !important;
}

body.guide-page .guide-cta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

body.guide-page .guide-cta-row .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  border-radius: 7px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.guide-page .guide-cta-row .primary {
  background: #cc4926 !important;
  color: #fff !important;
}

body.guide-page .guide-cta-row .secondary {
  border: 1px solid #b7c5d3 !important;
  background: #f8fafc !important;
  color: #315468 !important;
}

@media (max-width: 720px) {
  body.guide-page .topbar {
    min-height: 58px !important;
    padding-inline: 12px !important;
  }

  body.guide-page .topbar .brand {
    font-size: 16px !important;
  }

  body.guide-page .topbar .brand-mark {
    min-width: 38px !important;
    min-height: 30px !important;
    font-size: 12px !important;
  }

  body.guide-page .topbar nav {
    gap: 8px !important;
  }

  body.guide-page .topbar nav a {
    font-size: 12px !important;
  }

  body.guide-page .guide-article {
    width: min(100% - 24px, 1040px) !important;
  }

  body.guide-page .guide-hero h1 {
    font-size: clamp(29px, 8vw, 36px) !important;
  }

  body.guide-page .guide-meta {
    grid-template-columns: 1fr !important;
  }

  body.guide-page .guide-meta div {
    border-right: 0 !important;
    border-bottom: 1px solid #dbe4ec !important;
  }

  body.guide-page .guide-meta div:last-child {
    border-bottom: 0 !important;
  }

  body.guide-page .guide-summary,
  body.guide-page .guide-article section {
    padding: 16px !important;
  }

  body.guide-page .guide-article p,
  body.guide-page .guide-article li {
    font-size: 15px !important;
  }

body.guide-page .guide-table {
    min-width: 620px !important;
  }
}

/* v267: restore visible numbered TOC and center the entries only. */
#toc.article-toc-section {
  text-align: center !important;
}

#toc .article-toc-details summary {
  justify-content: center !important;
  text-align: center !important;
}

#toc .toc-list,
#toc .toc-extra {
  justify-items: center !important;
  max-width: 560px !important;
  margin-inline: auto !important;
}

#toc .toc-main,
#toc .toc-sub {
  display: inline-grid !important;
  grid-template-columns: auto auto !important;
  justify-content: center !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 10px !important;
  text-align: center !important;
}

#toc.article-toc-section .toc-list a > span,
#toc.article-toc-section .toc-sub > span {
  display: inline-block !important;
  min-width: 34px !important;
  padding-right: 8px !important;
  color: #526675 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-align: right !important;
}

#toc .toc-list a > span::after {
  display: block !important;
}

.service-details-section {
  scroll-margin-top: 96px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid #d6dde4;
  border-bottom: 1px solid #d6dde4;
}

.service-detail-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  min-width: 0;
  padding: 20px 0;
  border-bottom: 1px solid #d6dde4;
  color: var(--ink);
  text-decoration: none;
}

.service-detail-card:last-child {
  border-bottom: 0;
}

.service-detail-card span {
  grid-row: auto;
  min-width: 46px;
  color: #245d93;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.service-detail-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.service-detail-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.service-detail-card:hover,
.service-detail-card:focus-visible {
  color: #245d93;
  outline: none;
}

@media (max-width: 720px) {
  #toc .toc-list,
  #toc .toc-extra {
    max-width: 100% !important;
  }

  #toc .toc-main,
  #toc .toc-sub {
    padding-inline: 6px !important;
  }

  .service-detail-card {
    padding: 16px 0;
    gap: 4px 12px;
  }
}

/* v270: center all guide/column articles and remove card-style panels. */
body.guide-page .guide-article,
body.guide-page .guide-article * {
  text-align: center !important;
}

body.guide-page .guide-article {
  margin-inline: auto !important;
}

body.guide-page .guide-hero,
body.guide-page .guide-summary,
body.guide-page .guide-toc,
body.guide-page .guide-article > section,
body.guide-page .guide-faq,
body.guide-page .related-section,
body.guide-page .related-grid,
body.guide-page .related-card,
body.guide-page .column-category-board,
body.guide-page .column-category,
body.guide-page .guide-checks,
body.guide-page .guide-checks li,
body.guide-page .guide-steps,
body.guide-page .guide-steps li,
body.guide-page .guide-meta,
body.guide-page .guide-meta div,
body.guide-page .breadcrumb {
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.guide-page .guide-summary,
body.guide-page .guide-toc,
body.guide-page .guide-article > section,
body.guide-page .guide-faq,
body.guide-page .related-section {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.guide-page .guide-checks,
body.guide-page .guide-steps,
body.guide-page .column-category ul {
  width: min(760px, 100%) !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  list-style-position: inside !important;
}

body.guide-page .guide-steps li {
  grid-template-columns: 1fr !important;
  justify-items: center !important;
}

body.guide-page .guide-steps li > span {
  margin-inline: auto !important;
}

body.guide-page .guide-table {
  margin-inline: auto !important;
}

body.guide-page .guide-table th,
body.guide-page .guide-table td {
  text-align: center !important;
}

body.guide-page .related-grid,
body.guide-page .guide-column-board {
  gap: 0 !important;
}

body.guide-page .related-card,
body.guide-page .column-category {
  padding: 18px 0 !important;
  border-top: 1px solid #e2e7eb !important;
}

body.guide-page .related-card:hover,
body.guide-page .related-card:focus-visible,
body.guide-page .column-category a:hover,
body.guide-page .column-category a:focus-visible {
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* v271: requested-only ranking typography, detail CTA, and compact service table adjustments. */
#ranking,
#ranking * {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif !important;
}

#ranking .article-rank-card .article-detail-link {
  min-height: 42px !important;
  padding: 8px 14px !important;
  border: 1px solid #cbd9e3 !important;
  border-radius: 6px !important;
  background: #f7fafc !important;
  color: #254c63 !important;
  font-size: clamp(16px, 1.7vw, 18px) !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

#ranking .article-rank-card .article-detail-link:hover,
#ranking .article-rank-card .article-detail-link:focus-visible {
  border-color: #93aabd !important;
  background: #eef5f8 !important;
  color: #18394f !important;
}

#ranking .article-service-table th,
#ranking .article-service-table td {
  padding: 12px 14px !important;
  font-size: clamp(15px, 1.35vw, 18px) !important;
  line-height: 1.42 !important;
}

#ranking .article-service-table th {
  font-weight: 700 !important;
}

#ranking .article-service-table td {
  font-weight: 760 !important;
}

@media (max-width: 720px) {
  #ranking .article-rank-card .article-detail-link {
    min-height: 38px !important;
    padding: 7px 12px !important;
    font-size: 15px !important;
  }

  #ranking .article-service-table th,
  #ranking .article-service-table td {
    padding: 7px 10px !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
  }
}

/* v272: simplify TOC numbers by removing the number frame/background only. */
#toc.article-toc-section .toc-list a > span,
#toc.article-toc-section .toc-sub > span {
  min-width: 0 !important;
  padding: 0 8px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #526675 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  text-align: right !important;
}

#toc.article-toc-section .toc-list a > span::after,
#toc.article-toc-section .toc-sub > span::after {
  content: none !important;
  display: none !important;
}

/* v273: remove the recommended-top3 pill and make rank 1-3 badges more prominent. */
#ranking .featured-rank-label {
  display: none !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge {
  position: relative !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  padding: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.38),
    inset 0 -6px 10px rgba(62, 35, 10, 0.18),
    0 10px 20px rgba(15, 23, 42, 0.18) !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge::after {
  content: "" !important;
  position: absolute !important;
  inset: 7px !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}

#ranking #ticket-center.top-rank-1 .article-rank-heading .rank-badge {
  background: radial-gradient(circle at 32% 24%, #fff4b7 0%, #fff4b7 12%, #f6bb35 34%, #c77613 72%, #8f4510 100%) !important;
  box-shadow:
    0 0 0 5px rgba(246, 187, 53, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.44),
    inset 0 -7px 11px rgba(81, 43, 5, 0.2),
    0 12px 22px rgba(199, 118, 19, 0.28) !important;
}

#ranking #flash-ticket.top-rank-2 .article-rank-heading .rank-badge {
  background: radial-gradient(circle at 32% 24%, #ffffff 0%, #ffffff 12%, #c8d3df 36%, #7d8fa3 74%, #526273 100%) !important;
  box-shadow:
    0 0 0 5px rgba(148, 163, 184, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.5),
    inset 0 -7px 11px rgba(38, 51, 67, 0.2),
    0 12px 22px rgba(82, 98, 115, 0.24) !important;
}

#ranking #premium-ticket.top-rank-3 .article-rank-heading .rank-badge {
  background: radial-gradient(circle at 32% 24%, #ffe0bd 0%, #ffe0bd 12%, #d88a46 36%, #a45d2b 74%, #743816 100%) !important;
  box-shadow:
    0 0 0 5px rgba(216, 138, 70, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.42),
    inset 0 -7px 11px rgba(83, 38, 13, 0.22),
    0 12px 22px rgba(164, 93, 43, 0.26) !important;
}

@media (max-width: 720px) {
  #ranking .featured-rank .article-rank-heading .rank-badge {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    font-size: 16px !important;
  }
}

/* v282: use the attached round ribbon medal assets for the top three rank icons. */
#ranking .featured-rank .article-rank-heading {
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(8px, 1.5vw, 14px) !important;
}

#ranking .featured-rank .article-rank-heading h3 {
  grid-column: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: clamp(104px, 9.6vw, 126px) !important;
  height: clamp(104px, 9.6vw, 126px) !important;
  min-width: clamp(104px, 9.6vw, 126px) !important;
  min-height: clamp(104px, 9.6vw, 126px) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image::after {
  content: none !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.22));
}

#ranking #ticket-center.top-rank-1 .article-rank-heading .rank-badge.rank-badge-image,
#ranking #flash-ticket.top-rank-2 .article-rank-heading .rank-badge.rank-badge-image,
#ranking #premium-ticket.top-rank-3 .article-rank-heading .rank-badge.rank-badge-image {
  background: transparent !important;
  box-shadow: none !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image small {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  #ranking .featured-rank .article-rank-heading {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image,
  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image img {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    aspect-ratio: 1 / 1 !important;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    font-size: clamp(19px, 5.45vw, 23px) !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
}

/* v283: inline the top-three medal artwork so rank icons never break as missing images. */
#ranking .featured-rank .article-rank-heading {
  grid-template-columns: clamp(78px, 9vw, 112px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(10px, 1.8vw, 16px) !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
  display: grid !important;
  place-items: center !important;
  width: clamp(78px, 9vw, 112px) !important;
  height: clamp(51px, 5.9vw, 73px) !important;
  min-width: clamp(78px, 9vw, 112px) !important;
  min-height: clamp(51px, 5.9vw, 73px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image::after {
  content: none !important;
}

#ranking .featured-rank .article-rank-heading .rank-medal-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  filter: drop-shadow(0 8px 13px rgba(15, 23, 42, 0.18));
}

#ranking .featured-rank .article-rank-heading h3,
#ranking .featured-rank .article-rank-heading .service-title-link {
  min-width: 0 !important;
  white-space: nowrap !important;
}

#ranking .featured-rank .article-rank-heading h3 {
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1.16 !important;
}

@media (max-width: 720px) {
  #ranking .featured-rank .article-rank-heading {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
    width: 70px !important;
    height: 46px !important;
    min-width: 70px !important;
    min-height: 46px !important;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    font-size: clamp(20px, 5.2vw, 23px) !important;
    line-height: 1.14 !important;
  }
}

/* v284: make the author portrait feel hand-drawn and readable at mobile size. */
.editor-profile-avatar {
  display: block !important;
  width: 78px !important;
  height: 78px !important;
  border: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #eef4f8 !important;
}

.editor-profile-avatar img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 560px) {
  .editor-profile-body {
    grid-template-columns: 66px minmax(0, 1fr) !important;
    gap: 13px !important;
    align-items: start !important;
  }

  .editor-profile-avatar {
    width: 62px !important;
    height: 62px !important;
  }
}

/* v285: show the table of contents as a plain one-item-per-row list. */
#toc.article-toc-section {
  text-align: left !important;
}

#toc .toc-list,
#toc .toc-extra {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: stretch !important;
  width: min(640px, 100%) !important;
  max-width: 640px !important;
  margin-inline: auto !important;
  gap: 0 !important;
}

#toc .toc-main,
#toc .toc-sub {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  justify-content: stretch !important;
  justify-items: start !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 11px 0 !important;
  text-align: left !important;
}

#toc.article-toc-section .toc-list a > span,
#toc.article-toc-section .toc-sub > span {
  min-width: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

#toc .toc-main strong,
#toc .toc-sub {
  white-space: normal !important;
}

#toc .article-toc-details .toc-display-open {
  display: inline !important;
}

#toc .article-toc-details .toc-display-close {
  display: none !important;
}

#toc .article-toc-details[open] .toc-display-open {
  display: none !important;
}

#toc .article-toc-details[open] .toc-display-close {
  display: inline !important;
}

@media (max-width: 720px) {
  #toc .toc-list,
  #toc .toc-extra {
    width: 100% !important;
    max-width: 100% !important;
  }

  #toc .toc-main,
  #toc .toc-sub {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    padding: 10px 0 !important;
  }
}

/* v286: align the top-three rank icon with the service name on the same visual axis. */
#ranking .featured-rank .article-rank-heading {
  align-items: center !important;
}

#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
  transform: translateY(-16px) !important;
}

#ranking .featured-rank .article-rank-heading h3 {
  display: flex !important;
  align-items: center !important;
  min-height: 46px !important;
  margin: 0 !important;
}

@media (max-width: 720px) {
  #ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
    transform: translateY(-13px) !important;
  }

  #ranking .featured-rank .article-rank-heading h3 {
    min-height: 46px !important;
  }
}

/* v287: restore lower columns, center ranking titles, and remove card styling outside the requested areas. */
#ranking .article-rank-heading,
#ranking .featured-rank .article-rank-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-align: center !important;
}

#ranking .article-rank-heading h3,
#ranking .featured-rank .article-rank-heading h3 {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  white-space: normal !important;
}

#ranking .article-rank-heading .rank-badge,
#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
  margin-inline: auto !important;
  transform: none !important;
}

.article > #service-details {
  order: 5 !important;
}

.article > #columns,
.article > #columns.bottom-column-links {
  order: 6 !important;
}

.article > #safe-check {
  order: 7 !important;
}

.article > #faq {
  order: 8 !important;
}

.article > #editor-profile {
  order: 9 !important;
}

.article > #reference-links {
  order: 10 !important;
}

.article > .section:not(#ranking):not(#quick-compare):not(#columns),
.article-fv-summary,
.article-info-note,
.reference-card,
.site-operator-card,
.safe-summary-card,
.faq-list details,
.service-detail-card,
.final-cta {
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.article > .section:not(#ranking):not(#quick-compare):not(#columns) {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.service-detail-grid {
  gap: 0 !important;
}

.service-detail-card {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  align-items: center !important;
  padding: 13px 0 !important;
  border-top: 1px solid var(--line) !important;
  text-align: left !important;
}

.service-detail-card:last-child {
  border-bottom: 1px solid var(--line) !important;
}

.safe-summary-card,
.faq-list details,
.article-fv-summary,
.article-info-note,
.reference-card,
.site-operator-card {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

@media (max-width: 720px) {
  #ranking .article-rank-heading,
  #ranking .featured-rank .article-rank-heading {
    gap: 6px !important;
  }

  .service-detail-card {
    grid-template-columns: 50px minmax(0, 1fr) !important;
  }
}

/* v290: place the article archive at the site bottom and keep the learning guide below service details. */
.article > #service-details {
  order: 5 !important;
}

.article > #advance-guide {
  order: 6 !important;
}

.article > #safe-check {
  order: 7 !important;
}

.article > #faq {
  order: 8 !important;
}

.article > #editor-profile {
  order: 9 !important;
}

.article > #reference-links {
  order: 10 !important;
}

.article > #columns,
.article > #columns.bottom-column-links {
  order: 11 !important;
}

/* v291 final override: line up the top-three medal center with the service-name center. */
#ranking .featured-rank .article-rank-heading .rank-badge.rank-badge-image {
  transform: translateX(clamp(-18px, -3.6vw, -14px)) !important;
}
/* v297 eof: compact quick table must win over all earlier rules. */
#quick-compare.quick-compare-section {
  padding: clamp(14px, 2.4vw, 22px) !important;
}

#quick-compare .compact-heading {
  display: grid !important;
  justify-items: center !important;
  margin: 0 0 clamp(14px, 2vw, 18px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#quick-compare .compact-heading span {
  display: none !important;
}

#quick-compare .compact-heading h2 {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 !important;
  padding: 2px 16px 4px !important;
  color: #24262a !important;
  background: linear-gradient(transparent 18%, #fff98b 18%, #fff98b 88%, transparent 88%);
  font-size: clamp(22px, 3.2vw, 34px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

#quick-compare .compact-heading h2::before,
#quick-compare .compact-heading h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #24262a;
}

#quick-compare .compact-heading h2::before {
  left: -2px;
  transform: translateY(-50%) rotate(52deg);
  transform-origin: left center;
}

#quick-compare .compact-heading h2::after {
  right: -2px;
  transform: translateY(-50%) rotate(-52deg);
  transform-origin: right center;
}

#quick-compare .guide-topic-table-wrap {
  margin: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
}

#quick-compare .guide-topic-table.user-compare-table {
  display: table !important;
  width: 100% !important;
  min-width: 680px !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

#quick-compare .guide-topic-table.user-compare-table thead {
  position: static !important;
  display: table-header-group !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

#quick-compare .guide-topic-table.user-compare-table tbody {
  display: table-row-group !important;
}

#quick-compare .guide-topic-table.user-compare-table tr {
  display: table-row !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

#quick-compare .guide-topic-table.user-compare-table th,
#quick-compare .guide-topic-table.user-compare-table td {
  display: table-cell !important;
  min-height: 0 !important;
  padding: 9px 10px !important;
  border-right: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  color: #344054 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.42 !important;
  text-align: left !important;
  vertical-align: middle !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

#quick-compare .guide-topic-table.user-compare-table th:last-child,
#quick-compare .guide-topic-table.user-compare-table td:last-child {
  border-right: 0 !important;
}

#quick-compare .guide-topic-table.user-compare-table th {
  background: #f8fafc !important;
  color: #667085 !important;
  font-weight: 700 !important;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(1),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(1) {
  width: 30%;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(2),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(2) {
  width: 27%;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(3),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(3) {
  width: 24%;
}

#quick-compare .guide-topic-table.user-compare-table th:nth-child(4),
#quick-compare .guide-topic-table.user-compare-table td:nth-child(4) {
  width: 19%;
}

#quick-compare .user-compare-table td::before,
#quick-compare .user-compare-table td:first-child::before {
  content: none !important;
}

#quick-compare .user-compare-table .compare-service-cell {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 5px 7px !important;
  width: 100% !important;
  min-width: 0 !important;
}

#quick-compare .user-compare-table .compare-rank-chip {
  display: inline-grid !important;
  min-width: 42px !important;
  height: 24px !important;
  padding: 0 7px !important;
  font-size: 10px !important;
}

#quick-compare .user-compare-table .compare-service-cell small {
  display: block !important;
  grid-column: 2 !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

#quick-compare .user-compare-table .compare-service-cell a,
#quick-compare .user-compare-table strong,
#quick-compare .user-compare-table td:not(:first-child) strong {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.34 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  #quick-compare.quick-compare-section {
    padding: 12px 10px 14px !important;
  }

  #quick-compare .compact-heading {
    margin-bottom: 12px !important;
  }

  #quick-compare .compact-heading h2 {
    padding-inline: 13px !important;
    font-size: clamp(20px, 5.4vw, 24px) !important;
    white-space: nowrap;
  }

  #quick-compare .compact-heading h2::before,
  #quick-compare .compact-heading h2::after {
    width: 14px;
  }

  #quick-compare .guide-topic-table.user-compare-table {
    width: 760px !important;
    min-width: 760px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table th,
  #quick-compare .guide-topic-table.user-compare-table td {
    padding: 8px 8px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  #quick-compare .user-compare-table .compare-service-cell a,
  #quick-compare .user-compare-table strong,
  #quick-compare .user-compare-table td:not(:first-child) strong {
    font-size: 13px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  #quick-compare .user-compare-table .compare-service-cell small {
    display: none !important;
  }

  #quick-compare .user-compare-table .compare-rank-chip {
    min-width: 35px !important;
    height: 21px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 390px) {
  #quick-compare .compact-heading h2 {
    font-size: 19px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table {
    width: 740px !important;
    min-width: 740px !important;
  }

  #quick-compare .guide-topic-table.user-compare-table th,
  #quick-compare .guide-topic-table.user-compare-table td {
    padding: 7px 7px !important;
  }
}
