@charset "utf-8";
/* ranking-section.css（PC）
   トップページのランキング（#section-ranking）と、ランキングページ（/shop/contents/ranking/）の共通部品。
   SP は smp-ranking-section.css。

   並び
   1. 全体
   2. 見出し行（タイトル、性別、年代、期間、ランキング設定ボタン、ブランド）
   3. ランキング設定モーダル（#filterSheet）
      remodal がモーダルを body 直下へ移すので、#section-ranking の子孫では指定しない
   4. カテゴリタブ
   5. ランキング一覧
   6. 下位ランキングのボタン、もっと見る、読み込み中
   7. マイブランド登録モーダル（.ranking-modalMyBrand） */

/*================================================================
  1. 全体
================================================================*/
#section-ranking {
  margin: 0 auto 70px;
}

/*================================================================
  2. 見出し行
================================================================*/
#section-ranking .section-heading-wrap {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin-bottom: 14px;
}

/* タイトル（Figma は明朝） */
#section-ranking .section-heading-wrap .section-heading {
  margin-bottom: 0 !important;
  padding-right: 10px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: bold;
}

/* 性別（.mainCate）と年代（.ageCate）のセレクト。見た目は共通、アイコンは性別だけ */
#section-ranking .mainCate,
#section-ranking .ageCate {
  position: relative;
  width: 123px;
  cursor: pointer;
}
#section-ranking .mainCate {
  margin: 0 12px 0 4px;
  --icon-url: none;
}
#section-ranking .ageCate {
  margin: 0 12px 0 0;
}
#section-ranking .mainCate::after,
#section-ranking .ageCate::after {
  content: "▼";
  font-size: 8px;
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  color: #888;
}
#section-ranking .mainCate select,
#section-ranking .ageCate select {
  appearance: none;
  width: 100%;
  height: 32px;
  line-height: 32px;
  padding-left: 15px;
  border: none;
  border-radius: 4px;
  background: #efefef;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  position: relative;
  cursor: pointer;
}

/* 性別アイコン（すべて以外のときだけ出し、その分だけ文字を右へずらす） */
#section-ranking .mainCate:has(option:not(.all):checked) select {
  padding-left: 28px;
}
#section-ranking .mainCate:has(option:not(.all):checked)::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 6px;
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  background: no-repeat center / contain var(--icon-url);
  transition: .1s;
  pointer-events: none;
}
#section-ranking .mainCate:has(option.women:checked) {
  --icon-url: url(https://media.aws.locondo.jp/contents/img/common/icon_women.svg);
}
#section-ranking .mainCate:has(option.men:checked) {
  --icon-url: url(https://media.aws.locondo.jp/contents/img/common/icon_men.svg);
}
#section-ranking .mainCate:has(option.girls:checked),
#section-ranking .mainCate:has(option.boys:checked) {
  --icon-url: url(https://media.aws.locondo.jp/contents/img/common/icon_kids.svg);
}
#section-ranking .mainCate:has(option.sports:checked) {
  --icon-url: url(https://media.aws.locondo.jp/contents/img/common/icon_sports.svg);
}
#section-ranking .mainCate:has(option.sports:checked)::before{
  top: 8px;
  left: 7px;
  width: 17px;
  height: 17px;
}

/* 見出し行の2択（トップは金額／個数、ランキングページは週間／日間）。枠で囲んだセグメントにする */
#section-ranking .section-heading-wrap .ranking-sort,
#section-ranking .section-heading-wrap .ranking-sort-period {
  display: inline-flex;
  margin-right: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}
#section-ranking .section-heading-wrap .ranking-sort input,
#section-ranking .section-heading-wrap .ranking-sort-period input {
  display: none;
}
#section-ranking .section-heading-wrap .ranking-sort label,
#section-ranking .section-heading-wrap .ranking-sort-period label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 30px;
  line-height: 30px;
  margin: 0;
  border-radius: 0;
  background-color: #fff;
  color: #999;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.08em;
  cursor: pointer;
}
#section-ranking .section-heading-wrap .ranking-sort label + input + label,
#section-ranking .section-heading-wrap .ranking-sort-period label + input + label {
  border-left: 1px solid #ccc;
}
#section-ranking .section-heading-wrap .ranking-sort input:checked + label,
#section-ranking .section-heading-wrap .ranking-sort-period input:checked + label {
  background-color: #efefef;
  color: #333;
  font-weight: bold;
}
/* 年代を選んでいるあいだは期間が週間に固定されるので触れなくする */
#section-ranking .section-heading-wrap .ranking-sort-period.-lockedByAge {
  opacity: .35;
  pointer-events: none;
}

