.fit-comparison {
  padding: 26px 24px 30px;
  background: #f8fafc;
  border-top: 1px solid #dce5f1;
  scroll-margin-top: 100px;
  text-align: left;
}

.fit-comparison h2 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 9px;
}

.fit-lead {
  font-size: 14px;
}

.fit-demo-note {
  font-size: 12px;
  line-height: 1.7;
  color: #685226;
  background: #fff7e5;
  padding: 10px 12px;
  margin-top: 12px;
  border-radius: 4px;
}

.fit-legend {
  font-size: 12px;
  color: #5e6d80;
  margin-top: 14px;
}

.fit-scroll-hint {
  font-size: 12px;
  color: #00117b;
  margin: 9px 0;
}

.fit-table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid #d9e1ec;
  scrollbar-color: #4c5671 #e4e7ec;
  scrollbar-width: thin;
  padding-bottom: 6px;
  background: white;
}

.fit-table-scroll:focus-visible {
  outline: 3px solid #527ce4;
  outline-offset: 3px;
}

.fit-table {
  width: 1480px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  background: white;
}

.fit-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.fit-table col {
  width: 140px;
}

.fit-table .fit-product-col {
  width: 220px;
}

.fit-table th,
.fit-table td {
  padding: 12px 10px;
  border-right: 1px solid #e0e5ed;
  border-bottom: 1px solid #e0e5ed;
  vertical-align: middle;
  text-align: center;
}

.fit-table thead th {
  background: #edf2fa;
  color: #00117b;
  font-size: 13px;
  line-height: 1.6;
}

.fit-table thead th small {
  display: block;
  color: #5e6d80;
  font-size: 11px;
  margin-top: 5px;
  font-weight: 400;
}

.fit-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 4px 0 6px #263d5810;
}

.fit-table tbody .fit-product {
  background: white;
  text-align: left;
  padding: 15px 16px;
}

.fit-product img {
  display: block;
  width: 108px;
  height: 34px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 8px;
}

.fit-product>a {
  font-weight: 700;
  line-height: 1.6;
  display: block;
  font-size: 13px;
}

.fit-total {
  color: #00117b;
  font-size: 12px;
  margin: 10px 0 0;
}

.fit-total b {
  font-size: 25px;
  margin-left: 4px;
}

.fit-product>small {
  font-size: 10px;
  color: #5e6d80;
  display: block;
  font-weight: 400;
}

.fit-rating {
  position: relative;
  min-height: 40px;
  border-radius: 3px;
  background: #f1f4f8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 10px;
  color: #00117b;
}

.fit-rating-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #dfe9fb;
}

.fit-rating b {
  position: relative;
  font-size: 19px;
  line-height: 1.4;
}

.fit-rating b small {
  font-size: 11px;
  font-weight: 400;
  color: #536275;
}

.fit-contribution {
  display: block;
  font-size: 10px;
  color: #5e6d80;
  margin-top: 6px;
  white-space: nowrap;
}

.fit-feature {
  background: #fff;
}

.fit-feature>span {
  font-size: 23px;
  line-height: 1.5;
  color: #00117b;
  display: block;
  padding: 4px;
  border-radius: 3px;
  background: #edf3ff;
}

.fit-feature[data-mark="×"]>span {
  color: #788391;
  background: #f4f5f7;
}

.fit-calculation {
  font-size: 12px;
  color: #536275;
  margin-top: 14px;
}

.fit-calculation summary {
  font-size: 13px;
}

.fit-calculation p {
  margin: 9px 0;
  line-height: 1.8;
}

.fit-calculation strong {
  font-weight: 500;
  color: #243246;
}

.frame[data-count="1"] [data-product-index="2"],
.frame[data-count="1"] [data-product-index="3"],
.frame[data-count="2"] [data-product-index="3"] {
  display: none;
}

@container(max-width:600px) {
  .fit-comparison {
    padding: 20px 16px 24px;
  }
  .fit-comparison h2 {
    font-size: 18px;
  }
  .fit-lead {
    font-size: 13px;
  }
  .fit-table {
    width: 1408px;
  }
  .fit-table .fit-product-col {
    width: 148px;
  }
  .fit-table tbody .fit-product {
    padding: 12px 10px;
  }
  .fit-product>a {
    font-size: 12px;
  }
  .fit-product img {
    width: 100px;
    height: 28px;
  }
  .fit-total b {
    font-size: 23px;
  }
  .fit-demo-note {
    font-size: 11px;
  }
  .fit-legend {
    font-size: 11px;
  }
  .fit-calculation summary {
    font-size: 12px;
  }
}

/* Match the Cloudflare result page's symbols and status colors. */

.fit-table .fit-feature {
  color: #001397;
  background: #e8f1ff;
}

.fit-table .fit-feature[data-mark="×"] {
  color: #bd3232;
  background: #fbe8e8;
}

.fit-table .fit-feature[data-mark="$"] {
  color: #765a00;
  background: #fef5d7;
}

.fit-table .fit-feature>span,
.fit-table .fit-feature[data-mark="×"]>span {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 23px;
  line-height: 1.3;
}

.fit-mark-note {
  font-size: 11px;
  line-height: 1.8;
  color: #5e6d80;
  margin-top: 12px;
}

/* Only the new request controls/dialog. Existing layout, typography and comparison styles are unchanged. */

.bp-demo-request-actions {
  margin-top: auto;
  padding-top: 18px;
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
}

.bp-demo-request-actions button.bp-demo-request {
  font: inherit;
  font-size: 14px;
  background: #00117b;
  color: #fff;
  border: 1px solid #00117b;
  border-radius: 4px;
  padding: 11px 20px;
  min-height: 44px;
  width: 100%;
  cursor: pointer;
  font-weight: 700;
}

.bp-demo-request-actions button:disabled {
  color: #303b6b;
  background: #e9edfa;
  border-color: #c6cee8;
  cursor: default;
}

.bp-demo-request-note {
  font-size: 12px;
  line-height: 1.8;
  color: #5d6677;
  text-align: center;
  padding: 16px 24px 0;
  margin: 0;
  background: #f4f6f9;
}

.bp-demo-reset-wrap {
  text-align: center;
  padding: 8px 24px 24px;
  background: #f4f6f9;
}

.bp-demo-reset {
  font: inherit;
  font-size: 12px;
  background: transparent;
  color: #00117b;
  cursor: pointer;
  border: 0;
  text-decoration: underline;
  padding: 8px;
}

.bp-demo-dialog {
  font-family: inherit;
  color: #1b2340;
  border: 1px solid #cfd5df;
  border-radius: 5px;
  box-shadow: 0 12px 50px #05104040;
  padding: 30px;
  width: min(490px,calc(100% - 32px));
  max-height: 88dvh;
  overflow-y: auto;
  line-height: 1.8;
  background: white;
}

.bp-demo-dialog::backdrop {
  background: #101c416b;
}

.bp-demo-dialog * {
  box-sizing: border-box;
}

