﻿/* カード型レイアウト用スタイル */

.card-result-panel {
  padding: 16px;
}

body.cards-page .top-hero-banner,
body.index-page .top-hero-banner {
  /* 画像内の「ライトステップ」の左端を、ヘッダーボタン共通の基準位置にする */
  --hero-action-left: calc(50% - 591px);
  margin: 0;
  width: 100%;
  height: 334px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: #1b8640;
  overflow: hidden;
  position: relative;
}

body.cards-page .top-hero-banner img,
body.index-page .top-hero-banner img {
  position: relative;
  left: 50%;
  display: block;
  width: 1920px;
  max-width: none;
  height: 334px;
  margin: 0;
  transform: translateX(-50%);
}

/* 1366px以上では4K表示時の画像サイズを維持し、それ未満だけ同じ切り抜き比率で縮小する */
@media (max-width: 1365px) {
  body.cards-page .top-hero-banner,
  body.index-page .top-hero-banner {
    --hero-action-left: 6.72vw;
    height: 24.4509vw;
  }

  body.cards-page .top-hero-banner img,
  body.index-page .top-hero-banner img {
    width: 140.5564vw;
    height: 24.4509vw;
  }
}

body.cards-page .hero-tutorial-button,
body.index-page .hero-tutorial-button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  left: 5%;
  top: 65px;
  transform: none;
  min-width: 300px;
  height: 46px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.cards-page .hero-tutorial-button i,
body.index-page .hero-tutorial-button i {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}

body.cards-page .hero-tutorial-button:hover,
body.cards-page .hero-tutorial-button:focus-visible,
body.index-page .hero-tutorial-button:hover,
body.index-page .hero-tutorial-button:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  outline: none;
  transform: translateY(-1px);
}