/* ランキング設定ボタン（Figma は塗りの歯車） */
#section-ranking .filterbar .filterBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 123px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  cursor: pointer;
}
#section-ranking .filterbar .filterBtn .label {
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}
#section-ranking .filterbar .filterBtn .material-symbols-outlined {
  margin-right: .25em;
  font-size: 18px;
  color: #888;
  font-variation-settings: 'FILL' 1;
}

/* ブランド（select2）。トップには無く、ランキングページで使う。性別と年代のセレクトと同じ見た目にする */
#section-ranking .brandCate {
  margin-right: 12px;
}
/* select2 が動く前の select も、同じ見た目にしておく */
#section-ranking .brandCate select {
  appearance: none;
  width: 100%;
  height: 32px;
  padding-left: 15px;
  border: none;
  border-radius: 4px;
  background: #efefef;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}
#section-ranking .brandCate > .select2 {
  width: 180px !important;
}
#section-ranking .brandCate .select2-selection--single {
  height: 32px;
  border: none;
  border-radius: 4px;
  background: #efefef;
}
#section-ranking .brandCate .select2-selection--single .select2-selection__rendered {
  display: flex;
  align-items: center;
  padding: 0 26px 0 15px;
  line-height: 32px;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}
#section-ranking .brandCate .select2-selection__placeholder {
  color: #333;
}
#section-ranking .brandCate .select2-selection--single .select2-selection__arrow {
  height: 32px;
}
/* ブランド名と×（×は ranking-page.js が名前の後ろに足す） */
#section-ranking .brandCate .brandName {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#section-ranking .brandCate .brandClear {
  flex: 0 0 auto;
  margin-left: 4px;
  font-size: 18px;
  font-weight: normal;
  color: #888;
  cursor: pointer;
}
/* 開いた一覧（ranking-page.js が .brandCate の中に出す） */
#section-ranking .brandCate .select2-dropdown {
  min-width: 280px;
}
#section-ranking .brandCate .select2-results > .select2-results__options {
  max-height: 400px;
}
#section-ranking .brandCate .select2-search--dropdown .select2-search__field {
  padding: 6px 8px;
  font-size: 14px;
}
#section-ranking .brandCate .select2-results__option {
  padding: 8px 10px;
  font-size: 13px;
}

/*================================================================
  3. ランキング設定モーダル（#filterSheet）
================================================================*/
html:has(#filterSheet.remodal-is-opened) {
  overscroll-behavior-y: none;
  overflow: hidden;
}
#filterSheet.filterSheet {
  max-width: 420px;
  padding: 0 20px !important;
  border: none;
  background: none !important;
}
#filterSheet.filterSheet .sheetContainer {
  position: relative;
  padding: 10px 0 0 0 !important;
  border-radius: 8px;
  background: #fff !important;
}
#filterSheet.filterSheet::backdrop {
  background: rgba(0,0,0,.45);
}

/* 閉じるボタン（.ranking-modalMyBrand .closeBtn と同じ見た目） */
#filterSheet .remodal-close.closeFab {
  top: -12px;
  right: -12px;
  left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: url(//media.aws.locondo.jp/contents/img/pc/btn-modal-close.png);
  background-size: 40px;
  font-size: 0;
  color: transparent;
  cursor: pointer;
}
#filterSheet .remodal-close.closeFab:before {
  display: none;
}

/* タイトル（Figma はアイコンなし） */
#filterSheet .sheetHeader { padding: 18px 20px 8px; }
#filterSheet .titleRow { display: flex; align-items: center; gap: 8px; }
#filterSheet .titleRow .material-symbols-outlined { display: none; }
#filterSheet .sheetTitle { margin: 0; font-size: 20px; font-weight: 800; }