.bp-demo-dialog .bp-demo-close {
  position: absolute;
  top: 9px;
  right: 11px;
  background: transparent;
  color: #56617a;
  border: 0;
  font-size: 25px;
  line-height: 1;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.bp-demo-dialog .bp-demo-eyebrow {
  font-size: 12px;
  color: #626d82;
  margin: 0 0 7px;
}

.bp-demo-dialog h2 {
  font-size: 21px;
  line-height: 1.6;
  color: #00117b;
  margin: 0 25px 12px 0;
}

.bp-demo-dialog p {
  font-size: 13px;
  color: #4b566b;
  margin: 0 0 14px;
  line-height: 1.8;
}

.bp-demo-dialog fieldset {
  border: 0;
  padding: 0;
  margin: 20px 0;
}

.bp-demo-dialog legend,
.bp-demo-dialog .bp-demo-field-label {
  font-size: 13px;
  font-weight: 700;
}

.bp-demo-optional {
  font-size: 11px;
  font-weight: 400;
  color: #657185;
  margin-left: 8px;
}

.bp-demo-dialog fieldset label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  margin-top: 9px;
  border: 1px solid #d5dbea;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
}

.bp-demo-dialog fieldset label:has(input:checked) {
  background: #eef3ff;
  border-color: #00117b;
}

.bp-demo-dialog input[type=checkbox] {
  accent-color: #00117b;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 0;
}

.bp-demo-dialog textarea {
  font: inherit;
  width: 100%;
  resize: vertical;
  font-size: 13px;
  line-height: 1.8;
  margin: 8px 0 10px;
  padding: 10px;
  border: 1px solid #abb6ca;
  border-radius: 3px;
}

.bp-demo-dialog .bp-demo-hint {
  background: #f2f5fa;
  padding: 10px 12px;
  font-size: 11px;
}

.bp-demo-dialog .bp-demo-submit {
  width: 100%;
  font: inherit;
  font-size: 14px;
  min-height: 45px;
  padding: 10px 16px;
  color: #fff;
  background: #00117b;
  border: 1px solid #00117b;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.bp-demo-dialog .bp-demo-fine {
  font-size: 11px;
  text-align: center;
  margin: 10px 0 0;
}

.bp-demo-success-mark {
  font-size: 27px;
  color: #00117b;
  margin-bottom: 9px;
}

.bp-demo-success-summary {
  background: #f4f6fb;
  padding: 14px;
  margin: 14px 0 18px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.bp-demo-success-summary strong {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}

.bp-demo-dialog [hidden] {
  display: none!important;
}

.bp-demo-dialog :focus-visible,
.bp-demo-request:focus-visible,
.bp-demo-reset:focus-visible {
  outline: 3px solid #6b8dd4;
  outline-offset: 3px;
}

.bp-demo-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #00117b;
  color: white;
  padding: 11px 18px;
  font-size: 13px;
  border-radius: 4px;
  z-index: 1000;
  max-width: calc(100% - 32px);
  text-align: center;
}

.bp-demo-toast[hidden] {
  display: none;
}

@media(max-width:640px) {
  .bp-demo-dialog {
    padding: 26px 20px;
  }
  .bp-demo-dialog h2 {
    font-size: 19px;
  }
  .bp-demo-request-actions {
    margin-top: 0;
    padding-top: 12px;
  }
  .bp-demo-request-actions button.bp-demo-request {
    font-size: 13px;
  }
  .bp-demo-request-note {
    font-size: 11px;
    padding: 12px 16px 0;
  }
}

