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

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

/*================================================================
  1. 全体
================================================================*/
#section-ranking {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: 1px solid #fff;
  overflow: visible !important;
}

/*================================================================
  2. 見出し行
================================================================*/
#section-ranking .section-heading-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 14px;
}

/* タイトル（Figma は明朝） */
#section-ranking .section-heading-wrap .section-heading {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

/* 性別、年代、ランキング設定ボタンを1行に同じ幅で並べる */
#section-ranking .section-heading-wrap .mainCate,
#section-ranking .section-heading-wrap .ageCate,
#section-ranking .section-heading-wrap .filterbar {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
#section-ranking .section-heading-wrap .mainCate,
#section-ranking .section-heading-wrap .ageCate {
  position: relative;
  margin: 0 9px 0 0;
}
#section-ranking .section-heading-wrap .mainCate {
  --icon-url: none;
}

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

/* 性別アイコン（すべて以外のときだけ出し、その分だけ文字を右へずらす） */
#section-ranking .mainCate:has(option:not(.all):checked) select {
  padding-left: 30px;
}
#section-ranking .mainCate:has(option:not(.all):checked)::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 3px;
  z-index: 1;
  display: block;
  width: 28px;
  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);
}

/* ランキング設定ボタン（Figma は塗りの歯車） */
#section-ranking .section-heading-wrap .filterbar {
  display: inline-block;
  margin: 0;
}
#section-ranking .section-heading-wrap .filterbar .filterBtn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 32px;
  padding: 0 4px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: #333;
}
#section-ranking .section-heading-wrap .filterbar .filterBtn .label {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}
#section-ranking .section-heading-wrap .filterbar .filterBtn .material-symbols-outlined {
  margin-right: 2px;
  font-size: 18px;
  color: #999;
  font-variation-settings: 'FILL' 1;
}

/* ブランド（select2）。トップには無く、ランキングページで使う。最後の1行に全幅で置き、性別と年代のセレクトと同じ見た目にする */
#section-ranking .brandCate {
  order: 10;
  flex-basis: 100%;
  margin-top: 9px;
}
/* select2 が動く前の select も、同じ見た目にしておく */
#section-ranking .brandCate select {
  appearance: none;
  width: 100%;
  height: 32px;
  padding-left: 10px;
  border: none;
  border-radius: 3px;
  background: #efefef;
  color: #333;
  font-size: 12px;
  font-weight: 600;
}
#section-ranking .brandCate > .select2 {
  width: 100% !important;
}
#section-ranking .brandCate .select2-selection--single {
  height: 32px;
  border: none;
  border-radius: 3px;
  background: #efefef;
}
#section-ranking .brandCate .select2-selection--single .select2-selection__rendered {
  display: flex;
  align-items: center;
  padding: 0 26px 0 10px;
  line-height: 32px;
  color: #333;
  font-size: 12px;
  font-weight: 600;
}
#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-results > .select2-results__options {
  max-height: 240px;
}
#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 !important;
}
#filterSheet.filterSheet {
  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; }
/* アプリではログインへのリンクを押せなくする */
[data-displayMode="app"] #filterSheet .optRow [data-role="link-guest"] { color: #999; text-decoration: none; pointer-events: none; }

/* 期間の注釈（年代を選んでいるときは週間のみ）は出さない。固定されたことはボタンの見た目で伝える（下） */
#filterSheet .ranking-filterPeriod [data-role="note-age"] { display: none; }

/* 期間と集計対象の2択ボタン。選んでいる方をオレンジの丸いボタンにする */
#filterSheet .ranking-filterPeriod .ranking-sort-period,
#filterSheet .ranking-filterSort .ranking-sort { display: inline-flex; flex: 0 0 auto; margin: 0; padding: 0; }
#filterSheet .ranking-filterPeriod .ranking-sort-period input,
#filterSheet .ranking-filterSort .ranking-sort input { display: none; }
#filterSheet .ranking-filterPeriod .ranking-sort-period label,
#filterSheet .ranking-filterSort .ranking-sort 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;
}
#filterSheet .ranking-filterPeriod .ranking-sort-period input:checked + label,
#filterSheet .ranking-filterSort .ranking-sort input:checked + label { background-color: #FA7046; color: #fff; }
/* 年代を選んでいるあいだは期間が週間に固定される。週間はオレンジのまま、日間は薄い文字に打ち消し線を引いて押せなくする */
#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; }
#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;
}
/* トップのランキングでは、見出し行（カテゴリ名とサブカテのタブ）をそのカテゴリを見ている間ヘッダーの下に付いてこさせる。
   位置（--rankingStickyTop）は sp-top-locondo.js がヘッダーの高さから決める。ランキングページは smp-ranking-page.css */