/* 設定の各行 */
#filterSheet .sheetBody { display: grid; gap: 10px; padding: 12px 16px 18px; }
#filterSheet .optRow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 8px 12px 12px; border-radius: 12px;
}
#filterSheet .optTexts { display: grid; gap: 6px; }
#filterSheet .optLabel { margin: 0; font-size: 16px; font-weight: 700; color: #222; }
#filterSheet .subLink { font-size: 14px; color: #1a73e8; text-decoration: underline; text-align: left; }
#filterSheet .subNote { margin: 0; font-size: 13px; color: #666; }

/* 未ログインのときはトグルを触れなくし、文字を淡くする */
#filterSheet .optRow.is-guest .optLabel { color: #999; font-weight: 700; text-align: left; }
#filterSheet .optRow.is-guest .switch { opacity: .35; pointer-events: none; }
#filterSheet .optRow.is-guest [data-role="link-loggedin"],
#filterSheet .optRow:not(.is-guest) [data-role="link-guest"] { display: none; }

/* 設定画面の2択（トップは期間、ランキングページは集計対象） */
#filterSheet .ranking-filterSort .ranking-sort,
#filterSheet .ranking-filterPeriod .ranking-sort-period { display: inline-flex; flex: 0 0 auto; margin: 0; padding: 0; }
#filterSheet .ranking-filterSort .ranking-sort input,
#filterSheet .ranking-filterPeriod .ranking-sort-period input { display: none; }
#filterSheet .ranking-filterSort .ranking-sort label,
#filterSheet .ranking-filterPeriod .ranking-sort-period label {
  display: flex; justify-content: center; align-items: center;
  width: 56px; height: 32px; margin: 0; border-radius: 28px;
  background-color: #fff; color: #666; font-size: 13px; font-weight: 600; cursor: pointer;
}
/* 選んでいる方をオレンジの丸いボタンにする（SP と同じ） */
#filterSheet .ranking-filterSort .ranking-sort input:checked + label,
#filterSheet .ranking-filterPeriod .ranking-sort-period input:checked + label { background-color: #FA7046; color: #fff; }
/* 期間の注釈は出さず、年代を選んでいるあいだは日間を薄い文字と打ち消し線にして押せなくする（SP と同じ） */
#filterSheet .ranking-filterPeriod [data-role="note-age"] { display: none; }
#filterSheet .ranking-filterPeriod.-lockedByAge .ranking-sort-period { pointer-events: none; }
#filterSheet .ranking-filterPeriod.-lockedByAge .ranking-sort-period input:not(:checked) + label { color: #ccc; text-decoration: line-through; }

/* トグルスイッチ */
#filterSheet .switch { position: relative; display: inline-flex; width: 56px; height: 32px; cursor: pointer; }
#filterSheet .switch input { position: absolute; inset: 0; opacity: 0; }
#filterSheet .switch .track {
  width: 100%; height: 100%; border-radius: 999px; background: #ddd;
  transition: background .2s ease;
}
#filterSheet .switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease;
}
#filterSheet .switch input:checked + .track { background: #fa7046; }
#filterSheet .switch input:checked + .track::after { transform: translateX(24px); }
#filterSheet .switch input:focus-visible + .track { outline: 2px solid #3b82f6; outline-offset: 2px; }

