/* ==========================================================================
   Products — アーカイブ・カテゴリーページ レイアウト
   ========================================================================== */
.products-archive {
  /* 個別エリアで幅を制御するため max-width は外す */
  padding: 0;
}

/* メインエリア（白背景）— コンテンツ幅を制限 */
.product-area--main {
  max-width: 1448px;
  margin: 0 auto;
  padding: 0 24px;
}
/* アーカイブ：カテゴリーセクション */
.archive h1 {
  text-align: center;
  color: #0051af;
}
.product-category-section {
  margin-bottom: 4rem;
}

.product-category-title {
  text-align: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
  margin-bottom: 3rem;
}

/* アーカイブ：グリッド */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, calc((100% - 6rem) / 3));
  gap: 3rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}

/* アーカイブ：カード */
.product-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border: 1px #ccc solid;
}

/* .product-name {
  font-size: 1rem;
}

.product-number {
  font-size: 1rem;
} */

/* カテゴリーページ：製品詳細セクション */
.product-detail {
  margin-bottom: 4rem;
  padding-top: 2rem;
  scroll-margin-top: 80px; /* 固定ヘッダーがある場合に調整 */
}

.product-content {
  max-width: 900px;
  margin: 0 auto;
}
/* サブエリア（色背景・ブラウザ全幅） */
.product-area--sub {
  background-color: #f0f5fb;
  padding: 3rem 0;
  width: 100%;
}

/* サブエリア内コンテンツ — メインエリアと同じ幅で中央寄せ */
.product-area--sub-inner {
  max-width: 1448px;
  margin: 0 auto;
  padding: 0 24px;
}

.wp-block-flexible-table-block-table tbody tr:nth-child(odd) td {
  background-color: #e4effb;
}