#topPage_ranking .ranking-box > [class^="title_"] {
  position: sticky;
  top: var(--rankingStickyTop, 0px);
  z-index: 10; /* ヘッダー（.fixheader の 20）より下 */
  background-color: #fff;
}
#section-ranking .ranking-box > [class^="title_"] h4 {
  padding: 0 10px;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.75;
  font-weight: bold;
  color: #444;
}
#section-ranking .ranking-box > [class^="title_"] .tab-subCate-wrap {
  flex-grow: 1;
  max-width: 100%;
  padding: 0px;
  background-color: #fff;
  overflow: auto;
  -ms-overflow-style: none; /* edge */
  scrollbar-width: none; /* firefox */
}
#section-ranking .ranking-box > [class^="title_"] .tab-subCate-wrap::-webkit-scrollbar {
  display: none;
}
#section-ranking .tab-subCate-scroll {
  display: flex;
  position: relative;
  padding: 2px 0;
}
/* サブカテのタブ。高さ 28px は指で押しやすい大きさ。文字 11px はメルカリに合わせ、上下の余白を空ける */
#section-ranking .tab-subCate-scroll li {
  padding: 0 12px;
  margin-right: 6px;
  border-radius: 14px;
  background-color: #efefef;
  color: #333;
  font-size: 11px;
  line-height: 28px;
  white-space: nowrap;
}
#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. ランキング一覧（3列）
================================================================*/
#section-ranking .catalogList {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px 1px; /* 商品ユニットの上下の間 24px、左右の間 1px */
  margin: 0;
  padding: 0;
}
#section-ranking .catalogList li {
  position: relative;
  width: calc((100% - 2px) / 3);
}

/* 表示件数（最大30件。ボックス1と2は15件、3〜6は9件。展開すると全件） */
#section-ranking .catalogList > li:nth-child(n + 31) {
  display: none;
}
#section-ranking #ranking-box01__list .catalogList > li:nth-of-type(n+16),
#section-ranking #ranking-box02__list .catalogList > li:nth-of-type(n+16) {
  display: none;
}
#section-ranking #ranking-box01__list.-visibleAll .catalogList > li:nth-of-type(n+16),
#section-ranking #ranking-box02__list.-visibleAll .catalogList > li:nth-of-type(n+16) {
  display: block;
}
#section-ranking #ranking-box03__list .catalogList > li:nth-of-type(n+10),
#section-ranking #ranking-box04__list .catalogList > li:nth-of-type(n+10),
#section-ranking #ranking-box05__list .catalogList > li:nth-of-type(n+10),
#section-ranking #ranking-box06__list .catalogList > li:nth-of-type(n+10) {
  display: none;
}
#section-ranking #ranking-box03__list.-visibleAll .catalogList > li:nth-of-type(n+10),
#section-ranking #ranking-box04__list.-visibleAll .catalogList > li:nth-of-type(n+10),
#section-ranking #ranking-box05__list.-visibleAll .catalogList > li:nth-of-type(n+10),
#section-ranking #ranking-box06__list.-visibleAll .catalogList > li:nth-of-type(n+10) {
  display: block;
}
/* スポーツのボックス1と2 */
#section-ranking[data-gender="sports"] #ranking-box01__list .catalogList > li:nth-of-type(n+10),
#section-ranking[data-gender="sports"] #ranking-box02__list .catalogList > li:nth-of-type(n+10) {
  display: none;
}
#section-ranking[data-gender="sports"] #ranking-box01__list.-visibleAll .catalogList > li:nth-of-type(n+10),
#section-ranking[data-gender="sports"] #ranking-box02__list.-visibleAll .catalogList > li:nth-of-type(n+10) {
  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;
}

/* 商品 */
#section-ranking .catalogList li .badge {
  width: 17px;
  height: 17px;
}
#section-ranking .catalogList .catalog-campaignGroup .catalog-campaignItem {
  width: auto;
}
/* マイブランド、ミュートのボタン（ログイン時だけ出す）。位置は catalogList_template.css が決める。
   .section-ranking で指定しているものは、ほかの CSS との優先順位をそろえるため */
#section-ranking .catalogList .catalog-myBrandBtnSet {
  display: none;
}
#section-ranking .-login .catalogList .catalog-myBrandBtnSet {
  display: inline-flex;
}
.section-ranking .catalogList .catalog-myBrandBtnSet .btn_addMyBrand {
  margin-right: 4px;
}
.section-ranking .catalogList .catalog-myBrandBtnSet span i {
  display: block;
  width: 26px;
  height: 26px;
  background-image: url('https://media.aws.locondo.jp/contents/img/common/topPage/icon_ranking_btnMyBrand.png');
  background-size: 130%;
  background-position:center;
}
.section-ranking .catalogList .catalog-myBrandBtnSet .btn_addMuteBrand i {
  background-image: url('https://media.aws.locondo.jp/contents/img/common/topPage/icon_ranking_btnMuteBrand.png');
}

