/* ==========================================================
   比較ページの上のほうを詰める（表を早く見せるため）
   ・条件の欄は1行に
   ・説明のカードは小さく、長い説明は［くわしく］で開く
   ・広告（注目のサービス）の中身は変えない
   site.css より後に効かせるため、クラスを1つ多く重ねている
   ========================================================== */

/* ---------- ページ全体の詰め ---------- */
.site-body .site-main { padding-top: 51px; }
.site-body .site-main h1 { font-size: 26px; margin: 2px 0 10px; }

/* ---------- 条件の欄（検体数・起点・絞り込み） ---------- */
/* 中の .row を display:contents にして、3行あっても1行に流し込む */
.site-body .site-main .conditions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 9px 14px;
  margin: 0 0 10px;
  border-radius: 10px;
}
.compare.sd-table.sd-all-rules-table th:nth-child(1){
  min-width: 70px;
}

.site-body .site-main .conditions .row {
  display: contents;
}

.site-body .site-main .conditions label {
  font-size: 13px;
  gap: 5px;
  white-space: nowrap;
}

.site-body .site-main .conditions select,
.site-body .site-main .conditions input[type="number"] {
  padding: 5px 8px;
  font-size: 13px;
}

.site-body .site-main .conditions input[type="number"] { width: 74px; }

.site-body .site-main .conditions input[type="submit"] {
  padding: 7px 16px;
  font-size: 14px;
  margin-left: auto; /* いつも行の右端に置く */
}

/* 起点の長い説明は、下の注意書きに書いてあるので条件の欄には出さない */
.site-body .site-main .conditions span.muted.small { display: none; }

/* ---------- 説明のカード ---------- */
.site-body .site-main .note {
  padding: 5px 13px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  border-radius: 5px;
}

/* 長い注意書きは1行だけ見せて、残りは［くわしく］で開く */
.site-body .site-main details.note { padding: 7px 13px; }

.site-body .site-main details.note > summary {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
}

.site-body .site-main details.note > summary::-webkit-details-marker { display: none; }

.site-body .site-main details.note > summary::after {
  content: "くわしく ▾";
  color: var(--site-blue);
  font-weight: 700;
  white-space: nowrap;
}

.site-body .site-main details.note[open] > summary::after { content: "閉じる ▴"; }

.site-body .site-main details.note > .note-more {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #cde6fa;
  color: var(--site-muted);
  font-size: 13px;
}

/* ---------- 件数・登録企業の説明 ---------- */
.site-body .site-main .registered-note {
  margin: 0 0 2px 0px;
  font-size: 12.5px;
  line-height: 1.6;
}
.qc-results-note{
  margin-bottom:5px;
}

.site-body .site-main .count-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  margin: 0 0 0px;
  font-size: 13px;
}

/* ---------- 見積依頼のバーと広告のまわり ---------- */
.site-body .site-main .quote-bar {
  padding: 8px 14px;
  margin: 10px 0;
  font-size: 14px;
}

.site-body .site-main .quote-bar .primary-button.small { padding: 7px 14px; }

/* 広告の中身はそのまま。外側の余白だけ詰める */
.site-body .site-main .featured { margin: 10px 0; padding: 12px 16px; }
.site-body .site-main .featured-head h2 { font-size:19px; margin: 0 0 0px; color: #eaa215; }

/* ---------- 表 ---------- */
.site-body .site-main table.compare { margin-top: 4px; }

/* ---------- 狭い画面では、無理に1行にしない ---------- */
@media (max-width: 760px) {
  .site-body .site-main .conditions { gap: 6px 10px; padding: 8px 12px; }
  .site-body .site-main .conditions input[type="submit"] { margin-left: 0; }
  .site-body .site-main .conditions label { white-space: normal; }
}



/* ==================================================
   COMPARE PAGE v2
   受託解析サービス比較ページ
================================================== */

.qc-page {
  --qc-navy: #10294d;
  --qc-blue: #168cf0;
  --qc-muted: #657e9c;
  --qc-line: #dfebf7;

  width: 100%;
  min-width: 0;
  padding-bottom: 65px;
  background: #f8fbff;
  color: var(--qc-navy);
}

.qc-page,
.qc-page *,
.qc-page *::before,
.qc-page *::after {
  box-sizing: border-box;
}

.qc-container {
  margin: 0 auto;
}

/* ==========================================
   1. ページヘッダー
========================================== */

.qc-hero {
  position: relative;
  overflow: hidden;
  padding: 25px 0 48px;

  background:
    radial-gradient(
      ellipse at 86% 20%,
      rgba(161, 221, 255, .39),
      transparent 45%
    ),
    linear-gradient(
      120deg,
      #f6fbff 0%,
      #eef8ff 52%,
      #e2f3ff 100%
    );
}

.qc-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 440px;
  height: 440px;
  border: 65px solid rgba(255,255,255,.27);
  border-radius: 50%;
  pointer-events: none;
}

.qc-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -135px;
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: rgba(196,230,255,.33);
  transform: rotate(-18deg);
  pointer-events: none;
}

.qc-hero .qc-container {
  position: relative;
  z-index: 1;
}

.qc-breadcrumb {
  margin-bottom: 24px;
  color: #718ca8;
  font-size: 12px;
}

.qc-breadcrumb a {
  color: #3978af;
  text-decoration: none;
}

.qc-breadcrumb a:hover {
  text-decoration: underline;
}

.qc-hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.qc-hero-copy {
  flex: 1;
  min-width: 0;
}

.qc-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #168cf0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.qc-hero h1 {
  margin: 0;
  color: #10284a;
  font-size: clamp(25px, 2.5vw, 37px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.035em;
}

.qc-hero h1 span {
  color: #143e70;
}

.qc-hero-description {
  max-width: 950px;
  margin: 13px 0 0;
  color: #54728f;
  font-size: 14px;
  line-height: 1.9;
}

.qc-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;

  background: rgba(255,255,255,.36);
  color: rgba(22,140,240,.28);
}

.qc-hero-icon svg {
  width: 85px;
  height: 85px;
}

/* 詳細説明 */
.qc-description-details {
  max-width: 850px;
  margin-top: 21px;
  border: 1px solid #d2e8fb;
  border-radius: 5px;
  background: rgba(255,255,255,.68);
}

.qc-description-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0px 16px;
  color: #2675b5;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.qc-description-details summary::-webkit-details-marker {
  display: none;
}

.qc-details-arrow {
  font-size: 20px;
  transition: transform .2s ease;
  height: 27px;
  line-height: 17px;
}

.qc-description-details[open] .qc-details-arrow {
  transform: rotate(180deg);
}

.qc-description-more {
  padding: 14px 17px 18px;
  border-top: 1px solid #dcebf8;
  color: #53708e;
  font-size: 13px;
  line-height: 1.9;
}

.qc-description-more p {
  margin: 7px 0 0;
}

/* ==========================================
   2. 検索フォーム
========================================== */

.qc-search-section {
  position: relative;
  z-index: 2;
  margin-top: -18px;
}

.qc-search-form {
  padding: 27px 32px 25px;
  border: 1px solid #deebf8;
  border-radius: 17px;
  background: #fff;

  box-shadow:
    0 12px 35px rgba(36,109,180,.085);
}

.qc-search-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.qc-search-heading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e9f5ff;
  color: #168cf0;
}

.qc-search-heading-icon svg {
  width: 22px;
  height: 22px;
}

.qc-search-heading h2 {
  margin: 0;
  color: #173456;
  font-size: 17px;
  font-weight: 800;
}