:root {
  --navy: #00117b;
  --ink: #243246;
  --muted: #5e6d80;
  --line: #d9e1ec;
  --pale: #edf3fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 15px/1.75 "Yu Gothic",Meiryo,sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
a,
summary {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.card-rail:focus-visible {
  outline: 3px solid #6385d4;
  outline-offset: 3px;
}

[hidden] {
  display: none!important;
}

.site-header {
  height: 64px;
  border-bottom: 1px solid #e3e8ef;
  background: white;
  display: flex;
  align-items: center;
  padding: 14px max(24px,calc((100% - 1120px)/2));
  position: relative;
  z-index: 5;
}

.site-header img {
  width: 190px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.result-intro {
  max-width: 1120px;
  padding: 28px 24px 20px;
  margin: auto;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.result-intro h1 {
  font-size: 27px;
  color: var(--navy);
  line-height: 1.5;
}

.result-intro>p:not(.breadcrumb) {
  font-size: 14px;
  margin-top: 8px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 13px;
  margin-top: 18px;
}

.answer-review {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 5px;
  font-size: 13px;
}

.answer-review summary {
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
}

.answer-review p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.answer-review ul {
  margin: 6px 0 12px;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.products-section {
  background: var(--pale);
  padding: 26px 0 30px;
}

.section-inner {
  max-width: 1120px;
  margin: auto;
}

.section-head {
  padding: 0 64px 16px;
}

.section-head h2 {
  font-size: 21px;
  color: var(--navy);
  line-height: 1.5;
}

.section-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.scroll-guide {
  display: block;
  color: var(--navy);
  font-size: 12px;
  margin-top: 12px;
}

.card-wrap {
  position: relative;
}

.card-rail {
  display: flex;
  gap: 20px;
  padding: 0 64px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 64px;
  align-items: flex-start;
  scrollbar-width: none;
}

.card-rail::-webkit-scrollbar {
  display: none;
}

.result-card {
  flex: 0 0 min(780px,88%);
  min-width: 0;
  scroll-snap-align: start;
  border: 1px solid #d6dfe9;
  background: white;
  border-radius: 5px;
  padding: 22px 26px;
  position: relative;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 43px;
  margin-bottom: 12px;
  padding-left: 20px;
}

.rank {
  position: absolute;
  top: 21px;
  left: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.card-brand img {
  width: 112px;
  height: 35px;
  object-fit: contain;
}

.card-brand h2 {
  font-size: 18px;
  line-height: 1.5;
}

.match {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 12px;
  color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 1px solid #e5eaf1;
}

.match strong {
  font-size: 26px;
  line-height: 1.3;
}

.match small {
  font-size: 11px;
  color: var(--muted);
}

.brief h3 {
  font-size: 16px;
  margin: 18px 0 9px;
  color: var(--navy);
}

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

.brief li {
  font-size: 15px;
  line-height: 1.75;
  background: #edf3ff;
  border-radius: 4px;
  padding: 10px 14px;
}

.brief-cautions {
  margin-top: 24px;
}

.brief-cautions h3 {
  color: #a53e27;
}

.brief-cautions li {
  background: #fff5e9;
}

.card-details,
.card-price {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  font-size: 13px;
}

.result-card summary {
  min-height: 44px;
  padding: 11px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.detail-content {
  font-size: 13px;
  line-height: 1.85;
}

.detail-content h4 {
  font-size: 14px;
  margin: 16px 0 10px;
  color: var(--navy);
}

.detail-point {
  padding: 10px 0;
  border-bottom: 1px solid #edf0f5;
}

.detail-point p {
  margin-top: 6px;
}

.supplier {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0;
}

.card-price {
  margin-top: 0;
}

.bp-result-pricing {
  padding-bottom: 8px;
}

.bp-result-pricing table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.bp-result-pricing caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 8px;
}

.bp-result-pricing th,
.bp-result-pricing td {
  padding: 10px 8px;
  border: 1px solid #b9c3d1;
  overflow-wrap: anywhere;
  text-align: center;
}

.bp-result-pricing th {
  background: #f1f3f7;
}

.bp-result-pricing-notes {
  padding: 10px 0;
  font-size: 11px;
  line-height: 1.8;
}

.bp-result-pricing-notes p {
  margin-top: 6px;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.primary-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  font-size: 13px;
}

.secondary-link {
  font-size: 12px;
  font-weight: 700;
}

.edge {
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 27px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.edge.left {
  left: 0;
  background: linear-gradient(270deg,transparent,var(--pale));
}

.edge.right {
  right: 0;
  background: linear-gradient(90deg,transparent,var(--pale));
}

.products-section.has-prev .edge.left,
.products-section.has-next .edge.right {
  opacity: 1;
}

.round-arrow {
  position: absolute;
  top: var(--arrow-top,350px);
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid #ededed;
  border-radius: 50%;
  background: white;
  color: #202124;
  box-shadow: 0 2px 4px #0003;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.round-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-prev {
  left: 6px;
}

.round-prev svg {
  transform: rotate(180deg);
}

.round-next {
  right: 6px;
}

.round-arrow:disabled {
  display: none;
}

.round-arrow:hover {
  background: #fafafa;
  box-shadow: 0 3px 7px #0003;
}

.position {
  margin: 12px 64px 0;
  --position: 0;
  --thumb: 33%;
}

.position-track {
  height: 2px;
  background: #c5c5c5;
  position: relative;
  overflow: hidden;
}

.position-thumb {
  position: absolute;
  height: 100%;
  background: #202124;
  width: var(--thumb);
  left: calc((100% - var(--thumb))*var(--position));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.comparison-outer {
  max-width: 1120px;
  margin: auto;
}

.comparison-outer .fit-comparison {
  border-top: 0;
  background: white;
  padding-top: 36px;
  padding-bottom: 36px;
}

.comparison-outer .fit-table {
  border-spacing: 3px;
}

.comparison-outer .fit-table th,
.comparison-outer .fit-table td {
  border: 0;
}

.comparison-outer .fit-table thead th {
  background: #f3f6fb;
}

.comparison-outer .fit-table-scroll {
  border: 0;
  background: #f4f6f9;
  padding: 3px 0 8px;
}

.comparison-outer .fit-demo-note {
  background: #f4f6f9;
  color: #5e6d80;
}

.comparison-outer .fit-table tbody .fit-product {
  background: white;
}

.references-section {
  background: #f4f6f9;
  padding: 34px 24px;
}

.references-inner {
  max-width: 1068px;
  margin: auto;
}

.references-section .eyebrow {
  font-size: 12px;
  color: #59667a;
  margin-bottom: 5px;
}

.references-section h2 {
  font-size: 22px;
  color: var(--navy);
  line-height: 1.5;
}

.reference-notice {
  font-size: 13px;
  margin-top: 10px;
  color: #5e6d80;
  max-width: 850px;
}

.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}

.reference-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
}

.reference-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.reference-brand img {
  width: 112px;
  height: 35px;
  object-fit: contain;
}

.reference-brand h3 {
  font-size: 18px;
  color: var(--navy);
}

.reference-supplier {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.reference-overview {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
}

.reference-reason {
  background: #edf3fb;
  margin-top: 16px;
  padding: 14px;
  border-radius: 4px;
}

.reference-reason h4 {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.7;
}

.reference-reason p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 7px;
}

.reference-card .bp-demo-request-actions {
  margin-top: auto;
  padding-top: 20px;
}

.references-fine {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 18px;
}

.site-footer {
  padding: 26px 24px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  background: white;
}

.site-footer a {
  display: inline-block;
  margin-bottom: 10px;
}

body[data-product-count="1"] .scroll-guide,
body[data-product-count="1"] .round-arrow,
body[data-product-count="1"] .edge,
body[data-product-count="1"] .position,
body[data-product-count="1"] .rank {
  display: none;
}

body[data-product-count="1"] .result-card {
  flex-basis: 100%;
}

body[data-product-count="1"] .card-brand {
  padding-left: 0;
}

@media(min-width:768px) and (min-height:850px) {
  .result-card {
    padding: 26px 30px;
  }
  .brief li {
    padding: 12px 16px;
  }
  .brief ul {
    gap: 11px;
  }
  .brief-cautions {
    margin-top: 28px;
  }
}

@media(max-width:767px) {
  html {
    scroll-padding-top: 20px;
  }
  .site-header {
    height: 52px;
    padding: 11px 18px;
  }
  .site-header img {
    width: 160px;
    height: 27px;
  }
  .result-intro {
    padding: 18px 20px;
  }
  .breadcrumb {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .result-intro h1 {
    font-size: 21px;
  }
  .result-intro>p:not(.breadcrumb) {
    font-size: 12px;
  }
  .page-links {
    font-size: 12px;
    gap: 8px 16px;
    margin-top: 13px;
  }
  .answer-review {
    margin-top: 12px;
    font-size: 12px;
  }
  .answer-review ul {
    columns: 1;
  }
  .products-section {
    padding: 18px 0 24px;
  }
  .section-head {
    padding: 0 24px 12px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .section-head p,
  .scroll-guide {
    font-size: 11px;
  }
  .scroll-guide {
    margin-top: 9px;
  }
  .card-rail {
    padding: 0 24px 9px;
    scroll-padding-inline: 24px;
    gap: 12px;
  }
  .result-card {
    flex-basis: calc(100% - 32px);
    padding: 14px 20px;
  }
  .rank {
    left: 7px;
    top: 10px;
    font-size: 12px;
  }
  .card-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-left: 19px;
    margin-bottom: 7px;
    min-height: 0;
  }
  .card-brand img {
    width: 92px;
    height: 21px;
  }
  .card-brand h2 {
    font-size: 14px;
    line-height: 1.6;
  }
  .match {
    gap: 4px 6px;
    padding-bottom: 9px;
  }
  .match strong {
    font-size: 22px;
  }
  .match small {
    font-size: 10px;
  }
  .brief h3 {
    font-size: 14px;
    margin: 12px 0 7px;
  }
  .brief li {
    font-size: 13px;
    line-height: 1.7;
    padding: 7px 9px;
  }
  .brief ul {
    gap: 7px;
  }
  .brief-cautions {
    margin-top: 17px;
  }
  .card-details {
    margin-top: 12px;
  }
  .result-card summary {
    font-size: 12px;
    min-height: 39px;
    padding: 8px 0;
  }
  .detail-content {
    font-size: 13px;
  }
  .card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }
  .primary-link {
    width: 100%;
    font-size: 12px;
    padding: 9px 8px;
    min-height: 42px;
  }
  .secondary-link {
    font-size: 11px;
    line-height: 1.5;
  }
  .round-arrow {
    width: 44px;
    height: 44px;
  }
  .round-prev {
    left: 0;
  }
  .round-next {
    right: 0;
  }
  .position {
    margin: 9px 24px 0;
  }
  .bp-result-pricing table {
    font-size: 11px;
  }
  .bp-result-pricing th,
  .bp-result-pricing td {
    padding: 8px 5px;
  }
  .comparison-outer .fit-comparison {
    padding: 24px 16px;
  }
  .fit-comparison h2 {
    font-size: 18px;
  }
  .fit-table {
    width: 1408px;
  }
  .fit-table .fit-product-col {
    width: 148px;
  }
  .fit-table tbody .fit-product {
    padding: 12px 10px;
  }
  .fit-product>a {
    font-size: 12px;
  }
  .fit-product img {
    width: 100px;
    height: 28px;
  }
  .fit-total b {
    font-size: 23px;
  }
  .fit-demo-note,
  .fit-legend {
    font-size: 11px;
  }
  .fit-lead {
    font-size: 13px;
  }
  .references-section {
    padding: 26px 16px;
  }
  .references-section h2 {
    font-size: 19px;
  }
  .reference-notice {
    font-size: 12px;
  }
  .reference-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }
  .reference-card {
    padding: 20px;
  }
  .reference-brand h3 {
    font-size: 16px;
  }
  .reference-overview {
    font-size: 13px;
  }
  .reference-reason h4 {
    font-size: 13px;
  }
  .reference-reason p {
    font-size: 12px;
  }
  .reference-card .bp-demo-request-actions {
    padding-top: 18px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none!important;
    transition: none!important;
  }
}

/* One complete product per viewport. The arrows sit outside the clipped rail. */

.section-head {
  max-width: 920px;
  margin: auto;
  padding-left: 60px;
  padding-right: 60px;
}

.card-wrap {
  max-width: 920px;
  margin: auto;
  padding: 0 60px;
}

.card-rail {
  padding: 0 0 10px;
  scroll-padding-inline: 0;
  scroll-snap-stop: always;
}

.result-card {
  flex-basis: 100%;
  scroll-snap-stop: always;
}

.edge {
  display: none!important;
}

.position {
  max-width: 800px;
  margin: 12px auto 0;
}

.round-arrow {
  opacity: 1;
  visibility: visible;
}

/* Keep the three ratings together, above the feature matrix. */

.comparison-outer .fit-grouped .grouped-fit-table {
  width: 100%;
  min-width: 680px;
  border-spacing: 3px;
  --fit-products: 3;
}

.grouped-fit-table col {
  width: auto;
}

.grouped-fit-table .fit-label-col {
  width: 200px;
}

.comparison-outer .grouped-fit-table thead th.fit-product {
  background: #fff;
  vertical-align: top;
  padding: 16px 12px 18px;
  text-align: center;
}

.grouped-fit-table .fit-product img {
  margin: 6px auto 9px;
  object-position: center;
  width: 112px;
  height: 32px;
}

.grouped-fit-table .fit-product>a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grouped-fit-table .fit-product>small {
  font-weight: 400;
  color: #5e6d80;
  font-size: 11px;
}

.grouped-fit-table .fit-rank {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.comparison-outer .grouped-fit-table .fit-corner,
.comparison-outer .grouped-fit-table .fit-row-label {
  background: #f2f5fa;
  text-align: left;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
  padding: 14px 16px;
}

.grouped-fit-table .fit-row-label small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #59677b;
  margin-top: 4px;
}

.comparison-outer .grouped-fit-table .fit-group-heading th {
  position: static;
  box-shadow: none;
  background: #e5ecf7;
  color: var(--navy);
  text-align: left;
  font-size: 13px;
  padding: 11px 16px;
}

.grouped-fit-table .fit-group-heading small {
  font-size: 11px;
  font-weight: 400;
  display: inline-block;
  margin-left: 12px;
}

.grouped-fit-table .fit-rating-cell {
  background: #fff;
  padding: 14px 16px;
}

.fit-five {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
}

.fit-segments {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 3px;
  max-width: 100px;
  width: 55%;
}

.fit-segments span {
  height: 8px;
  background: #e2e7ef;
  border-radius: 1px;
}

.fit-segments .filled {
  background: #3159ab;
}

.fit-five b {
  font-size: 20px;
  white-space: nowrap;
  line-height: 1.5;
}

.fit-five small {
  font-size: 11px;
  font-weight: 400;
  color: #5e6d80;
}

.fit-grouped .fit-scroll-hint {
  display: none;
}

body[data-product-count="1"] .fit-grouped .grouped-fit-table {
  min-width: 0;
}

@media(max-width:767px) {
  .section-head {
    padding-left: 26px;
    padding-right: 26px;
  }
  .card-wrap {
    padding: 0 26px;
  }
  .card-rail {
    padding: 0 0 9px;
    scroll-padding-inline: 0;
  }
  .result-card {
    flex-basis: 100%;
  }
  .position {
    margin: 9px 26px 0;
  }
  .round-prev {
    left: 0;
  }
  .round-next {
    right: 0;
  }
  .comparison-outer .fit-grouped .grouped-fit-table {
    min-width: calc(126px + var(--fit-products)*154px);
  }
  .grouped-fit-table .fit-label-col {
    width: 126px;
  }
  .comparison-outer .grouped-fit-table thead th.fit-product {
    padding: 12px 7px;
  }
  .grouped-fit-table .fit-product img {
    width: 100px;
    height: 28px;
  }
  .comparison-outer .grouped-fit-table .fit-corner,
  .comparison-outer .grouped-fit-table .fit-row-label {
    font-size: 12px;
    padding: 12px 10px;
  }
  .grouped-fit-table .fit-row-label small {
    font-size: 11px;
  }
  .comparison-outer .grouped-fit-table .fit-group-heading th {
    font-size: 12px;
    padding: 10px;
  }
  .grouped-fit-table .fit-group-heading small {
    margin-left: 7px;
    font-size: 10px;
  }
  .grouped-fit-table .fit-rating-cell {
    padding: 12px 9px;
  }
  .fit-five {
    gap: 8px;
  }
  .fit-five b {
    font-size: 19px;
  }
  .fit-segments {
    gap: 2px;
  }
  .fit-grouped .fit-scroll-hint {
    display: block;
  }
  body[data-product-count="1"] .fit-grouped .grouped-fit-table {
    min-width: 0;
  }
}

/* Two explicit comparison proposals; the original product-row layout is default. */

.comparison-outer .fit-options {
  padding-top: 28px;
  padding-bottom: 28px;
}

.fit-options h2 {
  text-align: center;
  margin-bottom: 14px;
}

.fit-layout-tabs {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0 0 12px;
}

.fit-layout-tabs button {
  border: 1px solid #bcc9dd;
  border-radius: 4px;
  background: white;
  color: var(--navy);
  font-size: 12px;
  padding: 8px 14px;
  line-height: 1.6;
}

.fit-layout-tabs button[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  font-weight: 700;
}

.comparison-outer .fit-options .fit-demo-note {
  margin: 0 0 6px;
  padding: 0;
  background: none;
  font-size: 11px;
}

.fit-options .fit-legend {
  font-size: 11px;
  margin: 0 0 9px;
}

.fit-options .fit-scroll-hint {
  display: none;
}

.comparison-outer .fit-options .fit-table-scroll {
  padding: 0 0 5px;
  background: #f4f6f8;
}

.comparison-outer .fit-options .fit-table {
  border-spacing: 3px;
  background: #f4f6f8;
  line-height: 1.5;
}

.fit-options .fit-mark-note {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 8px;
}

.fit-options .fit-calculation {
  margin-top: 8px;
}

.fit-options .fit-calculation summary {
  font-size: 12px;
}

/* Plan 1 mirrors the supplied compact matrix, including a full-width score strip. */

.comparison-outer .fit-options .fit-compact-table {
  width: calc(180px + var(--fit-products,3)*190px);
  min-width: 0;
  margin: auto;
  table-layout: fixed;
}

.fit-compact-table .fit-label-col {
  width: 180px;
}

.fit-compact-table col[data-fit-column] {
  width: 190px;
}

.comparison-outer .fit-options .fit-compact-table thead th.fit-product {
  padding: 8px 7px 6px;
  background: white;
  border-radius: 7px 7px 0 0;
  vertical-align: top;
  text-align: left;
}

.fit-compact-table .fit-product img {
  width: 100px;
  height: 30px;
  margin: 2px auto 6px;
}

.fit-compact-table .fit-product>a {
  font-size: 13px;
  min-height: 38px;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.5;
}

.comparison-outer .fit-options .fit-compact-table .fit-corner {
  background: #f4f6f8;
  box-shadow: none;
}

.comparison-outer .fit-options .fit-compact-table th.fit-row-label {
  font-weight: 400;
  font-size: 12px;
  padding: 6px 9px;
  background: #f4f6f8;
  line-height: 1.4;
  text-align: left;
}

.comparison-outer .fit-options .fit-compact-table .fit-score-row th {
  background: #f4f6f8;
  text-align: left;
  font-size: 13px;
  padding: 6px 9px;
  box-shadow: none;
}

.comparison-outer .fit-options .fit-compact-table .fit-score-row td {
  background: var(--navy);
  color: white;
  padding: 5px 8px;
  height: 32px;
  font-size: 18px;
  line-height: 1.2;
}

.comparison-outer .fit-options .fit-compact-table .fit-rating-cell {
  background: white;
  padding: 0 3px;
  height: 36px;
}

.fit-horizontal-rating {
  min-height: 33px;
  background: #e1ebfb;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 3px 10px;
  color: var(--navy);
  border-radius: 3px;
}

.fit-horizontal-rating b {
  font-size: 14px;
  line-height: 1.3;
}

.comparison-outer .fit-options .fit-compact-table .fit-feature {
  height: 40px;
  padding: 4px 8px;
}

/* Plan 2 keeps products as rows and uses equal-height vertical rating bars. */

.comparison-outer .fit-options .fit-legacy-table {
  width: 100%;
  min-width: 1020px;
  table-layout: fixed;
}

.fit-legacy-table col {
  width: auto;
}

.fit-legacy-table .fit-product-col {
  width: 180px;
}

.fit-legacy-table col:nth-child(n+2):nth-child(-n+4) {
  width: 70px;
}

.comparison-outer .fit-options .fit-legacy-table thead th {
  padding: 8px 5px;
  font-size: 11px;
  font-weight: 500;
  background: #edf2fa;
  line-height: 1.5;
}

.fit-legacy-table thead th small {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 3px;
}

.comparison-outer .fit-options .fit-legacy-table tbody .fit-product {
  padding: 7px 9px;
  background: white;
}

.fit-legacy-table .fit-product img {
  width: 88px;
  height: 23px;
  margin: 0 0 4px;
}

.fit-legacy-table .fit-product>a {
  font-size: 12px;
  line-height: 1.5;
}

.fit-legacy-table .fit-total {
  margin-top: 5px;
  background: var(--navy);
  color: white;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
}

.fit-legacy-table .fit-total b {
  font-size: 19px;
  margin-left: 3px;
}

.comparison-outer .fit-options .fit-legacy-table td {
  padding: 5px;
}

.comparison-outer .fit-options .fit-legacy-table .fit-rating-cell {
  background: white;
  padding: 3px;
}

.fit-vbar {
  height: 118px;
  width: 100%;
  margin: 0;
  position: relative;
  background: #f0f3f7;
  border-radius: 3px;
  overflow: hidden;
}

.fit-vbar-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #dbe7fb;
}

.fit-vbar b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  padding: 0 8px;
  text-align: right;
  font-size: 14px;
  line-height: 1.3;
  color: var(--navy);
}

.fit-label-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  text-align: left;
  font-weight: 400;
  color: var(--ink);
}

.fit-label-content>span {
  min-width: 0;
}

.fit-info {
  flex: 0 0 24px;
  width: 24px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #48525d;
  font: bold 14px/1 Arial,sans-serif;
  padding: 0;
}

.fit-info:hover {
  background: #e3e7ed;
}

.fit-legacy-table .fit-label-content {
  display: block;
  text-align: center;
  padding-bottom: 0;
}

.fit-legacy-table .fit-label-content>span {
  display: block;
}

.fit-legacy-table .fit-info {
  position: absolute;
  bottom: 0;
  left: calc(50% - 12px);
  height: 22px;
}

.fit-table .fit-product>a.fit-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 38px;
  padding: 8px 5px;
  margin-top: 6px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  white-space: nowrap;
}

.fit-inquiry:hover {
  filter: brightness(1.12);
}

.comparison-outer .fit-options .fit-compact-table tr[data-fit-dimension] th.fit-row-label {
  padding-top: 3px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e0e3e7;
  box-shadow: none;
}

.comparison-outer .fit-options .fit-legacy-table thead th.fit-dimension-header {
  background: #f4f6f8;
  color: var(--ink);
  font-weight: 400;
}

.fit-info-popover {
  width: min(340px,calc(100vw - 32px));
  margin: auto;
  padding: 22px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 32px #23334d30;
  font-size: 14px;
  line-height: 1.8;
}

.fit-info-popover::backdrop {
  background: #24324635;
}

.fit-info-popover strong {
  font-size: 15px;
  color: var(--navy);
}

.fit-info-popover p {
  margin-top: 10px;
}

.fit-info-popover .fit-info-note {
  font-size: 11px;
  color: var(--muted);
}

.fit-info-popover>button {
  display: block;
  margin: 16px 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--navy);
  padding: 6px 16px;
  font-size: 13px;
}

