@charset "UTF-8";

/* ====================================================================
  product2025.css
  商品一覧ページ専用 新デザインスタイル
  ※ common.css / product.css には一切手を加えない
  ※ このファイルを product/index.html に追加で読み込む
==================================================================== */


/* ====================================================================
  共通リセット・上書き
==================================================================== */

/* 旧背景装飾を無効化 */
.wrapper.wrapperBack {
  background: none !important;
}

#mainContents {
  background: none !important;
  top: 0 !important;
  margin-top: min(100px, 26vw) !important;
}

/* 旧ページタイトルブロックを非表示 */
#TitleWrap {
  display: none;
}

/* 旧 .pickupMenu（丸ボタン）を非表示 */
.pickupMenu {
  display: none;
}

/* 旧スクロール追従ヘッダーを非表示（productページではbottom_wは不要） */
.bottom_w {
  display: none !important;
}


/* ====================================================================
  商品一覧 メインコンテンツ
==================================================================== */

/* 旧 section02 のスタイルをリセット */
.section02 .c1Box1,
.section02 .c1Box2,
.section02 .titleBack,
.section02 .newItemsWrap .newItemsBackimg,
.otherItemsWrap,
.beforeItemsWrap {
  display: none !important;
}

.section02 {
  margin: 0 !important;
  padding: 0 !important;
}

.section02 .newItemsWrap {
  background: none !important;
}

/* カテゴリセクション全体ラッパー */
.product-categories {
  max-width: 1080px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

/* カテゴリブロック */
.product-cat {
  margin-bottom: 72px;
}

/* カテゴリタイトル */
.product-cat__head {
  text-align: center;
  margin-bottom: 32px;
}

.product-cat__head img {
  display: block;
  margin: 0 auto 2px;
  height: 52px;
  width: auto;
}

.product-cat__head .cat-sub {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.15em;
  line-height: 1;
}

/* 4カラムグリッド */
.product-cat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .product-cat__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
    /* max-width: fit-content; */
  }
}

@media (max-width: 600px) {
  .product-cat__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
}

@media (max-width: 360px) {
  .product-cat__grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }
}

/* 商品カード */
.product-card {
  display: flex;
  flex-direction: column;
  /* max-width: 255px; */
}

.product-card__img {
  width: 100%;
  /* aspect-ratio: 1 / 1; */
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #f5f5f5;
}

.product-card__img img {
  width: 100%;
  /* height: 100%;
  object-fit: cover; */
  display: block;
  border-radius: 8px;
  transition: opacity 0.2s;
}

/* .product-card__img a:hover img,
.product-card__img img:hover {
  opacity: 0.7;
} */


/* PDFあり商品：li全体をクリッカブルに */
.product-card[data-pdf] {
  cursor: pointer;
}
.product-card[data-pdf] .product-card__img {
  position: relative;
}
.product-card[data-pdf]:hover .product-card__img img {
  opacity: 0.6;
}
.product-card[data-pdf] .product-card__img::after {
  content: '商品カタログを見る';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.product-card[data-pdf]:hover .product-card__img::after {
  opacity: 1;
}



.product-card__name {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #333;
  padding-bottom: 6px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-card__desc {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  flex: 1;
}

/* Moreボタン付きカード */
.product-card__more {
  margin-top: 8px;
  text-align: right;
}

.product-card__more a img {
  width: 50px;
  height: auto;
}

/* Neck Care のみ 3カラム */
.product-cat--necks .product-cat__grid {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}
.product-cat--necks .product-cat__grid .product-card{
  max-width: 255px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .product-cat--necks .product-cat__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* フッター：TOPと同じ #footer を使うので top2025.css のスタイルが効く */
/* f_logo の画像幅だけ product 側で調整 */
#footer .f_logo img {
  width: min(160px, 30vw);
}

/* ロゴがナビの上に被さってHomeリンクが押せない問題を修正 */
.header .logoNameW {
  z-index: 5;
}

#globalNavi-pc {
  position: relative;
  z-index: 10;
}