.qc-search-heading p {
  margin: 3px 0 0;
  color: #8198b0;
  font-size: 11px;
}

.qc-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px 20px;
}

.qc-search-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
}

.qc-search-field label {
  color: #244263;
  font-size: 12px;
  font-weight: 800;
}

.qc-search-field input,
.qc-search-field select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 13px;

  border: 1px solid #d2e1f0;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #244263;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;

  transition:
    border-color .2s,
    box-shadow .2s;
}

.qc-search-field select {
  cursor: pointer;
}

.qc-search-field input:focus,
.qc-search-field select:focus {
  border-color: #168cf0;
  box-shadow: 0 0 0 4px rgba(22,140,240,.10);
}

.qc-search-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.qc-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;

  border: none;
  border-radius: 30px;
  background: linear-gradient(180deg,#34a6ff,#0878dc);

  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 13px rgba(22,125,218,.15);
}

.qc-search-submit svg {
  width: 18px;
  height: 18px;
}

.qc-search-submit:hover {
  filter: brightness(1.05);
}

.qc-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;

  border: 1px solid #d2e1f0;
  border-radius: 5px;
  background: #fff;

  color: #577391;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.qc-search-clear:hover {
  background: #f0f7ff;
}

/* ==========================================
   3. 補足説明
========================================== */

.qc-info-area {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 24px;
  padding: 15px 19px;

  border: 1px solid #d6eafc;
  border-radius: 11px;
  background: #edf7ff;

  color: #52728f;
}

.qc-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #31a7ef;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  font-style: normal;
}

.qc-info-content {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.8;
}

.qc-info-content p {
  margin: 0;
}

.qc-info-content details {
  margin: 0;
  padding: 0;
}

.qc-info-content summary {
  cursor: pointer;
}

.qc-info-content a {
  color: #087bd7;
}

/* ==========================================
   4. 注目サービス
========================================== */

.qc-featured-section {
  margin: 0 0 25px;
}

.qc-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.qc-section-heading-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qc-section-heading h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.qc-featured-heading h2 {
  color: #d98b0a;
}

.qc-featured-crown {
  color: #f2af2b;
  font-size: 27px;
  line-height: 1;
}

.qc-featured-card {
  overflow: hidden;
  padding: 13px;
  border: 1px solid #f3e3b3;
  border-radius: 15px;

  background:
    linear-gradient(115deg,#fff8e5,#fffcf3);

  box-shadow: 0 6px 20px rgba(188,147,52,.06);
}

/* 既存の注目サービスパーシャルを内包 */
.qc-featured-card > * {
  max-width: 100%;
}

/* ==========================================
   5. 比較結果
========================================== */

.qc-results-section {
  margin-top: 20px;
}

.qc-results-card {
  overflow: hidden;
  border: 1px solid #dfebf7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(35,105,175,.045);
}

/* 結果ヘッダー */
.qc-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;

  border-bottom: 1px solid #e1ebf5;
  background: #fff;
}

.qc-results-toolbar-left {
  min-width: 0;
}

.qc-results-label {
  display: block;
  margin-bottom: 5px;
  color: #168cf0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.qc-results-toolbar h2 {
  margin: 0;
  color: #193657;
  font-size: 17px;
  font-weight: 800;
}

.qc-results-count {
  margin-top: 7px;
  color: #557493;
  font-size: 12px;
}

.qc-results-count > * {
  margin: 0;
}

.qc-results-toolbar-right {
  flex-shrink: 0;
  max-width: 100%;
}

/* 横スクロールの案内 */
.qc-scroll-hint {
  margin: 0;
  padding: 9px 17px;
  border-bottom: 1px solid #e4edf6;
  background: #f8fbff;
  color: #8196ad;
  font-size: 11px;
  line-height: 1.5;
}

.qc-scroll-hint span {
  margin-right: 0px;
  color: #f03916;
  font-size: 12px;
}

/* 比較表のスクロール領域 */
.qc-table-scroll {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #bed8ef #f1f7fd;
}

.qc-table-scroll:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: -3px;
}

/* 既存compare CSSを上書き */
.qc-page table.compare.qc-table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  background: #fff;
}

.qc-page .qc-table th,
.qc-page .qc-table td {
  box-sizing: border-box;
  height: auto;
  padding: 17px 13px;

  border: 0;
  border-right: 1px solid #e3edf7;
  border-bottom: 1px solid #e3edf7;

  color: #34516f;
  font-size: 12px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;

  white-space: normal;
  overflow-wrap: anywhere;
}

.qc-page .qc-table th:last-child,
.qc-page .qc-table td:last-child {
  border-right: 0;
}

/* ヘッダー */
.qc-page .qc-table thead th {
  padding: 15px 13px;
  background: #edf7ff;
  color: #224a73;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  white-space: normal;
}

.qc-page .qc-table thead th a {
  color: #224a73;
  font-weight: 800;
  text-decoration: none;
}

.qc-page .qc-table thead th a:hover {
  color: #168cf0;
}

/* 各行 */
.qc-page .qc-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.qc-page .qc-table tbody tr:hover td {
  background: #f1f8ff;
}

/* 列の幅 */
.qc-page .qc-table .qc-th-check {
  min-width: 63px;
  width: 63px;
  text-align: center;
}

.qc-page .qc-table .qc-th-company {
  min-width: 230px;
  width: 250px;
}

.qc-page .qc-table .qc-th-price {
  min-width: 145px;
}

.qc-page .qc-table .qc-company-cell {
  min-width: 230px;
  max-width: 280px;
}

.qc-page .qc-table .qc-rank-cell {
  min-width: 95px;
  text-align: center;
}

.qc-page .qc-table .qc-price-cell {
  min-width: 145px;
}

.qc-page .qc-table .qc-spec-cell {
  min-width: 145px;
  max-width: 245px;
}

/* 見積チェック */
.qc-page .qc-table .qc-quote-check {
  text-align: center;
  min-width: 63px;
}

.qc-quote-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 5px auto 0;
  accent-color: #168cf0;
  cursor: pointer;
}

.qc-page .qc-table .quote-stopped {
  font-size: 10px;
  line-height: 1.5;
}

/* 会社名 */
.qc-company-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 7px;
  margin-bottom: 10px;
}

.qc-page .qc-company-line .company-name {
  color: #1a3658;
  font-size: 12px;
  font-weight: 800;
}

.qc-company-cell .qc-service-name {
  margin-bottom: 5px;
}

.qc-service-name a {
  color: #087bd9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qc-service-name a:hover {
  color: #005bb3;
}

.qc-official {
  margin: 5px 0;
}

.qc-official a {
  color: #1681ce;
  font-size: 11px;
  text-decoration: underline;
}

.qc-company-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-top: 9px;
  color: #8ca0b4;
  font-size: 10px;
  line-height: 1.6;
}

/* 価格 */
.qc-page .qc-table .qc-price-value {
  display: block;
  color: #153456;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
}

.qc-page .qc-table .qc-price-tax {
  display: block;
  margin-top: 5px;
  color: #8196ac;
  font-size: 10px;
}

.qc-page .qc-table .qc-price-cell.quote .qc-price-value {
  color: #8294a6;
  font-size: 12px;
  font-weight: normal;
}

/* 情報なし */
.qc-page .qc-table .muted {
  color: #8da0b4;
}

/* 空の結果 */
.qc-empty {
  padding: 75px 20px;
  text-align: center;
}

.qc-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eaf5ff;
  color: #168cf0;
}

.qc-empty-icon svg {
  width: 29px;
  height: 29px;
}

