@charset "utf-8";
/*
 * 商品一覧モジュール（PC）
 * inc: /PC/_DEFAULT/inc/item-list/item-list.inc（SP 版は /res/s/2026/css/item-list.css）
 * カード: /PC/_DEFAULT/inc/item-2018.inc（ログイン中は item-2018-campaign.inc）
 * カンプ：商品詳細・カテゴリ一覧の PC（一覧幅 1100px・8列・カード 127px・列の間 12px）
 *
 * 一覧 … .item-module（is-col8、順位バッジ show-rank、最近チェックした商品 is-history）
 * ※ .item-list はトップ・セール等で既に使われているため別名にしている
 * ※ 一覧ページの search-2018.css が .m-item-* を全体に当てているので、ここは .item-module 配下で上書きする
 *   （ブランド名・価格の font は向こうが !important のため、12px のまま）
 */

/* ///////////////////////////////////////////////////////////////////
一覧
/////////////////////////////////////////////////////////////////// */
/* 一覧をまとめる枠（search-item-lists.inc・item-detail-item-lists.inc）。
 * ブロック間の余白はこの枠の gap で取る。各ブロックは上下の余白を持たない。
 * 枠の上の余白は、直前の要素の下余白に任せる。
 * カンプ実測：前のブロックの最後の文字から次の見出し文字まで約71px */
/* 幅は固定せず外側の箱（.l-container）に合わせる：商品一覧 1140px・商品詳細 1100px。8列は崩さずカード幅が変わる */
.item-lists {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* 一覧ページでは一覧の直前がページ送り。枠の上の余白は前の要素に任せる方針なので、ページ送り側に下余白を持たせる。
 * 旧 product-group の上余白と同じ 80px（カンプ：ページ送りの文字から見出しの文字まで約95px）。
 * ページ送りは #item-search--facet の最後の子だが、親に上下の padding・枠線が無いので余白は外まで効く */
.search-condition--bottom {
  margin-bottom: 80px;
}

/* 一覧の後に来るタグ一覧（他カテゴリ・キーワード）の上。
 * 旧一覧（.list-bottom）の下余白に頼っていたので、枠を替えたら詰まった。間はブロック間と同じ値にそろえる。
 * inc 内の style が後から出るので、兄弟セレクタで詳細度を上げている */
.item-lists ~ .other-category-links-wrap,
.item-lists ~ .keyword-links-wrap {
  margin-top: 64px;
}

/* 見出し（下に線）と商品の間は gap で取る。カンプ実測：線から画像まで 21px */
.item-module {
  --item-module-cols: 8;
  --item-module-gap: 12px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin: 0;
}

.item-module-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #333;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid #dcdcdc;
}

