/* ========== 上部：2カラム ========== */
.p-product__layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.p-product__left {
  flex: 0 0 500px;
  max-width: 500px;
  overflow: visible; /* ← ナビ矢印が切れないように */
}

.p-product__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.p-product__right .c-postTitle {
  text-align: left;
  margin-bottom: 0.5rem;
}

.c-postTitle {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.p-product__description {
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0.5rem;
}

/* ========== Swiper ========== */
.swiper-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.product-slider-main {
  width: 500px;
  height: 500px;
  margin-bottom: 10px;
}

.product-slider-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サムネイル */
.product-slider-thumb {
  display: flex;
  gap: 5px;
}

.product-slider-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  opacity: 0.5;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-slider-thumb .swiper-slide-thumb-active img {
  opacity: 1;
  border-color: #333;
}

/* Swiperナビゲーションとドットを非表示 */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
  display: none !important;
}


/* ホバー時の演出 */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #fff;
  transform: scale(1.1);
}

/* 配置（上下中央・左右端） */
.product-slider-main .swiper-button-prev {
  left: 10px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
}

.product-slider-main .swiper-button-next {
  right: 10px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
}

/* スマホでは矢印非表示 */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* ========== 下部：表セクション ========== */
.p-product__specBoxTitle {
  font-weight: bold;
  border-left: 4px solid #ff0;
  padding-left: 8px;
  margin: 2rem 0 0.8rem;
}

/* 表デザイン（DF1101風） */
.p-product__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  border: 1px solid #ddd;
  table-layout: fixed;
}

.p-product__table th,
.p-product__table td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

.p-product__table thead th {
  background: #f7f7f7;
  font-weight: 600;
}

.p-product__table tbody tr:nth-child(even) td {
  background: #fafafa;
}

.p-product__tableWrapper {
  margin-bottom: 2rem;
}

/* 備考部分 */
.p-product__notice {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ========== スマホ対応 ========== */
@media (max-width: 768px) {
  .p-product__layout {
    flex-direction: column;
  }
  .p-product__left,
  .p-product__right {
    max-width: 100%;
  }
  .product-slider-main {
    width: 100%;
    height: auto;
  }
  .product-slider-thumb img {
    width: 60px;
    height: 60px;
  }
}
