/* =================================================================
 * 診断ページ（/medical_type/、/medical_lovetype/）の共通スタイル
 *
 * 色・文字・余白・角丸・影は HP と同じトークン（src/assets/css/home/tokens.css）を使う。
 * tokens.css はビルド時に dist/diagnosis/tokens.css へコピーされ（scripts/build-diagnosis.mjs）、
 * 変数は .home-page にスコープされているので、診断ページは <body class="home-page dx"> にする。
 * ここには数値を直書きしない（トークンに無い寸法だけ、理由をコメントに書いて置く）。
 * ================================================================= */

/* ---------- 土台 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

.dx {
  margin: 0;
  min-height: 100vh;
  background: var(--hp-primary-25);
  color: var(--hp-text);
  font-family: var(--hp-font-sans);
  font-size: var(--hp-text-base);
  line-height: var(--hp-leading-relaxed);
  letter-spacing: var(--hp-tracking-normal);
}

/* 要素のリセットは :where() で詳細度 0 にし、部品のクラス指定がいつも勝つようにする */
:where(.dx) :where(h1, h2, h3, p, ul, ol, figure, blockquote) {
  margin: 0;
}

:where(.dx) :where(ul, ol) {
  padding: 0;
  list-style: none;
}

:where(.dx) img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.dx) a {
  color: inherit;
}

:where(.dx) strong {
  font-weight: var(--hp-weight-bold);
}

.dx-accent {
  color: var(--hp-accent);
}

/* 中央カラム。スマホは画面幅いっぱい、PC は読みやすい幅で中央に */
.dx-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--hp-gutter);
}

/* ---------- ヘッダー ---------- */
.dx-header {
  position: sticky;
  top: 0;
  z-index: var(--hp-z-header);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--hp-line);
  backdrop-filter: blur(8px);
}

.dx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hp-space-3);
  height: 56px; /* HP のヘッダーと同じ高さ */
}

.dx-header__brand {
  display: flex;
  align-items: center;
  gap: var(--hp-space-2);
  min-width: 0;
  text-decoration: none;
}

.dx-header__logo {
  width: auto;
  height: 24px;
}

.dx-header__site {
  overflow: hidden;
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dx-header__nav {
  display: flex;
  flex-shrink: 0;
  gap: var(--hp-space-1);
}

.dx-header__link {
  padding: 6px var(--hp-space-3);
  border-radius: var(--hp-radius-pill);
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
  text-decoration: none;
  white-space: nowrap;
}

.dx-header__link[aria-current="page"] {
  background: var(--hp-primary-100);
  color: var(--hp-primary-600);
}

/* ---------- ヒーロー ---------- */
.dx-hero {
  padding: var(--hp-space-8) 0 var(--hp-space-6);
  background: linear-gradient(180deg, var(--hp-primary-100) 0%, var(--hp-primary-25) 100%);
}

.dx-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-5);
}

.dx-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--hp-space-1);
  padding: 2px var(--hp-space-3);
  border-radius: var(--hp-radius-pill);
  background: var(--hp-white);
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-primary-600);
  letter-spacing: var(--hp-tracking-medium);
}

.dx-title {
  font-size: var(--hp-text-display);
  font-weight: var(--hp-weight-bold);
  line-height: var(--hp-leading-normal);
  letter-spacing: var(--hp-tracking-tight);
}

.dx-lead {
  font-size: var(--hp-text-base);
  font-weight: var(--hp-weight-light);
  line-height: var(--hp-leading-loose);
}

.dx-hero__visual {
  overflow: hidden;
  border-radius: var(--hp-radius-xl);
  background: var(--hp-white);
  box-shadow: var(--hp-shadow-card-float);
}

.dx-hero__visual img {
  width: 100%;
}

.dx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hp-space-3);
}

