/* ========================================
   Cubicle Page Styles (Power Storage template alignment)
   ======================================== */

.product-cubicle-page .ehps-hero {
  background-image: url('../images/products/pro_back.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.product-cubicle-page .ehps-hero .page-title,
.product-cubicle-page .ehps-hero .page-subtitle {
  color: var(--color-white);
}

.product-cubicle-page .ehps-main-box {
  gap: var(--spacing-2xl);
  text-align: left;
}

.product-cubicle-page .ehps-section p {
  text-align: left;
}

.product-cubicle-page .product-hero-main-image {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border: none;
}

.product-cubicle-page .cubicle-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--spacing-sm);
  text-align: left;
}

.product-cubicle-page .cubicle-feature-list li {
  position: relative;
  padding-left: var(--spacing-lg);
  color: var(--color-black);
  text-align: left;
}

.product-cubicle-page .cubicle-feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
}

/* 暗テーマ：content-box 内は白文字に統一（詳細度で上書き） */
.product-cubicle-page .content-box.ehps-main-box .ehps-section .cubicle-feature-list li,
.product-cubicle-page .content-box.ehps-main-box .ehps-section .cubicle-feature-list li::before {
  color: var(--color-white);
}

.product-cubicle-page .ehps-main-box .ehps-section p {
  color: var(--color-white);
}

.product-cubicle-page .cubicle-spec-table-wrapper {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-none);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 製品仕様表：product-tx5000 の製品仕様スタイルに合わせる */
.product-cubicle-page .ehps-main-box .cubicle-spec-table-wrapper {
  border: 1px solid var(--color-table-border);
  border-radius: var(--radius-none);
  overflow: hidden;
}

.product-cubicle-page .cubicle-spec-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-table-border);
  margin: 0;
  background: transparent;
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table tr {
  border-bottom: 1px solid var(--color-table-border);
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table tr:last-child {
  border-bottom: none;
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table th,
.product-cubicle-page .ehps-main-box .cubicle-spec-table td {
  border-right: 1px solid var(--color-table-border);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
  text-align: left;
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table th:last-child,
.product-cubicle-page .ehps-main-box .cubicle-spec-table td:last-child {
  border-right: none;
}

.product-cubicle-page .cubicle-spec-table thead th {
  background-color: var(--color-main-bg);
  color: var(--color-white);
  padding: var(--spacing-md);
  font-size: var(--font-size-base);
  text-align: left;
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table thead th {
  background-color: var(--color-main-bg);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  vertical-align: middle;
}

.product-cubicle-page .cubicle-spec-table tbody tr {
  border-top: 1px solid var(--color-gray-200);
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table tbody tr {
  border-top: none;
  border-bottom: 1px solid var(--color-table-border);
}

.product-cubicle-page .cubicle-spec-table tbody tr:first-child {
  border-top: none;
}

.product-cubicle-page .cubicle-spec-table tbody td {
  padding: var(--spacing-md);
  color: var(--color-black);
  font-size: var(--font-size-base);
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table tbody td {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table thead th {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-tight);
}

.product-cubicle-page .cubicle-spec-table tbody td:first-child {
  width: 35%;
  font-weight: var(--font-weight-semibold);
}

.product-cubicle-page .ehps-main-box .cubicle-spec-table tbody td:last-child {
  width: 65%;
}

.product-cubicle-page .cubicle-usecases {
  display: grid;
  gap: var(--spacing-md);
}

.product-cubicle-page .cubicle-usecases p {
  margin: 0;
  color: var(--color-black);
}

.product-cubicle-page .ehps-main-box .cubicle-usecases p,
.product-cubicle-page .ehps-main-box .cubicle-usecases li {
  color: var(--color-white);
}

/* 資料ダウンロード（PDF）: 白い罫線ボタンに統一 */
.product-cubicle-page .ehps-main-box .bs-download .btn-primary {
  color: var(--color-white);
  background-color: transparent;
  border: 2px solid var(--color-white);
}

.product-cubicle-page .ehps-main-box .bs-download .btn-primary:hover {
  color: var(--color-gray-300);
  background-color: var(--color-white);
  border-color: var(--color-white);
}

@media (max-width: 768px) {
  .product-cubicle-page .ehps-main-box {
    gap: var(--spacing-2xl);
  }

  .product-cubicle-page .cubicle-spec-table tbody tr {
    display: block;
  }

  .product-cubicle-page .cubicle-spec-table tbody td {
    display: block;
    width: 100%;
  }

  .product-cubicle-page .cubicle-spec-table tbody td:first-child {
    margin-bottom: var(--spacing-xs);
  }
}

