/* Products Section */
.products-section {
  padding: 80px 20px 100px;
  background-color: #f5f5f5;
}

@media (max-width: 767px) {
  .products-section {
    padding: 60px 16px 80px;
  }
}

.products-section__title {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #4a69af;
  margin-bottom: 60px;
  letter-spacing: 3px;
}

@media (max-width: 767px) {
  .products-section__title {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Product Card */
.product-card {
  background: transparent;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Image wrapper */
.product-card__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 商品画像 - PNG画像に背景色を設定 */
.product-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Content area */
.product-card__content {
  padding: 16px 4px;
  text-align: center;
}

@media (max-width: 767px) {
  .product-card__content {
    padding: 12px 4px;
  }
}

.product-card__copy {
  font-size: 13px;
  color: #333333;
  margin-bottom: 12px;
  line-height: 1.6;
  font-weight: normal;
}

@media (max-width: 767px) {
  .product-card__copy {
    font-size: 11px;
    margin-bottom: 8px;
    line-height: 1.5;
  }
}

.product-card__name {
  font-size: 20px !important;
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .product-card__name {
    font-size: 15px !important;
  }
}

.product-card__name-jp {
  display: block;
  font-size: 12px;
  color: #666666;
  font-weight: normal;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .product-card__name-jp {
    font-size: 10px;
  }
}

/* Product Image Background Colors */
.product-card.pasmanhappu-i .product-card__image {
  background-color: #6a8871;
}

.product-card.on-pasmanhappu .product-card__image {
  background-color: #f3cabb;
}

.product-card.rei-pasmanhappu .product-card__image {
  background-color: #bfe5fb;
}

.product-card.bi-esuban .product-card__image {
  background-color: #4a65ba;
}

.product-card.sageruame .product-card__image {
  background-color: #b4da85;
}

.product-card.alukist2 .product-card__image {
  background-color: #0067be;
}

.product-card.jippou .product-card__image {
  background-color: #db8ec0;
}

.product-card.miex .product-card__image {
  background-color: #aa8ecf;
}

.product-card.gabaxsleep .product-card__image {
  background-color: #58b1d3;
}

.product-card.delco .product-card__image {
  background-color: #d29fb3;
}

.product-card.gunpep .product-card__image {
  background-color: #3c46aa;
}

.product-card.sageru .product-card__image {
  background-color: #b4da85;
}

.product-card.vita .product-card__image {
  background-color: #768693;
}

.product-card.c2000 .product-card__image {
  background-color: #ccca44;
}

.product-card.volumo .product-card__image {
  background-color: #ada5c6;
}

.product-card.gabax .product-card__image {
  background-color: #57bbe0;
}

.product-card.nuq .product-card__image {
  background-color: #d46944;
}

.product-card.nomo .product-card__image {
  background-color: #d6e07e;
}

.product-card.bonex .product-card__image {
  background-color: #eff3e8;
}

.product-card.powerx .product-card__image {
  background-color: #f5dda8;
}

.product-card.alukist .product-card__image {
  background-color: #0065c1;
}