/* ---------- ボタン ---------- */
.dx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hp-space-2);
  min-height: 52px; /* HP の CtaButton と同じ高さ */
  padding: 0 var(--hp-space-8);
  border: 0;
  border-radius: var(--hp-radius-pill);
  background: var(--hp-gradient-primary-h);
  box-shadow: var(--hp-shadow-float);
  color: var(--hp-white);
  font: inherit;
  font-size: var(--hp-text-card);
  font-weight: var(--hp-weight-bold);
  letter-spacing: var(--hp-tracking-medium);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--hp-duration-fast) var(--hp-ease-out),
    opacity var(--hp-duration-fast) var(--hp-ease-out);
}

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

.dx-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.dx-btn--block {
  width: 100%;
}

.dx-btn--ghost {
  background: var(--hp-white);
  box-shadow: none;
  border: 1.5px solid var(--hp-accent);
  color: var(--hp-accent);
}

.dx-btn--small {
  min-height: 40px;
  padding: 0 var(--hp-space-5);
  font-size: var(--hp-text-md);
}

.dx-link {
  color: var(--hp-accent);
  font-weight: var(--hp-weight-bold);
  text-decoration: none;
}

/* ---------- セクション ---------- */
.dx-section {
  padding: var(--hp-space-10) 0;
}

.dx-section--white {
  background: var(--hp-white);
}

.dx-section__head {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-3);
  margin-bottom: var(--hp-space-6);
}

/* 「—— ラベル」（HP の SectionLabel と同じ形） */
.dx-label {
  display: flex;
  align-items: center;
  gap: var(--hp-space-3);
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
  letter-spacing: var(--hp-tracking-label);
}

.dx-label::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--hp-accent);
}

.dx-h2 {
  font-size: var(--hp-text-2xl);
  font-weight: var(--hp-weight-bold);
  line-height: var(--hp-leading-loose);
  letter-spacing: 0;
}

.dx-text {
  font-size: var(--hp-text-base);
  font-weight: var(--hp-weight-light);
  line-height: var(--hp-leading-loose);
}

.dx-note {
  font-size: var(--hp-text-label);
  font-weight: var(--hp-weight-light);
  line-height: var(--hp-leading-normal);
  color: var(--hp-text-muted);
}

.dx-card {
  padding: var(--hp-space-5);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-white);
  box-shadow: var(--hp-shadow-card);
}

.dx-stack {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-4);
}

.dx-stack--tight {
  gap: var(--hp-space-2);
}

/* 前の要素との間をあける（カードやボタンの上） */
.dx-after {
  margin-top: var(--hp-space-5);
}

.dx-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--hp-space-3);
  border-radius: var(--hp-radius-pill);
  background: var(--hp-primary-100);
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-primary-600);
  white-space: nowrap;
}

.dx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hp-space-2);
}

/* ---------- 質問（両診断で共通） ---------- */
.dx-q {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-4);
  padding: var(--hp-space-5);
  border: 1.5px solid transparent;
  border-radius: var(--hp-radius-lg);
  background: var(--hp-white);
  box-shadow: var(--hp-shadow-card);
  scroll-margin-top: 80px; /* 固定ヘッダーの下に来るように */
  transition: border-color var(--hp-duration-fast) var(--hp-ease-out);
}

.dx-q.is-answered {
  border-color: var(--hp-primary-150);
}

.dx-q__num {
  font-family: var(--hp-font-latin);
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-heavy);
  color: var(--hp-accent);
  letter-spacing: var(--hp-tracking-medium);
}

.dx-q__text {
  font-size: var(--hp-text-card);
  font-weight: var(--hp-weight-bold);
  line-height: var(--hp-leading-relaxed);
}

/* 両端の選択肢の説明（診療科診断） */
.dx-q__poles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hp-space-3);
  font-size: var(--hp-text-sm);
  line-height: var(--hp-leading-normal);
  color: var(--hp-text-sub);
}

.dx-q__poles span:last-child {
  text-align: right;
}

.dx-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hp-space-1);
}

