@charset "utf-8";

/* ========================================
   BALANCE CORE 専用スタイル
======================================== */

/* TOPICSボックス */
.topics-box {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
}

.topics-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.topics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topics-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.topics-number {
  color: #9b7cb6;
  font-weight: bold;
  font-size: 18px;
}

.topics-series {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.topics-series:hover {
  color: #9b7cb6;
  text-decoration: underline;
}

.topics-description {
  color: #666;
}

/* ========================================
   商品ペア表示（2列固定）
======================================== */
.product-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

.product-item {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
}

.product-item img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  max-width: 100%;
  object-fit: cover;
}

.product-text {
  text-align: left;
}

.product-title {
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.6;
}

.product-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.product-link {
  margin-top: 10px;
}

.product-link a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.product-link a:hover {
  color: #9b7cb6;
}

/* ========================================
   アイテムクレジット（商品4列表示）
======================================== */
.u-item-credit-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.u-item-credit-custom .item-node {
  flex: 0 0 calc(25% - 12px); /* PC: 4列（ZEN, Motion用） */
  max-width: calc(25% - 12px);
  border: 1px solid #ddd;
  padding: 10px;
  box-sizing: border-box;
}

/* Boost用3列表示 */
.u-item-credit-3col .item-node {
  flex: 0 0 calc(33.33% - 10px); /* PC: 3列 */
  max-width: calc(33.33% - 10px);
}

.u-item-credit-custom .item-node a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.u-item-credit-custom .img-box {
  margin-bottom: 10px;
}

.u-item-credit-custom img {
  width: 100%;
  height: auto;
  display: block;
}

.u-item-credit-custom .text-box {
  text-align: center;
  line-height: 1.6;
}

.u-item-credit-custom .product-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.u-item-credit-custom .product-code {
  font-size: 13px;
  color: #666;
  margin-bottom: 3px;
}

.u-item-credit-custom .product-price {
  font-weight: bold;
  color: #333;
}

/* ========================================
   シリーズ一覧ボタン
======================================== */
.series-button {
  display: inline-block;
  padding: 15px 40px;
  border: 2px solid #9b7cb6;
  color: #9b7cb6;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
}

.series-button:hover {
  background-color: #9b7cb6;
  color: #fff;
}

/* BALANCE COREシリーズボタン（ピンク） */
.series-button-pink {
  display: inline-block;
  padding: 15px 40px;
  background-color: #f8bbd0;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.series-button-pink:hover {
  background-color: #f06292;
  color: #fff;
}

/* センター揃え用 */
.u-text-center {
  text-align: center;
}

/* 生地特性画像 */
.fabric-image {
  max-height: 150px;
  width: auto;
  height: auto;
  display: inline-block;
  margin: 0 auto;
}

/* ========================================
   レスポンシブ：SP（767px以下）
======================================== */
@media screen and (max-width: 767px) {
  
  /* 商品ペアをSPで2列に */
  .product-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .product-item {
    flex: 1;
    min-width: calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  
  /* アイテムクレジットをSPで2列に */
  .u-item-credit-custom .item-node {
    min-width: calc(50% - 8px) !important; /* SP: 2列 */
    max-width: calc(50% - 8px) !important;
  }
  
  /* TOPICSボックスのパディング調整 */
  .topics-box {
    padding: 20px;
  }
  
  .topics-item {
    flex-wrap: wrap;
  }
  
  /* 生地特性画像をSPで調整 */
  .fabric-image {
    max-height: 100px;
  }
  
  /* タイトル画像をSPで小さく */
  .u-mb-30.u-text-center img[src*="title.png"] {
    max-width: 150px !important;
  }
  
}