.preview-plan-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}

.preview-plan-nav a {
  display: block;
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 7px 12px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  background: white;
}

/* Horizontal movement belongs to each rail/table, not to the page itself. */

html,
body {
  overflow-x: clip;
}

/* Restore the introduction and section heading from the published result page. */

.result-intro {
  max-width: none;
  margin: 0;
  padding: 28px 16px 10px;
  text-align: center;
  background: #f5f8fc;
}

.result-intro h1 {
  font-size: 24px;
  line-height: 1.5;
  color: #001397;
}

.result-intro>p.category-name {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
  color: #001397;
  margin: 8px 0 20px;
}

.products-section {
  padding-top: 32px;
  background: #edf3fa;
}

.section-head {
  max-width: 1120px;
  text-align: center;
  padding: 0 24px 16px;
}

.section-head h2 {
  font-size: 20px;
  line-height: 1.5;
  color: #001397;
}

.section-head p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

@media(max-width:767px) {
  .comparison-outer .fit-options {
    padding: 22px 12px;
  }
  .fit-options h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .fit-layout-tabs {
    gap: 5px;
  }
  .fit-layout-tabs button {
    font-size: 11px;
    padding: 7px 8px;
  }
  .fit-options .fit-scroll-hint {
    display: block;
    font-size: 10px;
    margin: 0 0 7px;
  }
  .comparison-outer .fit-options .fit-compact-table {
    width: calc(148px + var(--fit-products,3)*158px);
    min-width: 0;
  }
  .fit-compact-table .fit-label-col {
    width: 148px;
  }
  .fit-compact-table col[data-fit-column] {
    width: 158px;
  }
  .comparison-outer .fit-options .fit-compact-table th.fit-row-label {
    font-size: 11px;
    padding: 5px 7px;
  }
  .comparison-outer .fit-options .fit-compact-table .fit-score-row th {
    font-size: 11px;
    padding: 5px 7px;
  }
  .fit-compact-table .fit-product>a {
    font-size: 12px;
  }
  .fit-compact-table .fit-product img {
    width: 90px;
    height: 27px;
  }
  .fit-legacy-table .fit-product-col {
    width: 148px;
  }
  .fit-options .fit-demo-note {
    font-size: 10px;
  }
  .preview-plan-nav {
    gap: 7px;
    font-size: 11px;
  }
  .preview-plan-nav a {
    padding: 6px 8px;
  }
  .site-header:has(.preview-plan-nav) {
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-header:has(.preview-plan-nav) img {
    width: 142px;
  }
  .result-intro {
    padding: 24px 16px 10px;
  }
  .result-intro h1 {
    font-size: 22px;
  }
  .result-intro>p.category-name {
    font-size: 16px;
    margin: 8px 0 14px;
  }
  .products-section {
    padding-top: 28px;
  }
  .section-head {
    padding: 0 16px 16px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .section-head p {
    font-size: 12px;
  }
  .fit-table .fit-product>a.fit-inquiry {
    min-height: 44px;
  }
}

@font-face {
  font-family: BP Diagnosis Noto Sans;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/bp-diagnosis-noto-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: BP Diagnosis Noto Sans;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/bp-diagnosis-noto-sans-700.woff2") format("woff2");
}

/* Match the published result-options-20261015/plan-a typography and dimensions.
   Preserve the two comparison orientations and the accepted carousel controls. */

:root {
  --navy: #001397;
  --ink: #333;
  --muted: #555;
  --pale: #edf3fa;
}

body {
  font-family: "BP Diagnosis Noto Sans","Noto Sans JP",Meiryo,sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  background: #f5f8fc;
}

.site-header {
  padding-inline: 16px;
}

.section-inner {
  max-width: 960px;
}

.section-head {
  max-width: 960px;
}

.result-intro>p.diagnosis-context {
  max-width: 704px;
  margin: 0 auto 14px;
  font-size: 12px;
  line-height: 1.8;
  color: #555;
  text-align: center;
}

.card-wrap {
  max-width: 960px;
}

.position {
  max-width: 840px;
}

.result-card {
  padding: 12px 20px;
  border-color: #e1e5e9;
  border-radius: 4px;
}

.card-brand h2 {
  font-size: 16px;
}

.card-brand {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 6px 12px;
  align-items: center;
  padding-left: 0;
  min-height: 0;
}

.card-brand>.product-identity {
  grid-column: 1;
  grid-row: 1;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.product-identity .rank {
  position: static;
  flex: none;
  align-self: flex-start;
  line-height: 1.5;
  white-space: nowrap;
}

.product-identity h2 {
  flex: 0 1 auto;
  margin: 0;
}

.card-brand .product-identity img {
  flex: none;
  width: 96px;
  max-width: 28%;
  height: 32px;
  object-fit: contain;
  object-position: right center;
}

.card-brand>.card-inquiry {
  grid-column: 2;
  grid-row: 1;
}

.card-brand>.card-supplier {
  grid-column: 1/-1;
  grid-row: 2;
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.card-brand h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.card-brand .card-inquiry {
  width: auto;
  white-space: nowrap;
  padding: 10px 14px;
  justify-self: end;
}

.product-link-arrow {
  display: inline-block;
  text-decoration: none;
}

.match strong {
  font-size: 24px;
}

.brief h3 {
  font-size: 14px;
}

.brief li {
  font-size: 14px;
  line-height: 1.7;
  padding: 10px 12px;
}

.brief li[data-short-reason] {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.point-emoji {
  flex: 0 0 1.3em;
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-size: 1em;
  line-height: 1.7;
  text-align: center;
}

.point-text {
  min-width: 0;
  flex: 1;
}

.detail-content {
  font-size: 14px;
  line-height: 1.8;
}

.detail-content .detail-inquiry {
  width: 320px;
  max-width: 100%;
  min-height: 44px;
  margin: 18px auto 16px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
}

.result-card summary {
  font-size: 14px;
}

.primary-link {
  font-size: 12px;
}

.comparison-outer {
  max-width: none;
  margin: 0;
  background: #edf3fa;
}

.comparison-outer .fit-comparison.fit-options {
  padding: 28px 24px;
  background: #edf3fa;
  border-top: 1px solid #e9eded;
  color: #333;
}

.fit-options h2 {
  font-size: 20px;
  line-height: 1.5;
  color: #001397;
  margin: 0;
  text-align: center;
}

.fit-options .fit-lead {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0 0;
  text-align: center;
}

.fit-options .fit-layout-tabs {
  margin: 14px 0;
}

.fit-options .fit-legend {
  font-size: 12px;
  color: #333;
  margin: 14px 0 20px;
  text-align: center;
}

.comparison-outer .fit-options .fit-table-scroll {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 6px;
  background: transparent;
  border: 0;
}

.comparison-outer .fit-options .fit-table {
  font: 12px/1.7 "BP Diagnosis Noto Sans","Noto Sans JP",Meiryo,sans-serif;
  color: #333;
  background: transparent;
  border-spacing: 3px;
}

.comparison-outer .fit-options .fit-table th,
.comparison-outer .fit-options .fit-table td {
  font-size: 12px;
  line-height: 1.5;
  padding: 6px;
}

.comparison-outer .fit-options .fit-table thead th {
  background: #fff;
  font-weight: 700;
  border-radius: 4px 4px 0 0;
}

.comparison-outer .fit-options .fit-table .fit-product {
  padding: 6px;
  background: #fff;
  font-weight: 400;
  text-align: center;
}

.fit-options .fit-table .fit-product img {
  width: 96px;
  height: 24px;
  margin: 0 auto 4px;
  object-position: center;
}

.fit-options .fit-table .fit-product>a:not(.fit-inquiry) {
  font-size: 12px;
  line-height: 1.5;
  min-height: 0;
  text-align: center;
  justify-content: center;
  color: #333;
}

.fit-product-identity {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.fit-options .fit-table .fit-product-identity>a {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #333;
  text-align: left;
  overflow-wrap: anywhere;
}

.fit-options .fit-table .fit-product .fit-product-identity img {
  flex: none;
  width: 42px;
  max-width: 30%;
  height: 20px;
  margin: 0;
  object-fit: contain;
  object-position: right center;
}

.fit-options .fit-table .fit-product>a.fit-inquiry {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  width: auto;
  height: var(--fit-cta-height,28px);
  box-sizing: border-box;
  font-size: 10px;
  line-height: 1.4;
  min-height: var(--fit-cta-height,28px);
  padding: 4px 2px;
  margin: 0;
  border: 0;
  background: #001397;
  color: white;
  border-radius: 3px;
}

.fit-options .fit-table .fit-feature>span {
  font-size: 15px;
  line-height: 1;
  padding: 0;
}

.fit-options .fit-mark-note,
.fit-options .fit-calculation {
  max-width: 900px;
  margin: 12px auto 0;
  font-size: 12px;
  line-height: 1.7;
  color: #555;
}

.fit-options .fit-calculation summary {
  font-size: 12px;
  cursor: pointer;
}

/* The transposed comparison uses the original 14em label / 12em product widths. */

.comparison-outer .fit-options .fit-compact-table {
  width: calc(168px + var(--fit-products,3)*144px + (var(--fit-products,3) + 2)*3px);
  min-width: 0;
  margin: auto;
}

.fit-compact-table .fit-label-col {
  width: 168px;
}

.fit-compact-table col[data-fit-column] {
  width: 144px;
}

.comparison-outer .fit-options .fit-compact-table thead th.fit-product {
  position: relative;
  padding: 6px 6px calc(var(--fit-cta-height,28px) + 12px);
  vertical-align: top;
}

.comparison-outer .fit-options .fit-compact-table .fit-corner,
.comparison-outer .fit-options .fit-compact-table th.fit-row-label,
.comparison-outer .fit-options .fit-compact-table .fit-score-row th {
  background: #edf3fa;
  color: #333;
  font-size: 12px;
  line-height: 1.5;
  padding: 6px;
}

.comparison-outer .fit-options .fit-compact-table .fit-score-row td {
  font-size: 15px;
  height: 32px;
  padding: 5px 6px;
  background: #001397;
  color: #fff;
}

.comparison-outer .fit-options .fit-compact-table .fit-rating-cell {
  padding: 0 3px;
  height: 36px;
}

.fit-horizontal-rating {
  background: #3159ab;
  background-image: none;
  color: #fff;
  border-radius: 2px;
  padding-inline: 5px;
}

.fit-horizontal-rating b {
  font-size: 14px;
}

.comparison-outer .fit-options .fit-compact-table .fit-feature {
  height: 40px;
  padding: 6px;
}

/* Original product rows: retain its 144px product / 120px feature columns,
   and add only 64px per rating, so the three bars remain tall and narrow. */

.comparison-outer .fit-options .fit-legacy-table {
  width: 1089px;
  min-width: 1089px;
}

.fit-legacy-table .fit-product-col {
  width: 144px;
}

.fit-legacy-table col:nth-child(n+2):nth-child(-n+4) {
  width: 64px;
}

.fit-legacy-table col:nth-child(n+5) {
  width: 120px;
}

.comparison-outer .fit-options .fit-legacy-table thead th {
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  padding: 6px;
  color: #333;
}

.comparison-outer .fit-options .fit-legacy-table thead tr:first-child th {
  color: #001397;
}

.comparison-outer .fit-options .fit-legacy-table thead tr:nth-child(2) th {
  position: static;
  box-shadow: none;
}

.comparison-outer .fit-options .fit-legacy-table thead th[scope=colgroup] {
  text-align: left;
  padding-left: 16px;
}

.comparison-outer .fit-options .fit-legacy-table thead th.fit-dimension-header {
  font-weight: 400;
  background: #fff;
  color: #333;
}

.comparison-outer .fit-options .fit-legacy-table tbody .fit-product {
  padding: 6px;
}

.fit-legacy-table .fit-total {
  font-size: 12px;
  line-height: 1.5;
  padding: 4px 0 0;
  margin-top: 0;
  background: transparent;
  color: #001397;
  text-align: left;
}

.fit-legacy-table .fit-total b {
  font-size: 15px;
  margin-left: 3px;
}

.fit-legacy-table .fit-product>small {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 4px;
  text-align: left;
}

.comparison-outer .fit-options .fit-legacy-table .fit-rating-cell {
  padding: 3px;
  background: white;
}

.fit-vbar {
  width: 100%;
  height: 118px;
  background: #fff;
  background-image: none;
  box-shadow: inset 0 0 0 1px #d9e1ec;
}

.fit-vbar-fill {
  background: #3159ab;
  background-image: none;
}

.fit-vbar b {
  font-size: 14px;
  padding-inline: 6px;
  color: #fff;
}

.references-section {
  background: #f6f7f9;
  padding: 28px 16px;
}

.references-inner {
  max-width: 704px;
}

.references-section h2 {
  font-size: 20px;
  line-height: 1.7;
}

.reference-notice {
  font-size: 12px;
  line-height: 1.8;
}

.reference-grid {
  gap: 12px;
  margin-top: 20px;
}

.reference-card {
  padding: 16px;
  border-radius: 4px;
}

.reference-brand {
  gap: 12px;
  min-height: 0;
}

.reference-brand img {
  flex: none;
  width: 100px;
  max-width: 28%;
  height: 32px;
  object-position: right center;
}

.reference-brand h3 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.reference-overview {
  font-size: 12px;
  line-height: 1.8;
}

.reference-reason {
  padding: 12px;
}

.reference-reason h4 {
  font-size: 13px;
  line-height: 1.6;
}

.reference-reason p {
  font-size: 12px;
  line-height: 1.8;
}

@media(min-width:768px) and (min-height:850px) {
  .result-card {
    padding: 16px 24px;
  }
}

@media(max-width:767px) {
  .card-wrap {
    padding-inline: 26px;
  }
  .result-card {
    padding: 12px;
  }
  .card-brand h2 {
    font-size: 14px;
  }
  .match strong {
    font-size: 22px;
  }
  .card-brand {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 5px 8px;
    align-items: center;
    padding-left: 0;
  }
  .card-brand .product-identity img {
    width: 76px;
    height: 24px;
  }
  .product-identity {
    gap: 7px;
  }
  .card-brand>.product-identity {
    grid-column: 1/-1;
  }
  .card-brand>.card-supplier {
    grid-column: 1;
  }
  .card-brand .card-inquiry {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    padding: 8px;
    gap: 4px;
    min-height: 44px;
  }
  .brief li {
    font-size: 13px;
    line-height: 1.7;
    padding: 7px 9px;
  }
  .brief h3 {
    font-size: 14px;
  }
  .result-card summary {
    font-size: 12px;
  }
  .detail-content {
    font-size: 13px;
  }
  .comparison-outer .fit-comparison.fit-options {
    padding: 24px 12px;
  }
  .fit-options h2 {
    font-size: 18px;
  }
  .fit-options .fit-scroll-hint {
    font-size: 12px;
    color: #555;
    max-width: 900px;
    margin: 12px auto;
  }
  .comparison-outer .fit-options .fit-compact-table {
    width: calc(120px + var(--fit-products,3)*120px + (var(--fit-products,3) + 2)*3px);
  }
  .fit-compact-table .fit-label-col,
  .fit-compact-table col[data-fit-column] {
    width: 120px;
  }
  .comparison-outer .fit-options .fit-legacy-table {
    width: 921px;
    min-width: 921px;
  }
  .fit-legacy-table .fit-product-col {
    width: 120px;
  }
  .fit-legacy-table col:nth-child(n+5) {
    width: 96px;
  }
  .fit-options .fit-table .fit-product>a.fit-inquiry {
    white-space: normal;
  }
  .fit-compact-table {
    --fit-cta-height: 44px;
  }
  .references-section {
    padding: 24px 12px;
  }
  .reference-grid {
    gap: 14px;
  }
  .reference-card {
    padding: 16px;
  }
  .references-section h2 {
    font-size: 18px;
  }
}

/* Restart remains prominent; the top link is secondary and right-aligned. */

.site-footer .result-footer-inner {
  max-width: 1068px;
  margin: 0 auto;
}

.site-footer a.result-restart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  max-width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  margin: 6px auto 22px;
  padding: 14px 20px;
  border: 1px solid #000b87;
  border-radius: 4px;
  background: #000b87;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer a.result-restart:hover {
  background: #19279d;
}

.site-footer a.result-restart:focus-visible {
  outline: 3px solid #5078de;
  outline-offset: 4px;
}

.site-footer .result-footer-top {
  text-align: right;
}

.site-footer a.result-back-top {
  margin: 0;
  font-size: 12px;
  color: #59667a;
  text-decoration: underline;
}

/* Continuous comparison grid, including the sticky label column. */

.comparison-outer .fit-options .fit-table-scroll {
  width: max-content;
  max-width: min(900px,100%);
  border: 1px solid #91a2bb;
  background: #fff;
  padding: 0 0 6px;
}

.comparison-outer .fit-options .fit-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 0;
  background: #fff;
}

.comparison-outer .fit-options .fit-table th,
.comparison-outer .fit-options .fit-table td {
  border: 0;
  border-right: 1px solid #b3c0d2;
  border-bottom: 1px solid #b3c0d2;
}

.comparison-outer .fit-options .fit-table tr>*:last-child {
  border-right: 0;
}

.comparison-outer .fit-options .fit-table tbody tr:last-child>* {
  border-bottom: 0;
}

.comparison-outer .fit-options .fit-table thead th {
  border-radius: 0;
}

.comparison-outer .fit-options .fit-table th:first-child {
  border-right: 2px solid #91a2bb;
  box-shadow: none;
}

.comparison-outer .fit-options .fit-compact-table tr[data-fit-dimension] th.fit-row-label {
  border-bottom: 1px solid #b3c0d2;
}

.comparison-outer .fit-options .fit-compact-table tr[data-fit-dimension]:last-of-type>* {
  border-bottom: 1px solid #b3c0d2;
}

.recommendation-summary {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
}

.contact-guide {
  margin: 12px 0 4px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink);
}

#request-dialog {
  box-sizing: border-box;
  width: min(480px,calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 36px 28px 28px;
  border: 1px solid #d5deed;
  border-radius: 10px;
  overflow: auto;
  color: #122445;
}

#request-dialog::backdrop {
  background: rgb(10 23 52 / 45%);
}

#request-dialog .bp-demo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #526178;
}

#request-dialog h2 {
  font-size: 21px;
  line-height: 1.6;
  margin: 6px 0 14px;
  color: #080a85;
}