/* 丸ボタン。両端ほど大きく、左はティール、右はコーラル */
.dx-scale__dot {
  --dot: 28px;
  --dot-color: var(--hp-accent);

  flex-shrink: 0;
  width: var(--dot);
  height: var(--dot);
  padding: 0;
  border: 2px solid var(--dot-color);
  border-radius: 50%;
  background: var(--hp-white);
  cursor: pointer;
  transition: background var(--hp-duration-fast) var(--hp-ease-out),
    transform var(--hp-duration-fast) var(--hp-ease-out);
}

.dx-scale__dot[data-size="xl"] {
  --dot: 44px;
}

.dx-scale__dot[data-size="lg"] {
  --dot: 36px;
}

.dx-scale__dot[data-side="right"] {
  --dot-color: var(--hp-coral);
}

.dx-scale__dot[data-side="center"] {
  --dot-color: var(--hp-gray-400);
}

.dx-scale__dot:hover {
  transform: scale(1.06);
}

.dx-scale__dot[aria-checked="true"] {
  background: var(--dot-color);
}

.dx-scale__ends {
  display: flex;
  justify-content: space-between;
  font-size: var(--hp-text-label);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-muted);
}

/* 最後の質問の下の「回答数」と「結果を見る」 */
.dx-submit {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-4);
  margin-top: var(--hp-space-2);
  padding: var(--hp-space-5);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-white);
  box-shadow: var(--hp-shadow-card);
  scroll-margin-top: 80px; /* 固定ヘッダーの下に来るように */
}

.dx-progress__meter {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-1);
  min-width: 0;
}

.dx-progress__count {
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
}

.dx-progress__count b {
  font-family: var(--hp-font-latin);
  color: var(--hp-accent);
}

.dx-bar {
  height: 6px;
  overflow: hidden;
  border-radius: var(--hp-radius-pill);
  background: var(--hp-primary-100);
}

.dx-bar__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--hp-gradient-primary-h);
  transition: width var(--hp-duration-base) var(--hp-ease-out);
}

/* ---------- ゲージ（0〜5） ---------- */
.dx-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hp-space-3) var(--hp-space-5);
}

.dx-gauge {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-1);
}

.dx-gauge__head {
  display: flex;
  justify-content: space-between;
  gap: var(--hp-space-2);
  font-size: var(--hp-text-sm);
  color: var(--hp-text-sub);
}

.dx-gauge__value {
  font-family: var(--hp-font-latin);
  font-weight: var(--hp-weight-heavy);
  color: var(--hp-text);
}

.dx-gauge .dx-bar__fill {
  background: var(--dx-theme, var(--hp-accent));
}

/* ---------- 診療科・タイプのカード（一覧・結果で共通） ---------- */
.dx-tile {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--hp-space-4);
  align-items: center;
  padding: var(--hp-space-4);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-white);
  box-shadow: var(--hp-shadow-card);
  text-decoration: none;
  transition: transform var(--hp-duration-fast) var(--hp-ease-out),
    box-shadow var(--hp-duration-fast) var(--hp-ease-out);
}

.dx-tile[hidden] {
  display: none;
}

/* 結果カードの中のタイル（カードの中なので影と余白を外す） */
.dx-tile--flat {
  padding: 0;
  box-shadow: none;
}

.dx-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--hp-shadow-card-float);
}

.dx-tile__img {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 112px;
  overflow: hidden;
  border-radius: var(--hp-radius-md);
  background: var(--dx-tile-bg, var(--hp-primary-50));
}

.dx-tile__img img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.dx-tile__body {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-1);
  min-width: 0;
}

.dx-tile__name {
  font-size: var(--hp-text-lg);
  font-weight: var(--hp-weight-bold);
  line-height: var(--hp-leading-normal);
}

.dx-tile__copy {
  font-size: var(--hp-text-sm);
  color: var(--hp-text-sub);
  line-height: var(--hp-leading-normal);
}

.dx-tile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2px var(--hp-space-3);
  margin-top: var(--hp-space-1);
  font-size: var(--hp-text-label);
  color: var(--hp-text-muted);
}

.dx-tile__stats b {
  font-family: var(--hp-font-latin);
  color: var(--hp-text);
}