/*================================================================
  4. カテゴリタブ
================================================================*/
#section-ranking .ranking-box {
  margin-bottom: 40px;
}
#section-ranking .ranking-box > [class^="title_"] {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #eee;
}
#section-ranking .ranking-box > [class^="title_"] h4 {
  padding-right: 5px; /* カラム落ち対策 */
  white-space: nowrap;
  font-size: 18px;
  line-height: 32px;
  font-weight: bold;
  color: #444;
}
#section-ranking .ranking-box > [class^="title_"] .tab-subCate-wrap {
  flex-grow: 1;
  max-width: 100%;
  height: 32px; /* タブ 28px と上下の 2px。SP と同じ（smp-ranking-section.css） */
  padding: 0px;
  background-color: #fff;
  overflow: hidden;
}
#section-ranking .tab-subCate-scroll {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px; /* 入りきらないタブは次の段に回して隠す。段の間を空け、2段目が外側（32px）の中に見えないようにする */
  position: relative;
  padding: 2px 0 2px 10px;
}
/* サブカテのタブ。大きさ、色、間は SP と同じ（高さ 28px、文字 12px と #333、左右 12px、間 6px） */
#section-ranking .tab-subCate-scroll li {
  padding: 0 12px;
  margin-right: 6px;
  border-radius: 14px;
  background-color: #efefef;
  color: #333;
  font-size: 12px;
  line-height: 28px;
  white-space: nowrap;
  cursor: pointer;
}
#section-ranking .tab-subCate-scroll li input {
  display: none;
}
#section-ranking .tab-subCate-scroll li label {
  color: inherit;
  font-weight: normal;
  cursor: pointer;
}
#section-ranking .tab-subCate-scroll li:has(input:checked) {
  background-color: #333;
  color: #fff;
  font-weight: 600;
}
#section-ranking .tab-subCate-scroll li:has(input:checked) label {
  font-weight: bold;
}
/* 選んでいるタブの色は性別ごと */
#section-ranking .title_women .tab-subCate-scroll li:has(input:checked) {
  background-color: #e50050;
}
#section-ranking .title_men .tab-subCate-scroll li:has(input:checked) {
  background-color: #1262b2;
}
#section-ranking .title_girls .tab-subCate-scroll li:has(input:checked),
#section-ranking .title_boys .tab-subCate-scroll li:has(input:checked) {
  background-color: #fd8f25;
}
#section-ranking .title_sports .tab-subCate-scroll li:has(input:checked) {
  background-color: #13bab6;
}

/* 季節ごとのタブの並び替え（各 li には前から順に order:1、2、3…が自動で付く） */
/* 春夏（.ss） */
#section-ranking.ss #ranking-box01 .title_women .tab-subCate-scroll li:nth-of-type(4) {
  order: 3 !important; /* サンダルをスニーカーの次へ */
}
#section-ranking.ss #ranking-box01 .title_women .tab-subCate-scroll li:nth-of-type(5) {
  order: 100 !important; /* ブーツを最後へ */
}
/* 秋冬（.aw） */
#section-ranking.aw #ranking-box02 .title_women .tab-subCate-scroll li:nth-of-type(6) {
  order: 1 !important; /* アウターを ALL の次へ */
}
#section-ranking.aw #ranking-box01 .title_women .tab-subCate-scroll li:nth-of-type(5) {
  order: 3 !important; /* ブーツをスニーカーの次へ */
}
#section-ranking.aw #ranking-box01 .title_women .tab-subCate-scroll li:nth-of-type(4) {
  order: 100 !important; /* サンダルを最後へ */
}

/*================================================================
  5. ランキング一覧
================================================================*/
/* 並び数（先頭4件は4列、5件目から6列） */
#section-ranking .catalogList {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px 1px; /* 商品ユニットの上下の間 24px、左右の間 1px */
  width: 100%;
}
#section-ranking .catalogList > li {
  width: calc((100% - 3px) / 4);
  max-width: calc((920px - 3px) / 4);
}
#section-ranking .catalogList > li:nth-of-type(n+5) {
  width: calc((100% - 5px) / 6);
  max-width: calc((920px - 5px) / 6);
}

/* 表示件数（ボックス1と2は16件、3〜6は10件。展開すると全件） */
#section-ranking #ranking-box01__list .catalogList > li:nth-of-type(n+17),
#section-ranking #ranking-box02__list .catalogList > li:nth-of-type(n+17) {
  display: none;
}
#section-ranking #ranking-box01__list.-visibleAll .catalogList > li:nth-of-type(n+17),
#section-ranking #ranking-box02__list.-visibleAll .catalogList > li:nth-of-type(n+17) {
  display: block;
}
#section-ranking #ranking-box03__list .catalogList > li:nth-of-type(n+11),
#section-ranking #ranking-box04__list .catalogList > li:nth-of-type(n+11),
#section-ranking #ranking-box05__list .catalogList > li:nth-of-type(n+11),
#section-ranking #ranking-box06__list .catalogList > li:nth-of-type(n+11) {
  display: none;
}
#section-ranking #ranking-box03__list.-visibleAll .catalogList > li:nth-of-type(n+11),
#section-ranking #ranking-box04__list.-visibleAll .catalogList > li:nth-of-type(n+11),
#section-ranking #ranking-box05__list.-visibleAll .catalogList > li:nth-of-type(n+11),
#section-ranking #ranking-box06__list.-visibleAll .catalogList > li:nth-of-type(n+11) {
  display: block;
}

