@charset "utf-8";
/*
 * サイドファセット（PC・新デザイン）
 * テンプレ・フリーエリアの控え: docs/facet/（正は CMS）
 * 旧 /res/p/search/item-facet.css（.item-facet-*）とはクラスを分けている。
 */
.side-facet {
  font-family: 'Poppins', 'Yu Gothic', '游ゴシック', 'YuGothic', '游ゴシック体', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', Meiryo, メイリオ, Helvetica, Arial, sans-serif;
  color: #333;
}
.side-facet-checks,
.side-facet-links,
.side-facet-popup,
.side-facet-colors {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 一覧の上端をファセットの枠の上端に揃える（デザインどおりボタンだけ上に出す）
   64px = 絞り込みボタンの高さ 44px + 下余白 20px。ボタンの寸法を変えたらここも合わせる。
   新ファセットのあるページだけに効かせるため :has() で限定している。 */
.l-sub:has(.side-facet-lead) ~ .l-main {
  margin-top: 64px;
}

/* ブランドトップ・フロアトップ：上のバナーとの間を空ける
   旧 CLOSE THE MENU（上下の余白付き）を外して詰まったため。商品一覧の「並び替え行→ボタン」と同じ 50px。
   ファセットが .l-container の先頭にあるのはトップ系だけ（一覧は前に並び替え行がある）。 */
.l-container:has(> .l-sub:first-child .side-facet-lead) {
  margin-top: 50px;
}

/* 絞り込みボタン */
.side-facet-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 204px;
  height: 44px;
  margin: 0 auto 20px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #333;
  color: #fff;
  font: inherit;
  font-size: 15px;
  letter-spacing: .1em;
  cursor: pointer;
}
.side-facet-lead::before {
  content: '';
  width: 18px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14' fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Cpath d='M0 3.5h18M0 10.5h18'/%3E%3Cpath d='M12 1v5M6 8v5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* セクション（枠は隣り合うセクションで1本にする） */
.side-facet-section {
  border: 1px solid #dddcdd;
}
.side-facet-section + .side-facet-section {
  border-top: none;
}
.side-facet-title {
  position: relative;
  margin: 0;
  padding: 18px 26px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
}
.side-facet-toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
/* 開閉アイコン（開＝－／閉＝＋） */
.side-facet-toggle::before,
.side-facet-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 30px;
  width: 16px;
  height: 1px;
  background: #666;
  transition: transform .3s;
}
.side-facet-toggle[aria-expanded="false"]::after {
  transform: rotate(90deg);
}
.side-facet-body {
  padding-bottom: 10px;
}

/* 小見出し（WOMEN / MENS …） */
.side-facet-heading {
  margin: 0;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 50px;
}

/* 1行の共通形（販売タイプ・カテゴリー・ブランド） */
.side-facet-checks a,
.side-facet-links a {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0 55px 0 45px;
  color: #333;
  font-size: 14px;
  letter-spacing: .2em;
  line-height: 50px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-facet-checks a:hover,
.side-facet-links a:hover,
.side-facet-checks a.on,
.side-facet-links a.on {
  background: #faf5f2;
  text-decoration: none;
}

/* 販売タイプ：チェックボックス */
.side-facet-checks a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 30px;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 1px solid #969696;
  background: #fff;
}
.side-facet-checks a.on::after {
  border-color: #333;
  background: #333 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M3.5 8.2l3 3 6-6.4'/%3E%3C/svg%3E") no-repeat center / 14px;
}

/* カテゴリー・ブランド：右向き矢印 */
.side-facet-links a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 34px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: rotate(45deg);
}

/* 子カテゴリーのポップアップ（ホバー・フォーカスで表示） */
.side-facet-links > li {
  position: relative;
}
.side-facet-popup {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 10;
  width: 260px;
  border: 1px solid #dddcdd;
  background: #fff;
}
.side-facet-links > li:hover > .side-facet-popup,
.side-facet-links > li:focus-within > .side-facet-popup {
  display: block;
}
.side-facet-popup a {
  padding: 0 20px 0 25px;
  letter-spacing: .1em;
}
.side-facet-popup a::after {
  content: none;
}

/* カラー：2列の色見本 */
.side-facet-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 0;
  padding: 6px 26px 16px;
}
.side-facet-colors a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 14px;
  letter-spacing: .1em;
  white-space: nowrap;
}
.side-facet-colors a:hover {
  text-decoration: none;
  opacity: .7;
}
.side-facet-colors a::before {
  content: '';
  flex: none;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  background: #fff no-repeat center / cover;
}
.side-facet-colors a.on::before {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #333;
}
.side-facet-colors .color-0 a::before { border: 1px solid #ddd; }
.side-facet-colors .color-1 a::before { background-color: #bfbfbf; }
.side-facet-colors .color-2 a::before { background-color: #5fa05c; }
.side-facet-colors .color-3 a::before { background-color: #ffef83; }
.side-facet-colors .color-4 a::before { background-color: #755f4a; }
.side-facet-colors .color-5 a::before { background-color: #e8d9bc; }
.side-facet-colors .color-6 a::before { background-color: #eb5757; }
.side-facet-colors .color-7 a::before { background-color: #f4c1c6; }
.side-facet-colors .color-8 a::before { background-color: #bd91e0; }
.side-facet-colors .color-9 a::before { background-color: #4f7be8; }
.side-facet-colors .color-I a::before { background-color: #0c2373; }
.side-facet-colors .color-A a::before { background-image: linear-gradient(135deg, #5a5a5a, #fff 50%, #5a5a5a); }
.side-facet-colors .color-B a::before { background-color: #4a4a4a; }
.side-facet-colors .color-C a::before { background-color: #b6bca2; }
.side-facet-colors .color-D a::before { background-color: #ffab50; }
.side-facet-colors .color-E a::before { background-image: url(/res/p/img/brand/2018/bg-multi-color.png); }
.side-facet-colors .color-F a::before { background-image: linear-gradient(90deg, #e6e6e6, #9c9c9c); }
.side-facet-colors .color-G a::before { background-image: linear-gradient(90deg, #ddd3ad, #a99a62); }
.side-facet-colors .color-H a::before { background-image: url(/res/p/img/brand/2018/bg-leopard.png); }
.side-facet-colors .color-Z a::before { border: 1px dashed #ccc; }

/* 価格・割引率 */
.side-facet-range {
  margin: 0;
  padding: 0 26px 16px;
}
.side-facet-range-row + .side-facet-range-row {
  margin-top: 16px;
}
.side-facet-range-label {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: .1em;
}
.side-facet-range-fields {
  display: flex;
  align-items: center;
}
.side-facet-range-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.side-facet-range-field input {
  box-sizing: border-box;
  width: 100%;
  height: 31px;
  margin: 0;
  padding: 0 26px 0 8px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 14px;
  text-align: right;
}
.side-facet-range-unit {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}
.side-facet-range-sep {
  flex: none;
  width: 22px;
  font-size: 14px;
  text-align: center;
}
.side-facet-submit {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 20px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #333;
  color: #fff;
  font: inherit;
  font-size: 14px;
  letter-spacing: .1em;
  cursor: pointer;
}
.side-facet-submit:hover,
.side-facet-lead:hover {
  opacity: .8;
}