#request-dialog #request-title {
  text-align: center;
}

#request-dialog #request-success {
  text-align: center;
}

#request-dialog .confirm-product {
  font-size: 15px;
  font-weight: 700;
  margin: 0 30px 8px 0;
  color: #526178;
  overflow-wrap: anywhere;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

#request-dialog .confirm-actions button {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}

#request-dialog .confirm-actions .bp-demo-submit {
  background: #080a85;
  color: white;
  border: 1px solid #080a85;
}

.confirm-cancel {
  background: #fff;
  color: #080a85;
  border: 1px solid #080a85;
}

#request-dialog button:focus-visible {
  outline: 3px solid #35a6d5;
  outline-offset: 3px;
}

#request-dialog .bp-demo-fine {
  font-size: 12px;
  line-height: 1.8;
  margin: 8px 0;
  color: #526178;
}

#request-dialog .bp-demo-hint {
  font-size: 12px;
  line-height: 1.8;
  background: #f3f6fa;
  padding: 12px;
}

@media(max-width:390px) {
  #request-dialog {
    padding: 34px 20px 24px;
  }
  #request-dialog h2 {
    font-size: 19px;
  }
  .confirm-actions {
    gap: 10px;
  }
}

/* Handoff: preserve Friday's layout; cover explicit missing-data states. */