.qc-empty h3 {
  margin: 0;
  color: #204265;
  font-size: 17px;
}

.qc-empty p {
  margin: 12px 0 0;
  color: #8195a9;
  font-size: 12px;
  line-height: 1.8;
}

/* ==========================================
   6. ランキング説明
========================================== */

.qc-ranking-section {
  margin-top: 18px;
}

.qc-ranking-info {
  margin: 0;
}

.qc-ranking-info .qc-info-content {
  color: #5a7490;
}

.qc-ranking-info .qc-info-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

/* ==========================================
   キーボード操作
========================================== */

.qc-page a:focus-visible,
.qc-page button:focus-visible,
.qc-page input:focus-visible,
.qc-page select:focus-visible,
.qc-page summary:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

/* ==========================================
   タブレット
========================================== */

@media (max-width: 1050px) {
  .qc-container {
    width: min(100% - 36px, 1460px);
  }

  .qc-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qc-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================
   スマートフォン
========================================== */

@media (max-width: 640px) {
  .qc-page {
    padding-bottom: 40px;
  }

  .qc-container {
    width: calc(100% - 26px);
  }

  .qc-hero {
    padding: 19px 0 39px;
  }

  .qc-breadcrumb {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .qc-hero h1 {
    font-size: 23px;
    line-height: 1.5;
  }

  .qc-hero h1 span {
    display: block;
  }

  .qc-hero-description {
    font-size: 12px;
  }

  .qc-hero-icon {
    display: none;
  }

  .qc-description-details {
    margin-top: 16px;
  }

  .qc-search-section {
    margin-top: -14px;
  }

  .qc-search-form {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .qc-search-heading {
    margin-bottom: 18px;
  }

  .qc-search-heading h2 {
    font-size: 16px;
  }

  .qc-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .qc-search-field label {
    font-size: 11px;
  }

  .qc-search-field input,
  .qc-search-field select {
    height: 45px;
    font-size: 13px;
  }

  .qc-search-actions {
    margin-top: 19px;
  }

  .qc-search-submit {
    flex: 1;
    padding: 11px 12px;
    font-size: 12px;
  }

  .qc-search-clear {
    padding: 10px 14px;
  }

  .qc-info-area {
    padding: 13px;
    gap: 9px;
  }

  .qc-info-content {
    font-size: 11px;
  }

  .qc-featured-heading h2 {
    font-size: 17px;
  }

  .qc-featured-card {
    padding: 9px;
  }

  .qc-results-toolbar {
    padding: 17px 14px;
    gap: 14px;
  }

  .qc-results-toolbar h2 {
    font-size: 16px;
  }

  .qc-results-toolbar-right {
    width: 100%;
  }

  .qc-scroll-hint {
    font-size: 10px;
  }

  .qc-page .qc-table th,
  .qc-page .qc-table td {
    padding: 12px 10px;
    font-size: 11px;
  }

  .qc-page .qc-table .qc-company-cell {
    min-width: 205px;
  }

  .qc-page .qc-table .qc-price-value {
    font-size: 13px;
  }
}

/* ==========================================
   アニメーション抑制
========================================== */

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

/* 受託解析Quick 比較ページ v3 — home.css の最後に追加 */
.qc-page { background: #f8fbff; color:#10294d; padding-bottom:52px; }
.qc-page .qc-container {  }
/* 文字・入力欄ではなく、装飾のみをPNG化 */
.qc-page .qc-hero { background-color:#edf8ff; background-image:var(--qc-hero-image); background-position:center center; background-size:cover; padding:21px 10px 52px; }
.qc-page .qc-hero::before,.qc-page .qc-hero::after { content:none; }
.qc-page .qc-hero-icon { display:none; }
.qc-page .qc-hero-main { display:block; }
.qc-page .qc-hero h1 { font-size:clamp(24px,2.45vw,36px); }
.qc-page .qc-hero-description { margin-top:11px; max-width:950px; }
.qc-page .qc-breadcrumb { margin-bottom:10px; }
.qc-page .qc-description-details { 
  max-width: 100%;
  margin-top: 1px;
  background: rgba(255, 255, 255, .82);
  border-color: #d3e8fa;
 }
/* 検索フォームを詰めて結果へ視線をつなぐ */
.qc-page .qc-search-section { margin-top:-20px; }
.qc-page .qc-search-form { 
  padding: 10px 18px 10px;
  border: 1px solid #dbeaf8;
  border-radius: 5px;
  box-shadow: 0 9px 25px rgba(37, 108, 175, .075);
 }
.qc-page .qc-search-heading { margin-bottom:16px; }
.qc-page .qc-search-heading h2 { 
  color: #103b70;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
 }
.qc-page .qc-search-heading p { margin:2px 0 0; }
.qc-page .qc-search-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px 18px; }
.qc-page .qc-search-field { gap:0px; }
.qc-page .qc-search-field input,.qc-page .qc-search-field select { 
  height: 28px;
  min-height: 28px;
  background-color: #fff;
  border: 1px solid #d1dfed;
  border-radius: 5px;
  font-size: 13px;
 }
.qc-page .qc-search-actions { margin-top:-38px; }
.qc-page .qc-search-submit { min-height:35px; }
.qc-page .qc-search-clear { min-height:35px; }
/* 既存パーシャルが装飾を持つため、外側の箱は重ねない */
.qc-page .qc-info-area { margin:13px 0 18px; padding:5px 15px; border-radius:5px; }
.qc-page .qc-info-content > .note,.qc-page .qc-info-content > details,.qc-page .qc-info-content > div { max-width:100%; }
.qc-page .qc-info-content .note { margin:0; border:0; box-shadow:none; background:transparent; padding:0; }
.qc-page .qc-featured-section { 
  margin: 0px 0 16px;
  padding-top: 20px;
  padding-bottom: 30px;
 }
.qc-page .qc-featured-heading { margin-bottom:8px; }
.qc-page .qc-featured-card { padding:0; border:0; background:transparent; box-shadow:none; overflow:visible; }
.qc-page .qc-featured-card > * { max-width:100%; margin-top:0; margin-bottom:0; }
/* 結果の見出しと見積フォームの横並び */
.qc-page .qc-results-section { margin-top:2px; }
.qc-page .qc-results-card { border:1px solid #dce9f6; border-radius:5px; box-shadow:0 5px 20px rgba(33,98,154,.045); }
.qc-page .qc-results-toolbar { padding:15px 0px 2px; gap:12px; }
.qc-page .qc-results-toolbar h2 { font-size:17px; color:#124477; margin-top:0; }
.qc-page .qc-results-count { margin-top:4px; }
.qc-page .qc-results-toolbar-right { min-width:0; }
/* 比較表は極端な横幅の列をなくす。狭い画面では内部だけスクロール */
.qc-page .qc-table-scroll { width:100%; max-width:100%; overflow-x:auto; }
.qc-page table.compare.qc-table { table-layout:fixed; width:max-content; min-width:100%; border-collapse:separate; border-spacing:0; }
.qc-page .qc-table thead th { background:#eaf5ff; color:#1a4d7c; font-size:11px; padding:11px 10px; vertical-align:middle; }
.qc-page .qc-table tbody td { padding:12px 10px; color:#25496b; font-size:11px; line-height:1.65; vertical-align:top; }
.qc-page .qc-table tbody tr:nth-child(even) td { background:#f9fcff; }
.qc-page .qc-table tbody tr:hover td { background:#eff8ff; }
.qc-page .qc-table .qc-th-check,.qc-page .qc-table .qc-quote-check { width:54px; min-width:54px; }
.qc-page .qc-table .qc-th-company,.qc-page .qc-table .qc-company-cell { width:240px; min-width:240px; max-width:240px; }
.qc-page .qc-table .qc-th-price,.qc-page .qc-table .qc-price-cell { width:155px; min-width:155px; max-width:155px; }
.qc-page .qc-table .qc-rank-cell { width:95px; min-width:95px; }
.qc-page .qc-table .qc-spec-cell { width:158px; min-width:158px; max-width:190px; }
.qc-page .qc-table .qc-price-value { font-size:13px; }
.qc-page .qc-table .qc-company-line { margin-bottom:6px; }
.qc-page .qc-table .qc-company-meta { margin-top:5px; }
.qc-page .qc-table td,.qc-page .qc-table th { overflow-wrap:anywhere; }
/* 装飾ストリップ */
.qc-page .qc-ranking-section { padding-top:14px; padding-bottom:15px; background-image:var(--qc-section-image); background-position:center bottom; background-size:cover; }
.qc-page .qc-ranking-info { margin:0; }
@media (max-width:1050px) {
 .qc-page .qc-search-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .qc-page .qc-results-toolbar { flex-wrap:wrap; }
}
@media (max-width:680px) {
 .qc-page .qc-container { width:calc(100% - 24px); }
 .qc-page .qc-hero { padding:16px 0 38px; background-position:66% center; }
 .qc-page .qc-hero h1 { font-size:23px; }
 .qc-page .qc-search-section { margin-top:-13px; }
 .qc-page .qc-search-form { padding:16px 14px; }
 .qc-page .qc-search-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 10px; }
 .qc-page .qc-search-heading p { font-size:10px; }
 .qc-page .qc-search-actions { margin-top:13px; }
 .qc-page .qc-search-submit { flex:1; }
 .qc-page .qc-results-toolbar { padding:14px 12px; }
 .qc-page .qc-results-toolbar-right { width:100%; }
 .qc-page .qc-table tbody td,.qc-page .qc-table thead th { padding:11px 9px; }
 .qc-page .qc-table .qc-th-company,.qc-page .qc-table .qc-company-cell { width:210px; min-width:210px; max-width:210px; }
}

/* ==========================================
   比較表ランキング1位：王冠表示
========================================== */

/* ランキング列 */
.qc-page .qc-table .qc-rank-cell {
  text-align: center;
  vertical-align: middle;
}

/* 1位専用レイアウト */
.qc-rank-first {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
}

/* 王冠画像 */
.qc-rank-crown {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* 金色の1 */
.qc-rank-first-number {
  display: block;
  color: #f4ad00;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

/* スマートフォン */
@media (max-width: 640px) {
  .qc-rank-crown {
    width: 27px;
    height: 27px;
  }

  .qc-rank-first-number {
    font-size: 25px;
  }
}
/* RANKING & TRANSPARENCY — page-specific styles; header/footer unchanged */
.ra-page { background:#f5fbff; color:#122d52; padding-bottom:54px; }
.ra-page, .ra-page *, .ra-page *::before, .ra-page *::after { box-sizing:border-box; }
.ra-container { width:min(1100px,calc(100% - 40px)); margin-inline:auto; }
.ra-hero { padding:22px 0 66px; background-color:#eaf7ff; background-repeat:no-repeat; background-position:center; background-size:cover; }
.ra-breadcrumb { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:28px; color:#5e7899; font-size:12px; }
.ra-breadcrumb a { color:#347bac; text-decoration:none; }
.ra-eyebrow { display:block; margin-bottom:10px; color:#148be8; font-size:11px; font-weight:800; letter-spacing:.14em; }
.ra-hero h1 { margin:0 0 12px; font-size:clamp(25px,3vw,39px); font-weight:800; line-height:1.4; letter-spacing:-.03em; color:#102b53; }
.ra-hero p { max-width:850px; margin:0; color:#456987; line-height:1.9; font-size:14px; }
.ra-content { position:relative; margin-top:-28px; display:grid; gap:17px; }
.ra-score-card,.ra-info-card { border:1px solid #dfeefb; border-radius:5px; background:#fff; box-shadow:0 10px 35px rgba(31,106,175,.06); }
.ra-score-card { padding:24px 20px 18px; }
.ra-card-heading { display:flex; gap:15px; align-items:center; }
.ra-heading-icon { width:54px; height:54px; flex:none; display:grid; place-items:center; background:#fff5dc; border-radius:50%; }
.ra-heading-icon img { display:block; width:34px; height:34px; object-fit:contain; }
.ra-card-heading h2 { margin:0; font-size:clamp(19px,2.1vw,25px); line-height:1.45; font-weight:800; color:#0b418c; }
.ra-card-heading h2 span { color:#254d84; }
.ra-table-scroll { width:100%; overflow-x:auto; border-radius:5px; border:1px solid #dceafa; }
.ra-score-table { width:100%; border-collapse:collapse; table-layout:fixed; background:#fff; }
.ra-score-table thead th { background:#edf7ff; padding:16px 16px; text-align:left; color:#183a62; font-size:14px; font-weight:800; }
.ra-score-table th,.ra-score-table td { border-right:1px solid #e1ebf7; border-bottom:1px solid #e1ebf7; vertical-align:middle; }
.ra-score-table tr:last-child th,.ra-score-table tr:last-child td { border-bottom:0; }
.ra-score-table th:last-child,.ra-score-table td:last-child { border-right:0; }
.ra-score-table thead th:first-child { width:24%; }
.ra-score-table thead th:nth-child(2) { width:11%; }
.ra-score-table tbody th { padding:17px 13px; color:#14375e; font-size:13px; font-weight:800; text-align:left; }
.ra-score-table tbody td { padding:18px 14px; font-size:12.5px; line-height:1.85; color:#506984; }
.ra-score-table tbody tr:nth-child(even) { background:#fbfdff; }
.ra-metric { display:flex; align-items:center; gap:12px; }
.ra-metric img { width:32px; height:32px; flex:none; object-fit:contain; }
.ra-score-table tbody .ra-score-value { text-align:center; font-weight:900; color:#173c74; font-size:16px; white-space:nowrap; }
.ra-notes { display:flex; align-items:flex-start; gap:16px; margin-top:16px; padding:17px 18px; border-radius:5px; background:#eff7fd; }
.ra-notes-icon { width:28px; height:28px; object-fit:contain; flex:none; }
.ra-notes ul { margin:0; padding-left:22px; }
.ra-notes li { margin:0 0 7px; font-size:12.5px; line-height:1.85; color:#455f7d; }
.ra-notes li:last-child { margin-bottom:0; }
.ra-info-card { display:flex; gap:24px; align-items:flex-start; padding:27px 30px; scroll-margin-top:85px; }
.ra-info-card-icon { display:grid; place-items:center; width:84px; height:84px; flex:none; border-radius:50%; background:linear-gradient(150deg,#e5f6ff,#d9efff); }
.ra-info-card-icon img { width:44px; height:44px; display:block; object-fit:contain; }
.ra-info-card-copy { flex:1; min-width:0; }
.ra-info-card h2 { color:#0751a8; margin:0 0 13px; font-size:20px; font-weight:800; }
.ra-info-card p { color:#46617f; font-size:13px; line-height:1.95; margin:0 0 9px; }
.ra-info-card p:last-child { margin-bottom:0; }
.ra-info-card strong { color:#16406c; font-weight:800; }
.ra-pr-tag { display:inline-block; padding:2px 7px; font-size:11px; font-weight:800; border-radius:5px; border:1px solid #edbf54; background:#fff1c6; color:#875500; vertical-align:baseline; }
.ra-page a:focus-visible,.ra-table-scroll:focus-visible { outline:3px solid #168cf0; outline-offset:3px; }
@media(max-width:700px) {
 .ra-container { width:calc(100% - 26px); }
 .ra-hero { padding:18px 0 50px; background-position:62% center; }
 .ra-breadcrumb { margin-bottom:20px; font-size:10px; }
 .ra-hero p { font-size:12px; }
 .ra-desktop-only { display:none; }
 .ra-score-card { padding:16px 11px; }
 .ra-card-heading { gap:9px; margin-bottom:12px; }
 .ra-heading-icon { width:43px; height:43px; }
 .ra-heading-icon img { width:29px; height:29px; }
 .ra-card-heading h2 { font-size:17px; }
 .ra-score-table { min-width:660px; }
 .ra-score-table thead th { padding:12px; font-size:12px; }
 .ra-score-table tbody th,.ra-score-table tbody td { padding:12px 10px; font-size:11.5px; }
 .ra-metric { gap:7px; }
 .ra-metric img { width:26px; height:26px; }
 .ra-notes { padding:13px 10px; gap:8px; }
 .ra-notes-icon { width:23px; height:23px; }
 .ra-notes ul { padding-left:18px; }
 .ra-notes li { font-size:11.5px; }
 .ra-info-card { padding:20px 17px; gap:12px; }
 .ra-info-card-icon { width:48px; height:48px; }
 .ra-info-card-icon img { width:27px; height:27px; }
 .ra-info-card h2 { font-size:17px; }
 .ra-info-card p { font-size:12px; }
}

/* ==========================================
   横スクロール案内：アニメーション版
========================================== */

.qc-scroll-hint {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 40px;
    margin: 0;
    padding: 5px 22px;
    border-top: 1px solid #c5e4ff;
    border-bottom: 1px solid #c5e4ff;
    background: linear-gradient(100deg, #e4f4ff 0%, #f3faff 45%, #e0f2ff 100%);
    color: #0878d9;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

/* 背景を横切る光 */
.qc-page .qc-scroll-hint::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 45%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.8),
    transparent
  );

  transform: translateX(-150%);
  animation: qc-scroll-shine 5s ease-in-out infinite;
}

/* 左側の円形アイコン */
.qc-scroll-hint-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  color: #168cf0;
  box-shadow: 0 3px 12px rgba(22, 140, 240, .12);
}

/* 左右へ動く矢印 */
.qc-scroll-hint-arrow {
  display: block;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;

  animation: qc-scroll-swing 1.8s ease-in-out infinite;
}

/* 説明文 */
.qc-scroll-hint-text {
  position: relative;
  z-index: 1;
  color: #1765ac;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .025em;
}

/* 右側の流れる矢印 */
.qc-scroll-hint-motion {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 5px;
  color: #168cf0;
}

.qc-scroll-hint-motion span {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  animation: qc-scroll-chevron 1.5s ease-in-out infinite;
}

.qc-scroll-hint-motion span:nth-child(1) {
  animation-delay: 0s;
}

.qc-scroll-hint-motion span:nth-child(2) {
  animation-delay: .2s;
}

.qc-scroll-hint-motion span:nth-child(3) {
  animation-delay: .4s;
}

/* ==========================================
   アニメーション
========================================== */

/* 左右にゆっくり移動 */
@keyframes qc-scroll-swing {
  0%, 100% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }
}

/* 光が左から右へ流れる */
@keyframes qc-scroll-shine {
  0%, 15% {
    transform: translateX(-150%);
  }

  65%, 100% {
    transform: translateX(350%);
  }
}

/* 右方向に順番に光る */
@keyframes qc-scroll-chevron {
  0%, 100% {
    opacity: .25;
    transform: translateX(-4px);
  }

  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

/* ==========================================
   スマートフォン
========================================== */

@media (max-width: 640px) {
  .qc-page .qc-scroll-hint {
    gap: 9px;
    min-height: 58px;
    padding: 10px 12px;
  }

  .qc-scroll-hint-icon {
    width: 32px;
    height: 32px;
  }

  .qc-scroll-hint-arrow {
    font-size: 23px;
  }

  .qc-scroll-hint-text {
    font-size: 11px;
    line-height: 1.5;
  }

  .qc-scroll-hint-motion {
    gap: 0;
    margin-left: 0;
  }

  .qc-scroll-hint-motion span {
    font-size: 20px;
  }
}

/* 動きを減らす設定のユーザーには静止表示 */
@media (prefers-reduced-motion: reduce) {
  .qc-page .qc-scroll-hint::before,
  .qc-scroll-hint-arrow,
  .qc-scroll-hint-motion span {
    animation: none !important;
  }

  .qc-scroll-hint-motion span {
    opacity: 1;
    transform: none;
  }
}
/* RNA-seq bulk: compare/show 共通デザインに揃える追加CSS。
   先に compare/show 用の qc 系CSSを読み込んでください。 */
   .qrna-page {
    background: #f6faff;
    color: #183c68;
    padding-bottom: 56px;
  }
  .qrna-page *, .qrna-page *::before, .qrna-page *::after { box-sizing: border-box; }
  .qrna-page .qrna-container { width: min(calc(100% - 36px), 1200px); margin-inline: auto; }
  .qrna-page .qrna-hero {
    background-color: #eaf6ff;
    background-image: var(--qc-hero-image);
    background-position: center center;
    background-size: cover;
    padding: 25px 0 56px;
  }
  .qrna-page .qc-hero-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .qrna-page .qc-hero h1 { margin: 5px 0 8px; color: #0f356b; font-size: clamp(25px, 3vw, 37px); line-height: 1.4; }
  .qrna-page .qc-hero h1 span { display: inline; margin-left: .25em; }
  .qrna-page .qc-hero-description { margin: 0; max-width: 800px; color: #50749b; font-size: 13px; line-height: 1.9; }
  .qrna-page .qc-hero-icon { display: grid; place-items: center; width: 85px; height: 85px; flex-shrink: 0; border-radius: 24px; color: #67afe9; background: rgba(255,255,255,.42); }
  .qrna-page .qc-hero-icon svg { width: 55px; height: 55px; }
  .qrna-page .qrna-search-section { position: relative; z-index: 1; margin-top: -32px; }
  .qrna-page .qrna-search-form { 
    padding: 15px 27px;
    border: 1px solid #dcebf9;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(36, 106, 173, .08);
   }
  .qrna-page .qc-search-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
  .qrna-page .qc-search-heading-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #e7f4ff; color: #168cf0; }
  .qrna-page .qc-search-heading-icon svg { width: 23px; height: 23px; }
  .qrna-page .qc-search-heading h2 { margin: 0; color: #153b6a; font-size: 18px; }
  .qrna-page .qc-search-heading p { margin: 0px 0 0; color: #7f94aa; font-size: 11px; }
  .qrna-search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 800px; }
  .qrna-page .qc-search-field label { 
    display: block;
    color: #345779;
    font-size: 12px;
    font-weight: 700;
   }
  .qrna-page .qc-search-field select, .qrna-page .qc-search-field input[type="number"] { 
    display: block;
    width: 100%;
    height: 30px;
    padding: 5px 13px;
    border: 1px solid #cedfee;
    border-radius: 5px;
    background: #fff;
    color: #315578;
    font-size: 13px;
   }
  .qrna-filter-heading { margin: 10px 0 0px; color: #2e557b; font-size: 12px; font-weight: 800; }
  .qrna-checkbox-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; }
  .qrna-filter-check { 
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    padding: 3px 15px;
    border: 1px solid #dceaf6;
    border-radius: 5px;
    background: #f9fcff;
    color: #416383;
    font-size: 12px;
    cursor: pointer;
   }
  .qrna-filter-check:has(input:checked) { background: #edf7ff; border-color: #80bff2; color: #176dba; }
  .qrna-filter-check input[type="checkbox"] { width: 17px; height: 17px; margin: 0; accent-color: #168cf0; }
  .qrna-filter-check strong, .qrna-filter-check small { display: block; }
  .qrna-filter-check small { 
    margin-top: 0px;
    color: #8295a9;
    font-size: 10px;
   }
  .qrna-page .qc-search-actions { 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: -43px;
   }
  .qrna-page .qc-search-submit { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 19px;
    border: 0;
    border-radius: 50px;
    background: linear-gradient(145deg, #38b0ff, #087ae8);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(13, 122, 220, .15);
   }
  .qrna-page .qc-search-submit svg { width: 17px; height: 17px; }
  .qrna-page .qc-search-clear { padding: 10px 15px; border: 1px solid #d5e5f2; border-radius: 8px; background: #fff; color: #5c7b98; font-size: 12px; text-decoration: none; }
  .qrna-info-area { margin-top: 20px; }
  .qrna-page .qc-info-area { display: flex; gap: 13px; padding: 5px 17px; border: 1px solid #d6ebfa; border-radius: 5px; background: #edf8ff; color: #587a9b; font-size: 12px; line-height: 1.85; }
  .qrna-page .qc-info-icon { 
    display: grid;
    place-items: center;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #229ce9;
    color: #fff;
    font-weight: 800;
    line-height: 12px;
   }
  .qrna-page .qc-info-content { min-width: 0; }
  .qrna-page .qc-featured-section { margin-top: 16px; }
  .qrna-page .qc-featured-card { overflow: hidden;  }
  .qrna-page .qrna-results-section { margin-top: 18px; }
  .qrna-page .qrna-results-card { overflow: hidden; padding: 5px 20px 24px; border: 1px solid #dceaf6; border-radius: 5px; background: #fff; box-shadow: 0 8px 26px rgba(36,106,173,.06); }
  .qrna-page .qrna-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
  .qrna-page .qc-results-toolbar-left h2 { margin: 0 0 7px; color: #153c69; font-size: 19px; }
  .qrna-page .qc-results-count { 
    color: #7a90a7;
    font-size: 12px;
    max-width: 450px;
   }
  .qrna-page .qrna-scroll-hint { 
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 9px;
    padding: 5px 13px;
    border: 1px solid #f6e2ce;
    border-radius: 5px;
    background: #fff8f3;
    color: #b66a45;
    font-size: 11px;
   }
  .qrna-page .qc-scroll-hint-icon { font-size: 19px; font-weight: 800; }
  .qrna-page .qc-scroll-hint-motion { margin-left: auto; font-size: 17px; letter-spacing: 2px; }
  .qrna-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #bad5e8 #eff7ff; }
  .qrna-page .qrna-table { width: 100%; min-width: 1540px; margin: 0; border: 1px solid #d8e8f6; border-collapse: separate; border-spacing: 0; background: #fff; table-layout: auto; }
  .qrna-page .qrna-table th, .qrna-page .qrna-table td { padding: 13px 11px; border: 0; border-right: 1px solid #e3edf7; border-bottom: 1px solid #e3edf7; color: #365775; font-size: 11px; line-height: 1.75; text-align: left; vertical-align: top; }
  .qrna-page .qrna-table th { background: #eaf5ff; color: #285278; font-size: 11px; font-weight: 800; white-space: nowrap; }
  .qrna-page .qrna-table th a { color: inherit; text-decoration: none; }
  .qrna-page .qrna-table tr > :last-child { border-right: 0; }
  .qrna-page .qrna-table tbody tr:last-child td { border-bottom: 0; }
  .qrna-page .qrna-table tbody tr:hover td { background: #f8fcff; }
  .qrna-page .qrna-table .qc-th-check, .qrna-page .qrna-table .qc-quote-check { width: 58px; text-align: center; }
  .qrna-page .qrna-table .qc-th-company, .qrna-page .qrna-table .qc-company-cell { min-width: 260px; max-width: 320px; }
  .qrna-page .qc-company-line { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
  .qrna-page .company-name { color: #284b72; font-weight: 800; }
  .qrna-page .qc-service-name a { color: #087abe; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
  .qrna-page .qc-official { margin-top: 6px; }
  .qrna-page .qc-official a { color: #4386b4; font-size: 10px; }
  .qrna-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
  .qrna-page .qc-rank-cell, .qrna-page .qc-price-cell { white-space: nowrap; }
  .qrna-page .qc-rank-first { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .qrna-page .qc-rank-crown { width: 32px; height: 32px; object-fit: contain; }
  .qrna-page .qc-rank-first-number { color: #c69a2d; font-size: 16px; font-weight: 900; }
  .qrna-page .qc-price-value { display: block; color: #153d67; font-size: 15px; font-weight: 900; }
  .qrna-page .qc-price-tax { display: block; margin-top: 4px; color: #8194a6; font-size: 10px; }
  .qrna-page .sf-extraction { margin-top: 7px; color: #708aa3; font-size: 10px; }
  .qrna-page .qrna-empty { padding: 30px 20px; text-align: center; }
  .qrna-page .qc-empty-icon { color: #69aee3; font-size: 30px; }
  .qrna-page .qc-empty h3 { color: #174a7b; font-size: 16px; }
  .qrna-page .qc-empty p { color: #8193a7; font-size: 12px; }
  .qrna-page .qrna-ranking-section { margin-top: 22px; }
  .qrna-page a:focus-visible, .qrna-page button:focus-visible, .qrna-page input:focus-visible, .qrna-page select:focus-visible, .qrna-page [tabindex="0"]:focus-visible { outline: 3px solid #168cf0; outline-offset: 3px; }
  @media (max-width: 760px) {
    .qrna-page .qrna-container { width: calc(100% - 26px); }
    .qrna-page .qrna-hero { padding: 22px 0 50px; background-position: 70% center; }
    .qrna-page .qc-hero h1 { font-size: 24px; }
    .qrna-page .qc-hero h1 span { display: block; margin-left: 0; }
    .qrna-page .qc-hero-icon { display: none; }
    .qrna-page .qrna-search-section { margin-top: -22px; }
    .qrna-page .qrna-search-form { padding: 18px 15px; }
    .qrna-search-grid { grid-template-columns: 1fr; gap: 13px; }
    .qrna-page .qc-search-field select, .qrna-page .qc-search-field input[type="number"] { font-size: 16px; }
    .qrna-page .qc-search-actions { flex-wrap: wrap; justify-content: stretch; }
    .qrna-page .qc-search-submit { flex: 1; }
    .qrna-page .qrna-results-card { padding: 15px 12px 17px; }
    .qrna-page .qrna-table { min-width: 1540px; }
    .qrna-page .qc-search-actions { 
      margin-top: 10px;
     }
  }
  @media (prefers-reduced-motion: reduce) { .qrna-page *, .qrna-page *::before, .qrna-page *::after { animation: none !important; transition: none !important; } }
  /* 受託解析Quick サービス探索ページ */
.exv-page{--exv-blue:#087de9;--exv-ink:#123764;--exv-muted:#7088a2;--exv-border:#dfeaf6;background:#f7fbff;color:var(--exv-ink);padding-bottom:88px;min-width:0}
.exv-page *,.exv-page *::before,.exv-page *::after{box-sizing:border-box}
.exv-container{width:min(100% - 36px,1200px);margin-inline:auto}
.exv-hero{padding:32px 0 43px;background-color:#eaf6ff;background-image:var(--exv-hero-image);background-position:center;background-size:cover;background-repeat:no-repeat}
.exv-breadcrumb{margin-bottom:18px;color:#6084a7;font-size:11px}.exv-breadcrumb span{margin:0 9px;color:#8ba8c0}
.exv-eyebrow,.exv-section-eyebrow{display:block;margin-bottom:0px;color:#138cf2;font-size:10px;font-weight:800;letter-spacing:.14em}
.exv-hero h1{margin:0;color:#103762;font-size:clamp(27px,3vw,39px);line-height:1.4;font-weight:800}.exv-hero p{max-width:780px;margin:11px 0 0;color:#537695;font-size:13px;line-height:1.9}
.exv-main{padding-top:30px}.exv-section+.exv-section{margin-top:42px}.exv-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:19px}.exv-section-marker{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px;background:linear-gradient(145deg,#50b9ff,#0a7ee9);color:white;font-size:27px;font-weight:700;box-shadow:0 5px 15px #168cf024}.exv-section-heading h2{
  color: #077adb !important;
  font-size: 23px;
  font-weight: 800;
  margin: 0 !important;
}
.exv-section-heading p{margin:4px 0 0;color:#7892ab;font-size:12px;line-height:1.7}
.exv-purpose-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.exv-purpose-card{min-width:0;padding:18px 15px 20px;border:1px solid var(--exv-border);border-radius:5px;background:#fff;box-shadow:0 7px 20px #2460a008}
.exv-purpose-header{display:flex;align-items:flex-start;gap:10px;min-height:64px;margin-bottom:12px}.exv-purpose-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#e9f6ff;color:#0a91eb;font-size:26px;font-weight:800;line-height:1}.exv-purpose-icon-1{color:#267bdc}.exv-purpose-icon-2{color:#079ecb}.exv-purpose-icon-3{color:#087fe8}.exv-purpose-icon-4{color:#1288e8}.exv-purpose-icon-5{color:#3992e7}
.exv-purpose-title{min-width:0}.exv-purpose-title h3{margin:1px 0 5px !important;color:#1a3d68;font-size:14px;font-weight:800;line-height:1.6;overflow-wrap:anywhere}.exv-purpose-title p{margin:0;color:#8b9caf;font-size:11px;line-height:1.55}
.exv-category-list,.exv-type-links{margin:0;padding:0;list-style:none}.exv-category-list{display:flex;flex-direction:column;gap:5px}.exv-category-list li{min-width:0}.exv-category-list li a{display:flex;align-items:center;justify-content:flex-start;gap:4px;min-height:32px;padding:6px 9px;border-radius:19px;background:#eaf6ff;color:#087bdd;font-size:11px;font-weight:700;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;transition:background .2s,transform .2s}.exv-category-list li a::after{content:'›';margin-left:auto;font-size:17px;line-height:1;color:#168cf0;flex:none; width: 10px;}.exv-category-list li a:hover{background:#d6eeff;transform:translateX(2px)}
/* category_link の内部にある件数表示のマークアップは変更しない */
.exv-purpose-card .exv-category-list .count,.exv-type-links .count{margin-left:auto;color:#738da5;font-size:10px;font-weight:600;white-space:nowrap}
.exv-types-section .exv-section-heading{margin-bottom:18px}.exv-type-list{display:flex;flex-direction:column;gap:12px}.exv-type-card{padding:18px 20px;border:1px solid var(--exv-border);border-radius:12px;background:#fff;box-shadow:0 7px 19px #2460a007}.exv-type-heading{display:flex;align-items:center;gap:9px;margin-bottom:12px}.exv-type-heading h3{margin:0;color:#163c67;font-size:15px;font-weight:800}.exv-type-heading-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#1a9af2;box-shadow:0 0 0 5px #eaf6ff}.exv-type-contents{border-top:1px solid #e8eff6}.exv-middle-row{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start;gap:14px;padding:11px 0;border-bottom:1px solid #e9f0f7}.exv-middle-row:last-child{border-bottom:0;padding-bottom:2px}.exv-middle-name{padding-top:5px;color:#647d98;font-size:12px;font-weight:700;line-height:1.7}.exv-type-links{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px}.exv-type-links li{max-width:100%;min-width:0}.exv-type-links li a{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 10px;border-radius:18px;background:#eaf6ff;color:#087bda;font-size:11px;font-weight:700;line-height:1.65;text-decoration:none;overflow-wrap:anywhere}.exv-type-links li a:hover{background:#d6eeff}
.exv-empty{padding:32px;border:1px dashed #c9deef;border-radius:12px;background:#fff;color:#748da5;font-size:13px;text-align:center}
.exv-page a:focus-visible{outline:3px solid #168cf0;outline-offset:3px}

@media(max-width:980px){.exv-purpose-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.exv-middle-row{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:700px){.exv-page{padding-bottom:48px}.exv-container{width:calc(100% - 26px)}.exv-hero{padding:25px 0 32px;background-position:65% center}.exv-hero h1{font-size:26px}.exv-hero p{font-size:12px}.exv-main{padding-top:22px}.exv-purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.exv-purpose-card{padding:13px 10px}.exv-purpose-header{flex-direction:column;gap:7px;min-height:104px}.exv-purpose-title h3{font-size:12px}.exv-purpose-title p{font-size:10px}.exv-purpose-icon{width:34px;height:34px;flex-basis:34px;font-size:21px}.exv-section-heading h2{font-size:19px}.exv-section-heading p{font-size:11px}.exv-category-list li a{font-size:10px;padding:6px 8px}.exv-type-card{padding:15px 12px}.exv-middle-row{grid-template-columns:1fr;gap:6px}.exv-middle-name{font-size:11px}.exv-type-links li a{font-size:10px}.exv-section+.exv-section{margin-top:31px}}
@media(max-width:370px){.exv-purpose-grid{grid-template-columns:1fr}.exv-purpose-header{flex-direction:row;min-height:0}}
@media(prefers-reduced-motion:reduce){.exv-page *{transition:none!important}}

/* ==========================================
   COMPANY DIRECTORY
   掲載中の会社
========================================== */

.cdir-page {
  --cdir-blue: #168cf0;
  --cdir-navy: #103564;
  --cdir-border: #dce9f6;
  --cdir-muted: #748ca5;

  width: 100%;
  min-width: 0;
  padding-bottom: 80px;
  background: #f7fbff;
  color: var(--cdir-navy);
}

.cdir-page *,
.cdir-page *::before,
.cdir-page *::after {
  box-sizing: border-box;
}

.cdir-container {
  width: min(100% - 36px, 1100px);
  margin-inline: auto;
}

/* HERO */

.cdir-hero {
  min-height: 235px;
  padding: 31px 0 68px;
  background-color: #e9f6ff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cdir-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: #738faa;
  font-size: 11px;
}

.cdir-breadcrumb a {
  color: #1688e9;
  text-decoration: none;
}

.cdir-breadcrumb a:hover {
  text-decoration: underline;
}

.cdir-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #168cf0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.cdir-hero h1 {
  margin: 0;
  color: #103469;
  font-size: clamp(27px, 3.1vw, 36px);
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cdir-hero p {
  margin: 11px 0 0;
  color: #577899;
  font-size: 13px;
  line-height: 1.9;
}

/* MAIN */

.cdir-main {
  position: relative;
  z-index: 1;
  margin-top: -32px;
}

/* SEARCH */

.cdir-search-card {
  padding: 15px 25px;
  border: 1px solid #dbe9f7;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(36, 103, 172, .07);
}

.cdir-search-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.cdir-search-icon {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: linear-gradient(140deg, #43b6ff, #087ded);
  color: #fff;
}

.cdir-search-icon svg {
  width: 22px;
  height: 22px;
}

.cdir-search-heading h2 {
  margin: 0 !important;
  color: #204774;
  font-size: 17px;
  font-weight: 800;
}

.cdir-search-heading p {
  margin: 0px 0 0;
  color: #8195aa;
  font-size: 12px;
}

.cdir-page .cdir-search-form {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin: 0;
}

.cdir-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 350px;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid #cfdfef;
  border-radius: 5px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.cdir-search-input-wrap:focus-within {
  border-color: #168cf0;
  box-shadow: 0 0 0 4px rgba(22, 140, 240, .1);
}

.cdir-search-input-wrap svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #8ba4bb;
}

.cdir-page .cdir-search-input-wrap input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #274c71;
  font-family: inherit;
  font-size: 14px;
  border-style: none !important;
}

.cdir-page .cdir-search-input-wrap input::placeholder {
  color: #a4b3c3;
}

.cdir-page .cdir-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 36px;
  margin: 0;
  padding: 11px 24px;
  border: 1px solid #087de8;
  border-radius: 9px;
  background: linear-gradient(180deg, #38aaff, #087bef);
  color: #fff;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(14, 126, 228, .13);
}

.cdir-page .cdir-search-button:hover {
  filter: brightness(.97);
}

.cdir-clear {
  padding: 10px;
  color: #6486a4;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.cdir-clear:hover {
  color: #087fe4;
  text-decoration: underline;
}

/* RESULTS */

.cdir-results {
  margin-top: 31px;
}

.cdir-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 5px;
}

.cdir-results-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #168cf0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.cdir-results-heading h2 {
  margin: 0 !important;
  color: #143d6e !important;
  font-size: 22px !important;
  font-weight: 800;
}

.cdir-results-heading p {
  margin: 7px 0 0;
  color: #7e94a9;
  font-size: 12px;
  line-height: 1.8;
}

.cdir-results-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 17px 0;
}

.cdir-results-count strong {
  color: #087fe3;
  font-size: 21px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.cdir-results-count span {
  color: #5781a5;
  font-size: 12px;
  font-weight: 700;
}

/* COMPANY LIST */

.cdir-page .cdir-company-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cdir-page .cdir-company-card {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 5px 25px;
  border: 1px solid #dce9f6;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(30, 90, 155, .045);
  transition: border-color .2s, box-shadow .2s;
}

.cdir-page .cdir-company-card:hover {
  border-color: #b7daf6;
  box-shadow: 0 8px 24px rgba(30, 90, 155, .09);
}

.cdir-company-logo {
  display: grid;
  place-items: center;
  flex: 0 0 86px;
  width: 86px;
  height: 69px;
  padding: 9px;
}

.cdir-company-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cdir-company-logo > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 3px;
  background: linear-gradient(140deg, #d9f0ff, #eaf7ff);
  color: #1685db;
  font-size: 22px;
  font-weight: 900;
}

.cdir-page .cdir-company-body {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.cdir-page .cdir-company-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 3px;
}

.cdir-page .cdir-company-name > a {
  color: #14518b;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
}

.cdir-page .cdir-company-name > a:hover {
  color: #087fe1;
  text-decoration: underline;
}

.cdir-company-fields {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.cdir-field-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 11px;
  border: 1px solid #d7eafb;
  border-radius: 20px;
  background: #f0f8ff;
  color: #477aab;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.cdir-company-no-fields {
  margin: 0;
  color: #8499ad;
  font-size: 12px;
}

.cdir-page .cdir-company-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  flex: 0 0 auto;
  margin: 0;
}

.cdir-service-count {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #7b94a9;
  font-size: 11px;
}

.cdir-service-count strong {
  color: #1685e4;
  font-size: 21px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.cdir-company-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 30px;
  padding: 0px 14px;
  color: #087edb !important;
  font-size: 12px;
  white-space: nowrap;
  transition: background .2s;
}

.cdir-company-link:hover {
  background: #dff1ff;
  color: #086dc2;
}

/* EMPTY */

.cdir-empty {
  padding: 54px 25px;
  border: 1px dashed #cbdff0;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.cdir-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eaf6ff;
  color: #168cf0;
}

.cdir-empty-icon svg {
  width: 29px;
  height: 29px;
}

.cdir-empty h3 {
  margin: 0 0 11px;
  color: #254d76;
  font-size: 19px;
}

.cdir-empty p {
  margin: 0 0 21px;
  color: #7790a9;
  font-size: 13px;
  line-height: 1.9;
}

.cdir-empty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 8px;
  background: #168cf0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.cdir-empty-button:hover {
  background: #0875d0;
  color: #fff;
}

/* BOTTOM NOTE */

.cdir-bottom-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 23px;
  padding: 18px 20px;
  border: 1px solid #d7e9f8;
  border-radius: 11px;
  background: #eff8ff;
}

.cdir-bottom-note-icon {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #168cf0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.cdir-bottom-note p {
  margin: 0;
  color: #6483a0;
  font-size: 12px;
  line-height: 1.85;
}

/* RESPONSIVE */

@media (max-width: 760px) {
  .cdir-page {
    padding-bottom: 45px;
  }

  .cdir-container {
    width: calc(100% - 26px);
  }

  .cdir-hero {
    min-height: 210px;
    padding: 25px 0 55px;
    background-position: 69% center;
  }

  .cdir-hero h1 {
    font-size: 25px;
  }

  .cdir-hero p {
    font-size: 12px;
  }

  .cdir-main {
    margin-top: -15px;
  }

  .cdir-search-card {
    padding: 19px 16px;
    border-radius: 12px;
  }

  .cdir-search-heading {
    gap: 10px;
  }

  .cdir-search-heading h2 {
    font-size: 16px;
  }

  .cdir-page .cdir-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cdir-search-input-wrap {
    flex: auto;
    width: 100%;
  }

  .cdir-page .cdir-search-input-wrap input {
    font-size: 16px;
  }

  .cdir-page .cdir-search-button {
    width: 100%;
  }

  .cdir-results-heading h2 {
    font-size: 19px;
  }

  .cdir-page .cdir-company-card {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    padding: 17px;
  }

  .cdir-company-logo {
    flex-basis: 65px;
    width: 65px;
    height: 59px;
  }

  .cdir-company-logo > span {
    width: 41px;
    height: 41px;
    font-size: 18px;
  }

  .cdir-page .cdir-company-body {
    flex-basis: calc(100% - 80px);
  }

  .cdir-page .cdir-company-name > a {
    font-size: 15px;
  }

  .cdir-page .cdir-company-actions {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid #e6eef6;
  }

  .cdir-service-count strong {
    font-size: 18px;
  }

  .cdir-field-badge {
    font-size: 10px;
  }

  .cdir-bottom-note {
    padding: 14px;
  }

  .cdir-bottom-note p {
    font-size: 11px;
  }
}

/* ACCESSIBILITY */

.cdir-page a:focus-visible,
.cdir-page button:focus-visible,
.cdir-page input:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cdir-page *,
  .cdir-page *::before,
  .cdir-page *::after {
    transition: none !important;
  }
}