.item-module-items {
  display: grid;
  grid-template-columns: repeat(var(--item-module-cols), minmax(0, 1fr));
  gap: 30px var(--item-module-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 順位バッジ（1〜3位は金・銀・銅）。画像の上端にかかる位置 */
.item-module.show-rank .item-module-items {
  counter-reset: item-rank;
}
.item-module.show-rank .item-module-items > li {
  position: relative;
  counter-increment: item-rank;
}
.item-module.show-rank .item-module-items > li::before {
  content: counter(item-rank);
  box-sizing: border-box;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(203, 203, 203, 0.5);
  border-radius: 50%;
  background: #fff;
  font: 400 12px/23px "Poppins", sans-serif;
  color: #333;
  text-align: center;
  position: absolute;
  top: -12px;
  left: 8px;
  z-index: 2;
}
.item-module.show-rank .item-module-items > li:nth-child(-n + 3)::before {
  border: none;
  color: #fff;
  line-height: 25px;
}
.item-module.show-rank .item-module-items > li:nth-child(1)::before {
  background: #e7bc3a;
}
.item-module.show-rank .item-module-items > li:nth-child(2)::before {
  background: #9a9893;
}
.item-module.show-rank .item-module-items > li:nth-child(3)::before {
  background: #a0783f;
}

/* 最近チェックした商品の外枠。共通 style.css の .history-item { margin: 0 auto 50px } が残っていると、
 * flex の中で左右 auto のため横に伸びず中身の幅に縮む（読み込み中に一瞬小さく、最後も 1100px にならない） */
.item-lists > .history-item {
  margin: 0;
}

/* 最近チェックした商品（historyModule が li > a > img を入れる） */
.item-module.is-history .item-module-items a {
  display: block;
}
.item-module.is-history .item-module-items img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ///////////////////////////////////////////////////////////////////
Silver Egg 版（silveregg.inc）
中身（.dv_recommend 以下）は Silver Egg の JS が生成し、インラインの幅・高さ・float が付くため !important で打ち消す
/////////////////////////////////////////////////////////////////// */
.item-module-se .dv_recommend {
  display: grid;
  grid-template-columns: repeat(var(--item-module-cols), minmax(0, 1fr));
  gap: 30px var(--item-module-gap);
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
}
.item-module-se .dv_rc_header,
.item-module-se .dv_rc_title,
.item-module-se .dv_rc_footer,
.item-module-se .dv_rc_review_img,
.item-module-se .dv_rc_review_comment_num {
  display: none !important;
}
.item-module-se .dv_rc_items {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.item-module-se .dv_rc_items a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.item-module-se .dv_rc_items a:hover {
  opacity: 0.6;
}
.item-module-se .dv_rc_img {
  margin: 0 0 12px;
}
.item-module-se .dv_rc_img img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
}
.item-module-se .dv_rc_description,
.item-module-se .dv_rc_name,
.item-module-se .dv_rc_price {
  margin: 0 0 3px;
  word-break: break-all;
  color: #333;
}
.item-module-se .dv_rc_description {
  font: 400 12px/1.5 "Poppins", sans-serif;
}
.item-module-se .dv_rc_name {
  font-size: 12px;
  line-height: 1.4;
}
.item-module-se .dv_rc_price {
  font: 400 12px/1.5 "Poppins", sans-serif;
}

/* ///////////////////////////////////////////////////////////////////
カード（item-2018.inc / item-2018-campaign.inc）
/////////////////////////////////////////////////////////////////// */
/* 一覧ページの search-2018.css は .m-item を subgrid にしているので、ここでは普通のブロックに戻す */
.item-module .m-item {
  display: block;
  position: relative;
  margin: 0;
}
.item-module .m-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.item-module .m-item a:hover {
  opacity: 0.6;
}

.item-module .m-item-image {
  position: relative;
  margin: 0 0 12px;
}
.item-module .m-item-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.item-module .m-item-soldout {
  width: 100%;
  height: 20px;
  font: 400 14px/20px "Poppins", sans-serif;
  text-align: center;
  color: #fff;
  background: #9b9b9b;
  opacity: 0.85;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* デザインに無い要素は出さない（ステータスアイコン・カテゴリ・雑誌掲載・カラー違いのポップアップ） */
.item-module .m-item-icon,
.item-module .m-item-category,
.item-module .m-item-magazine,
.item-module .popup-box {
  display: none !important;
}

.item-module .m-item-description p {
  margin: 0 0 3px;
  word-break: break-all;
  color: #333;
}

.item-module .m-item-brand {
  font: 400 12px/1.5 "Poppins", sans-serif;
}

/* 商品名は省略せず全文（一覧ページの search-2018.css の2行省略を打ち消す） */
.item-module .m-item-name {
  font-size: 12px;
  line-height: 1.4;
  max-height: none;
  margin: 0 0 3px;
  overflow: visible;
}
.item-module .m-item-name::before,
.item-module .m-item-name::after {
  content: none;
}

.item-module .m-item-price {
  font: 400 12px/1.5 "Poppins", sans-serif;
}
.item-module .m-item-price.discount {
  color: #be0d23;
}
.item-module .m-item-price.discount span + span {
  font-size: 11px;
  margin: 0 0 0 5px;
}