.dx-tiles {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-3);
}

/* ---------- 一覧の絞り込み ---------- */
.dx-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hp-space-2);
  margin-bottom: var(--hp-space-4);
}

.dx-filter {
  padding: 4px var(--hp-space-3);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-pill);
  background: var(--hp-white);
  font: inherit;
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
  cursor: pointer;
}

.dx-filter[aria-pressed="true"] {
  border-color: var(--hp-accent);
  background: var(--hp-accent);
  color: var(--hp-white);
}

.dx-select {
  padding: 6px var(--hp-space-3);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-md);
  background: var(--hp-white);
  font: inherit;
  font-size: var(--hp-text-sm);
  color: var(--hp-text);
}

.dx-sortbar {
  display: flex;
  align-items: center;
  gap: var(--hp-space-2);
  margin-bottom: var(--hp-space-4);
  font-size: var(--hp-text-sm);
  color: var(--hp-text-sub);
}

/* ---------- 詳細ページの数字 ---------- */
.dx-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hp-space-3);
}

.dx-fact {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-1);
  padding: var(--hp-space-4);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-primary-50);
}

.dx-fact__label {
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
}

.dx-fact__value {
  font-family: var(--hp-font-latin);
  font-size: var(--hp-text-2xl);
  font-weight: var(--hp-weight-heavy);
  line-height: var(--hp-leading-normal);
  color: var(--dx-theme, var(--hp-primary-500));
}

.dx-fact__value small {
  margin-left: 2px;
  font-family: var(--hp-font-sans);
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
}

.dx-fact__comment {
  font-size: var(--hp-text-sm);
  line-height: var(--hp-leading-normal);
  color: var(--hp-text-sub);
}

.dx-meter {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-2);
}

.dx-meter__row {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-1);
}

.dx-career {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hp-space-2);
}

.dx-career__step {
  padding: 4px var(--hp-space-3);
  border-radius: var(--hp-radius-md);
  background: var(--hp-primary-50);
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
}

.dx-career__arrow {
  color: var(--hp-accent);
  font-weight: var(--hp-weight-bold);
}

/* 詳細ページの見出しまわり（診療科・タイプ） */
.dx-detail-hero {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: var(--hp-space-4);
  align-items: end;
}

.dx-detail-hero__img {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 180px;
  border-radius: var(--hp-radius-lg);
  background: var(--dx-theme-soft, var(--hp-primary-50));
}

.dx-detail-hero__img img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.dx-detail-copy {
  font-size: var(--hp-text-lg);
  font-weight: var(--hp-weight-bold);
  color: var(--dx-theme, var(--hp-primary-500));
  line-height: var(--hp-leading-normal);
}

/* 恋愛タイプの大きなキャラクター */
.dx-type-visual {
  display: flex;
  justify-content: center;
  padding: var(--hp-space-5) var(--hp-space-5) 0;
  border-radius: var(--hp-radius-xl);
  background: var(--dx-theme-soft, var(--hp-primary-100));
}

.dx-type-visual img {
  width: 72%;
  max-width: 280px;
}

.dx-type-code {
  font-family: var(--hp-font-latin);
  font-size: var(--hp-text-lg);
  font-weight: var(--hp-weight-heavy);
  color: var(--dx-theme, var(--hp-accent));
  letter-spacing: var(--hp-tracking-label);
}

.dx-prose {
  font-size: var(--hp-text-base);
  font-weight: var(--hp-weight-light);
  line-height: var(--hp-leading-loose);
}

/* 相性（恋愛タイプ） */
.dx-match {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-2);
  padding: var(--hp-space-4);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-white);
  box-shadow: var(--hp-shadow-card);
}

.dx-match__label {
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
}

.dx-match__label--best {
  color: var(--hp-accent);
}

.dx-match__label--bad {
  color: var(--hp-coral);
}

.dx-match__types {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hp-space-2);
}