/* 商品カード（共通テンプレート #catalogList_template で描く）。
   カードは検索一覧と同じ共通の見た目にし、順位のバッジと画像の縦横比だけランキングの形にする */
#section-ranking .catalogList > .catalogList_item {
  position: relative;
  overflow: hidden;
}
#section-ranking .catalogList_item > a {
  display: block;
  padding-bottom: 0;
  color: #333;
  text-decoration: none;
}
/* 画像（靴などは 1:1、アパレルは 5:7）。切り方は catalogList_template.css の「2. 画像トリミング」のまま、比率だけ変える */
#section-ranking .catalogList_item .product-image {
  --ratio: 5/7;
  background-color: #fff;
}
#section-ranking .-squareCate .catalogList_item .product-image {
  --ratio: 1/1;
}
/* 順位のバッジ（共通テンプレートは style で隠しているので !important で出す。大きさは上の li .badge の 17px が効く） */
#section-ranking .catalogList_item .badge {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2; /* 画像のグレーの層より上に出す */
  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: 6px;
  padding-left: 6px; /* 隣の商品の文字と近づきすぎないように。上は共通カードの 10px、商品ユニットの上下の間は .catalogList の row-gap で持つ */
  font-size: 12px; /* カードの中の文字の基準の大きさ（ブランド名、商品名、価格の大きさは catalogList_template.css が持つ） */
  line-height: 1.5;
}
#section-ranking .catalogList_item .product-text .brandName {
  width: calc(100% - 20px); /* 右端の × の分をあける（× は 25px 幅で、右に 5px はみ出す） */
  padding-right: 0;
}
#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;
  -webkit-tap-highlight-color: transparent;
}
#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: -4px; /* ハート（26px 角）の中心を × の絵柄の中心にそろえる */
}
/* ハートは PC と同じく、通常時は少し薄くする */
#section-ranking .catalogList_item .catalog-myBrandBtnSet .btn_addMyBrand i {
  opacity: .6;
}

/*================================================================
  6. 下位ランキングのボタン、もっと見る、読み込み中
================================================================*/
/* 一覧の下の「16〜30位」と「ランキングをもっと見る」は、出ているときだけ一覧との間を取るので、上に持たせる
   （一覧の下に持たせると、どちらも出ていないときに次のカテゴリとの間が広がる） */
#section-ranking .btn-visibleAll {
  display: none; /* JS で出す */
  margin-top: 24px; /* 商品ユニットの上下の間と同じ */
  text-align: center;
}
#section-ranking .btn-visibleAll > span {
  display: inline-block;
  width: calc(100% - 30px);
  border: 1px solid #999;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 44px;
  text-align: center;
  color: #333;
}
#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: 24px;
  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 .ranking-moreLink {
  display: block;
}
#section-ranking .catalog-list__wrap.-visibleAll .btn-visibleAll {
  display: none !important;
}
/* 最下部の「ランキング一覧」ボタン */
#section-ranking > .top-commonbtn {
  margin-top: -20px;
}

/* 読み込み中（初回） */
#section-ranking .catalogList li.loadingImg {
  display: flex;
  justify-content: center;
  width: 100% !important;
  padding-top: 40px;
}
/* 読み込み中（引き直し）。一覧をぼかしてローダーを重ねる */
#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;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  background-color: transparent;
}
.ranking-modalMyBrand .inner {
  position: relative;
  box-sizing: border-box;
  width: 88%;
  padding: 24px;
  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 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;
  vertical-align: middle;
  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;
  color: #666;
}
/* ミュートの見出しには絵柄を出さない（HTML の <i> はトップの sp.html に残っている） */
.ranking-modalMyBrand :is(.content-muteBrand, .content-muteBrand-already) i {
  display: none;
}

/* ボタン */
.ranking-modalMyBrand .btnSet {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ranking-modalMyBrand .btnSet button {
  appearance: none;
  box-sizing: border-box;
  display: inline-block;
  width: 80%;
  height: 3em;
  margin: 0 6px 1em;
  padding: 0;
  border: none;
  outline: none;
  background-color: #fa7046;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.ranking-modalMyBrand .btnSet button.-cancel {
  border: 1px solid #888;
  background-color: #fff;
  color: #666;
}