body.cards-page .hero-product-link,
body.index-page .hero-product-link {
  position: absolute;
  left: 5%;
  bottom: 74px;
  display: inline-flex;
  min-width: 220px;
  height: 42px;
  padding: 0 18px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 2px solid var(--accent);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.cards-page .hero-product-link i,
body.index-page .hero-product-link i {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 13px;
}

body.cards-page .hero-product-link:hover,
body.cards-page .hero-product-link:focus-visible,
body.index-page .hero-product-link:hover,
body.index-page .hero-product-link:focus-visible {
  background: var(--accent);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

body.haselink-version .hero-product-link {
  display: none;
}

.hero-tutorial-slot {
  display: none;
}

.hero-product-link--slot {
  display: none !important;
}

body.cards-page .mitsumo-banner,
body.index-page .mitsumo-banner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 14px 0 0;
  padding: 12px 36px;
  min-height: 86px;
  border-radius: 6px;
  background: #fff;
  position: relative;
}

body.cards-page .mitsumo-banner[hidden],
body.index-page .mitsumo-banner[hidden] {
  display: none;
}

body.cards-page .mitsumo-banner-logo,
body.index-page .mitsumo-banner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.cards-page .mitsumo-banner-logo img,
body.index-page .mitsumo-banner-logo img {
  display: block;
  width: min(108px, 100%);
  height: auto;
}

.mitsumo-banner-visual,
.mitsumo-banner-copy-haselink {
  display: none;
}

body.cards-page .mitsumo-banner-copy,
body.index-page .mitsumo-banner-copy {
  min-width: 0;
}

body.cards-page .mitsumo-banner-title,
body.index-page .mitsumo-banner-title {
  margin: 0;
  color: #111;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

body.cards-page .mitsumo-banner-title strong,
body.index-page .mitsumo-banner-title strong {
  color: #d00b26;
}

body.cards-page .mitsumo-banner-text,
body.index-page .mitsumo-banner-text {
  margin: 4px 0 0;
  color: #555;
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.5;
}

body.cards-page .mitsumo-banner-button,
body.index-page .mitsumo-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 176px;
  height: 46px;
  padding: 0 18px 0 28px;
  border: 1px solid #d00b26;
  border-radius: 4px;
  background: #fff;
  color: #d00b26;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.cards-page .mitsumo-banner-button:hover,
body.index-page .mitsumo-banner-button:hover,
body.cards-page .mitsumo-banner-button:focus-visible,
body.index-page .mitsumo-banner-button:focus-visible {
  background: #d00b26;
  color: #fff;
  outline: none;
}

body.cards-page .mitsumo-banner-arrow,
body.index-page .mitsumo-banner-arrow {
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

body.cards-page .mitsumo-banner-close,
body.index-page .mitsumo-banner-close {
  position: absolute;
  top: 6px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #777;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

body.cards-page .mitsumo-banner-close:hover,
body.index-page .mitsumo-banner-close:hover,
body.cards-page .mitsumo-banner-close:focus-visible,
body.index-page .mitsumo-banner-close:focus-visible {
  background: #f4f4f4;
  color: #d00b26;
  outline: none;
}

body.haselink-version.cards-page .mitsumo-banner,
body.haselink-version.index-page .mitsumo-banner {
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 86px;
  padding: 12px 36px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.14);
}

body.haselink-version .mitsumo-banner-logo,
body.haselink-version .mitsumo-banner-copy-default {
  display: none;
}

body.haselink-version .mitsumo-banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 62px;
}

body.haselink-version .mitsumo-banner-visual img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

body.haselink-version .mitsumo-banner-visual img:last-child {
  width: 36px;
}

body.haselink-version .mitsumo-banner-copy-haselink {
  display: block;
}

body.haselink-version .mitsumo-banner-title {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.45;
}

body.haselink-version .mitsumo-banner-text {
  margin-top: 4px;
  color: #444;
  font-size: clamp(12px, 1.05vw, 14px);
}

body.haselink-version .mitsumo-banner-button {
  width: auto;
  min-width: 176px;
  height: 46px;
  gap: 24px;
  border-width: 1px;
  border-radius: 4px;
  font-size: 14px;
}

body.haselink-version .mitsumo-banner-close {
  top: 6px;
  right: 8px;
  font-size: 20px;
}

body.cards-page .top-hero-actions,
body.index-page .top-hero-actions {
  position: absolute;
  left: 44px;
  bottom: 22px;
  margin: 0;
  display: flex;
  gap: 12px;
}

body.cards-page .hero-cta,
body.index-page .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.cards-page .hero-cta:hover,
body.index-page .hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

body.cards-page .hero-cta-icon,
body.index-page .hero-cta-icon {
  font-size: 14px;
  line-height: 1;
}

body.cards-page .hero-cta-primary,
body.index-page .hero-cta-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}

body.cards-page .hero-cta-primary:hover,
body.index-page .hero-cta-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

body.cards-page .hero-cta-secondary,
body.index-page .hero-cta-secondary {
  background: #fff;
  border: 1px solid #d6d8de;
  color: #2f3136;
}

body.cards-page .hero-cta-secondary:hover,
body.index-page .hero-cta-secondary:hover {
  background: #f6f7f9;
}

body.cards-page .workflow-panel,
body.index-page .workflow-panel {
  margin: 8px 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cards-page .workflow-panel:has(#step2Panel.active),
body.cards-page .workflow-panel:has(#step3Panel.active),
body.cards-page.step2-active .workflow-panel,
body.cards-page.step3-active .workflow-panel,
body.index-page .workflow-panel:has(#step2Panel.active),
body.index-page .workflow-panel:has(#step3Panel.active) {
  margin-bottom: 0;
}

body.cards-page .workflow-steps,
body.index-page .workflow-steps {
  gap: 1px;
  margin-bottom: 6px;
  border-radius: 8px;
  overflow: hidden;
}

body.cards-page .step-chip,
body.index-page .step-chip {
  min-width: 0;
  max-width: none;
  flex: 1 1 0;
  border-color: #d5d5d5;
  background: #ffffff;
}

body.cards-page .step-chip.completed,
body.index-page .step-chip.completed {
  background: #8a8a8a;
  border-color: #8a8a8a;
}

body.cards-page .step-chip.active,
body.cards-page .step-chip.active.completed,
body.index-page .step-chip.active,
body.index-page .step-chip.active.completed {
  background: var(--accent);
  border-color: var(--accent);
}

body.cards-page .step-chip.active .step-chip-title,
body.cards-page .step-chip.active .step-chip-label,
body.cards-page .step-chip.active .step-chip-value,
body.index-page .step-chip.active .step-chip-title,
body.index-page .step-chip.active .step-chip-label,
body.index-page .step-chip.active .step-chip-value {
  color: #fff;
}

body.cards-page .workflow-panel .selection-summary,
body.index-page .workflow-panel .selection-summary {
  display: block;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.cards-page .workflow-panel:has(#step2Panel.active) .selection-summary,
body.cards-page .workflow-panel:has(#step3Panel.active) .selection-summary,
body.cards-page.step2-active .workflow-panel .selection-summary,
body.cards-page.step3-active .workflow-panel .selection-summary,
body.index-page .workflow-panel:has(#step2Panel.active) .selection-summary,
body.index-page .workflow-panel:has(#step3Panel.active) .selection-summary {
  margin-bottom: 0;
}

body.cards-page.step2-active .workflow-panel .step-actions,
body.cards-page.step3-active .workflow-panel .step-actions {
  margin: 4px 0 8px;
}

body.cards-page .selection-summary-layout,
body.index-page .selection-summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 10px;
  align-items: stretch;
}

body.cards-page .selection-summary-current-card,
body.index-page .selection-summary-current-card {
  min-width: 0;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #f7f7f7;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(22, 35, 55, 0.05);
}

body.cards-page .selection-info.moved-to-selection-summary,
body.index-page .selection-info.moved-to-selection-summary {
  display: none;
}

body.cards-page .selection-summary-card-strip,
body.index-page .selection-summary-card-strip {
  display: flex;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

body.cards-page .selected-summary-card,
body.index-page .selected-summary-card {
  flex: 0 0 300px;
  min-width: 300px;
}

body.cards-page .selection-summary-price-card,
body.index-page .selection-summary-price-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(22, 35, 55, 0.05);
}

body.cards-page .selection-summary-price-title,
body.index-page .selection-summary-price-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 800;
  color: #222;
}

body.cards-page .selection-summary-price-row,
body.cards-page .selection-summary-price-total,
body.index-page .selection-summary-price-row,
body.index-page .selection-summary-price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #222;
}

body.cards-page .selection-summary-price-row,
body.index-page .selection-summary-price-row {
  padding: 9px 0;
  border-bottom: 1px solid #eeeeee;
  font-size: 14px;
}

body.cards-page .selection-summary-price-row span:first-child,
body.cards-page .selection-summary-price-total span:first-child,
body.index-page .selection-summary-price-row span:first-child,
body.index-page .selection-summary-price-total span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.cards-page .selection-summary-price-row span:last-child,
body.cards-page .selection-summary-price-total span:last-child,
body.index-page .selection-summary-price-row span:last-child,
body.index-page .selection-summary-price-total span:last-child {
  flex: 0 0 auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.cards-page .selection-summary-price-total,
body.index-page .selection-summary-price-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #bdbdbd;
  font-size: 16px;
  font-weight: 800;
}

body.cards-page .selection-summary-price-total span:last-child,
body.index-page .selection-summary-price-total span:last-child {
  color: var(--price-red);
  font-size: 22px;
}

body.cards-page .filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.cards-page .filter-section.floor-type-wide {
  grid-column: 1 / -1;
}

body.cards-page .filter-section.price-wide {
  grid-column: 1 / -1;
}

body.cards-page .filter-panel,
body.index-page .filter-panel {
  background: transparent;
  border: 0;
  padding: 0;
}

body.cards-page .filter-panel .panel-header,
body.index-page .filter-panel .panel-header,
body.cards-page .active-filters,
body.index-page .active-filters {
  padding-inline: 4px;
}

body.cards-page .filter-grid,
body.index-page .filter-grid {
  gap: 10px 14px;
}

body.cards-page .filter-section,
body.index-page .filter-section {
  border-color: #e5e7eb;
  background: #fff;
  box-shadow: 0 4px 14px rgba(22, 35, 55, 0.05);
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section {
  --accent: #008842;
  --accent-hover: #007236;
  --action-red: #008842;
  order: -1;
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(320px, 1fr) minmax(220px, 0.62fr);
  gap: 18px 28px;
  min-height: 220px;
  padding: 22px 26px;
  border: 2px solid #008842;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 136, 66, 0.08);
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3 {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

body.cards-page .height-priority-section > h3 .filter-heading-icon,
body.index-page .height-priority-section > h3 .filter-heading-icon,
body.cards-page .height-priority-section > h3 .filter-heading-icon-dimension,
body.index-page .height-priority-section > h3 .filter-heading-icon-dimension {
  padding: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, #0c8a41 12%, #ffffff);
  box-sizing: content-box;
}

body.cards-page .height-priority-copy,
body.index-page .height-priority-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

body.cards-page .height-priority-badge,
body.index-page .height-priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 16px;
  border-radius: 5px;
  background: #008842;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

body.cards-page .height-priority-copy p,
body.index-page .height-priority-copy p {
  margin: 0;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

body.cards-page .height-priority-section .range-row,
body.index-page .height-priority-section .range-row {
  grid-column: 2;
}

body.cards-page .height-priority-section .value-slider-row,
body.index-page .height-priority-section .value-slider-row {
  grid-column: 2;
  align-self: center;
  gap: 14px;
}

body.cards-page .height-priority-section .height-priority-illustration,
body.index-page .height-priority-section .height-priority-illustration {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  width: min(230px, 100%);
  max-height: 100px;
  object-fit: contain;
}

body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after {
  content: "高さの目安\A 250～500mm　低所作業・点検に\A 600～900mm　一般作業・組立に\A 1000～1250mm　高所作業に\A 1500mm以上　設備作業に";
  white-space: pre-line;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  min-height: 130px;
  padding: 18px 20px;
  border: 1px solid #008842;
  border-radius: 6px;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  background: #fbfffd;
}

body.cards-page .filter-grid > .filter-section:not(.height-priority-section):not(.floor-type-wide),
body.index-page .filter-grid > .filter-section:not(.height-priority-section):not(.floor-type-wide) {
  min-height: 74px;
  padding: 10px 12px;
  border-color: #edf0f3;
  border-radius: 6px;
}

body.cards-page .filter-grid > details.filter-section:not(.height-priority-section),
body.index-page .filter-grid > details.filter-section:not(.height-priority-section) {
  padding: 0;
}

body.cards-page .filter-section-collapsible > summary,
body.index-page .filter-section-collapsible > summary,
body.cards-page .filter-grid > details.filter-section > summary,
body.index-page .filter-grid > details.filter-section > summary {
  min-height: 58px;
  padding: 12px 14px;
  background: #fff;
}

body.cards-page .filter-grid > .filter-section:not(.height-priority-section) > h3,
body.index-page .filter-grid > .filter-section:not(.height-priority-section) > h3,
body.cards-page .filter-grid > details.filter-section > summary h3,
body.index-page .filter-grid > details.filter-section > summary h3 {
  color: #20242a;
  font-size: 13px;
  font-weight: 800;
}

body.cards-page .value-slider-pill,
body.index-page .value-slider-pill {
  border-color: #c9ded3;
  background: #f7fbf9;
  color: #126236;
}

.layout.layout-with-left-filter .height-priority-section {
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: auto;
}

.layout.layout-with-left-filter .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-copy,
.layout.layout-with-left-filter .height-priority-section .range-row,
.layout.layout-with-left-filter .height-priority-section .value-slider-row,
.layout.layout-with-left-filter .height-priority-section .height-priority-illustration {
  grid-column: 1;
  grid-row: auto;
}

.layout.layout-with-left-filter .height-priority-section::after {
  grid-column: 1;
  grid-row: auto;
  min-height: 0;
}

@media (max-width: 900px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  body.cards-page .height-priority-section > h3,
  body.index-page .height-priority-section > h3,
  body.cards-page .height-priority-copy,
  body.index-page .height-priority-copy,
  body.cards-page .height-priority-section .range-row,
  body.index-page .height-priority-section .range-row,
  body.cards-page .height-priority-section .value-slider-row,
  body.index-page .height-priority-section .value-slider-row,
  body.cards-page .height-priority-section .height-priority-illustration,
  body.index-page .height-priority-section .height-priority-illustration {
    grid-column: 1;
    grid-row: auto;
  }

  body.cards-page .height-priority-section::after,
  body.index-page .height-priority-section::after {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }
}

body.cards-page .filter-panel,
body.index-page .filter-panel {
  margin-top: 10px;
}

body.cards-page .filter-icon-size-control,
body.index-page .filter-icon-size-control {
  display: none;
}

body.cards-page .filter-panel .panel-header,
body.index-page .filter-panel .panel-header {
  padding: 10px 14px 8px;
  border: 1px solid #e7e9ed;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

body.cards-page .filter-panel .panel-header h2,
body.index-page .filter-panel .panel-header h2 {
  font-size: 17px;
  font-weight: 800;
}

body.cards-page .active-filters,
body.index-page .active-filters {
  margin: 0;
  padding: 0 14px 8px;
  border-inline: 1px solid #e7e9ed;
  background: #fff;
}

body.cards-page .filter-grid,
body.index-page .filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
  padding: 12px 14px 14px;
  border: 1px solid #e7e9ed;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

body.cards-page .dimensions-filter-section,
body.index-page .dimensions-filter-section,
body.cards-page .dimensions-filter-section > .filter-section-body,
body.index-page .dimensions-filter-section > .filter-section-body {
  display: contents;
}

body.cards-page .dimensions-filter-section > h3,
body.index-page .dimensions-filter-section > h3 {
  display: none;
}

body.cards-page .dimensions-filter-section,
body.index-page .dimensions-filter-section {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.cards-page .dimensions-filter-section .filter-sub-block,
body.index-page .dimensions-filter-section .filter-sub-block {
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid #edf0f3;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(22, 35, 55, 0.05);
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  order: -20;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(520px, 1.7fr) minmax(230px, 0.85fr);
  gap: 18px 30px;
  align-items: center;
  min-height: 250px;
  padding: 24px 28px;
  border: 2px solid #008842;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 136, 66, 0.08);
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0 0 2px;
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

body.cards-page .height-priority-copy,
body.index-page .height-priority-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.cards-page .height-priority-copy::after,
body.index-page .height-priority-copy::after {
  content: none;
  display: none;
}

body.cards-page .height-priority-section .height-priority-illustration,
body.index-page .height-priority-section .height-priority-illustration {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  width: min(230px, 100%);
  max-height: 100px;
  object-fit: contain;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 18px 12px;
  align-self: stretch;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-height: 98px;
  padding: 12px 10px 10px;
  border: 1.5px solid #008842;
  border-radius: 6px;
  background: #fff;
  color: #111;
  cursor: pointer;
  text-align: center;
}

body.cards-page .height-preset-card.active,
body.index-page .height-preset-card.active {
  background: #e9f6ef;
  border-width: 2px;
  border-color: var(--height-group-color, #008842);
}

body.cards-page .height-preset-check,
body.index-page .height-preset-check {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 19px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

body.cards-page .height-preset-card.active .height-preset-check,
body.index-page .height-preset-card.active .height-preset-check {
  color: var(--height-group-color, #008842);
  opacity: 1;
  transform: scale(1);
}

body.cards-page .height-preset-value,
body.index-page .height-preset-value {
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

body.cards-page .height-preset-image,
body.index-page .height-preset-image {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 42px;
}

body.cards-page .height-preset-image img,
body.index-page .height-preset-image img {
  width: min(72px, 80%);
  max-height: 48px;
  object-fit: contain;
}

body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after {
  content: "高さの目安\A\A250～500mm　　 低所作業・点検に\A600～900mm　　 一般作業・組立に\A1000～1250mm　高所作業・メンテナンスに\A1500mm以上　　高所作業・設備作業に";
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  min-height: 150px;
  padding: 18px 20px;
  border: 1px solid #008842;
  border-radius: 6px;
  background: #fbfffd;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  white-space: pre-line;
}

body.cards-page .height-priority-section .range-row,
body.index-page .height-priority-section .range-row,
body.cards-page .height-priority-section .value-slider-row,
body.index-page .height-priority-section .value-slider-row {
  display: none;
}

body.cards-page .filter-grid > .filter-section:not(.height-priority-section):not(.dimensions-filter-section),
body.index-page .filter-grid > .filter-section:not(.height-priority-section):not(.dimensions-filter-section),
body.cards-page .filter-grid > details.filter-section,
body.index-page .filter-grid > details.filter-section {
  min-height: 74px;
  padding: 12px 14px;
  border-color: #edf0f3;
  border-radius: 6px;
  background: #fff;
}

body.cards-page .filter-grid > details.filter-section,
body.index-page .filter-grid > details.filter-section {
  padding: 0;
}

body.cards-page .filter-section-collapsible > summary,
body.index-page .filter-section-collapsible > summary,
body.cards-page .filter-grid > details.filter-section > summary,
body.index-page .filter-grid > details.filter-section > summary {
  min-height: 72px;
  padding: 12px 14px;
}

@media (max-width: 1080px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section {
    grid-template-columns: 1fr;
  }

  body.cards-page .height-priority-section > h3,
  body.index-page .height-priority-section > h3,
  body.cards-page .height-priority-copy,
  body.index-page .height-priority-copy,
  body.cards-page .height-priority-section .height-priority-illustration,
  body.index-page .height-priority-section .height-priority-illustration,
  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid {
    grid-column: 1;
    grid-row: auto;
  }

  body.cards-page .height-priority-section::after,
  body.index-page .height-priority-section::after {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }
}

body.cards-page .floor-type-wide,
body.index-page .floor-type-wide {
  display: none;
}

body.cards-page .filter-grid,
body.index-page .filter-grid {
  grid-template-columns: repeat(7, minmax(154px, 1fr));
  grid-auto-flow: row;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
}

body.cards-page .filter-grid::-webkit-scrollbar,
body.index-page .filter-grid::-webkit-scrollbar,
body.cards-page .height-preset-grid::-webkit-scrollbar,
body.index-page .height-preset-grid::-webkit-scrollbar {
  height: 8px;
}

body.cards-page .filter-grid::-webkit-scrollbar-thumb,
body.index-page .filter-grid::-webkit-scrollbar-thumb,
body.cards-page .height-preset-grid::-webkit-scrollbar-thumb,
body.index-page .height-preset-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cfd8d4;
}

body.cards-page .filter-grid::-webkit-scrollbar-track,
body.index-page .filter-grid::-webkit-scrollbar-track,
body.cards-page .height-preset-grid::-webkit-scrollbar-track,
body.index-page .height-preset-grid::-webkit-scrollbar-track {
  background: #f5f7f6;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  grid-column: 1 / -1;
  grid-template-columns: minmax(230px, 0.85fr) minmax(0, 2fr) minmax(260px, 0.85fr);
  min-width: min(100%, 1120px);
  min-height: 250px;
  padding: 24px 28px 20px;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3 {
  align-self: start;
  margin-top: 0;
}

body.cards-page .height-priority-copy,
body.index-page .height-priority-copy {
  align-self: start;
  padding-top: 4px;
}

body.cards-page .height-priority-copy p,
body.index-page .height-priority-copy p {
  color: #008842;
  font-size: 18px;
  font-weight: 800;
}

body.cards-page .height-priority-copy p::after,
body.index-page .height-priority-copy p::after {
  content: none;
  display: none;
}

body.cards-page .height-priority-section .height-priority-illustration,
body.index-page .height-priority-section .height-priority-illustration {
  width: min(250px, 100%);
  max-height: 120px;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 10px;
  align-self: center;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card {
  flex: 0 0 112px;
  min-height: 98px;
}

body.cards-page .height-preset-image,
body.index-page .height-preset-image {
  min-height: 48px;
}

body.cards-page .height-preset-image img,
body.index-page .height-preset-image img {
  width: min(86px, 90%);
  max-height: 54px;
}

body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after {
  min-width: 250px;
  font-size: 13px;
  line-height: 1.65;
}

body.cards-page .filter-grid > .filter-section:not(.height-priority-section):not(.dimensions-filter-section),
body.index-page .filter-grid > .filter-section:not(.height-priority-section):not(.dimensions-filter-section),
body.cards-page .filter-grid > details.filter-section,
body.index-page .filter-grid > details.filter-section,
body.cards-page .dimensions-filter-section .filter-sub-block,
body.index-page .dimensions-filter-section .filter-sub-block {
  min-width: 154px;
}

body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  min-width: 100%;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
  align-items: stretch;
}

.layout.layout-with-left-filter .cards-container,
.layout.layout-with-left-filter .handrail-cards {
  align-items: stretch;
}

body.cards-page .slider-source-hidden {
  display: none;
}

body.cards-page .value-slider-row {
  display: grid;
  gap: 10px;
}

body.cards-page .value-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

body.cards-page .value-slider-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 96px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fbf7f4;
  border: 1px solid #dfd4cd;
  color: #5d514a;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

body.cards-page .value-slider-row.is-adjusting .value-slider-pill {
  background: var(--action-red);
  border-color: var(--action-red);
  color: #fff;
}

body.cards-page .value-double-range {
  margin-top: 2px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.cards-container > .product-card,
.handrail-cards > .product-card {
  align-self: stretch;
}

.cards-container > .product-card:not(.option-card) {
  align-self: start;
  min-height: 0;
  height: auto;
}

.product-card.selected-base {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-ring);
}

.product-card.option-card.is-unavailable {
  cursor: not-allowed;
  border-color: #d4d4d4;
  background: #f1f1f1;
  color: #8a8a8a;
  box-shadow: none;
}

.product-card.option-card.is-unavailable:hover {
  box-shadow: none;
  transform: none;
}

.product-card.option-card.is-unavailable .card-image,
.product-card.option-card.is-unavailable .price-box,
.product-card.option-card.is-unavailable .spec-list {
  filter: grayscale(1);
  opacity: 0.58;
}

.product-card.option-card.is-unavailable .model-text {
  color: #777777;
}

.product-card.option-card.is-unavailable .select-base-button:disabled {
  border-color: #cfcfcf;
  background: #dedede;
  color: #666666;
  box-shadow: none;
  cursor: not-allowed;
  font-size: 0;
}

.product-card.option-card.is-unavailable .select-base-button:disabled::after {
  content: "非対応のため選択できません";
  font-size: 12px;
  line-height: 1.25;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-image {
  width: 100%;
  height: 210px;
  aspect-ratio: auto;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image svg,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  padding: 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card:not(.option-card) .card-body {
  flex-grow: 0;
}

.product-card-footer,
.product-card.option-card .option-card-footer {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.product-card:not(.option-card) .product-card-footer {
  margin-top: 0;
  padding-top: 2px;
}


.product-card-footer .select-base-button,
.product-card.option-card .option-card-footer .select-base-button {
  width: 100%;
}

.product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}


.compare-product-image-wrap {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.compare-product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.compare-product-actions .compare-pick-button {
  width: 100%;
}

body.haselink-version .workflow-floating-bar {
  top: 78px;
}

body.haselink-version .workflow-floating-details {
  top: 146px;
  max-height: calc(100vh - 160px);
}

.product-card.option-card {
  min-height: 450px;
}

.product-card.option-card .card-body {
  gap: 0;
}

.product-card.option-card .spec-list {
  margin-bottom: 0;
}

.product-card.option-card .select-base-button {
  margin-top: 0;
}

.product-card.option-card .option-card-header {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.product-card.option-card .option-spec-list {
  margin-top: 0;
}

.product-card.handrail-option-card .card-body {
  gap: 12px;
}

.product-card.handrail-option-card .model-text {
  margin-bottom: 2px;
}

.product-card.handrail-option-card .spec-list {
  margin: 2px 0 4px;
  gap: 8px 8px;
}

.product-card.handrail-option-card .option-card-footer {
  padding-top: 8px;
}

.model-text {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  word-break: keep-all;
  flex: 1 1 auto;
  min-width: 0;
}

.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.model-meta-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.model-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 4px 10px;
  border: 1px solid #d2d2d2;
  border-radius: 7px;
  background: #f7f7f7;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  border-left: 3px solid var(--action-red);
  padding: 8px 10px;
  border-radius: 4px;
}

.price-label {
  font-size: 12px;
  color: #555;
  font-weight: 600;
}

.price-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--price-red);
}

.price-tax-note {
  display: inline-block;
  margin-left: 0;
  font-size: 0.56em;
  font-weight: 600;
  line-height: 1;
  color: #777;
  vertical-align: baseline;
  transform: none;
  white-space: nowrap;
}

.spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
  font-size: 12px;
}

.spec-list dt {
  color: #777;
  font-weight: 600;
  text-align: right;
  padding-right: 6px;
  border-right: 1px solid #eee;
}

.spec-list dd {
  margin: 0;
  color: #333;
  font-weight: 500;
  text-align: left;
  word-break: break-word;
}

.empty-message {
  grid-column: 1 / -1;
  text-align: center;
  color: #777;
  padding: 40px 20px;
  font-size: 14px;
}

.card-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-group {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.card-group-title {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--accent);
  font-size: 18px;
  color: #111;
  font-weight: 800;
}

.card-group .cards-container {
  margin-top: 0;
}

.handrail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.handrail-card {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.handrail-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f2f2f2;
}

.handrail-card-image svg {
  width: 100%;
  height: 100%;
}

.handrail-card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 1080px) {
  body.haselink-version.cards-page .mitsumo-banner,
  body.haselink-version.index-page .mitsumo-banner {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 12px 20px;
  }

  body.haselink-version .mitsumo-banner-button {
    min-width: 150px;
    height: 46px;
  }

  body.cards-page .mitsumo-banner,
  body.index-page .mitsumo-banner {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 12px 20px;
  }

  body.cards-page .mitsumo-banner-button,
  body.index-page .mitsumo-banner-button {
    min-width: 150px;
  }

  body.cards-page .top-hero-actions,
  body.index-page .top-hero-actions {
    left: 22px;
    bottom: 16px;
    gap: 10px;
  }

  body.cards-page .hero-tutorial-button,
  body.index-page .hero-tutorial-button {
    left: 4.8%;
    min-width: 260px;
    height: 42px;
    font-size: 13px;
  }

  body.cards-page .hero-product-link,
  body.index-page .hero-product-link {
    left: 4.8%;
    bottom: 70px;
    min-width: 200px;
    height: 38px;
    font-size: 13px;
  }

  body.cards-page .hero-cta,
  body.index-page .hero-cta {
    min-width: 142px;
    height: 38px;
    font-size: 13px;
  }

  body.cards-page .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cards-page .selection-summary-layout,
  body.index-page .selection-summary-layout {
    grid-template-columns: 1fr;
  }

  body.cards-page .selection-summary-price-card,
  body.index-page .selection-summary-price-card {
    justify-content: flex-start;
  }

  .cards-container {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  body.cards-page .top-hero-banner,
  body.index-page .top-hero-banner {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3583 / 2083;
    background: #f2f2f2;
  }

  body.cards-page .top-hero-banner > picture,
  body.index-page .top-hero-banner > picture {
    display: block;
  }

  body.cards-page .top-hero-banner img,
  body.index-page .top-hero-banner img {
    width: 100%;
    height: auto;
  }

  body.cards-page .mitsumo-banner,
  body.index-page .mitsumo-banner {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    margin: 10px 0 0;
    padding: 12px;
  }

  body.haselink-version.cards-page .mitsumo-banner,
  body.haselink-version.index-page .mitsumo-banner {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  body.haselink-version .mitsumo-banner-visual {
    height: 64px;
  }

  body.haselink-version .mitsumo-banner-visual img {
    width: 48px;
    height: 54px;
  }

  body.haselink-version .mitsumo-banner-visual img:last-child {
    width: 31px;
  }

  body.haselink-version .mitsumo-banner-button {
    width: 100%;
    min-width: 0;
  }

  body.haselink-version .mitsumo-banner-title {
    font-size: 16px;
  }

  body.haselink-version .mitsumo-banner-text {
    font-size: 12px;
  }

  body.cards-page .mitsumo-banner-button,
  body.index-page .mitsumo-banner-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  body.cards-page .mitsumo-banner-title,
  body.index-page .mitsumo-banner-title {
    white-space: normal;
  }

  body.cards-page .top-hero-actions,
  body.index-page .top-hero-actions {
    position: static;
    padding: 10px;
    justify-content: stretch;
  }

  body.cards-page .hero-tutorial-button,
  body.index-page .hero-tutorial-button {
    position: static;
    transform: none;
    width: calc(100% - 20px);
    margin: 8px 10px 10px;
  }

  body.cards-page .hero-product-link,
  body.index-page .hero-product-link {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: fit-content;
    min-width: 200px;
    height: 40px;
    margin: 0;
    transform: none;
  }

  body.cards-page .hero-tutorial-button:hover,
  body.cards-page .hero-tutorial-button:focus-visible,
  body.index-page .hero-tutorial-button:hover,
  body.index-page .hero-tutorial-button:focus-visible {
    transform: none;
  }

  body.cards-page .hero-cta,
  body.index-page .hero-cta {
    flex: 1 1 0;
    min-width: 0;
    font-size: 12px;
    padding: 0 10px;
  }

  body.cards-page .filter-grid {
    grid-template-columns: 1fr;
  }

  body.cards-page .selected-summary-card,
  body.index-page .selected-summary-card {
    flex-basis: 270px;
    min-width: 270px;
  }

  body.cards-page .selection-summary-price-row,
  body.cards-page .selection-summary-price-total,
  body.index-page .selection-summary-price-row,
  body.index-page .selection-summary-price-total {
    gap: 8px;
  }

  .cards-container {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

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

  .card-image {
    height: 190px;
  }
}

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

/* STEP4: 内容確認レイアウト */
body.cards-page .confirm-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
  gap: clamp(10px, 1.4vw, 14px);
  align-items: start;
}

body.cards-page .confirm-main {
  min-width: 0;
}

body.cards-page .confirm-side {
  min-width: 0;
}

body.cards-page .confirm-layout-single .confirm-spec-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

body.cards-page .confirm-layout-single .confirm-spec-main {
  padding: clamp(12px, 1.6vw, 18px) clamp(12px, 1.6vw, 18px) clamp(12px, 1.4vw, 16px);
  border-width: 1px;
}

body.cards-page .confirm-layout-single .base-main-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

body.cards-page .confirm-layout-single .base-main-image {
  margin: 0;
  min-height: clamp(210px, 26vw, 260px);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.cards-page .confirm-layout-single .base-main-image .comp-product-image {
  width: min(100%, 320px);
  max-width: 320px;
  height: 220px;
  transform: translateX(10px);
}

body.cards-page .confirm-layout-single .base-main-specs {
  min-width: 0;
}

body.cards-page .confirm-layout-single .confirm-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.cards-page .confirm-layout-single .confirm-spec-sub {
  min-width: 0;
}

body.cards-page .confirm-layout-single .confirm-side-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
}

body.cards-page .confirm-layout-single .confirm-spec-main .spec-model-name {
  font-size: 16px;
}

body.cards-page .confirm-layout-single .confirm-spec-main .spec-row {
  font-size: 14px;
}

body.cards-page .confirm-layout-single .other-options-spec {
  max-width: none;
}

@media (max-width: 900px) {
  body.cards-page .confirm-layout-single .base-main-layout {
    grid-template-columns: 1fr;
  }

  body.cards-page .confirm-layout-single .confirm-option-grid {
    grid-template-columns: 1fr;
  }
}

body.cards-page .option-more-details {
  margin-top: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cards-page .option-more-summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.cards-page .option-more-summary::-webkit-details-marker {
  display: none;
}

body.cards-page .option-more-summary::before {
  content: "＋";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cfcfcf;
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
}

body.cards-page .option-more-details[open] .option-more-summary::before {
  content: "－";
}

body.cards-page .option-more-summary::after {
  content: "タップで展開";
  font-size: 11px;
  font-weight: 600;
  color: #666;
}

body.cards-page .option-more-summary:hover {
  background: #fff;
  border-color: #c7c7c7;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.cards-page .option-more-details[open] .option-more-summary {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 30%, #ffffff);
  color: var(--accent);
}

body.cards-page .option-more-details[open] .option-more-summary::after {
  content: "タップで閉じる";
  color: var(--accent);
}

body.cards-page .option-more-summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, #ffffff);
  outline-offset: 2px;
}

body.cards-page .option-more-body {
  padding: 0;
}

body.cards-page .confirm-spec-grid {
  grid-template-columns: repeat(auto-fit, minmax(286px, 320px));
  justify-content: start;
  gap: 12px;
  margin-bottom: 14px;
}

body.cards-page .confirm-spec-grid > .spec-container {
  width: 100%;
}

body.cards-page .spec-model-name {
  margin: 2px 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

body.cards-page .confirm-price-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

body.cards-page .confirm-side-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: #222;
}

body.cards-page .quick-panel-title,
body.index-page .quick-panel-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

body.cards-page .price-breakdown-tax-note,
body.index-page .price-breakdown-tax-note {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #555;
}

body.cards-page .price-breakdown-tax-note-emphasis,
body.index-page .price-breakdown-tax-note-emphasis {
  color: var(--price-red);
}

body.cards-page .price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #222;
}

body.cards-page .price-line span:last-child {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.cards-page .price-plus {
  text-align: center;
  color: #999;
  font-size: 16px;
  line-height: 1;
  padding: 2px 0;
}

body.cards-page .price-sub-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #555;
  padding: 3px 0 3px 10px;
}

body.cards-page .price-sub-line span:last-child {
  font-weight: 600;
  color: #333;
  font-variant-numeric: tabular-nums;
}

body.cards-page .price-line.price-item {
  border-bottom: 1px solid #e9e9e9;
}

body.cards-page .price-line.price-meta {
  font-size: 13px;
  color: #666;
  padding: 5px 0;
}

body.cards-page .price-line.price-meta span:last-child {
  font-weight: 600;
}

body.cards-page .total-separator {
  border-top: 1px solid #d5d5d5;
  margin: 10px 0 8px;
}

body.cards-page .total-separator-strong {
  border-top-color: #999;
  border-top-width: 1px;
  margin-top: 8px;
}

body.cards-page .price-line.total-main {
  padding-top: 8px;
  font-size: 15px;
  font-weight: 700;
}

body.cards-page .price-line.total-main span:last-child {
  font-size: 24px;
  color: var(--price-red);
}

body.cards-page .confirm-mitsumo-link,
body.index-page .confirm-mitsumo-link {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #d00b26;
  border-radius: 4px;
  background: #fff;
  color: #111;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

body:not(.haselink-version).cards-page .confirm-mitsumo-link,
body:not(.haselink-version).index-page .confirm-mitsumo-link {
  padding-top: 20px;
}

body.cards-page .quick-confirm-top > .confirm-mitsumo-link,
body.index-page .quick-confirm-top > .confirm-mitsumo-link {
  grid-column: 2;
}

body.cards-page .confirm-mitsumo-link:hover,
body.index-page .confirm-mitsumo-link:hover,
body.cards-page .confirm-mitsumo-link:focus-visible,
body.index-page .confirm-mitsumo-link:focus-visible {
  border-color: #d00b26;
  outline: none;
}

body.cards-page .confirm-mitsumo-link .confirm-mitsumo-image,
body.index-page .confirm-mitsumo-link .confirm-mitsumo-image {
  display: block;
  width: 100%;
  height: auto;
}

body.cards-page .confirm-mitsumo-heading,
body.index-page .confirm-mitsumo-heading {
  display: block;
  color: #d00b26;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

body.cards-page .confirm-mitsumo-lead,
body.index-page .confirm-mitsumo-lead {
  display: block;
  margin-top: 1px;
  color: #111;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 600;
  line-height: 1.5;
}

body.cards-page .confirm-mitsumo-logo,
body.index-page .confirm-mitsumo-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  width: 100%;
}

body.cards-page .confirm-mitsumo-link img,
body.index-page .confirm-mitsumo-link img {
  display: block;
  width: min(150px, 58%);
  height: auto;
}

body.cards-page .confirm-mitsumo-copy,
body.index-page .confirm-mitsumo-copy {
  display: block;
  min-width: 0;
}

body.cards-page .confirm-mitsumo-title,
body.index-page .confirm-mitsumo-title,
body.cards-page .confirm-mitsumo-text,
body.index-page .confirm-mitsumo-text {
  display: block;
}

body.cards-page .confirm-mitsumo-title,
body.index-page .confirm-mitsumo-title {
  color: #444;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 600;
  line-height: 1.45;
}

body.cards-page .confirm-mitsumo-title strong,
body.index-page .confirm-mitsumo-title strong {
  color: #d00b26;
}

body.cards-page .confirm-mitsumo-text,
body.index-page .confirm-mitsumo-text {
  margin-top: 0;
  color: #444;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 600;
  line-height: 1.45;
}

body.cards-page .confirm-mitsumo-button,
body.index-page .confirm-mitsumo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  gap: 8px;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 14px 0 18px;
  border: 1px solid #d00b26;
  border-radius: 5px;
  background: #d00b26;
  color: #fff;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.cards-page .confirm-mitsumo-button:hover,
body.index-page .confirm-mitsumo-button:hover,
body.cards-page .confirm-mitsumo-button:focus-visible,
body.index-page .confirm-mitsumo-button:focus-visible {
  background: #d00b26;
  border-color: #d00b26;
  color: #fff;
  box-shadow: 0 4px 10px rgba(208, 11, 38, 0.22);
  transform: translateY(-1px);
  outline: none;
}

body.cards-page .confirm-mitsumo-arrow,
body.index-page .confirm-mitsumo-arrow {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

body.cards-page .confirm-mitsumo-note,
body.index-page .confirm-mitsumo-note,
body.cards-page .confirm-mitsumo-target,
body.index-page .confirm-mitsumo-target {
  display: block;
  justify-self: start;
  color: #555;
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
}

body.cards-page .confirm-mitsumo-note,
body.index-page .confirm-mitsumo-note {
  margin-top: 2px;
}

.confirm-mitsumo-haselink {
  display: none !important;
}

body.haselink-version .confirm-mitsumo-default,
body.haselink-version .confirm-mitsumo-logo {
  display: none !important;
}

body.haselink-version .confirm-mitsumo-haselink {
  display: block !important;
}

body.haselink-version .confirm-mitsumo-link {
  gap: 7px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(208, 11, 38, 0.58);
  border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
  box-shadow: 0 3px 10px rgba(208, 11, 38, 0.08);
}

body.haselink-version .confirm-mitsumo-heading {
  color: #111;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.35;
  letter-spacing: 0;
}

body.haselink-version .confirm-mitsumo-heading span,
body.haselink-version .confirm-mitsumo-heading strong {
  display: block;
}

body.haselink-version .confirm-mitsumo-heading strong {
  color: #d00b26;
  font-weight: 800;
}

body.haselink-version .confirm-mitsumo-divider {
  width: 88%;
  margin: 1px auto 2px;
  border-top: 1px dotted rgba(208, 11, 38, 0.7);
}

body.haselink-version .confirm-mitsumo-lead {
  margin-top: 0;
  color: #111;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 600;
  line-height: 1.5;
}

body.haselink-version .confirm-mitsumo-lead strong {
  color: #d00b26;
  font-weight: 800;
}

body.haselink-version .confirm-mitsumo-flow {
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 2px 0 1px;
}

body.haselink-version .confirm-mitsumo-flow.confirm-mitsumo-haselink {
  display: flex !important;
}

body.haselink-version .confirm-mitsumo-icon-box {
  display: inline-flex;
  width: 82px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff1f1;
}

body.haselink-version .confirm-mitsumo-flow img {
  display: block;
  width: 60px;
  height: 56px;
  object-fit: contain;
}

body.haselink-version .confirm-mitsumo-icon-box:last-child img {
  width: 38px;
}

body.haselink-version .confirm-mitsumo-flow-arrow {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #d00b26;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

body.haselink-version .confirm-mitsumo-flow-arrow span {
  font-size: 13px;
  letter-spacing: 3px;
}

body.haselink-version .confirm-mitsumo-title {
  color: #222;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.45;
}

body.haselink-version .confirm-mitsumo-button {
  min-height: 38px;
  margin-top: -2px;
  gap: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d00b26 0%, #b91c2f 100%);
  font-size: clamp(13px, 1.2vw, 15px);
}

body.haselink-version .confirm-mitsumo-button .confirm-mitsumo-haselink {
  display: inline !important;
}

body.haselink-version .confirm-mitsumo-note {
  justify-self: center;
  margin-top: 0;
  font-size: 11px;
  text-align: center;
}

body.cards-page .confirm-cta-wrap {
  width: min(96%, 1040px);
  margin: 26px auto 24px;
  padding: 10px;
  border: 0;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

body.cards-page .confirm-cta-wrap .comp-cta-primary,
body.cards-page .confirm-cta-wrap .comp-cta-secondary {
  width: min(360px, 100%);
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 9px 14px;
}

body.cards-page .confirm-cta-wrap .cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

body.cards-page .confirm-cta-wrap .cta-icon,
body.index-page .confirm-cta-wrap .cta-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  object-fit: contain;
}

body.cards-page .confirm-cta-wrap .cta-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.78;
}

body.cards-page .confirm-side .confirm-cta-wrap,
body.index-page .confirm-side .confirm-cta-wrap {
  width: 100%;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

body.cards-page .confirm-side .confirm-cta-wrap .haselink-cart-add,
body.cards-page .confirm-side .confirm-cta-wrap .comp-cta-primary,
body.cards-page .confirm-side .confirm-cta-wrap .comp-cta-secondary,
body.index-page .confirm-side .confirm-cta-wrap .haselink-cart-add,
body.index-page .confirm-side .confirm-cta-wrap .comp-cta-primary,
body.index-page .confirm-side .confirm-cta-wrap .comp-cta-secondary {
  width: 100%;
}

body.cards-page .confirm-side .confirm-cta-wrap .comp-cta-link,
body.index-page .confirm-side .confirm-cta-wrap .comp-cta-link {
  grid-column: 1 / -1;
  justify-self: center;
}

body.cards-page .confirm-cta-wrap .comp-cta-primary,
body.index-page .confirm-cta-wrap .comp-cta-primary,
body.cards-page .confirm-cta-wrap .comp-cta-primary[data-confirm-pdf-download],
body.index-page .confirm-cta-wrap .comp-cta-primary[data-confirm-pdf-download] {
  background: #0c8a41;
  border: 2px solid #0c8a41;
  color: #fff;
}

body.cards-page .confirm-cta-wrap .comp-cta-secondary,
body.index-page .confirm-cta-wrap .comp-cta-secondary {
  background: #fff;
  border: 2px solid #0c8a41;
  color: #0c8a41;
  text-decoration: none;
}

body.cards-page .confirm-cta-wrap .comp-cta-link,
body.index-page .confirm-cta-wrap .comp-cta-link {
  width: auto;
  min-height: auto;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

body.cards-page .confirm-cta-wrap .comp-cta-link:hover,
body.index-page .confirm-cta-wrap .comp-cta-link:hover {
  color: #555;
  text-decoration: underline;
}

.tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 32px;
  background: rgba(0, 0, 0, 0.68);
}

.tutorial-dialog {
  position: relative;
  width: min(1120px, 94vw);
  max-height: calc(100vh - 144px);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 10px;
}

.tutorial-image-frame {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.tutorial-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 144px);
  object-fit: contain;
  border-radius: 16px;
}

.tutorial-close-button {
  position: absolute;
  top: -18px;
  right: 32px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.tutorial-close-button:hover,
.tutorial-close-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.tutorial-nav-button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.tutorial-nav-button:hover:not(:disabled),
.tutorial-nav-button:focus-visible:not(:disabled) {
  background: var(--accent);
  color: #fff;
  outline: none;
}

.tutorial-nav-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.tutorial-nav-prev {
  grid-column: 1;
}

.tutorial-nav-next {
  grid-column: 3;
}

.tutorial-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.tutorial-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.tutorial-dot.active {
  border-color: var(--accent);
  background: var(--accent);
}

.tutorial-overlay.single-slide .tutorial-dialog {
  grid-template-columns: minmax(0, 1fr);
  width: min(1160px, 94vw);
}

.tutorial-overlay.single-slide .tutorial-image-frame {
  grid-column: 1;
}

.tutorial-overlay.single-slide .tutorial-close-button {
  top: 12px;
  right: 12px;
}

.tutorial-overlay.single-slide .tutorial-nav-button,
.tutorial-overlay.single-slide .tutorial-dots {
  display: none;
}

@media (max-width: 1200px) {
  body.cards-page .confirm-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  }

  body.cards-page .confirm-cta-wrap {
    width: min(90%, 980px);
  }
}

@media (max-width: 1080px) {
  body.cards-page .confirm-layout {
    grid-template-columns: 1fr;
  }

  body.cards-page .quick-confirm-top > .confirm-mitsumo-link,
  body.index-page .quick-confirm-top > .confirm-mitsumo-link {
    grid-column: 1 / -1;
  }

  body.cards-page .confirm-layout-single .confirm-spec-grid {
    grid-template-columns: 1fr;
  }

  body.cards-page .confirm-spec-grid {
    grid-template-columns: repeat(auto-fit, minmax(286px, 320px));
    justify-content: start;
  }
}

@media (max-width: 900px) {
  body.cards-page .confirm-spec-grid {
    grid-template-columns: repeat(auto-fit, minmax(286px, 320px));
    justify-content: start;
  }

  body.cards-page .confirm-cta-wrap {
    width: 100%;
  }

  body.cards-page .confirm-cta-wrap .comp-cta-primary,
  body.cards-page .confirm-cta-wrap .comp-cta-secondary {
    width: 100%;
  }

  body.cards-page .price-line.total-main span:last-child {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .tutorial-overlay {
    padding: 42px 18px;
  }

  .tutorial-dialog {
    width: 96vw;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 10px 6px;
  }

  .tutorial-overlay.single-slide .tutorial-dialog {
    grid-template-columns: minmax(0, 1fr);
    width: 96vw;
  }

  .tutorial-nav-button {
    width: 38px;
    height: 38px;
    font-size: 31px;
  }

  .tutorial-close-button {
    top: -14px;
    right: 20px;
    width: 34px;
    height: 34px;
    font-size: 23px;
  }

  .tutorial-overlay.single-slide .tutorial-close-button {
    top: 10px;
    right: 10px;
  }

  body.cards-page .confirm-side .confirm-cta-wrap,
  body.index-page .confirm-side .confirm-cta-wrap {
    grid-template-columns: 1fr;
  }

  body.cards-page .confirm-mitsumo-link,
  body.index-page .confirm-mitsumo-link {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  body.cards-page .confirm-mitsumo-logo,
  body.index-page .confirm-mitsumo-logo {
    grid-row: auto;
  }

  body.cards-page .confirm-spec-grid {
    grid-template-columns: 1fr;
  }

  body.cards-page .confirm-layout-single .confirm-spec-main .spec-image-wrap {
    min-height: 230px;
  }

  body.cards-page .confirm-layout-single .confirm-spec-main .spec-image-wrap .comp-product-image {
    height: 180px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  body.printing-confirmation {
    background: #fff !important;
  }

  body.printing-confirmation * {
    visibility: hidden !important;
  }

  body.printing-confirmation #totalSummary,
  body.printing-confirmation #totalSummary * {
    visibility: visible !important;
  }

  body.printing-confirmation #totalSummary {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }
  body.printing-confirmation .confirm-cta-wrap,
  body.printing-confirmation .confirm-mitsumo-link,
  body.printing-confirmation .mitsumo-banner {
    display: none !important;
  }

  body.printing-confirmation .comp-section-title {
    font-size: 13pt !important;
    line-height: 1.2 !important;
    margin-bottom: 3mm !important;
    margin-top: 0 !important;
    break-after: avoid;
  }

  body.printing-confirmation .confirm-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4mm !important;
    align-items: start !important;
  }

  body.printing-confirmation .confirm-side {
    order: -1 !important;
  }

  body.printing-confirmation .confirm-main {
    order: 0 !important;
  }

  body.printing-confirmation .confirm-spec-grid {
    gap: 3mm !important;
    margin-bottom: 0 !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  body.printing-confirmation .confirm-layout-single .base-main-layout {
    grid-template-columns: 42mm minmax(0, 1fr) !important;
    gap: 3mm !important;
  }

  body.printing-confirmation .confirm-layout-single .confirm-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3mm !important;
  }

  body.printing-confirmation.printing-confirmation-wide-options .confirm-layout-single .confirm-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.printing-confirmation .spec-container,
  body.printing-confirmation .confirm-price-card {
    padding: 2.5mm !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
  }

  body.printing-confirmation .confirm-option-card,
  body.printing-confirmation .base-main-layout,
  body.printing-confirmation .base-main-image,
  body.printing-confirmation .confirm-option-image,
  body.printing-confirmation .confirm-option-specs,
  body.printing-confirmation .price-line,
  body.printing-confirmation .price-sub-line {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
  }

  body.printing-confirmation .spec-block-title,
  body.printing-confirmation .confirm-side-title {
    font-size: 10pt !important;
    line-height: 1.2 !important;
    margin-bottom: 2mm !important;
  }

  body.printing-confirmation .spec-model-name {
    font-size: 12pt !important;
    line-height: 1.2 !important;
    margin: 0 0 2mm !important;
  }

  body.printing-confirmation .spec-row {
    gap: 2mm !important;
    padding: 1.2mm 0 !important;
    font-size: 8.5pt !important;
    line-height: 1.2 !important;
  }

  body.printing-confirmation .spec-label {
    min-width: 24mm !important;
  }

  body.printing-confirmation .confirm-layout-single .base-main-image {
    min-height: 30mm !important;
  }

  body.printing-confirmation .confirm-layout-single .base-main-image .comp-product-image {
    width: 40mm !important;
    max-width: 40mm !important;
    height: 30mm !important;
    transform: none !important;
    object-fit: contain !important;
  }

  body.printing-confirmation .confirm-option-image {
    min-height: 24mm !important;
  }

  body.printing-confirmation .price-line,
  body.printing-confirmation .price-sub-line {
    gap: 2mm !important;
    padding: 1.2mm 0 !important;
    font-size: 8.5pt !important;
    line-height: 1.2 !important;
  }

  body.printing-confirmation .price-sub-line {
    padding-left: 2mm !important;
  }

  body.printing-confirmation .total-separator,
  body.printing-confirmation .total-separator-strong {
    margin: 2mm 0 !important;
  }

  body.printing-confirmation .price-line.total-main span:last-child {
    font-size: 14pt !important;
    color: #d00b26 !important;
  }
}

body.cards-page .floor-type-wide,
body.index-page .floor-type-wide {
  display: none;
}

body.cards-page .filter-grid,
body.index-page .filter-grid,
.layout.layout-with-left-filter .filter-grid {
  grid-template-columns: repeat(7, minmax(154px, 1fr));
  overflow-x: auto;
  overflow-y: visible;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card {
  flex: 0 0 112px;
}

body.cards-page .height-priority-section .height-priority-illustration,
body.index-page .height-priority-section .height-priority-illustration {
  display: none;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr) minmax(260px, 0.9fr);
  grid-template-areas:
    "copy title guide"
    "copy buttons guide";
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3 {
  grid-area: title;
  grid-column: auto;
}

body.cards-page .height-priority-copy,
body.index-page .height-priority-copy {
  grid-area: copy;
  grid-column: auto;
  grid-row: auto;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  grid-area: buttons;
  grid-column: auto;
  grid-row: auto;
}

body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after {
  grid-area: guide;
  grid-column: auto;
  grid-row: auto;
  align-self: center;
}

body.cards-page .filter-sub-block.filter-section-collapsible,
body.index-page .filter-sub-block.filter-section-collapsible {
  padding: 0;
  overflow: hidden;
}

body.cards-page .filter-sub-block.filter-section-collapsible > summary,
body.index-page .filter-sub-block.filter-section-collapsible > summary {
  min-height: 72px;
  padding: 12px 14px;
}

body.cards-page .filter-sub-block.filter-section-collapsible > .range-row,
body.index-page .filter-sub-block.filter-section-collapsible > .range-row {
  padding: 0 14px 12px;
}

body.cards-page .filter-section:has(#stepsFilter),
body.index-page .filter-section:has(#stepsFilter) {
  display: none;
}

body.cards-page .filter-grid,
body.index-page .filter-grid,
.layout.layout-with-left-filter .filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

body.cards-page .filter-grid > details.filter-section:has(#priceRangeArea),
body.index-page .filter-grid > details.filter-section:has(#priceRangeArea) {
  order: 99;
}

body.cards-page .filter-grid > .filter-section:not(.height-priority-section):not(.dimensions-filter-section),
body.index-page .filter-grid > .filter-section:not(.height-priority-section):not(.dimensions-filter-section),
body.cards-page .filter-grid > details.filter-section,
body.index-page .filter-grid > details.filter-section,
body.cards-page .dimensions-filter-section .filter-sub-block,
body.index-page .dimensions-filter-section .filter-sub-block {
  min-width: 0;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 2.1fr) minmax(280px, 0.95fr);
  grid-template-areas:
    "copy title guide"
    "copy buttons guide";
  align-items: center;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3 {
  grid-area: title;
}

body.cards-page .height-priority-copy,
body.index-page .height-priority-copy {
  grid-area: copy;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  grid-area: buttons;
  width: 100%;
  min-width: 0;
}

body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after {
  grid-area: guide;
  align-self: center;
  justify-self: stretch;
  min-width: 0;
}

@media (min-width: 769px) {
  body.cards-page .hero-tutorial-button,
  body.index-page .hero-tutorial-button {
    position: absolute;
    top: auto;
    bottom: 22px;
    left: var(--hero-action-left);
    transform: none;
  }

  body.cards-page .hero-product-link,
  body.index-page .hero-product-link {
    left: var(--hero-action-left);
    top: auto;
    bottom: 74px;
  }

  body.haselink-version.cards-page .hero-tutorial-button,
  body.haselink-version.index-page .hero-tutorial-button {
    top: auto;
    bottom: 74px;
  }

  body.cards-page .hero-tutorial-button:hover,
  body.cards-page .hero-tutorial-button:focus-visible,
  body.index-page .hero-tutorial-button:hover,
  body.index-page .hero-tutorial-button:focus-visible {
    transform: translateY(-1px);
  }
}

/* タブレット幅以下では商品リンクを画像内の下段へ移し、チュートリアルは画像下に出す */
@media (max-width: 1023px) {
  body.cards-page .hero-tutorial-button--hero,
  body.index-page .hero-tutorial-button--hero {
    display: none;
  }

  body.cards-page .hero-tutorial-slot,
  body.index-page .hero-tutorial-slot {
    display: flex;
    width: min(var(--page-max-width), calc(100% - (var(--page-gutter) * 2)));
    margin: 14px auto 0;
  }

  body.cards-page .hero-tutorial-button--slot,
  body.index-page .hero-tutorial-button--slot {
    position: static;
    width: calc(100% - 20px);
    min-width: 0;
    margin: 0 10px;
    transform: none;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  body.cards-page .hero-product-link,
  body.index-page .hero-product-link {
    top: auto;
    bottom: 22px;
    justify-content: center;
  }

  body.cards-page .hero-product-link i,
  body.index-page .hero-product-link i {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  body.cards-page .top-hero-banner > .hero-product-link,
  body.index-page .top-hero-banner > .hero-product-link {
    display: inline-flex;
    top: calc(53.4% - 45px);
    bottom: auto;
    justify-content: center;
  }

  body.cards-page .hero-tutorial-slot,
  body.index-page .hero-tutorial-slot {
    display: none;
  }

  /* ロゴ下端と説明文の間に、高さ40px + 間隔8px + 高さ42pxを配置する。 */
  body.cards-page .top-hero-banner > .hero-tutorial-button--hero,
  body.index-page .top-hero-banner > .hero-tutorial-button--hero {
    display: inline-flex;
    position: absolute;
    top: calc(53.4% + 3px);
    bottom: auto;
  }

  body.cards-page .top-hero-banner > .hero-product-link,
  body.index-page .top-hero-banner > .hero-product-link,
  body.cards-page .top-hero-banner > .hero-tutorial-button--hero,
  body.index-page .top-hero-banner > .hero-tutorial-button--hero {
    left: 8%;
    width: 56%;
    min-width: 0;
    margin: 0;
    padding-inline: 6px;
    gap: 6px;
    font-size: clamp(10px, 2.7vw, 13px);
    white-space: nowrap;
  }

  body.cards-page .top-hero-banner > .hero-product-link i,
  body.index-page .top-hero-banner > .hero-product-link i {
    margin-left: 0;
  }

  body.cards-page .hero-tutorial-slot .hero-product-link--slot,
  body.index-page .hero-tutorial-slot .hero-product-link--slot {
    position: static;
    display: inline-flex !important;
    justify-content: center;
    width: calc(100% - 20px);
    min-width: 0;
    margin: 0 10px;
    transform: none;
  }

  body.cards-page .hero-tutorial-slot .hero-product-link--slot i,
  body.index-page .hero-tutorial-slot .hero-product-link--slot i {
    margin-left: 0;
  }

  body.haselink-version .hero-tutorial-slot .hero-product-link--slot {
    display: none !important;
  }
}

/* モバイルL以下では画像内に商品紹介だけを残し、検索ツールの案内を画像下へ移す。 */
@media (max-width: 425px) {
  body.cards-page .top-hero-banner > .hero-product-link,
  body.index-page .top-hero-banner > .hero-product-link {
    top: calc(53.4% - 20px);
  }

  body.cards-page .top-hero-banner > .hero-tutorial-button--hero,
  body.index-page .top-hero-banner > .hero-tutorial-button--hero {
    display: none;
  }

  body.cards-page .hero-tutorial-slot,
  body.index-page .hero-tutorial-slot {
    display: flex;
  }

  body.cards-page .hero-tutorial-slot .hero-product-link--slot,
  body.index-page .hero-tutorial-slot .hero-product-link--slot {
    display: none !important;
  }
}

/* ノートPC幅では商品紹介ボタンを一回り小さく、軽い見た目にする */
@media (min-width: 1024px) and (max-width: 1366px) {
  body.cards-page .hero-tutorial-button,
  body.index-page .hero-tutorial-button {
    bottom: 14px;
    min-width: 260px;
    height: 42px;
    font-size: 13px;
  }

  body.cards-page .hero-product-link,
  body.index-page .hero-product-link {
    bottom: 62px;
    min-width: 180px;
    height: 34px;
    padding: 0 14px;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  body.cards-page .hero-product-link i,
  body.index-page .hero-product-link i {
    font-size: 11px;
  }
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  grid-template-areas:
    "title guide"
    "buttons guide";
  gap: 14px 24px;
  align-items: start;
  min-height: 0;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3 {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.cards-page .height-priority-note,
body.index-page .height-priority-note {
  color: #111;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

body.cards-page .height-priority-copy,
body.index-page .height-priority-copy,
body.cards-page .height-priority-copy::after,
body.index-page .height-priority-copy::after {
  display: none;
  content: none;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  grid-area: buttons;
  align-self: start;
}

body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after {
  grid-area: guide;
  align-self: start;
  justify-self: stretch;
  margin-top: 0;
}

@media (min-width: 769px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section,
  .layout.layout-with-left-filter .height-priority-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    grid-template-rows: auto auto !important;
    grid-template-areas: none !important;
    column-gap: 24px;
  }

  body.cards-page .height-priority-section > h3,
  body.index-page .height-priority-section > h3,
  .layout.layout-with-left-filter .height-priority-section > h3 {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid,
  .layout.layout-with-left-filter .height-preset-grid {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0;
    width: 100%;
  }

  body.cards-page .height-priority-section::after,
  body.index-page .height-priority-section::after,
  .layout.layout-with-left-filter .height-priority-section::after {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: start !important;
    justify-self: stretch !important;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "buttons"
      "guide";
  }

  body.cards-page .height-priority-section > h3,
  body.index-page .height-priority-section > h3 {
    flex-wrap: wrap;
  }
}

body.cards-page .filter-grid,
body.index-page .filter-grid,
.layout.layout-with-left-filter .filter-grid {
  align-items: start;
}

body.cards-page .filter-section-collapsible,
body.index-page .filter-section-collapsible {
  align-self: start;
  height: fit-content;
}

body.cards-page .filter-section-collapsible:not([open]),
body.index-page .filter-section-collapsible:not([open]) {
  height: 72px;
  min-height: 72px;
  overflow: hidden;
}

body.cards-page .filter-section-collapsible:not([open]) > summary,
body.index-page .filter-section-collapsible:not([open]) > summary {
  height: 72px;
}

body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after,
.layout.layout-with-left-filter .height-priority-section::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 769px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section,
  .layout.layout-with-left-filter .height-priority-section {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    grid-template-rows: auto auto !important;
    column-gap: 22px;
  }

  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 0;
}

body.cards-page .height-preset-group,
body.index-page .height-preset-group {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 2px solid var(--height-group-color);
  border-radius: 8px;
  background: color-mix(in srgb, var(--height-group-color) 7%, #fff);
}

body.cards-page .height-preset-group-title,
body.index-page .height-preset-group-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: var(--height-group-color);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

body.cards-page .height-preset-group-title .fa-person,
body.index-page .height-preset-group-title .fa-person {
  font-size: 15px;
}

body.cards-page .height-preset-group-body,
body.index-page .height-preset-group-body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card {
  flex: 1 1 92px;
  min-width: 92px;
  border-width: 1.5px;
  border-color: var(--height-group-color);
}

body.cards-page .height-preset-card.active,
body.index-page .height-preset-card.active {
  background: color-mix(in srgb, var(--height-group-color) 13%, #fff);
  border-width: 2.5px;
  border-color: var(--height-group-color);
}

body.cards-page .height-preset-card.active .height-preset-check,
body.index-page .height-preset-card.active .height-preset-check {
  color: var(--height-group-color);
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card {
  align-self: stretch;
  min-width: 0;
  padding: 18px;
  border: 1px solid #008842;
  border-radius: 8px;
  background: #fbfffd;
  color: #111;
}

body.cards-page .height-guide-title,
body.index-page .height-guide-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #008842;
  font-size: 15px;
  font-weight: 800;
}

body.cards-page .height-guide-title img,
body.index-page .height-guide-title img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list {
  display: grid;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

body.cards-page .height-guide-list div,
body.index-page .height-guide-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
}

body.cards-page .height-guide-list dt,
body.index-page .height-guide-list dt {
  font-weight: 800;
}

body.cards-page .height-guide-list dd,
body.index-page .height-guide-list dd {
  margin: 0;
}

@media (max-width: 900px) {
  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid {
    grid-template-columns: 1fr;
  }
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  padding: 18px 20px 16px;
  border: 2px solid #008842;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3 {
  margin-bottom: 10px;
  color: #008842;
  font-size: 21px;
  font-weight: 800;
}

body.cards-page .height-priority-section > h3 .filter-heading-icon,
body.index-page .height-priority-section > h3 .filter-heading-icon,
body.cards-page .height-priority-section > h3 .filter-heading-icon-dimension,
body.index-page .height-priority-section > h3 .filter-heading-icon-dimension {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 4px !important;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #0c8a41 12%, #ffffff);
  box-sizing: border-box;
  object-fit: contain;
}

body.cards-page .height-priority-note,
body.index-page .height-priority-note {
  margin-left: 10px;
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

@media (min-width: 769px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section,
  .layout.layout-with-left-filter .height-priority-section {
    grid-template-columns: minmax(0, 1fr) 220px !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 16px;
  }

  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid,
  .layout.layout-with-left-filter .height-preset-grid {
    grid-row: 2 !important;
  }

  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    grid-column: 2 !important;
    grid-row: 1 / span 3 !important;
  }
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 12px;
  scrollbar-gutter: stable;
}

body.cards-page .height-preset-grid::-webkit-scrollbar,
body.index-page .height-preset-grid::-webkit-scrollbar {
  height: 8px;
}

body.cards-page .height-preset-grid::-webkit-scrollbar-thumb,
body.index-page .height-preset-grid::-webkit-scrollbar-thumb {
  border: 2px solid #f6f6f6;
  border-radius: 999px;
  background: #9e9e9e;
}

body.cards-page .height-preset-grid::-webkit-scrollbar-track,
body.index-page .height-preset-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #e8e8e8;
}

body.cards-page .height-preset-group,
body.index-page .height-preset-group {
  flex: 0 0 auto;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cards-page .height-preset-group-low,
body.index-page .height-preset-group-low {
  width: 214px;
}

body.cards-page .height-preset-group-middle,
body.index-page .height-preset-group-middle {
  width: 214px;
  padding-left: 10px;
  border-left: 1px dashed #d8d8d8;
}

body.cards-page .height-preset-group-high,
body.index-page .height-preset-group-high {
  width: 214px;
  padding-left: 10px;
  border-left: 1px dashed #d8d8d8;
}

body.cards-page .height-preset-group-title,
body.index-page .height-preset-group-title {
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 7px 10px;
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--height-group-color) 6%, #fff);
  color: var(--height-group-color);
  font-size: 18px;
  letter-spacing: 0;
}

body.cards-page .height-preset-group-title .fa-person,
body.index-page .height-preset-group-title .fa-person {
  font-size: 16px;
}

body.cards-page .height-preset-group-title::after,
body.index-page .height-preset-group-title::after {
  content: none;
  display: none;
}

body.cards-page .height-preset-group-body,
body.index-page .height-preset-group-body {
  display: grid;
  grid-template-columns: repeat(2, 100px);
  gap: 7px;
  justify-content: start;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card {
  min-width: 0;
  min-height: 124px;
  padding: 9px 8px 7px;
  border: 1px solid color-mix(in srgb, var(--height-group-color) 72%, #fff);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

body.cards-page .height-preset-value,
body.index-page .height-preset-value {
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

body.cards-page .height-preset-image,
body.index-page .height-preset-image {
  min-height: 60px;
  align-items: center;
}

body.cards-page .height-preset-image img,
body.index-page .height-preset-image img {
  width: min(68px, 90%);
  max-height: 64px;
}

body.cards-page .height-preset-card::after,
body.index-page .height-preset-card::after {
  content: "";
  display: block;
  width: calc(100% - 18px);
  height: 2px;
  margin: 4px auto 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--height-group-color) 78%, #fff);
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card {
  padding: 12px 12px 8px;
  border: 1.5px solid #008842;
  border-radius: 8px;
  background: #fff;
}

body.cards-page .height-guide-title,
body.index-page .height-guide-title {
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px dotted #008842;
  color: #008842;
  font-size: 18px;
}

body.cards-page .height-guide-title img,
body.index-page .height-guide-title img {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 999px;
  background: #e7f6ee;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list {
  gap: 0;
  font-size: 12px;
}

body.cards-page .height-guide-item,
body.index-page .height-guide-item {
  display: grid;
  grid-template-columns: 28px 76px minmax(0, 1fr);
  align-items: center;
  gap: 0 8px;
  padding: 8px 0;
  border-bottom: 1px dotted #b8d7c6;
}

body.cards-page .height-guide-item:last-child,
body.index-page .height-guide-item:last-child {
  border-bottom: 0;
}

body.cards-page .height-guide-item .fa-person,
body.index-page .height-guide-item .fa-person {
  width: 24px;
  text-align: center;
  font-size: 24px;
}

body.cards-page .height-guide-item-low,
body.index-page .height-guide-item-low {
  color: #008842;
}

body.cards-page .height-guide-item-middle,
body.index-page .height-guide-item-middle {
  color: #f39a00;
}

body.cards-page .height-guide-item-high,
body.index-page .height-guide-item-high {
  color: #d00b26;
}

body.cards-page .height-guide-list dt,
body.index-page .height-guide-list dt {
  grid-column: 2;
  color: currentColor;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

body.cards-page .height-guide-list dd,
body.index-page .height-guide-list dd {
  grid-column: 3;
  display: grid;
  gap: 1px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

body.cards-page .height-guide-list dd span,
body.index-page .height-guide-list dd span {
  font-size: 13px;
}

body.cards-page .height-guide-note,
body.index-page .height-guide-note {
  margin: 5px 0 0;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

body.cards-page .height-guide-list .height-guide-item,
body.index-page .height-guide-list .height-guide-item {
  grid-template-columns: 28px 66px minmax(0, 1fr) !important;
}

body.cards-page .height-guide-list .height-guide-item .fa-person,
body.index-page .height-guide-list .height-guide-item .fa-person {
  grid-column: 1 !important;
}

body.cards-page .height-guide-list .height-guide-item dt,
body.index-page .height-guide-list .height-guide-item dt {
  grid-column: 2 !important;
  justify-self: start;
}

body.cards-page .height-guide-list .height-guide-item dd,
body.index-page .height-guide-list .height-guide-item dd {
  grid-column: 3 !important;
  min-width: 0;
}

body.cards-page .filter-panel .panel-header h2,
body.index-page .filter-panel .panel-header h2,
body.cards-page .height-priority-note,
body.index-page .height-priority-note,
body.cards-page .height-guide-list dd,
body.index-page .height-guide-list dd,
body.cards-page .height-guide-list dd strong,
body.index-page .height-guide-list dd strong,
body.cards-page .height-guide-list dd span,
body.index-page .height-guide-list dd span,
body.cards-page .height-guide-note,
body.index-page .height-guide-note,
body.cards-page .card-group-title,
body.index-page .card-group-title,
body.cards-page .filter-grid > .filter-section:not(.height-priority-section) > h3,
body.index-page .filter-grid > .filter-section:not(.height-priority-section) > h3,
body.cards-page .filter-grid > details.filter-section > summary h3,
body.index-page .filter-grid > details.filter-section > summary h3,
body.cards-page .filter-sub-block.filter-section-collapsible > summary h3,
body.index-page .filter-sub-block.filter-section-collapsible > summary h3,
body.cards-page .filter-sub-label,
body.index-page .filter-sub-label,
body.cards-page #resultPanelTitle,
body.index-page #resultPanelTitle {
  font-weight: 400 !important;
}

body.cards-page .card-group-title,
body.index-page .card-group-title {
  font-weight: 700 !important;
}

body.cards-page .selection-summary-price-row span:last-child,
body.index-page .selection-summary-price-row span:last-child {
  font-weight: 400;
}

body.cards-page .selection-summary-price-total,
body.cards-page .selection-summary-price-total span:last-child,
body.index-page .selection-summary-price-total,
body.index-page .selection-summary-price-total span:last-child {
  font-weight: 800;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(620px, auto) !important;
  grid-template-rows: auto auto !important;
  gap: 26px 34px;
  min-height: 0;
  padding: 32px 34px 28px;
  border: 2px solid #008842;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 136, 66, 0.08);
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: #008842;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

body.cards-page .height-priority-section > h3 .filter-heading-icon,
body.index-page .height-priority-section > h3 .filter-heading-icon,
.layout.layout-with-left-filter .height-priority-section > h3 .filter-heading-icon,
body.cards-page .dimensions-filter-section .height-priority-section > h3 .filter-heading-icon-dimension,
body.index-page .dimensions-filter-section .height-priority-section > h3 .filter-heading-icon-dimension,
.layout.layout-with-left-filter .height-priority-section > h3 .filter-heading-icon-dimension {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 4px !important;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #0c8a41 12%, #ffffff);
  box-sizing: border-box;
  object-fit: contain;
}

body.cards-page .height-priority-note,
body.index-page .height-priority-note {
  margin-left: 16px;
  color: #111;
  font-size: 16px;
  font-weight: 400 !important;
}

body.cards-page .height-priority-section .range-row,
body.index-page .height-priority-section .range-row,
body.cards-page .height-priority-section .value-slider-row,
body.index-page .height-priority-section .value-slider-row,
body.cards-page .height-priority-section .height-priority-illustration,
body.index-page .height-priority-section .height-priority-illustration,
body.cards-page .height-priority-copy,
body.index-page .height-priority-copy,
body.cards-page .height-priority-section::after,
body.index-page .height-priority-section::after,
.layout.layout-with-left-filter .height-priority-section::after {
  display: none !important;
  content: none !important;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cards-page .height-guide-title,
body.index-page .height-guide-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #008842;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

body.cards-page .height-guide-title::after,
body.index-page .height-guide-title::after {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #777;
  border-radius: 50%;
  color: #555;
  font-size: 14px;
  font-weight: 400;
}

body.cards-page .height-guide-title img,
body.index-page .height-guide-title img {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: #e7f6ee;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
}

body.cards-page .height-guide-list .height-guide-item,
body.index-page .height-guide-list .height-guide-item {
  display: grid;
  grid-template-columns: 30px auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 8px;
  padding: 0;
  border: 0;
}

body.cards-page .height-guide-list .height-guide-item .fa-person,
body.index-page .height-guide-list .height-guide-item .fa-person {
  grid-column: 1 !important;
  grid-row: 1 / span 2;
  width: 26px;
  text-align: center;
  font-size: 28px;
}

body.cards-page .height-guide-list .height-guide-item dt,
body.index-page .height-guide-list .height-guide-item dt {
  grid-column: 2 !important;
  grid-row: 1;
  justify-self: start;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

body.cards-page .height-guide-list .height-guide-item dd,
body.index-page .height-guide-list .height-guide-item dd {
  grid-column: 2 !important;
  grid-row: 2;
  display: block;
  min-width: 0;
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 700 !important;
  line-height: 1.2;
}

body.cards-page .height-guide-list dd span,
body.index-page .height-guide-list dd span,
body.cards-page .height-guide-note,
body.index-page .height-guide-note {
  display: none;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid,
.layout.layout-with-left-filter .height-preset-grid {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  overflow: visible;
  padding: 0;
}

body.cards-page .height-preset-group,
body.index-page .height-preset-group {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: stretch;
  gap: 26px;
  width: auto;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  background: transparent;
}

body.cards-page .height-preset-group:last-child,
body.index-page .height-preset-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.cards-page .height-preset-group-low,
body.index-page .height-preset-group-low,
body.cards-page .height-preset-group-middle,
body.index-page .height-preset-group-middle,
body.cards-page .height-preset-group-high,
body.index-page .height-preset-group-high {
  width: auto;
  padding-left: 0;
  border-left: 0;
}

body.cards-page .height-preset-group-title,
body.index-page .height-preset-group-title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 3px 14px;
  min-height: 92px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--height-group-color) 10%, #fff);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

body.cards-page .height-preset-group-title .fa-person,
body.index-page .height-preset-group-title .fa-person {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--height-group-color);
  font-size: 34px;
}

body.cards-page .height-preset-group-label,
body.index-page .height-preset-group-label {
  grid-column: 2;
  color: var(--height-group-color);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

body.cards-page .height-preset-group-description,
body.index-page .height-preset-group-description {
  grid-column: 2;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

body.cards-page .height-preset-group-body,
body.index-page .height-preset-group-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

body.cards-page .height-preset-group-low .height-preset-group-body,
body.index-page .height-preset-group-low .height-preset-group-body {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card {
  display: grid;
  grid-template-rows: auto minmax(42px, 1fr);
  justify-items: center;
  align-items: center;
  min-width: 0;
  min-height: 98px;
  padding: 12px 18px 9px;
  border: 1.5px solid var(--height-group-color);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

body.cards-page .height-preset-card.active,
body.index-page .height-preset-card.active {
  background: color-mix(in srgb, var(--height-group-color) 5%, #fff);
  border-width: 2.5px;
  border-color: var(--height-group-color);
  box-shadow: none;
}

body.cards-page .height-preset-card::after,
body.index-page .height-preset-card::after {
  content: none;
  display: none;
}

body.cards-page .height-preset-value,
body.index-page .height-preset-value {
  color: var(--height-group-color);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

body.cards-page .height-preset-image,
body.index-page .height-preset-image {
  min-height: 0;
  justify-content: center;
  align-items: center;
}

body.cards-page .height-preset-image img,
body.index-page .height-preset-image img {
  width: 72px;
  max-height: 48px;
  object-fit: contain;
}

body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current .layout.layout-with-left-filter .height-priority-section {
  grid-template-columns: minmax(0, 1fr) 220px !important;
  grid-template-rows: auto auto auto !important;
  gap: 14px 16px;
  padding: 18px 20px 16px;
}

body.height-design-current.cards-page .height-priority-section > h3,
body.height-design-current.index-page .height-priority-section > h3 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  gap: 12px;
  font-size: 21px;
}

body.height-design-current.cards-page .height-priority-note,
body.height-design-current.index-page .height-priority-note {
  margin-left: 10px;
  font-size: 14px;
}

body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card,
body.height-design-current .layout.layout-with-left-filter .height-guide-card {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: stretch;
  display: block;
  min-width: 0;
  padding: 12px 12px 8px;
  border: 1.5px solid #008842;
  border-radius: 8px;
  background: #fff;
}

body.height-design-current.cards-page .height-guide-title,
body.height-design-current.index-page .height-guide-title {
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px dotted #008842;
  font-size: 18px;
}

body.height-design-current.cards-page .height-guide-title::after,
body.height-design-current.index-page .height-guide-title::after {
  content: none;
  display: none;
}

body.height-design-current.cards-page .height-guide-list,
body.height-design-current.index-page .height-guide-list {
  display: grid;
  gap: 0;
}

body.height-design-current.cards-page .height-guide-list .height-guide-item,
body.height-design-current.index-page .height-guide-list .height-guide-item {
  display: grid;
  grid-template-columns: 28px 66px minmax(0, 1fr) !important;
  align-items: center;
  gap: 0 8px;
  padding: 8px 0;
  border-bottom: 1px dotted #b8d7c6;
}

body.height-design-current.cards-page .height-guide-list .height-guide-item:last-child,
body.height-design-current.index-page .height-guide-list .height-guide-item:last-child {
  border-bottom: 0;
}

body.height-design-current.cards-page .height-guide-list .height-guide-item .fa-person,
body.height-design-current.index-page .height-guide-list .height-guide-item .fa-person {
  grid-column: 1 !important;
  grid-row: 1;
  width: 24px;
  font-size: 24px;
}

body.height-design-current.cards-page .height-guide-list .height-guide-item dt,
body.height-design-current.index-page .height-guide-list .height-guide-item dt {
  grid-column: 2 !important;
  grid-row: 1;
  font-size: 10px;
}

body.height-design-current.cards-page .height-guide-list .height-guide-item dd,
body.height-design-current.index-page .height-guide-list .height-guide-item dd {
  grid-column: 3 !important;
  grid-row: 1;
  font-size: 13px;
}

body.height-design-current.cards-page .height-guide-list dd strong,
body.height-design-current.index-page .height-guide-list dd strong {
  display: none;
}

body.height-design-current.cards-page .height-guide-list dd span,
body.height-design-current.index-page .height-guide-list dd span {
  display: inline;
}

body.height-design-current.cards-page .height-preset-grid,
body.height-design-current.index-page .height-preset-grid,
body.height-design-current .layout.layout-with-left-filter .height-preset-grid {
  grid-column: 1 !important;
  grid-row: 2 !important;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 12px;
  scrollbar-gutter: stable;
}

body.height-design-current.cards-page .height-preset-group,
body.height-design-current.index-page .height-preset-group {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 214px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.height-design-current.cards-page .height-preset-group-middle,
body.height-design-current.index-page .height-preset-group-middle,
body.height-design-current.cards-page .height-preset-group-high,
body.height-design-current.index-page .height-preset-group-high {
  padding-left: 10px;
  border-left: 1px dashed #d8d8d8;
}

body.height-design-current.cards-page .height-preset-group-title,
body.height-design-current.index-page .height-preset-group-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 7px 10px;
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--height-group-color) 6%, #fff);
  color: var(--height-group-color);
}

body.height-design-current.cards-page .height-preset-group-label,
body.height-design-current.index-page .height-preset-group-label {
  display: none;
}

body.height-design-current.cards-page .height-preset-group-description,
body.height-design-current.index-page .height-preset-group-description {
  color: var(--height-group-color);
  font-size: 18px;
}

body.height-design-current.cards-page .height-preset-group-body,
body.height-design-current.index-page .height-preset-group-body,
body.height-design-current.cards-page .height-preset-group-low .height-preset-group-body,
body.height-design-current.index-page .height-preset-group-low .height-preset-group-body {
  display: grid;
  grid-template-columns: repeat(2, 100px);
  gap: 7px;
}

body.height-design-current.cards-page .height-preset-card,
body.height-design-current.index-page .height-preset-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(60px, 1fr);
  min-height: 124px;
  padding: 9px 8px 7px;
  border: 1px solid color-mix(in srgb, var(--height-group-color) 72%, #fff);
  border-radius: 8px;
}

body.height-design-current.cards-page .height-preset-card::after,
body.height-design-current.index-page .height-preset-card::after {
  content: "";
  display: block;
  width: calc(100% - 18px);
  height: 2px;
  margin: 4px auto 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--height-group-color) 78%, #fff);
}

body.height-design-current.cards-page .height-preset-value,
body.height-design-current.index-page .height-preset-value {
  color: #111;
  font-size: 17px;
}

body.height-design-current.cards-page .height-preset-image img,
body.height-design-current.index-page .height-preset-image img {
  width: min(68px, 90%);
  max-height: 64px;
}

@media (max-width: 1080px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section,
  .layout.layout-with-left-filter .height-priority-section {
    grid-template-columns: 1fr !important;
  }

  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid,
  .layout.layout-with-left-filter .height-preset-grid {
    grid-row: 3 !important;
  }

  body.cards-page .height-preset-group,
  body.index-page .height-preset-group {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  body.cards-page .height-preset-group-body,
  body.index-page .height-preset-group-body,
  body.cards-page .height-preset-group-low .height-preset-group-body,
  body.index-page .height-preset-group-low .height-preset-group-body {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 700px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section,
  .layout.layout-with-left-filter .height-priority-section {
    padding: 18px;
  }

  body.cards-page .height-preset-group,
  body.index-page .height-preset-group {
    grid-template-columns: 1fr;
  }

  body.cards-page .height-preset-group-body,
  body.index-page .height-preset-group-body,
  body.cards-page .height-preset-group-low .height-preset-group-body,
  body.index-page .height-preset-group-low .height-preset-group-body {
    grid-template-columns: 1fr;
  }
}

body.cards-page .height-preset-group-title,
body.index-page .height-preset-group-title,
body.height-design-current.cards-page .height-preset-group-title,
body.height-design-current.index-page .height-preset-group-title {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  justify-items: start;
  gap: 8px;
  text-align: left;
}

body.cards-page .height-preset-group-title .fa-person,
body.index-page .height-preset-group-title .fa-person,
body.height-design-current.cards-page .height-preset-group-title .fa-person,
body.height-design-current.index-page .height-preset-group-title .fa-person {
  grid-column: 1;
  grid-row: 1;
  width: 26px;
  text-align: center;
}

body.cards-page .height-preset-group-label,
body.index-page .height-preset-group-label,
body.height-design-current.cards-page .height-preset-group-label,
body.height-design-current.index-page .height-preset-group-label {
  display: block;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  color: var(--height-group-color);
  line-height: 1.2;
}

body.cards-page .height-preset-group-description,
body.index-page .height-preset-group-description,
body.height-design-current.cards-page .height-preset-group-description,
body.height-design-current.index-page .height-preset-group-description {
  display: none;
}

body.cards-page .height-preset-group-body,
body.index-page .height-preset-group-body,
body.cards-page .height-preset-group-low .height-preset-group-body,
body.index-page .height-preset-group-low .height-preset-group-body,
body.height-design-current.cards-page .height-preset-group-body,
body.height-design-current.index-page .height-preset-group-body,
body.height-design-current.cards-page .height-preset-group-low .height-preset-group-body,
body.height-design-current.index-page .height-preset-group-low .height-preset-group-body {
  grid-template-columns: repeat(2, 100px);
  grid-auto-rows: auto;
  align-content: start;
  align-items: start;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid,
body.height-design-current.cards-page .height-preset-grid,
body.height-design-current.index-page .height-preset-grid,
body.height-design-current .layout.layout-with-left-filter .height-preset-grid {
  align-items: start;
  padding-bottom: 0;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section {
  align-items: start;
  padding-bottom: 16px;
}

body.cards-page .filter-title-actions,
body.index-page .filter-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.cards-page .filter-title-actions .height-design-toggle-button,
body.index-page .filter-title-actions .height-design-toggle-button {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

body.cards-page:not(.height-design-current) .height-preset-grid,
body.index-page:not(.height-design-current) .height-preset-grid,
body:not(.height-design-current) .layout.layout-with-left-filter .height-preset-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
}

body.cards-page:not(.height-design-current) .height-preset-group,
body.index-page:not(.height-design-current) .height-preset-group {
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
}

body.cards-page:not(.height-design-current) .height-preset-group-body,
body.index-page:not(.height-design-current) .height-preset-group-body,
body.cards-page:not(.height-design-current) .height-preset-group-low .height-preset-group-body,
body.index-page:not(.height-design-current) .height-preset-group-low .height-preset-group-body {
  display: flex;
  flex-wrap: nowrap;
  grid-template-columns: none;
  gap: 7px;
}

body.height-design-current.cards-page .height-preset-group-body,
body.height-design-current.index-page .height-preset-group-body,
body.height-design-current.cards-page .height-preset-group-low .height-preset-group-body,
body.height-design-current.index-page .height-preset-group-low .height-preset-group-body {
  display: grid;
  grid-template-columns: repeat(2, 100px);
}

body.height-design-current.cards-page .height-preset-card::after,
body.height-design-current.index-page .height-preset-card::after {
  content: none;
  display: none;
}

body.cards-page .height-preset-group-title,
body.index-page .height-preset-group-title,
body.height-design-current.cards-page .height-preset-group-title,
body.height-design-current.index-page .height-preset-group-title {
  grid-template-columns: 20px minmax(0, 1fr);
}

body.cards-page .height-preset-group-title .fa-person,
body.index-page .height-preset-group-title .fa-person,
body.height-design-current.cards-page .height-preset-group-title .fa-person,
body.height-design-current.index-page .height-preset-group-title .fa-person {
  width: 20px;
  font-size: 18px;
}

body.cards-page .height-preset-group-label,
body.index-page .height-preset-group-label,
body.height-design-current.cards-page .height-preset-group-label,
body.height-design-current.index-page .height-preset-group-label {
  font-size: 16px;
}

body.cards-page .height-preset-value,
body.index-page .height-preset-value,
body.height-design-current.cards-page .height-preset-value,
body.height-design-current.index-page .height-preset-value {
  color: var(--height-group-color);
  font-size: 16px;
}

body.cards-page:not(.height-design-current) .height-preset-grid,
body.index-page:not(.height-design-current) .height-preset-grid,
body:not(.height-design-current) .layout.layout-with-left-filter .height-preset-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: visible;
}

body.cards-page:not(.height-design-current) .height-preset-group,
body.index-page:not(.height-design-current) .height-preset-group {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cards-page:not(.height-design-current) .height-preset-group-title,
body.index-page:not(.height-design-current) .height-preset-group-title {
  width: 110px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--height-group-color) 7%, #fff);
}

body.cards-page:not(.height-design-current) .height-preset-group-body,
body.index-page:not(.height-design-current) .height-preset-group-body,
body.cards-page:not(.height-design-current) .height-preset-group-low .height-preset-group-body,
body.index-page:not(.height-design-current) .height-preset-group-low .height-preset-group-body {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 0;
}

body.cards-page:not(.height-design-current) .height-preset-card,
body.index-page:not(.height-design-current) .height-preset-card {
  flex: 0 0 110px;
  min-width: 110px;
}

body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current .layout.layout-with-left-filter .height-priority-section {
  grid-template-rows: auto auto !important;
  padding-bottom: 16px;
}

body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card,
body.height-design-current .layout.layout-with-left-filter .height-guide-card {
  grid-row: 1 / span 2 !important;
  align-self: start;
}

body.height-design-current.cards-page .height-preset-grid,
body.height-design-current.index-page .height-preset-grid,
body.height-design-current .layout.layout-with-left-filter .height-preset-grid {
  padding-bottom: 0;
}

body.height-design-current.cards-page .height-preset-group,
body.height-design-current.index-page .height-preset-group {
  align-items: stretch;
}

body.height-design-current.cards-page .height-preset-group-title,
body.height-design-current.index-page .height-preset-group-title {
  width: 100%;
  box-sizing: border-box;
}

body.height-design-current.cards-page .height-preset-card,
body.height-design-current.index-page .height-preset-card {
  grid-template-rows: auto minmax(52px, 1fr);
  min-height: 112px;
}

body.cards-page .filter-grid-subheading,
body.index-page .filter-grid-subheading {
  grid-column: 1 / -1;
  margin: 2px 0 -4px;
  color: #20242a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  font-size: 18px !important;
}

body.cards-page .height-guide-title,
body.index-page .height-guide-title,
body.height-design-current.cards-page .height-guide-title,
body.height-design-current.index-page .height-guide-title {
  font-size: 16px !important;
}

body.cards-page:not(.height-design-current) .height-preset-group-title,
body.index-page:not(.height-design-current) .height-preset-group-title {
  min-height: 112px;
  align-self: stretch;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card,
body.cards-page:not(.height-design-current) .height-preset-card,
body.index-page:not(.height-design-current) .height-preset-card {
  min-height: 112px;
}

body.cards-page .height-preset-image,
body.index-page .height-preset-image {
  width: 100%;
  height: 62px;
  min-height: 62px;
  overflow: hidden;
}

body.cards-page .height-preset-image img,
body.index-page .height-preset-image img,
body.height-design-current.cards-page .height-preset-image img,
body.height-design-current.index-page .height-preset-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transform: scale(1.22);
  transform-origin: center;
}

body.cards-page .filter-grid,
body.index-page .filter-grid,
.layout.layout-with-left-filter .filter-grid {
  grid-template-columns: repeat(6, minmax(210px, 1fr));
  grid-auto-flow: row;
  overflow-x: auto;
  overflow-y: visible;
}

body.cards-page .floor-type-wide,
body.index-page .floor-type-wide {
  display: block;
  grid-column: auto;
}

body.cards-page .filter-grid > .filter-section:not(.height-priority-section),
body.index-page .filter-grid > .filter-section:not(.height-priority-section),
body.cards-page .filter-grid > details.filter-section,
body.index-page .filter-grid > details.filter-section,
body.cards-page .dimensions-filter-section .filter-sub-block:not(.height-priority-section),
body.index-page .dimensions-filter-section .filter-sub-block:not(.height-priority-section) {
  order: 20;
  min-width: 210px;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section {
  order: -20;
}

body.cards-page .filter-grid-subheading,
body.index-page .filter-grid-subheading {
  order: 10;
}

body.cards-page .height-preset-group-label,
body.index-page .height-preset-group-label,
body.height-design-current.cards-page .height-preset-group-label,
body.height-design-current.index-page .height-preset-group-label {
  font-size: 16px;
  line-height: 1.15;
}

body.cards-page:not(.height-design-current) .height-preset-group-label,
body.index-page:not(.height-design-current) .height-preset-group-label {
  white-space: normal;
}

body.cards-page .height-guide-list dt,
body.index-page .height-guide-list dt,
body.height-design-current.cards-page .height-guide-list .height-guide-item dt,
body.height-design-current.index-page .height-guide-list .height-guide-item dt {
  font-size: 13px;
  font-weight: 700;
}

body.cards-page .height-guide-list dd strong,
body.index-page .height-guide-list dd strong,
body.height-design-current.cards-page .height-guide-list dd span,
body.height-design-current.index-page .height-guide-list dd span {
  font-size: 14px;
  font-weight: 700;
}

body.cards-page .filter-grid,
body.index-page .filter-grid,
.layout.layout-with-left-filter .filter-grid {
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
}

body.cards-page .filter-detail-scroll,
body.index-page .filter-detail-scroll {
  grid-column: 1 / -1;
  order: 20;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-gutter: stable;
}

body.cards-page .filter-detail-scroll > .filter-section,
body.index-page .filter-detail-scroll > .filter-section,
body.cards-page .filter-detail-scroll > .filter-sub-block,
body.index-page .filter-detail-scroll > .filter-sub-block {
  flex: 0 0 210px;
  min-width: 210px;
  max-width: 260px;
}

body.cards-page .filter-detail-scroll > .floor-type-wide,
body.index-page .filter-detail-scroll > .floor-type-wide {
  display: block;
  grid-column: auto;
}

body.cards-page .filter-detail-scroll::-webkit-scrollbar,
body.index-page .filter-detail-scroll::-webkit-scrollbar {
  height: 8px;
}

body.cards-page .filter-detail-scroll::-webkit-scrollbar-thumb,
body.index-page .filter-detail-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #f6f6f6;
  border-radius: 999px;
  background: #9e9e9e;
}

body.cards-page .filter-detail-scroll::-webkit-scrollbar-track,
body.index-page .filter-detail-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #e8e8e8;
}

body.cards-page .workflow-panel > .filter-panel,
body.index-page .workflow-panel > .filter-panel {
  margin: 8px 0 14px;
}

body.cards-page .workflow-panel > .filter-panel + .selection-summary,
body.index-page .workflow-panel > .filter-panel + .selection-summary {
  margin-top: 0;
}

body.height-design-current.cards-page .height-preset-group-label br,
body.height-design-current.index-page .height-preset-group-label br {
  display: none;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card,
body.height-design-current.cards-page .height-preset-card,
body.height-design-current.index-page .height-preset-card {
  display: grid;
  grid-template-columns: minmax(42px, 0.58fr) minmax(52px, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: 8px;
  min-height: 84px;
  padding: 8px 9px;
}

body.cards-page .height-preset-value,
body.index-page .height-preset-value,
body.height-design-current.cards-page .height-preset-value,
body.height-design-current.index-page .height-preset-value {
  align-self: center;
  justify-self: center;
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
}

body.cards-page .height-preset-image,
body.index-page .height-preset-image,
body.height-design-current.cards-page .height-preset-image,
body.height-design-current.index-page .height-preset-image {
  align-self: stretch;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  min-height: 58px;
  overflow: hidden;
}

body.cards-page .height-preset-image img,
body.index-page .height-preset-image img,
body.height-design-current.cards-page .height-preset-image img,
body.height-design-current.index-page .height-preset-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: scale(1.2);
  transform-origin: center;
}

body.cards-page:not(.height-design-current) .height-preset-group-title,
body.index-page:not(.height-design-current) .height-preset-group-title {
  min-height: 84px;
}

body.height-design-current.cards-page .height-preset-card,
body.height-design-current.index-page .height-preset-card {
  min-height: 84px;
}

body.height-design-current.cards-page .height-preset-group-title,
body.height-design-current.index-page .height-preset-group-title {
  min-height: 42px;
}

body.cards-page .height-preset-card::after,
body.index-page .height-preset-card::after,
body.height-design-current.cards-page .height-preset-card::after,
body.height-design-current.index-page .height-preset-card::after {
  content: none;
  display: none;
}

body.cards-page .filter-title-actions,
body.index-page .filter-title-actions {
  gap: 8px;
}

body.cards-page .filter-title-actions h2,
body.index-page .filter-title-actions h2 {
  margin-right: 2px;
}

body.height-buttons-row.cards-page .height-preset-grid,
body.height-buttons-row.index-page .height-preset-grid,
body.height-buttons-row .layout.layout-with-left-filter .height-preset-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  overflow: visible;
}

body.height-buttons-row.cards-page .height-preset-group,
body.height-buttons-row.index-page .height-preset-group,
body.height-buttons-row.height-design-current.cards-page .height-preset-group,
body.height-buttons-row.height-design-current.index-page .height-preset-group {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  align-items: stretch;
  gap: 8px;
}

body.height-buttons-row.cards-page .height-preset-group-title,
body.height-buttons-row.index-page .height-preset-group-title,
body.height-buttons-row.height-design-current.cards-page .height-preset-group-title,
body.height-buttons-row.height-design-current.index-page .height-preset-group-title {
  width: 100%;
  min-height: 84px;
  align-self: stretch;
  box-sizing: border-box;
}

body.height-buttons-row.cards-page .height-preset-group-body,
body.height-buttons-row.index-page .height-preset-group-body,
body.height-buttons-row.cards-page .height-preset-group-low .height-preset-group-body,
body.height-buttons-row.index-page .height-preset-group-low .height-preset-group-body,
body.height-buttons-row.height-design-current.cards-page .height-preset-group-body,
body.height-buttons-row.height-design-current.index-page .height-preset-group-body,
body.height-buttons-row.height-design-current.cards-page .height-preset-group-low .height-preset-group-body,
body.height-buttons-row.height-design-current.index-page .height-preset-group-low .height-preset-group-body {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0;
}

body.height-buttons-row.cards-page .height-preset-card,
body.height-buttons-row.index-page .height-preset-card,
body.height-buttons-row.height-design-current.cards-page .height-preset-card,
body.height-buttons-row.height-design-current.index-page .height-preset-card {
  flex: 0 0 110px;
  min-width: 110px;
  min-height: 84px;
}

/* モバイル向け表示調整 */
body.cards-page .height-guide-title::after,
body.index-page .height-guide-title::after {
  content: none !important;
  display: none !important;
}

body.cards-page .height-guide-help-button,
body.index-page .height-guide-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #777;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

body.cards-page .height-guide-modal,
body.index-page .height-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(0, 0, 0, 0.45);
}

body.cards-page .height-guide-modal.is-open,
body.index-page .height-guide-modal.is-open {
  display: flex;
}

body.cards-page .height-guide-modal-content,
body.index-page .height-guide-modal-content {
  width: min(520px, 100%);
  max-height: min(88vh, 680px);
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: 14px;
}

body.cards-page .height-guide-modal-header,
body.index-page .height-guide-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body.cards-page .height-guide-modal-header h4,
body.index-page .height-guide-modal-header h4 {
  margin: 0;
  color: #008842;
  font-size: 18px;
  font-weight: 700;
}

body.cards-page .height-guide-modal-close,
body.index-page .height-guide-modal-close {
  border: 0;
  background: transparent;
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.height-guide-modal-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  body.cards-page .height-guide-help-button,
  body.index-page .height-guide-help-button,
  body.cards-page .height-guide-modal,
  body.index-page .height-guide-modal {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.cards-page .workflow-steps,
  body.index-page .workflow-steps {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 6px;
    overflow: visible;
  }

  body.cards-page .step-chip,
  body.index-page .step-chip {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    min-height: 62px;
    padding: 6px 6px 7px 10px;
  }

  body.cards-page .workflow-steps .step-chip:nth-child(-n+3) .step-chip-label,
  body.index-page .workflow-steps .step-chip:nth-child(-n+3) .step-chip-label {
    font-size: 0;
    line-height: 0;
  }

  body.cards-page .workflow-steps .step-chip:nth-child(-n+3) .step-chip-label::before,
  body.index-page .workflow-steps .step-chip:nth-child(-n+3) .step-chip-label::before {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
    white-space: pre-line;
    color: inherit;
  }

  body.cards-page .workflow-steps .step-chip:nth-child(1) .step-chip-label::before,
  body.index-page .workflow-steps .step-chip:nth-child(1) .step-chip-label::before {
    content: "本体\A比較・選択";
  }

  body.cards-page .workflow-steps .step-chip:nth-child(2) .step-chip-label::before,
  body.index-page .workflow-steps .step-chip:nth-child(2) .step-chip-label::before {
    content: "オプション\A選択（手すり）";
  }

  body.cards-page .workflow-steps .step-chip:nth-child(3) .step-chip-label::before,
  body.index-page .workflow-steps .step-chip:nth-child(3) .step-chip-label::before {
    content: "オプション\A選択（その他）";
  }

  body.cards-page .height-priority-section .height-guide-card,
  body.index-page .height-priority-section .height-guide-card {
    justify-content: space-between;
    width: 100%;
  }

  body.cards-page .height-priority-section .height-guide-title,
  body.index-page .height-priority-section .height-guide-title {
    width: 100%;
    justify-content: space-between;
  }

  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
  }

  body.cards-page .height-preset-group,
  body.index-page .height-preset-group,
  body.cards-page:not(.height-design-current) .height-preset-group,
  body.index-page:not(.height-design-current) .height-preset-group {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    gap: 8px;
    border-left: 0;
    padding-left: 0;
  }

  body.cards-page .height-preset-group-title,
  body.index-page .height-preset-group-title {
    min-height: 76px;
  }

  body.cards-page .height-preset-group-body,
  body.index-page .height-preset-group-body,
  body.cards-page .height-preset-group-low .height-preset-group-body,
  body.index-page .height-preset-group-low .height-preset-group-body {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  body.cards-page .height-preset-card,
  body.index-page .height-preset-card {
    flex: 0 0 108px;
    min-width: 108px;
  }

  body.cards-page .filter-detail-scroll > .filter-section:has(#floorTypeFilter),
  body.index-page .filter-detail-scroll > .filter-section:has(#floorTypeFilter),
  body.cards-page details.filter-section .filter-section:has(#floorTypeFilter),
  body.index-page details.filter-section .filter-section:has(#floorTypeFilter) {
    flex: 0 0 min(100%, 460px);
    min-width: min(100%, 460px);
    max-width: min(100%, 460px);
  }

  body.cards-page #floorTypeFilter.floor-type-chip-group,
  body.index-page #floorTypeFilter.floor-type-chip-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.cards-page #floorTypeFilter .floor-type-chip,
  body.index-page #floorTypeFilter .floor-type-chip {
    min-height: 148px;
  }

  body.cards-page #floorTypeFilter .floor-type-chip-label,
  body.index-page #floorTypeFilter .floor-type-chip-label {
    min-height: 38px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  body.cards-page .height-priority-section .height-guide-card > .height-guide-list,
  body.index-page .height-priority-section .height-guide-card > .height-guide-list,
  body.cards-page .height-priority-section .height-guide-card > .height-guide-note,
  body.index-page .height-priority-section .height-guide-card > .height-guide-note {
    display: none !important;
  }

  body.cards-page .height-priority-section .height-guide-title,
  body.index-page .height-priority-section .height-guide-title {
    width: 100%;
    justify-content: space-between;
  }
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group,
body.height-buttons-row.height-design-current.index-page .height-preset-group {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group-title,
body.height-buttons-row.height-design-current.index-page .height-preset-group-title {
  min-height: 42px;
}

body.height-design-current.cards-page:not(.height-buttons-row) .height-preset-card,
body.height-design-current.index-page:not(.height-buttons-row) .height-preset-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(46px, 1fr);
  gap: 6px;
  min-height: 96px;
  padding: 8px;
}

body.height-design-current.cards-page:not(.height-buttons-row) .height-preset-value,
body.height-design-current.index-page:not(.height-buttons-row) .height-preset-value {
  grid-row: 1;
  justify-self: center;
}

body.height-design-current.cards-page:not(.height-buttons-row) .height-preset-image,
body.height-design-current.index-page:not(.height-buttons-row) .height-preset-image {
  grid-row: 2;
  height: 50px;
  min-height: 50px;
}

body.height-design-current.cards-page:not(.height-buttons-row) .height-preset-image img,
body.height-design-current.index-page:not(.height-buttons-row) .height-preset-image img {
  transform: scale(1.08);
}

body.cards-page:not(.height-design-current) .height-preset-group,
body.index-page:not(.height-design-current) .height-preset-group,
body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-group,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-group {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
}

body.cards-page:not(.height-design-current) .height-preset-group-title,
body.index-page:not(.height-design-current) .height-preset-group-title,
body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-group-title,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-group-title {
  width: 118px;
  min-height: 78px;
  padding: 8px 10px;
  border-radius: 8px;
}

body.cards-page:not(.height-design-current) .height-preset-card,
body.index-page:not(.height-design-current) .height-preset-card,
body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-card,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-card {
  flex: 0 0 128px;
  min-width: 128px;
  min-height: 78px;
  padding: 7px 9px;
  grid-template-columns: minmax(44px, 0.62fr) minmax(58px, 1fr);
  gap: 7px;
}

body.cards-page:not(.height-design-current) .height-preset-image,
body.index-page:not(.height-design-current) .height-preset-image,
body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-image,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-image {
  height: 52px;
  min-height: 52px;
}

body.cards-page:not(.height-design-current) .height-preset-image img,
body.index-page:not(.height-design-current) .height-preset-image img,
body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-image img,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-image img {
  width: 96%;
  height: 96%;
  transform: scale(1);
}

body.height-buttons-row.height-design-current.cards-page .height-preset-grid,
body.height-buttons-row.height-design-current.index-page .height-preset-grid,
body.height-buttons-row.height-design-current .layout.layout-with-left-filter .height-preset-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group,
body.height-buttons-row.height-design-current.index-page .height-preset-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  align-items: start;
  gap: 6px;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group-title,
body.height-buttons-row.height-design-current.index-page .height-preset-group-title {
  width: 100%;
  min-height: 42px;
  align-self: start;
  justify-self: stretch;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group-body,
body.height-buttons-row.height-design-current.index-page .height-preset-group-body,
body.height-buttons-row.height-design-current.cards-page .height-preset-group-low .height-preset-group-body,
body.height-buttons-row.height-design-current.index-page .height-preset-group-low .height-preset-group-body {
  display: flex;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  width: auto;
  gap: 8px;
  overflow: visible;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-card,
body.height-buttons-row.height-design-current.index-page .height-preset-card {
  flex: 0 0 128px;
  min-width: 128px;
  min-height: 78px;
  grid-template-columns: minmax(44px, 0.62fr) minmax(58px, 1fr);
  padding: 7px 9px;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-image img,
body.height-buttons-row.height-design-current.index-page .height-preset-image img {
  width: 96%;
  height: 96%;
  transform: scale(1);
}

body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-grid,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-grid,
body.height-buttons-row:not(.height-design-current) .layout.layout-with-left-filter .height-preset-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-gutter: stable;
}

body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-group,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-group {
  display: contents;
}

body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-group-body,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-group-body,
body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-group-low .height-preset-group-body,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-group-low .height-preset-group-body {
  display: contents;
}

body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-group-title,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-group-title {
  flex: 0 0 118px;
  width: 118px;
  min-height: 78px;
}

body.height-buttons-row.cards-page:not(.height-design-current) .height-preset-card,
body.height-buttons-row.index-page:not(.height-design-current) .height-preset-card {
  flex: 0 0 128px;
  min-width: 128px;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  grid-template-columns: minmax(220px, max-content) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 16px;
  row-gap: 10px;
  align-items: start;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center;
  margin: 0;
  white-space: nowrap;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  padding: 8px 12px;
}

body.cards-page .height-guide-title,
body.index-page .height-guide-title,
body.height-design-current.cards-page .height-guide-title,
body.height-design-current.index-page .height-guide-title {
  margin: 0 12px 0 0;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list,
body.height-design-current.cards-page .height-guide-list,
body.height-design-current.index-page .height-guide-list {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
}

body.cards-page .height-guide-list div,
body.index-page .height-guide-list div,
body.height-design-current.cards-page .height-guide-list .height-guide-item,
body.height-design-current.index-page .height-guide-list .height-guide-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 10px 0 0;
  border-right: 1px solid #dfe9e3;
}

body.cards-page .height-guide-list div:last-child,
body.index-page .height-guide-list div:last-child,
body.height-design-current.cards-page .height-guide-list .height-guide-item:last-child,
body.height-design-current.index-page .height-guide-list .height-guide-item:last-child {
  border-right: 0;
}

body.cards-page .height-guide-list dt,
body.index-page .height-guide-list dt,
body.cards-page .height-guide-list dd,
body.index-page .height-guide-list dd,
body.height-design-current.cards-page .height-guide-list .height-guide-item dt,
body.height-design-current.index-page .height-guide-list .height-guide-item dt,
body.height-design-current.cards-page .height-guide-list .height-guide-item dd,
body.height-design-current.index-page .height-guide-list .height-guide-item dd {
  margin: 0;
  white-space: nowrap;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid,
body.height-design-current.cards-page .height-preset-grid,
body.height-design-current.index-page .height-preset-grid,
.layout.layout-with-left-filter .height-preset-grid {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card,
body.height-buttons-row.cards-page .height-guide-card,
body.height-buttons-row.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 20px !important;
  min-width: 0;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.cards-page .height-guide-title,
body.index-page .height-guide-title,
body.height-design-current.cards-page .height-guide-title,
body.height-design-current.index-page .height-guide-title,
body.height-buttons-row.cards-page .height-guide-title,
body.height-buttons-row.index-page .height-guide-title {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #008842 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.cards-page .height-guide-title::after,
body.index-page .height-guide-title::after,
body.height-design-current.cards-page .height-guide-title::after,
body.height-design-current.index-page .height-guide-title::after,
body.height-buttons-row.cards-page .height-guide-title::after,
body.height-buttons-row.index-page .height-guide-title::after {
  content: "?" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border: 1px solid #777 !important;
  border-radius: 50% !important;
  color: #555 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

body.cards-page .height-guide-title img,
body.index-page .height-guide-title img,
body.height-design-current.cards-page .height-guide-title img,
body.height-design-current.index-page .height-guide-title img,
body.height-buttons-row.cards-page .height-guide-title img,
body.height-buttons-row.index-page .height-guide-title img {
  width: 34px !important;
  height: 34px !important;
  padding: 7px !important;
  border-radius: 50% !important;
  background: #e7f6ee !important;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list,
body.height-design-current.cards-page .height-guide-list,
body.height-design-current.index-page .height-guide-list,
body.height-buttons-row.cards-page .height-guide-list,
body.height-buttons-row.index-page .height-guide-list {
  display: flex !important;
  align-items: center !important;
  flex: 0 1 auto;
  gap: 28px !important;
  margin: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
}

body.cards-page .height-guide-list .height-guide-item,
body.index-page .height-guide-list .height-guide-item,
body.height-design-current.cards-page .height-guide-list .height-guide-item,
body.height-design-current.index-page .height-guide-list .height-guide-item,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item,
body.height-buttons-row.index-page .height-guide-list .height-guide-item {
  display: grid !important;
  grid-template-columns: 30px auto !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.cards-page .height-guide-list .height-guide-item .fa-person,
body.index-page .height-guide-list .height-guide-item .fa-person,
body.height-design-current.cards-page .height-guide-list .height-guide-item .fa-person,
body.height-design-current.index-page .height-guide-list .height-guide-item .fa-person,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item .fa-person,
body.height-buttons-row.index-page .height-guide-list .height-guide-item .fa-person {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 26px !important;
  text-align: center !important;
  font-size: 28px !important;
}

body.cards-page .height-guide-list .height-guide-item dt,
body.index-page .height-guide-list .height-guide-item dt,
body.height-design-current.cards-page .height-guide-list .height-guide-item dt,
body.height-design-current.index-page .height-guide-list .height-guide-item dt,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item dt,
body.height-buttons-row.index-page .height-guide-list .height-guide-item dt {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  color: currentColor !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

body.cards-page .height-guide-list .height-guide-item dd,
body.index-page .height-guide-list .height-guide-item dd,
body.height-design-current.cards-page .height-guide-list .height-guide-item dd,
body.height-design-current.index-page .height-guide-list .height-guide-item dd,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item dd,
body.height-buttons-row.index-page .height-guide-list .height-guide-item dd {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: block !important;
  min-width: 0;
  margin: 0 !important;
  color: var(--muted, #666666) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.cards-page .height-guide-list dd strong,
body.index-page .height-guide-list dd strong,
body.height-design-current.cards-page .height-guide-list dd strong,
body.height-design-current.index-page .height-guide-list dd strong,
body.height-buttons-row.cards-page .height-guide-list dd strong,
body.height-buttons-row.index-page .height-guide-list dd strong {
  display: inline !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.cards-page .height-guide-list dd span,
body.index-page .height-guide-list dd span,
body.height-design-current.cards-page .height-guide-list dd span,
body.height-design-current.index-page .height-guide-list dd span,
body.height-buttons-row.cards-page .height-guide-list dd span,
body.height-buttons-row.index-page .height-guide-list dd span,
body.cards-page .height-guide-note,
body.index-page .height-guide-note,
body.height-design-current.cards-page .height-guide-note,
body.height-design-current.index-page .height-guide-note,
body.height-buttons-row.cards-page .height-guide-note,
body.height-buttons-row.index-page .height-guide-note {
  display: none !important;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list,
body.height-design-current.cards-page .height-guide-list,
body.height-design-current.index-page .height-guide-list,
body.height-buttons-row.cards-page .height-guide-list,
body.height-buttons-row.index-page .height-guide-list {
  gap: 0 !important;
  padding-left: 18px !important;
  border-left: 1px dotted #d8d8d8 !important;
}

body.cards-page .height-guide-list .height-guide-item,
body.index-page .height-guide-list .height-guide-item,
body.height-design-current.cards-page .height-guide-list .height-guide-item,
body.height-design-current.index-page .height-guide-list .height-guide-item,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item,
body.height-buttons-row.index-page .height-guide-list .height-guide-item {
  margin-left: 18px !important;
  padding-left: 18px !important;
  border-left: 1px dotted #d8d8d8 !important;
}

body.cards-page .height-guide-list .height-guide-item:first-child,
body.index-page .height-guide-list .height-guide-item:first-child,
body.height-design-current.cards-page .height-guide-list .height-guide-item:first-child,
body.height-design-current.index-page .height-guide-list .height-guide-item:first-child,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item:first-child,
body.height-buttons-row.index-page .height-guide-list .height-guide-item:first-child {
  margin-left: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

body.cards-page .height-guide-list .height-guide-item-low,
body.index-page .height-guide-list .height-guide-item-low,
body.height-design-current.cards-page .height-guide-list .height-guide-item-low,
body.height-design-current.index-page .height-guide-list .height-guide-item-low,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item-low,
body.height-buttons-row.index-page .height-guide-list .height-guide-item-low {
  color: #008842 !important;
}

body.cards-page .height-guide-list .height-guide-item-middle,
body.index-page .height-guide-list .height-guide-item-middle,
body.height-design-current.cards-page .height-guide-list .height-guide-item-middle,
body.height-design-current.index-page .height-guide-list .height-guide-item-middle,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item-middle,
body.height-buttons-row.index-page .height-guide-list .height-guide-item-middle {
  color: #f39a00 !important;
}

body.cards-page .height-guide-list .height-guide-item-high,
body.index-page .height-guide-list .height-guide-item-high,
body.height-design-current.cards-page .height-guide-list .height-guide-item-high,
body.height-design-current.index-page .height-guide-list .height-guide-item-high,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item-high,
body.height-buttons-row.index-page .height-guide-list .height-guide-item-high {
  color: #d00b26 !important;
}

body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 {
  gap: 8px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon-dimension,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon-dimension {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  padding: 0 !important;
  object-fit: contain !important;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  grid-template-columns: minmax(178px, max-content) minmax(0, 1fr) !important;
  column-gap: 12px !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  gap: 8px !important;
  font-size: 18px !important;
}

body.cards-page .height-priority-section > h3 .filter-heading-icon,
body.index-page .height-priority-section > h3 .filter-heading-icon,
.layout.layout-with-left-filter .height-priority-section > h3 .filter-heading-icon,
body.cards-page .height-priority-section > h3 .filter-heading-icon-dimension,
body.index-page .height-priority-section > h3 .filter-heading-icon-dimension,
.layout.layout-with-left-filter .height-priority-section > h3 .filter-heading-icon-dimension {
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  padding: 6px !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, #0c8a41 12%, #ffffff) !important;
  box-sizing: border-box !important;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card,
body.height-buttons-row.cards-page .height-guide-card,
body.height-buttons-row.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  gap: 12px !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}

body.cards-page .height-guide-title,
body.index-page .height-guide-title,
body.height-design-current.cards-page .height-guide-title,
body.height-design-current.index-page .height-guide-title,
body.height-buttons-row.cards-page .height-guide-title,
body.height-buttons-row.index-page .height-guide-title {
  gap: 7px !important;
  font-size: 15px !important;
}

body.cards-page .height-guide-title img,
body.index-page .height-guide-title img,
body.height-design-current.cards-page .height-guide-title img,
body.height-design-current.index-page .height-guide-title img,
body.height-buttons-row.cards-page .height-guide-title img,
body.height-buttons-row.index-page .height-guide-title img {
  width: 30px !important;
  height: 30px !important;
  padding: 6px !important;
}

body.cards-page .height-guide-title::after,
body.index-page .height-guide-title::after,
body.height-design-current.cards-page .height-guide-title::after,
body.height-design-current.index-page .height-guide-title::after,
body.height-buttons-row.cards-page .height-guide-title::after,
body.height-buttons-row.index-page .height-guide-title::after {
  width: 20px !important;
  height: 20px !important;
  font-size: 13px !important;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list,
body.height-design-current.cards-page .height-guide-list,
body.height-design-current.index-page .height-guide-list,
body.height-buttons-row.cards-page .height-guide-list,
body.height-buttons-row.index-page .height-guide-list {
  flex: 1 1 auto !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  padding-left: 12px !important;
}

body.cards-page .height-guide-list .height-guide-item,
body.index-page .height-guide-list .height-guide-item,
body.height-design-current.cards-page .height-guide-list .height-guide-item,
body.height-design-current.index-page .height-guide-list .height-guide-item,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item,
body.height-buttons-row.index-page .height-guide-list .height-guide-item {
  grid-template-columns: 24px auto !important;
  gap: 0 6px !important;
  margin-left: 12px !important;
  padding-left: 12px !important;
}

body.cards-page .height-guide-list .height-guide-item .fa-person,
body.index-page .height-guide-list .height-guide-item .fa-person,
body.height-design-current.cards-page .height-guide-list .height-guide-item .fa-person,
body.height-design-current.index-page .height-guide-list .height-guide-item .fa-person,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item .fa-person,
body.height-buttons-row.index-page .height-guide-list .height-guide-item .fa-person {
  width: 22px !important;
  font-size: 24px !important;
}

body.cards-page .height-guide-list .height-guide-item dt,
body.index-page .height-guide-list .height-guide-item dt,
body.height-design-current.cards-page .height-guide-list .height-guide-item dt,
body.height-design-current.index-page .height-guide-list .height-guide-item dt,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item dt,
body.height-buttons-row.index-page .height-guide-list .height-guide-item dt {
  font-size: 13px !important;
}

body.cards-page .height-guide-list .height-guide-item dd,
body.index-page .height-guide-list .height-guide-item dd,
body.height-design-current.cards-page .height-guide-list .height-guide-item dd,
body.height-design-current.index-page .height-guide-list .height-guide-item dd,
body.height-buttons-row.cards-page .height-guide-list .height-guide-item dd,
body.height-buttons-row.index-page .height-guide-list .height-guide-item dd,
body.cards-page .height-guide-list dd strong,
body.index-page .height-guide-list dd strong,
body.height-design-current.cards-page .height-guide-list dd strong,
body.height-design-current.index-page .height-guide-list dd strong,
body.height-buttons-row.cards-page .height-guide-list dd strong,
body.height-buttons-row.index-page .height-guide-list dd strong {
  font-size: 12px !important;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  position: relative !important;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 16px !important;
  padding-top: 16px !important;
  padding-right: 20px !important;
  padding-bottom: 16px !important;
  padding-left: 20px !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  gap: 8px !important;
  min-height: 38px;
  padding-right: min(56vw, 600px);
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card,
body.height-buttons-row.cards-page .height-guide-card,
body.height-buttons-row.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 2;
  width: min(590px, calc(100% - 238px)) !important;
  max-width: calc(100% - 238px) !important;
  min-width: 0 !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
}

body.cards-page .height-guide-list,
body.index-page .height-guide-list,
body.height-design-current.cards-page .height-guide-list,
body.height-design-current.index-page .height-guide-list,
body.height-buttons-row.cards-page .height-guide-list,
body.height-buttons-row.index-page .height-guide-list {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid,
body.height-design-current.cards-page .height-preset-grid,
body.height-design-current.index-page .height-preset-grid,
.layout.layout-with-left-filter .height-preset-grid {
  margin-top: 2px;
}

@media (max-width: 980px) {
  body.cards-page .height-priority-section > h3,
  body.index-page .height-priority-section > h3,
  body.cards-page .dimensions-filter-section .height-priority-section > h3,
  body.index-page .dimensions-filter-section .height-priority-section > h3,
  .layout.layout-with-left-filter .height-priority-section > h3 {
    padding-right: 0;
  }

  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  body.height-design-current.cards-page .height-guide-card,
  body.height-design-current.index-page .height-guide-card,
  body.height-buttons-row.cards-page .height-guide-card,
  body.height-buttons-row.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    margin-top: 8px !important;
  }
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  overflow: visible !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  padding-right: min(58vw, 620px) !important;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
body.height-design-current.cards-page .height-guide-card,
body.height-design-current.index-page .height-guide-card,
body.height-buttons-row.cards-page .height-guide-card,
body.height-buttons-row.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  position: static !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: start !important;
  width: auto !important;
  max-width: min(620px, 100%) !important;
  overflow: visible !important;
  transform: none !important;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid,
body.height-design-current.cards-page .height-preset-grid,
body.height-design-current.index-page .height-preset-grid,
.layout.layout-with-left-filter .height-preset-grid {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

@media (max-width: 980px) {
  body.cards-page .height-priority-section > h3,
  body.index-page .height-priority-section > h3,
  body.cards-page .dimensions-filter-section .height-priority-section > h3,
  body.index-page .dimensions-filter-section .height-priority-section > h3,
  .layout.layout-with-left-filter .height-priority-section > h3 {
    padding-right: 0 !important;
  }

  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  body.height-design-current.cards-page .height-guide-card,
  body.height-design-current.index-page .height-guide-card,
  body.height-buttons-row.cards-page .height-guide-card,
  body.height-buttons-row.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    grid-row: 2 !important;
    justify-self: start !important;
    margin-top: 8px !important;
  }

  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid,
  body.height-design-current.cards-page .height-preset-grid,
  body.height-design-current.index-page .height-preset-grid,
  .layout.layout-with-left-filter .height-preset-grid {
    grid-row: 3 !important;
  }
}

body.height-buttons-row.height-design-current.cards-page .height-preset-grid,
body.height-buttons-row.height-design-current.index-page .height-preset-grid,
body.height-buttons-row.height-design-current .layout.layout-with-left-filter .height-preset-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 8px !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 8px !important;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group,
body.height-buttons-row.height-design-current.index-page .height-preset-group {
  display: contents !important;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group-body,
body.height-buttons-row.height-design-current.index-page .height-preset-group-body,
body.height-buttons-row.height-design-current.cards-page .height-preset-group-low .height-preset-group-body,
body.height-buttons-row.height-design-current.index-page .height-preset-group-low .height-preset-group-body {
  display: contents !important;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-group-title,
body.height-buttons-row.height-design-current.index-page .height-preset-group-title {
  flex: 0 0 118px !important;
  width: 118px !important;
  min-width: 118px !important;
  min-height: 78px !important;
  align-self: stretch !important;
}

body.height-buttons-row.height-design-current.cards-page .height-preset-card,
body.height-buttons-row.height-design-current.index-page .height-preset-card {
  flex: 0 0 128px !important;
  min-width: 128px !important;
  min-height: 78px !important;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  display: grid !important;
  grid-template-columns: minmax(170px, 1fr) minmax(0, auto) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "height-title height-guide"
    "height-presets height-presets" !important;
  gap: 8px 12px !important;
  align-items: start !important;
  padding: 16px !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  grid-area: height-title !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: start !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  grid-area: height-guide !important;
  grid-column: auto !important;
  grid-row: auto !important;
  position: static !important;
  justify-self: end !important;
  align-self: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid,
.layout.layout-with-left-filter .height-preset-grid {
  grid-area: height-presets !important;
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: auto auto !important;
  gap: 6px 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
}

body.cards-page .height-preset-group,
body.index-page .height-preset-group {
  display: contents !important;
}

body.cards-page .height-preset-group-low .height-preset-group-title,
body.index-page .height-preset-group-low .height-preset-group-title {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.cards-page .height-preset-group-middle .height-preset-group-title,
body.index-page .height-preset-group-middle .height-preset-group-title {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.cards-page .height-preset-group-high .height-preset-group-title,
body.index-page .height-preset-group-high .height-preset-group-title {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.cards-page .height-preset-group-title,
body.index-page .height-preset-group-title {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

body.cards-page .height-preset-group-label,
body.index-page .height-preset-group-label {
  white-space: nowrap !important;
}

body.cards-page .height-preset-group-label br,
body.index-page .height-preset-group-label br {
  display: none !important;
}

body.cards-page .height-preset-group-title,
body.index-page .height-preset-group-title {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

body.cards-page .height-preset-group-description,
body.index-page .height-preset-group-description {
  display: inline !important;
  color: currentColor !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.cards-page .height-preset-group-low .height-preset-group-body,
body.index-page .height-preset-group-low .height-preset-group-body {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

body.cards-page .height-preset-group-middle .height-preset-group-body,
body.index-page .height-preset-group-middle .height-preset-group-body {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

body.cards-page .height-preset-group-high .height-preset-group-body,
body.index-page .height-preset-group-high .height-preset-group-body {
  grid-column: 3 !important;
  grid-row: 2 !important;
}

body.cards-page .height-preset-group-body,
body.index-page .height-preset-group-body,
body.cards-page .height-preset-group-low .height-preset-group-body,
body.index-page .height-preset-group-low .height-preset-group-body {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: 0 !important;
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 6px !important;
}

body.cards-page .height-preset-card,
body.index-page .height-preset-card {
  flex: 0 0 128px !important;
  min-width: 128px !important;
  min-height: 78px !important;
}

body.cards-page .height-preset-grid,
body.index-page .height-preset-grid,
.layout.layout-with-left-filter .height-preset-grid {
  grid-template-columns: repeat(3, max-content) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 8px !important;
  scrollbar-gutter: stable !important;
}

body.cards-page .height-preset-group-body,
body.index-page .height-preset-group-body,
body.cards-page .height-preset-group-low .height-preset-group-body,
body.index-page .height-preset-group-low .height-preset-group-body,
body.cards-page .height-preset-group-middle .height-preset-group-body,
body.index-page .height-preset-group-middle .height-preset-group-body,
body.cards-page .height-preset-group-high .height-preset-group-body,
body.index-page .height-preset-group-high .height-preset-group-body {
  width: max-content !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

@media (max-width: 980px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section,
  .layout.layout-with-left-filter .height-priority-section {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "height-title"
      "height-guide"
      "height-presets" !important;
  }

  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    justify-self: start !important;
  }
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  position: relative !important;
  padding-top: 16px !important;
  border-color: color-mix(in srgb, #008842 58%, #ffffff) !important;
}

body.cards-page .height-guide-card,
body.index-page .height-guide-card,
.layout.layout-with-left-filter .height-guide-card {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  grid-area: auto !important;
  z-index: 3;
  max-width: calc(100% - 250px) !important;
  transform: none !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  padding-right: min(620px, 58vw) !important;
}

@media (max-width: 980px) {
  body.cards-page .height-priority-section,
  body.index-page .height-priority-section,
  body.cards-page .dimensions-filter-section .height-priority-section,
  body.index-page .dimensions-filter-section .height-priority-section,
  .layout.layout-with-left-filter .height-priority-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    grid-template-areas:
      "height-title"
      "height-guide"
      "height-presets" !important;
  }

  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    position: static !important;
    grid-area: height-guide !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.cards-page .height-priority-section > h3,
  body.index-page .height-priority-section > h3,
  body.cards-page .dimensions-filter-section .height-priority-section > h3,
  body.index-page .dimensions-filter-section .height-priority-section > h3,
  .layout.layout-with-left-filter .height-priority-section > h3 {
    grid-area: height-title !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-right: 0 !important;
  }

  body.cards-page .height-preset-grid,
  body.index-page .height-preset-grid,
  .layout.layout-with-left-filter .height-preset-grid {
    grid-area: height-presets !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
}

body.cards-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible,
body.index-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible,
body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible {
  min-height: 72px !important;
}

body.cards-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible > summary,
body.index-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible > summary,
body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary {
  min-height: 72px !important;
  padding: 12px 14px !important;
}

body.cards-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible > summary h3,
body.index-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible > summary h3,
body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #222 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

body.cards-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon,
body.index-page .filter-detail-scroll > .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon,
body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon,
body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon-dimension,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon-dimension {
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  padding: 0 !important;
  object-fit: contain !important;
}

body.cards-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon-dimension,
body.index-page .dimensions-filter-section .filter-sub-block.filter-section-collapsible > summary h3 .filter-heading-icon-dimension {
  flex-basis: 32px !important;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
}

body.cards-page .filter-detail-panel,
body.index-page .filter-detail-panel {
  grid-column: 1 / -1 !important;
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

body.cards-page .filter-detail-grid,
body.index-page .filter-detail-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
  overflow-x: visible !important;
}

body.cards-page .filter-detail-grid > .filter-section,
body.index-page .filter-detail-grid > .filter-section {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 9px 10px !important;
}

body.cards-page .filter-detail-grid > .filter-section > h3,
body.index-page .filter-detail-grid > .filter-section > h3 {
  min-height: 34px !important;
  margin-bottom: 8px !important;
  padding-left: 10px !important;
  gap: 7px !important;
  line-height: 1.2 !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  padding-left: 0 !important;
}

body.cards-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon,
body.index-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon,
body.cards-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-large,
body.index-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-large,
body.cards-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-dimension,
body.index-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-dimension,
body.cards-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-small,
body.index-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-small {
  width: 30px !important;
  height: 30px !important;
  flex-basis: 30px !important;
}

body.cards-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-floor,
body.index-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-floor,
body.cards-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-price,
body.index-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-price {
  width: 26px !important;
  height: 26px !important;
  flex-basis: 26px !important;
}

body.cards-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-floor,
body.index-page .filter-detail-grid > .filter-section > h3 .filter-heading-icon-floor {
  width: 18px !important;
  height: 18px !important;
  flex-basis: 18px !important;
}

body.cards-page .filter-detail-grid .filter-section-body,
body.index-page .filter-detail-grid .filter-section-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
}

body.cards-page .filter-detail-grid > .filter-section:has(#floorTypeFilter) > h3,
body.index-page .filter-detail-grid > .filter-section:has(#floorTypeFilter) > h3 {
  min-height: 24px !important;
  margin-bottom: 6px !important;
}

body.cards-page .filter-detail-grid > .filter-section:has(#floorTypeFilter) .filter-section-body,
body.index-page .filter-detail-grid > .filter-section:has(#floorTypeFilter) .filter-section-body {
  padding-bottom: 0 !important;
}

body.cards-page .filter-detail-grid .filter-sub-block,
body.index-page .filter-detail-grid .filter-sub-block {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
}

body.cards-page .filter-detail-grid .preset-button-group,
body.index-page .filter-detail-grid .preset-button-group,
body.cards-page .filter-detail-grid #pitchFilter,
body.index-page .filter-detail-grid #pitchFilter {
  align-content: flex-start !important;
}

body.cards-page .filter-detail-grid .floor-type-chip-group,
body.index-page .filter-detail-grid .floor-type-chip-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

body.cards-page .filter-detail-grid .floor-type-chip,
body.index-page .filter-detail-grid .floor-type-chip {
  min-width: 0 !important;
  height: 100% !important;
  min-height: 74px !important;
  aspect-ratio: auto !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-width: 2px !important;
}

body.cards-page .filter-detail-grid .floor-type-chip-image,
body.index-page .filter-detail-grid .floor-type-chip-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  min-height: 0 !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}

body.cards-page .filter-detail-grid .floor-type-chip-label,
body.index-page .filter-detail-grid .floor-type-chip-label {
  min-height: 22px !important;
  padding: 3px 6px !important;
  background: rgba(0, 0, 0, 0.72) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

body.cards-page .filter-detail-grid .floor-type-chip.active .floor-type-chip-label,
body.index-page .filter-detail-grid .floor-type-chip.active .floor-type-chip-label {
  background: var(--accent) !important;
  color: #fff !important;
}

body.cards-page .filter-detail-grid .floor-type-chip-check,
body.index-page .filter-detail-grid .floor-type-chip-check {
  top: 4px !important;
  right: auto !important;
  left: 4px !important;
  font-size: 22px !important;
}

body.cards-page .filter-detail-grid > .filter-section:has(#depthPresetFilter),
body.index-page .filter-detail-grid > .filter-section:has(#depthPresetFilter),
body.cards-page .filter-detail-grid > .filter-section:has(#pitchFilter),
body.index-page .filter-detail-grid > .filter-section:has(#pitchFilter),
body.cards-page .filter-detail-grid > .filter-section:has(#widthPresetFilter),
body.index-page .filter-detail-grid > .filter-section:has(#widthPresetFilter) {
  min-height: 92px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

body.cards-page .filter-detail-grid > .filter-section:has(#depthPresetFilter) > h3,
body.index-page .filter-detail-grid > .filter-section:has(#depthPresetFilter) > h3,
body.cards-page .filter-detail-grid > .filter-section:has(#pitchFilter) > h3,
body.index-page .filter-detail-grid > .filter-section:has(#pitchFilter) > h3,
body.cards-page .filter-detail-grid > .filter-section:has(#widthPresetFilter) > h3,
body.index-page .filter-detail-grid > .filter-section:has(#widthPresetFilter) > h3 {
  min-height: 28px !important;
  margin-bottom: 6px !important;
}

body.cards-page .filter-detail-grid > .filter-section:has(#depthPresetFilter) .preset-filter-button,
body.index-page .filter-detail-grid > .filter-section:has(#depthPresetFilter) .preset-filter-button,
body.cards-page .filter-detail-grid > .filter-section:has(#pitchFilter) .preset-filter-button,
body.index-page .filter-detail-grid > .filter-section:has(#pitchFilter) .preset-filter-button,
body.cards-page .filter-detail-grid > .filter-section:has(#widthPresetFilter) .preset-filter-button,
body.index-page .filter-detail-grid > .filter-section:has(#widthPresetFilter) .preset-filter-button {
  min-height: 30px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

body.cards-page .filter-grid,
body.index-page .filter-grid,
.layout.layout-with-left-filter .filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)) !important;
  overflow-x: visible !important;
}

body.index-page .preset-button-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}

body.index-page .preset-filter-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 7px 12px !important;
  border: 1px solid #d8ddd9 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body.index-page .preset-filter-button:hover,
body.index-page .preset-filter-button:focus-visible {
  border-color: var(--accent) !important;
}

body.index-page .preset-filter-button.active {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #fff !important;
}

body.index-page .height-preset-card {
  flex: 0 0 128px !important;
  flex-basis: 128px !important;
  width: 128px !important;
  min-width: 128px !important;
  max-width: 128px !important;
  min-height: 78px !important;
  height: 78px !important;
  grid-template-columns: 58px 50px !important;
  grid-template-rows: 1fr !important;
  gap: 6px !important;
  padding: 8px 7px 8px 9px !important;
  align-items: center !important;
  justify-items: center !important;
  overflow: hidden !important;
}

body.index-page .height-preset-value {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  padding-left: 4px !important;
  height: 100% !important;
  min-height: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.index-page .height-preset-image {
  width: 100% !important;
  height: 62px !important;
  min-height: 62px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

body.index-page .height-preset-image img {
  width: auto !important;
  max-width: 50px !important;
  height: 58px !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

body.cards-page .preset-filter-button.is-unavailable,
body.index-page .preset-filter-button.is-unavailable,
body.cards-page .option-chip.is-unavailable,
body.index-page .option-chip.is-unavailable,
body.cards-page .height-preset-card.is-unavailable,
body.index-page .height-preset-card.is-unavailable {
  border-color: #d7d7d7 !important;
  background: #eeeeee !important;
  color: #999999 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

body.cards-page .preset-filter-button.is-unavailable:hover,
body.index-page .preset-filter-button.is-unavailable:hover,
body.cards-page .preset-filter-button.is-unavailable:focus-visible,
body.index-page .preset-filter-button.is-unavailable:focus-visible,
body.cards-page .option-chip.is-unavailable:hover,
body.index-page .option-chip.is-unavailable:hover,
body.cards-page .option-chip.is-unavailable:focus-visible,
body.index-page .option-chip.is-unavailable:focus-visible,
body.cards-page .height-preset-card.is-unavailable:hover,
body.index-page .height-preset-card.is-unavailable:hover,
body.cards-page .height-preset-card.is-unavailable:focus-visible,
body.index-page .height-preset-card.is-unavailable:focus-visible {
  border-color: #d7d7d7 !important;
  background: #eeeeee !important;
  color: #999999 !important;
}

body.cards-page .height-preset-card.is-unavailable .height-preset-image,
body.index-page .height-preset-card.is-unavailable .height-preset-image,
body.cards-page .floor-type-chip.is-unavailable .floor-type-chip-image,
body.index-page .floor-type-chip.is-unavailable .floor-type-chip-image {
  filter: grayscale(1);
  opacity: 0.42;
}

body.cards-page .floor-type-chip.is-unavailable .floor-type-chip-label,
body.index-page .floor-type-chip.is-unavailable .floor-type-chip-label {
  background: rgba(90, 90, 90, 0.74) !important;
  color: #e5e5e5 !important;
}

body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
body.height-design-current.cards-page .height-priority-section,
body.height-design-current.index-page .height-priority-section,
body.height-design-current.cards-page .dimensions-filter-section .height-priority-section,
body.height-design-current.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  gap: 14px !important;
}

/* 既存の?マークをモバイルのみ表示し、そこからガイドを開く */
@media (min-width: 769px) {
  body.cards-page .height-guide-title::after,
  body.index-page .height-guide-title::after,
  body.height-design-current.cards-page .height-guide-title::after,
  body.height-design-current.index-page .height-guide-title::after,
  body.height-buttons-row.cards-page .height-guide-title::after,
  body.height-buttons-row.index-page .height-guide-title::after {
    display: none !important;
  }

  body.cards-page .height-guide-title[data-height-guide-open],
  body.index-page .height-guide-title[data-height-guide-open] {
    cursor: default;
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  body.cards-page .height-guide-title[data-height-guide-open],
  body.index-page .height-guide-title[data-height-guide-open] {
    cursor: pointer;
  }

  body.cards-page .height-guide-title[data-height-guide-open]:focus-visible,
  body.index-page .height-guide-title[data-height-guide-open]:focus-visible {
    outline: 2px solid #008842;
    outline-offset: 2px;
  }

  body.cards-page .height-guide-title::after,
  body.index-page .height-guide-title::after,
  body.height-design-current.cards-page .height-guide-title::after,
  body.height-design-current.index-page .height-guide-title::after,
  body.height-buttons-row.cards-page .height-guide-title::after,
  body.height-buttons-row.index-page .height-guide-title::after {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    border: 1px solid #777;
    border-radius: 50%;
    color: #555;
    font-size: 14px !important;
    font-weight: 400;
  }
}

@media (max-width: 768px) {
  body.cards-page .workflow-steps,
  body.index-page .workflow-steps {
    gap: 2px !important;
  }

  body.cards-page .workflow-steps .step-chip + .step-chip,
  body.index-page .workflow-steps .step-chip + .step-chip {
    margin-left: -10px;
  }

  body.cards-page #floorTypeFilter.floor-type-chip-group,
  body.index-page #floorTypeFilter.floor-type-chip-group,
  body.cards-page .filter-detail-grid #floorTypeFilter.floor-type-chip-group,
  body.index-page .filter-detail-grid #floorTypeFilter.floor-type-chip-group {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 8px !important;
  }

  body.cards-page #floorTypeFilter .floor-type-chip,
  body.index-page #floorTypeFilter .floor-type-chip,
  body.cards-page .filter-detail-grid #floorTypeFilter .floor-type-chip,
  body.index-page .filter-detail-grid #floorTypeFilter .floor-type-chip {
    min-height: 74px !important;
    height: auto !important;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  body.cards-page .height-guide-card,
  body.index-page .height-guide-card,
  body.height-design-current.cards-page .height-guide-card,
  body.height-design-current.index-page .height-guide-card,
  body.height-buttons-row.cards-page .height-guide-card,
  body.height-buttons-row.index-page .height-guide-card,
  .layout.layout-with-left-filter .height-guide-card {
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.cards-page .height-priority-section .height-guide-title,
  body.index-page .height-priority-section .height-guide-title,
  body.height-design-current.cards-page .height-priority-section .height-guide-title,
  body.height-design-current.index-page .height-priority-section .height-guide-title,
  body.height-buttons-row.cards-page .height-priority-section .height-guide-title,
  body.height-buttons-row.index-page .height-priority-section .height-guide-title {
    flex: 0 0 auto !important;
    width: auto !important;
    justify-content: flex-start !important;
    gap: 6px !important;
  }

  body.cards-page .height-guide-title::after,
  body.index-page .height-guide-title::after,
  body.height-design-current.cards-page .height-guide-title::after,
  body.height-design-current.index-page .height-guide-title::after,
  body.height-buttons-row.cards-page .height-guide-title::after,
  body.height-buttons-row.index-page .height-guide-title::after {
    content: none !important;
    display: none !important;
  }

  body.cards-page .height-guide-title img,
  body.index-page .height-guide-title img,
  body.height-design-current.cards-page .height-guide-title img,
  body.height-design-current.index-page .height-guide-title img,
  body.height-buttons-row.cards-page .height-guide-title img,
  body.height-buttons-row.index-page .height-guide-title img {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    padding: 6px !important;
  }

  body.cards-page .height-guide-list,
  body.index-page .height-guide-list,
  body.height-design-current.cards-page .height-guide-list,
  body.height-design-current.index-page .height-guide-list,
  body.height-buttons-row.cards-page .height-guide-list,
  body.height-buttons-row.index-page .height-guide-list {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 14px !important;
    overflow-x: auto !important;
  }
}


/* Keep colored height presets without the supplemental guide. */
body.cards-page .height-priority-section,
body.index-page .height-priority-section,
body.cards-page .dimensions-filter-section .height-priority-section,
body.index-page .dimensions-filter-section .height-priority-section,
.layout.layout-with-left-filter .height-priority-section {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas: "height-title" "height-presets" !important;
}

body.cards-page .height-priority-section > h3,
body.index-page .height-priority-section > h3,
body.cards-page .dimensions-filter-section .height-priority-section > h3,
body.index-page .dimensions-filter-section .height-priority-section > h3,
.layout.layout-with-left-filter .height-priority-section > h3 {
  padding-right: 0 !important;
}

body.cards-page .height-priority-section .height-preset-grid,
body.index-page .height-priority-section .height-preset-grid {
  grid-row: 2 !important;
}