.fit-feature[data-status="conditional"] {
  background: #fff5da;
  color: #765a00;
}

.fit-feature[data-status="unknown"] {
  background: #f3f5f8;
  color: #5e6d80;
}

.fit-feature[data-status="conditional"]>span,
.fit-feature[data-status="unknown"]>span {
  font-size: 13px;
}

.fit-rating-cell {
  background: #fff!important;
}

.fit-horizontal-rating {
  background: #315bad!important;
  background-image: none!important;
}

.template-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.reference-overview,
.detail-point p,
.bp-result-pricing-notes p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.bp-result-pricing .bp-price-table {
  margin: 14px 0 22px;
  min-width: 0;
  max-width: 100%;
}

.bp-result-pricing .bp-price-table-scroll {
  overflow: auto;
  max-width: 100%;
  overscroll-behavior-inline: contain;
}

.bp-result-pricing .bp-price-table-scroll:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.bp-result-pricing .bp-price-table-scroll[data-wide="true"] table {
  min-width: calc(var(--price-columns)*112px);
}

.bp-result-pricing .bp-price-table-scroll th,
.bp-result-pricing .bp-price-table-scroll td {
  white-space: pre-wrap;
  vertical-align: middle;
  line-height: 1.6;
}

.bp-result-pricing .bp-price-table-scroll td {
  text-align: left;
}

.bp-result-pricing .bp-price-source-note {
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.8;
  margin: 8px 0;
}

.round-arrow:disabled {
  visibility: hidden;
  pointer-events: none;
}

.connector-preview-note {
  margin: 0;
  padding: 8px;
  background: #fff4d7;
  text-align: center;
  font: 12px/1.7 sans-serif;
}

.live-run-tools {
  max-width: 900px;
  margin: 24px auto;
  padding: 16px;
  font: 13px/1.8 sans-serif;
}

.live-run-tools a {
  display: inline-block;
  margin: 8px 18px 0 0;
}

/* ロゴはassets/brand_logo/のSVGをHTMLから参照します。 */

.business-port-logo {
  display: block;
  width: 190px;
  height: 32px;
  object-fit: contain;
}

@media(max-width:767px) {
  .business-port-logo {
    width: 160px;
    height: 27px;
  }
}
