#product {
  /*background-image: url(./common/images/top/product_bg.webp);
			background-size: cover;*/
  background-repeat: no-repeat;
  padding: 5vw 0;

  background-image: url(./common/bg.png);
  background-size: contain;
}

#product .container {
  margin: 1.4vw auto 0 auto;
}

#product .left {
  width: 33%;
}

#product .right {
  width: 66%;
}

.title_sma {
  font-size: 0.8vw;
  margin-top: 1vw;
}

.title_sma span {
  font-weight: bold;
  color: red;
}

.title_big {
  font-size: 2.6vw;
  letter-spacing: 0.3vw;
}

#product h3 {
  font-size: 2vw;
  letter-spacing: 0.22vw;
  line-height: 1.6em;
}

:root {
  --gap: 16px;
  --visible-count: 4;
  --card-width: calc((100vw - (var(--gap) * 4)) / var(--visible-count));
  --card-height: 260px;
}

.carousel-container {
  overflow: hidden;
  padding: 40px 0;
  background: #f8f9fa;
}

.carousel-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.5s ease;
  padding-left: calc(50% - (var(--card-width) * 2) - (var(--gap) * 2));
}

.product-card {
  flex: 0 0 var(--card-width);
  height: var(--card-height);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  align-items: center;
}

/* 追加（元デザイン復元） */
.product-image-wrapper {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image {
  max-width: 100%;
}

.product-info {
  padding-left: 10px;
  font-size: 12px;
}

.product-capacity {
  font-weight: bold;
  margin-top: 10px;
}

.detail-button {
  display: inline-block;
  margin-top: 10px;
  background: red;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
}

.controls {
  text-align: center;
  margin-top: 20px;
}

button {
  margin: 0 10px;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}