/* 性別ごとの件数 */
/* スポーツのボックス1と2 */
#section-ranking[data-gender="sports"] #ranking-box01__list .catalogList > li:nth-of-type(n+11),
#section-ranking[data-gender="sports"] #ranking-box02__list .catalogList > li:nth-of-type(n+11) {
  display: none;
}
#section-ranking[data-gender="sports"] #ranking-box01__list.-visibleAll .catalogList > li:nth-of-type(n+11),
#section-ranking[data-gender="sports"] #ranking-box02__list.-visibleAll .catalogList > li:nth-of-type(n+11) {
  display: block;
}

/* 対象アイテムがないとき */
#section-ranking .catalogList li.noitem {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 70px 0 20px;
  text-align: center;
  font-size: 16px;
  color: #888;
}

/* マイブランド、ミュートのボタン（ログイン時だけ出す）。位置は catalogList_template.css が決める */
#section-ranking .catalogList .catalog-myBrandBtnSet {
  display: none;
}
#section-ranking .-login .catalogList .catalog-myBrandBtnSet {
  display: inline-flex;
}
#section-ranking .catalogList .catalog-myBrandBtnSet span {
  cursor: pointer;
}
#section-ranking .catalog-myBrandBtnSet span i {
  display: block;
  width: 26px;
  height: 26px;
  background-image: url('//media.aws.locondo.jp/contents/img/common/topPage/icon_ranking_btnMyBrand.png');
  background-size: 100%;
  cursor: pointer;
}
#section-ranking .catalog-myBrandBtnSet .btn_addMuteBrand i {
  background-image: url('//media.aws.locondo.jp/contents/img/common/topPage/icon_ranking_btnMuteBrand.png');
}
#section-ranking .catalog-myBrandBtnSet span i:hover {
  opacity: .7;
}

/* 商品カード（共通テンプレート #catalogList_template で描く）。
   カードは検索一覧と同じ共通の見た目にし、順位のバッジと画像の縦横比だけランキングの形にする */
#section-ranking .catalogList > .catalogList_item {
  position: relative;
  overflow: hidden;
  margin: 0;
}
#section-ranking .catalogList_item > a {
  display: block;
  padding-bottom: 0;
  color: #000;
  text-decoration: none;
}
/* ランキングはカードに乗せても文字を薄くしない（共通の CSS の薄くする指定を打ち消す） */
#section-ranking .catalogList_item > a:hover .product-text > *,
#section-ranking .catalogList_item > a:hover .product-text .priceLine > * {
  opacity: 1;
}
/* 画像（靴などは 1:1、アパレル（.-rectangleCate）は 5:7。共通の CSS は --ratio で比率を持つ） */
#section-ranking .catalogList_item .product-image {
  --ratio: 1/1;
  display: block;
  width: 100%;
  height: auto;
  background-color: transparent;
}
#section-ranking .-rectangleCate .catalogList_item .product-image {
  --ratio: 5/7;
  overflow: hidden;
}
#section-ranking .catalogList_item .product-image img {
  display: inline;
  max-width: none;
  width: 140%;
  height: auto;
  margin-left: -20%;
}
#section-ranking .-squareCate .catalogList_item .product-image img,
#section-ranking .catalogList_item.-square .product-image img {
  width: 100%;
  margin-left: 0;
}
/* 順位のバッジ（共通テンプレートは style で隠しているので !important で出す） */
#section-ranking .catalogList_item .badge {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2; /* 画像のグレーの層より上に出す */
  width: 25px;
  height: 25px;
  border: none;
  background: none !important;
  text-align: center;
  line-height: 25px;
  font-size: 12px;
}
#section-ranking .catalogList_item .badge em {
  position: absolute;
  top: -2px;
  left: 0;
  z-index: 2;
  display: inline-block;
  width: 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  color: #fff;
}
#section-ranking .catalogList_item .badge::after {
  content: "";
  display: block;
  border-top: 16px solid rgba(0, 0, 0, 0.2);
  border-right: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 16px solid rgba(0, 0, 0, 0.2);
}
#section-ranking .catalogList_item:nth-child(1) .badge::after {
  border-top-color: #c2aa62;
  border-left-color: #c2aa62;
}
#section-ranking .catalogList_item:nth-child(2) .badge::after {
  border-top-color: #b1b1b5;
  border-left-color: #b1b1b5;
}
#section-ranking .catalogList_item:nth-child(3) .badge::after {
  border-top-color: #b9886d;
  border-left-color: #b9886d;
}
/* 文字（ブランド名、商品名、価格）の大きさ、太さ、行の高さ、色、間は catalogList_template.css の「1. テキスト」の基本のまま。
   ここは左右の余白と、アイコンを出さないことだけ */