.dx-match__type {
  display: inline-flex;
  align-items: center;
  gap: var(--hp-space-2);
  padding: 4px var(--hp-space-3) 4px 4px;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-pill);
  font-size: var(--hp-text-md);
  font-weight: var(--hp-weight-bold);
  text-decoration: none;
}

.dx-match__type img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--hp-primary-50);
}

/* シェア */
.dx-share {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hp-space-2);
}

/* ---------- iCoi の案内（全ページの下） ---------- */
.dx-icoi {
  position: relative;
  overflow: hidden;
  padding: var(--hp-space-10) 0 0;
  background:
    radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 100%),
    var(--hp-gradient-primary);
  color: var(--hp-white);
}

.dx-icoi__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hp-space-5);
  text-align: center;
}

.dx-icoi__eyebrow {
  font-size: var(--hp-text-md);
  font-weight: var(--hp-weight-bold);
  letter-spacing: var(--hp-tracking-medium);
}

.dx-icoi__eyebrow em {
  font-style: normal;
  color: var(--hp-highlight);
}

.dx-icoi__title {
  font-size: var(--hp-text-title);
  font-weight: var(--hp-weight-bold);
  line-height: var(--hp-leading-relaxed);
}

.dx-icoi__text {
  max-width: 520px;
  font-size: var(--hp-text-base);
  line-height: var(--hp-leading-loose);
  text-align: left;
}

.dx-icoi__points {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-2);
  width: 100%;
  max-width: 520px;
  text-align: left;
}

.dx-icoi__point {
  display: flex;
  align-items: flex-start;
  gap: var(--hp-space-2);
  padding: var(--hp-space-3) var(--hp-space-4);
  border-radius: var(--hp-radius-md);
  background: rgba(255, 255, 255, 0.16);
  font-size: var(--hp-text-base);
  font-weight: var(--hp-weight-bold);
  line-height: var(--hp-leading-normal);
}

.dx-icoi__point::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--hp-highlight);
}

.dx-icoi .dx-btn {
  background: var(--hp-white);
  color: var(--hp-primary-500);
}

.dx-icoi__phones {
  width: 100%;
  max-width: 400px;
  margin-top: var(--hp-space-2);
}

/* ---------- フッター ---------- */
.dx-footer {
  padding: var(--hp-space-8) 0 var(--hp-space-10);
  background: var(--hp-white);
  font-size: var(--hp-text-sm);
  color: var(--hp-text-sub);
}

.dx-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hp-space-4);
}

.dx-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--hp-space-2) var(--hp-space-5);
}

.dx-footer__links a {
  text-decoration: none;
}

/* ---------- モーダル（シェア画像） ---------- */
.dx-modal {
  position: fixed;
  inset: 0;
  z-index: var(--hp-z-drawer);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--hp-space-5);
  background: var(--hp-drawer-backdrop);
}

.dx-modal.is-open {
  display: flex;
}

.dx-modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-4);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow: auto;
  padding: var(--hp-space-5);
  border-radius: var(--hp-radius-lg);
  background: var(--hp-white);
}

.dx-modal__body img {
  max-height: 56vh;
  margin: 0 auto;
  border-radius: var(--hp-radius-md);
  box-shadow: var(--hp-shadow-card);
}

.dx-modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--hp-space-2);
}

.dx-modal__close {
  align-self: center;
  padding: var(--hp-space-1) var(--hp-space-3);
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--hp-text-sm);
  font-weight: var(--hp-weight-bold);
  color: var(--hp-text-sub);
  cursor: pointer;
}

/* ---------- PC ---------- */
@media (min-width: 768px) {
  .dx-title {
    font-size: var(--hp-text-4xl);
  }

  /* 2 列のヒーローは列が狭いので、見出しは SP と同じ大きさのまま */
  .dx-hero__inner--split .dx-title {
    font-size: var(--hp-text-display);
  }

  .dx-hero__inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--hp-space-8);
  }

  .dx-detail-hero {
    grid-template-columns: 1fr 180px;
  }

  .dx-detail-hero__img {
    height: 240px;
  }

  .dx-gauges {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .dx-tiles--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
