@charset "utf-8";
/* pagetitle・more_fはstyle.css、SHOPは既存の共通指定を使用 */
.product-page {
  background: #fff;
  color: #333;
  overflow: hidden;
}
.product-page * {
  box-sizing: border-box;
}
.product-heading {
  text-align: center;
  margin-bottom: 36px;
}
.product-heading h2 {
  margin: 0 0 14px;
}
.product-heading p {
  margin: 0;
}
.product-heading::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 22px auto 0;
  background: #777;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 12px;
}
.product-item {
  min-width: 0;
  text-align: center;
}
.product-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-item p {
  margin: 16px 0 0;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

/* カテゴリ単独表示では上の余白を除く。タブJSは指定テンプレートをそのまま使用 */
.product-page .shop_list_detail.shop2[style*="display: none"] ~ .shop_list_detail.shop3 {
  margin-top: 0;
}
.product-page .shop_list_detail.shop3[style*="display: none"] ~ .shop_list_detail.shop4 {
  margin-top: 0;
}
@media(max-width:768px) {
  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

}