#section-ranking .catalogList_item .product-text {
  padding-right: 8px;
  padding-left: 8px; /* 隣の商品の文字と近づきすぎないように */
  font-size: 12px; /* カードの中の文字の基準の大きさ（ブランド名、商品名、価格の大きさは catalogList_template.css が持つ） */
  line-height: 1.5;
}
#section-ranking .catalogList_item .product-icon {
  display: none;
}

/* ミュートの × とマイブランドのハート（ログイン時だけ出す）。形と配置は catalogList_template.css の「0. カードの基本構造」。
   × は JS（putCommonCards）が足す */
#section-ranking .catalogList_item .trgMute {
  display: none;
}
#section-ranking .-login .catalogList_item .trgMute {
  display: block;
}
#section-ranking .catalogList_item .catalog-myBrandBtnSet .btn_addMuteBrand {
  display: none; /* ミュートは上の × で出す */
}
#section-ranking .catalogList_item .catalog-myBrandBtnSet .btn_addMyBrand {
  margin-right: 0;
}
#section-ranking .-login .catalogList_item .catalog-myBrandBtnSet {
  visibility: visible !important; /* 共通テンプレートは style で隠している */
  right: -5px; /* ハート（26px 角）の中心を ×（16px 角）の中心にそろえる */
}
/* ハートの絵は 130%（SP と同じ）。乗せて反応する範囲は 26px 角のまま */
#section-ranking .catalogList_item .catalog-myBrandBtnSet .btn_addMyBrand i {
  background-position: center;
  background-size: 130%;
  opacity: .6; /* 通常時は少し薄くする */
  transition: opacity .2s ease, filter .2s ease;
}
/* 乗せたら濃くする（上の「0.7 に薄くする」を打ち消す。検索一覧のクイックビューと同じ） */
#section-ranking .catalogList_item .catalog-myBrandBtnSet .btn_addMyBrand i:hover {
  opacity: 1;
  filter: brightness(.5);
}

/*================================================================
  6. 下位ランキングのボタン、もっと見る、読み込み中
================================================================*/
#section-ranking .btn-visibleAll {
  margin-top: 20px;
}
#section-ranking .btn-visibleAll span.min,
#section-ranking .btn-visibleAll span.max {
  display: inline;
  line-height: 1;
}
#section-ranking .catalog-list__wrap .ranking-moreLink {
  display: none;
  margin-top: 40px;
  text-align: center;
}
#section-ranking .catalog-list__wrap .ranking-moreLink a {
  font-size: 14px;
  font-weight: bold;
  color: #fa7064;
  text-decoration: none;
}
#section-ranking .catalog-list__wrap .ranking-moreLink a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#section-ranking .catalog-list__wrap .ranking-moreLink.-disable {
  display: none !important;
}
#section-ranking .catalog-list__wrap.-visibleAll {
  margin-bottom: 60px;
}
#section-ranking .catalog-list__wrap.-visibleAll .ranking-moreLink {
  display: block;
}
#section-ranking .catalog-list__wrap.-visibleAll .btn-visibleAll {
  display: none !important;
}

