/* ========================================
   Storage Stand Test Page — ccc.pdf / BS・cubicle テスト準拠
   ======================================== */

.product-storage-stand-test-page .storage-stand-test-banner {
  margin: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 136, 0, 0.18);
  border-bottom: 1px solid var(--color-secondary);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  text-align: center;
}

.product-storage-stand-test-page .ehps-main-box {
  overflow-x: clip;
  max-width: 100%;
}

.product-storage-stand-test-page .ehps-main-box > .ehps-section {
  gap: var(--spacing-sm);
  max-width: 100%;
  box-sizing: border-box;
}

.product-storage-stand-test-page .ehps-main-box .section-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.product-storage-stand-test-page .ehps-main-box .section-subtitle {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.product-storage-stand-test-page .ehps-main-box p,
.product-storage-stand-test-page .storage-stand-test-feature-list li {
  font-size: var(--font-size-base);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.product-storage-stand-test-page .ehps-main-box p {
  margin: 0 0 var(--spacing-sm);
}

/* 冒頭：見出し2行 + 本体画像 + キャプション */
.product-storage-stand-test-page .storage-stand-test-intro-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  margin: 0 0 var(--spacing-lg);
  width: 100%;
  text-align: center;
}

.product-storage-stand-test-page .storage-stand-test-intro-headline .section-title {
  flex: none;
  width: 100%;
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: var(--line-height-tight);
  text-align: center !important;
}

.product-storage-stand-test-page .storage-stand-test-intro-headline .section-subtitle {
  flex: none;
  width: 100%;
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
  text-align: center !important;
}

.product-storage-stand-test-page .storage-stand-test-intro-visual {
  margin: 0 auto var(--spacing-sm);
  width: 100%;
  max-width: min(720px, 92%);
  background: none;
  border: none;
}

.product-storage-stand-test-page .storage-stand-test-intro-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.product-storage-stand-test-page .storage-stand-test-intro-caption {
  margin: 0 0 var(--spacing-md);
  text-align: right;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

/* 収納可能 PCS 型式 */
.product-storage-stand-test-page .storage-stand-test-pcs-types p {
  margin: 0 0 var(--spacing-xs);
}

.product-storage-stand-test-page .storage-stand-test-pcs-types p:last-child {
  margin-bottom: 0;
}

/* 特長（2カラム） */
.product-storage-stand-test-page .storage-stand-test-features-grid {
  display: grid;
  gap: var(--spacing-md) var(--spacing-xl);
  align-items: start;
}

.product-storage-stand-test-page .storage-stand-test-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: calc(var(--spacing-sm) * 0.3);
}

.product-storage-stand-test-page .storage-stand-test-feature-list li {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  padding-left: 0;
}

.product-storage-stand-test-page .storage-stand-test-feature-list li::before {
  content: '・';
  flex-shrink: 0;
  color: var(--color-white);
}

/* 外形図（側面・正面）— 同一高さ・罫線幅内に収める（左右端を divider に揃える） */
.product-storage-stand-test-page .storage-stand-test-dimension-wrap {
  --storage-stand-dimension-gap: var(--spacing-sm);
  --storage-stand-dimension-width-ratio: 1282; /* 448 + 834 */
  --storage-stand-dimension-height: calc(
    (100cqw - var(--storage-stand-dimension-gap)) * 449 / var(--storage-stand-dimension-width-ratio)
  );
  container-type: inline-size;
  container-name: storage-stand-dimension;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

@supports not (width: 100cqw) {
  .product-storage-stand-test-page .storage-stand-test-dimension-wrap {
    --storage-stand-dimension-height: calc(
      (100% - var(--storage-stand-dimension-gap)) * 449 / var(--storage-stand-dimension-width-ratio)
    );
  }
}

.product-storage-stand-test-page .storage-stand-test-dimension-grid {
  display: grid;
  grid-template-columns: minmax(0, 448fr) minmax(0, 834fr);
  gap: var(--storage-stand-dimension-gap);
  align-items: end;
  justify-items: stretch;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.product-storage-stand-test-page .storage-stand-test-dimension-cell:first-child {
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  height: var(--storage-stand-dimension-height);
}

.product-storage-stand-test-page .storage-stand-test-dimension-cell:last-child {
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
  height: var(--storage-stand-dimension-height);
}

.product-storage-stand-test-page .storage-stand-test-dimension-cell img {
  display: block;
  box-sizing: border-box;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
}

/* 資料DL */
.product-storage-stand-test-page .storage-stand-download {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

.product-storage-stand-test-page .storage-stand-download .btn-primary {
  color: var(--color-white);
  background-color: transparent;
  border: 2px solid var(--color-white);
}

.product-storage-stand-test-page .storage-stand-download .btn-primary.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (min-width: 992px) {
  .product-storage-stand-test-page .storage-stand-test-features-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--spacing-2xl);
  }
}

@media (max-width: 768px) {
  .product-storage-stand-test-page .ehps-hero .page-title {
    line-height: 0.95;
  }

  .product-storage-stand-test-page .ehps-hero .page-subtitle {
    width: calc(100% - var(--spacing-xl));
    font-size: clamp(0.8125rem, 3.4vw, 1rem);
    line-height: 1.25;
    margin-top: calc(var(--font-size-3xl) * 0.95 + var(--spacing-xs));
  }

  .product-storage-stand-test-page .storage-stand-test-intro-headline {
    align-items: center;
    text-align: center;
  }

  .product-storage-stand-test-page .storage-stand-test-intro-visual img {
    margin-inline: auto;
  }

  .product-storage-stand-test-page .ehps-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-align: left;
  }

  .product-storage-stand-test-page .ehps-section-header .section-title {
    width: 100%;
    margin: 0 !important;
    padding-top: 0 !important;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: clamp(1.3125rem, 6.2vw, var(--font-size-3xl));
    line-height: 1.35;
  }

  .product-storage-stand-test-page .ehps-section-header .section-subtitle {
    width: 100%;
    margin: 0 !important;
    text-align: left;
    white-space: nowrap;
    font-size: clamp(0.8125rem, 3.6vw, 1rem);
    line-height: 1.3;
  }

  .product-storage-stand-test-page .storage-stand-test-dimension-wrap {
    --storage-stand-dimension-height: calc(100cqw * 449 / 834);
  }

  @supports not (width: 100cqw) {
    .product-storage-stand-test-page .storage-stand-test-dimension-wrap {
      --storage-stand-dimension-height: calc(100% * 449 / 834);
    }
  }

  .product-storage-stand-test-page .storage-stand-test-dimension-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(420px, 100%);
    margin-inline: auto;
  }

  .product-storage-stand-test-page .storage-stand-test-dimension-cell {
    align-items: center;
    height: auto;
    min-height: var(--storage-stand-dimension-height);
  }

  .product-storage-stand-test-page .storage-stand-test-intro-caption {
    text-align: center;
  }
}