/* 読み込み中（初回） */
#section-ranking .catalogList .loadingImg {
  display: flex;
  justify-content: center;
  width: 100% !important;
  max-width: 920px !important;
}
/* 読み込み中（引き直し）。一覧をぼかしてローダーを重ねる */
#section-ranking .catalog-list__wrap.-reloading {
  position: relative;
}
#section-ranking .catalog-list__wrap.-reloading ul,
#section-ranking .catalog-list__wrap.-reloading .btn-visibleAll {
  filter: blur(1px);
}
#section-ranking .catalog-list__wrap.-reloading:before {
  content: url('//media.aws.locondo.jp/contents/img/sp/top/top_loader.gif');
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  mix-blend-mode: multiply;
}
#section-ranking .catalog-list__wrap.-reloading:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: .5;
}

/*================================================================
  7. マイブランド登録モーダル（.ranking-modalMyBrand）
================================================================*/
/* 出し分け（マイブランド／ミュート × 未登録／登録済み） */
.ranking-modalMyBrand.-myBrand.-myBrand-able .content-myBrand,
.ranking-modalMyBrand.-myBrand.-myBrand-already .content-myBrand-already,
.ranking-modalMyBrand.-muteBrand.-muteBrand-able .content-muteBrand,
.ranking-modalMyBrand.-muteBrand.-muteBrand-already .content-muteBrand-already {
  display: block !important;
}

/* 外枠（画面全体に広げ、中身を真ん中に置く） */
.ranking-modalMyBrand {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  margin-bottom: 4px;
  padding: 0 !important;
  background-color: transparent;
}
.ranking-modalMyBrand .inner {
  position: relative;
  width: 500px;
  padding: 36px;
  border-radius: 8px;
  background-color: #fff;
}
.ranking-modalMyBrand .closeBtn {
  display: block;
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  background: url(//media.aws.locondo.jp/contents/img/pc/btn-modal-close.png);
  background-size: 40px;
  cursor: pointer;
}
.ranking-modalMyBrand:not(.remodal) .closeBtn {
  display: none;
}

/* 文字 */
.ranking-modalMyBrand p {
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: #333;
}
.ranking-modalMyBrand .heading {
  margin-bottom: 4px;
}
.ranking-modalMyBrand.-myBrand.-myBrand-already .heading,
.ranking-modalMyBrand.-muteBrand.-muteBrand-already .heading {
  margin-bottom: 16px;
}
.ranking-modalMyBrand .heading-brandName {
  margin-right: 0.3em;
  font-weight: 600;
}
.ranking-modalMyBrand .text {
  margin-bottom: 20px;
  font-size: 12px;
  color: #888;
}

/* アイコン（マイブランドが既定、ミュートは画像と幅を差し替える） */
.ranking-modalMyBrand i {
  display: inline-block;
  position: relative;
  top: 2px;
  width: 1em;
  height: 1em;
  margin-right: .1em;
  background-image: url('https://media.aws.locondo.jp/contents/img/common/topPage/icon_ranking_btnMyBrand.png');
  background-size: 200%;
  background-position: center center;
}
.ranking-modalMyBrand section[class^="content-"] i {
  vertical-align: middle;
  top: -2px;
  margin-right: 2px;
  color: #666;
}
/* ミュートの見出しには絵柄を出さない（HTML の <i> はトップの pc.html に残っている） */
.ranking-modalMyBrand :is(.content-muteBrand, .content-muteBrand-already) i {
  display: none;
}

/* ボタン */
.ranking-modalMyBrand .btnSet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
}
.ranking-modalMyBrand .btnSet button {
  appearance: none;
  display: inline-block;
  width: 60%;
  height: 3em;
  margin: 0 6px 1em;
  padding: 0;
  border: none;
  border-radius: 4px;
  outline: none;
  background-color: #fa7046;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.ranking-modalMyBrand .btnSet button.-cancel {
  border: 1px solid #ccc;
  background-color: #fff;
  color: #666;
}
.ranking-modalMyBrand .btnSet a {
  display: inline-block;
  width: 10em;
  height: 3em;
  margin: 0 6px;
  border-radius: 4px;
  background-color: #c03;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 3em;
}
