/* Ranking page (ranking.html) — page-specific styles */

body.page-ranking { background: var(--color-black); font-family: 'Noto Sans JP', var(--font-display), sans-serif; }

/* ===== Hero ===== */
.ranking-hero { padding: 80px 0 60px; background-image: url('../../img/marble-dark.jpg'); }
.ranking-hero .marble-section__overlay { background: rgba(12, 12, 12, 0.85); }
/* .ranking-hero__title { font-size: clamp(1.8rem, 5vw, 2.8rem); } */
.ranking-hero__title { font-family: var(--font-display), 'Noto Serif JP', serif; font-size: clamp(2rem, 7.4vw, 3rem); font-weight: 300; letter-spacing: 0.14em; text-indent: 0.14em; color: #fff; margin-bottom: 22px; }

/* Hero: eyebrow と 罫線（中央にゴールドの菱形）をスクショに合わせて調整 */
.ranking-hero .page-hero__eyebrow { font-family: var(--font-display); font-size: 0.82rem; font-weight: 400; letter-spacing: 0.42em; text-indent: 0.42em; color: var(--color-gold); margin-bottom: 18px; }
.ranking-hero .page-hero__rule {
  position: relative;
  width: min(340px, 78%);
  height: 1px;
  margin: 0 auto 28px;
  border: 0;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.9) 34%, rgba(212, 175, 55, 0) 46%, rgba(212, 175, 55, 0) 54%, rgba(212, 175, 55, 0.9) 66%, rgba(212, 175, 55, 0) 100%);
}
.ranking-hero .page-hero__rule::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid var(--color-gold);
}
/* .ranking-hero__lead { font-size: 0.85rem; color: var(--color-text-cream); line-height: 2; font-weight: 300; max-width: 500px; margin: 0 auto; } */
.ranking-hero__lead { font-size: 0.92rem; color: rgba(255, 255, 255, 0.95); line-height: 2; font-weight: 400; max-width: 500px; margin: 0 auto; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }

/* ===== All rankings wrapper ===== */
.ranking-content { padding-top: 60px; padding-bottom: 100px; }
/* ヘッダー＋追従ナビの分は html の scroll-padding-top（base.css）で下がるので、ここは見出しの上の余白だけ。
   （以前はヘッダー64px込みで120px） */
.ranking-group { margin-bottom: 80px; scroll-margin-top: 56px; }

/* ===== Period tabs (daily / weekly / monthly) ===== */
.ranking-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
/* 旧タブスタイル（アイコン＋2段表示に変更したため無効化。戻す場合はこのコメントを外す）
.ranking-tab {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.ranking-tab:hover { color: var(--color-text-cream); border-color: var(--color-gold); }
.ranking-tab.is-active { color: var(--color-black); background: var(--color-gold); border-color: var(--color-gold); font-weight: 600; }
*/

.ranking-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 0;
  max-width: 210px;
  font-family: 'Noto Sans JP', var(--font-display), sans-serif;
  color: var(--color-text-cream);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* 子要素でクリックが止まらないように(JS側の data-period 判定対策) */
.ranking-tab > * { pointer-events: none; }
.ranking-tab__icon { flex-shrink: 0; width: 22px; height: 22px; }
.ranking-tab__icon svg { display: block; width: 100%; height: 100%; }
.ranking-tab__text { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.ranking-tab__ja { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.12em; }
.ranking-tab__en { font-family: var(--font-display); font-size: 0.6rem; letter-spacing: 0.18em; opacity: 0.7; }
.ranking-tab:hover { color: #fff; border-color: var(--color-gold); background: rgba(212, 175, 55, 0.08); }
.ranking-tab.is-active {
  color: var(--color-black);
  background: linear-gradient(135deg, var(--color-gold) 0%, #f5e2a0 50%, var(--color-gold) 100%);
  border-color: var(--color-gold);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.ranking-tab.is-active .ranking-tab__en { opacity: 0.85; }
.ranking-panel { display: none; }
.ranking-panel.is-active { display: block; }

/* ===== Month navigation (マンスリーの 当月 <-> 前月 送り) ===== */
/* 3カラムgridで中央を固定。年またぎで「2026年12月」と長くなってもタイトルがずれない */
.ranking-month-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; max-width: 600px; margin: 0 auto 24px; }
.ranking-month-nav__current { grid-column: 2; text-align: center; font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.08em; color: var(--color-text-cream); }
.ranking-month-nav__btn--prev { grid-column: 1; justify-self: start; }
.ranking-month-nav__btn--next { grid-column: 3; justify-self: end; }
.ranking-month-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.ranking-month-nav__btn:hover { color: var(--color-gold); border-color: var(--color-gold); }
.ranking-month-nav__arrow { font-size: 1rem; line-height: 1; }
.ranking-group__head { text-align: center; margin-bottom: 40px; }
.ranking-group__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.1em; margin-bottom: 8px; }
.ranking-group__desc { font-size: 0.82rem; color: var(--color-text-muted); font-weight: 300; }
.ranking-group__rule { width: 40px; height: 1px; background: var(--color-gold); margin: 16px auto 0; }

/* ===== Podium (top 3) ===== */
/* ※ point_ranking では未使用（index.php 側でコメントアウト中）。
   ただし various_ranking が現役で使用しているため削除不可（ranking_new / ranking_repeat は下の .ranking-row に移った） */
.ranking-podium { display: flex; justify-content: center; align-items: flex-end; gap: 16px; max-width: 800px; margin: 0 auto 32px; }
.ranking-podium__item { flex: 1; max-width: 220px; text-align: center; display: block; text-decoration: none; color: inherit; }
.ranking-podium__item--first { flex: 1.3; max-width: 280px; }
.ranking-podium__photo-wrap { position: relative; margin: 0 auto 12px; width: 140px; height: 180px; }
.ranking-podium__item--first .ranking-podium__photo-wrap { width: 180px; height: 220px; }
.ranking-podium__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(12, 12, 12, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #a8a8a8;
}
.ranking-podium__badge span { font-family: var(--font-display); font-size: 0.7rem; color: #d4d4d4; font-weight: 600; }
.ranking-podium__badge--gold { border-color: var(--color-gold); }
.ranking-podium__badge--gold span { color: var(--color-gold); }
.ranking-podium__badge--bronze { border-color: #b87333; }
.ranking-podium__badge--bronze span { color: #d4a06a; }
.ranking-podium__badge .ranking-trend { font-size: 1rem; font-weight: 700; line-height: 1; }
.ranking-podium__badge .ranking-trend--up { color: #7cc37f; }
.ranking-podium__badge .ranking-trend--down { color: #e08787; }
.ranking-podium__badge .ranking-trend--stable { color: var(--color-text-muted); }
.ranking-podium__frame {
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(135deg, #a8a8a8 0%, #d4d4d4 50%, #a8a8a8 100%);
  transition: transform 0.3s ease;
}
.ranking-podium__frame--gold { background: linear-gradient(135deg, var(--color-gold) 0%, #f0d68a 50%, var(--color-gold) 100%); }
.ranking-podium__frame--bronze { background: linear-gradient(135deg, #b87333 0%, #d4a06a 50%, #b87333 100%); }
.ranking-podium__item:hover .ranking-podium__frame { transform: scale(1.05); }
.ranking-podium__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.ranking-podium__name { font-family: var(--font-display); font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 4px; }
.ranking-podium__item--first .ranking-podium__name { font-size: 1.2rem; }
.ranking-podium__meta { font-size: 0.7rem; color: var(--color-text-muted); margin-bottom: 4px; }
.ranking-podium__tag { font-size: 0.72rem; color: var(--color-gold); font-weight: 400; }
.ranking-podium__points { font-size: clamp(0.75rem, 2.4vw, 1rem); color: var(--color-text-cream); font-weight: 600; margin-top: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranking-podium__points span { font-size: 0.68rem; color: var(--color-text-muted); font-weight: 300; margin-left: 2px; }

/* 同率で表彰台の人数が増えたとき（3位以内が4人以上、または1位が2人以上）だけ --multi が付く。
   今までの形と old_point_ranking の表彰台には効かせないので、指定はすべて --multi の下に書く。
   順位順に左から並べ、入りきらなければ折り返す。1位は同率で何人いても大きく出す（--first）。 */
.ranking-podium--multi { flex-wrap: wrap; row-gap: 24px; }
.ranking-podium--multi .ranking-podium__item { flex: 0 0 156px; max-width: none; }
.ranking-podium--multi .ranking-podium__item--first { flex-basis: 196px; }

/* ===== Ranking list (1位から全順位を1リストで表示) ===== */
.ranking-list { max-width: 600px; margin: 0 auto; }
.ranking-list__row { display: flex; align-items: center; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--color-border); text-decoration: none; color: inherit; transition: background 0.25s ease; }
.ranking-list__row:hover { background: rgba(255, 255, 255, 0.03); }

/* 変動マーク(左端) */
.ranking-list__trend {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.ranking-list__trend--up { color: #7cc37f; }
.ranking-list__trend--down { color: #7fb0e0; }
.ranking-list__trend--stable { color: var(--color-text-muted); }
.ranking-list__trend--new { height: 20px; border-radius: 4px; background: var(--color-gold); color: var(--color-black); font-size: 0.6rem; letter-spacing: 0.05em; }

/* 順位 */
.ranking-list__num { flex-shrink: 0; width: 26px; text-align: center; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--color-text-cream); }

/* 写真(円形・上位3名はフレーム着色) */
.ranking-list__photo { flex-shrink: 0; width: 52px; height: 52px; padding: 2px; border-radius: 50%; background: var(--color-border); }
.ranking-list__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ranking-list__photo--rank1 { background: linear-gradient(135deg, var(--color-gold) 0%, #f0d68a 50%, var(--color-gold) 100%); }
.ranking-list__photo--rank2 { background: linear-gradient(135deg, #a8a8a8 0%, #e4e4e4 50%, #a8a8a8 100%); }
.ranking-list__photo--rank3 { background: linear-gradient(135deg, #b87333 0%, #d4a06a 50%, #b87333 100%); }

.ranking-list__body { flex: 1; min-width: 0; }
.ranking-list__name { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-list__meta { font-size: 0.7rem; color: var(--color-text-muted); margin-top: 2px; }
/* .ranking-list__tag は一覧レイアウト変更に伴い未使用（戻す場合に備えて残置） */
.ranking-list__tag { flex-shrink: 0; margin-left: auto; padding-left: 12px; max-width: 38%; font-size: 0.72rem; color: var(--color-gold); font-weight: 400; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ポイント(右端・Pアイコン付き) */
.ranking-list__points { flex-shrink: 0; display: flex; align-items: center; gap: 6px; color: var(--color-text-cream); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranking-list__points-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--color-gold); color: var(--color-black); font-family: var(--font-display); font-size: 0.62rem; font-weight: 700; }
.ranking-list__points-num { font-size: clamp(0.85rem, 3.2vw, 1.05rem); }
.ranking-list__points-unit { font-size: 0.65rem; color: var(--color-text-muted); font-weight: 300; }

/* ===== 一覧の行（ranking_new / ranking_repeat） ===== */
/* 1位から全員を同じ形の行で出す：左に写真、右に順位／名前／年齢・身長／一言／タグ。行全体が詳細ページへのリンク。
   表彰台（.ranking-podium）は various_ranking が、行リスト（.ranking-list）はポイントランキングが使っているので、別のクラスにしている。
   この2ページだけの指定は、<body> に付けた .page-ranking--rows の下に書く。
   ・この2ページは doctype が無く後方互換モードで描画されるので、写真は比率を決めた枠に絶対配置で入れる。
   ・--font-display は base.css の定義が壊れていて効かず、書体を指定していない文字は端末の既定フォントになる。
     ここでは明朝＝--font-mincho、ゴシック＝--font-gothic、飾り英字＝--font-decor（Cormorant）を直接指定する。 */

/* 大理石の背景を一覧の下まで続ける。画面に固定した1枚をいちばん奥に敷いて、見出し側の背景は外す（見出しと一覧の間につなぎ目を作らないため）。
   body の黒はページ全体の地（キャンバス）に塗られるので、この層はその上・中身の下に出る。html や中身を包む要素に背景を付けると隠れる。 */
.page-ranking--rows::before { content: ''; position: fixed; top: 0; left: 0; z-index: -1; width: 100%; height: 100vh; background: linear-gradient(rgba(12, 12, 12, 0.85), rgba(12, 12, 12, 0.85)), url('../../img/marble-dark.jpg') center / cover; }
.page-ranking--rows .ranking-hero { background-image: none; }
.page-ranking--rows .ranking-hero__title,
.page-ranking--rows .ranking-hero__lead { font-family: var(--font-mincho); }
.page-ranking--rows .page-hero__eyebrow { font-family: var(--font-decor); font-weight: 500; }
.page-ranking--rows .ranking-content { padding-top: 0; }

.ranking-rows { max-width: 720px; margin: 0 auto; font-family: var(--font-mincho); }
/* 順位ごとの見た目は3つの変数で決める：枠の太さ・枠の色・順位の文字色。
   指定の無い4位以下は細いゴールド線。3位以内の金・銀・銅は .ranking-list__photo--rank1〜3 と同じ色。 */
.ranking-row { --ranking-frame: 1px; --ranking-frame-bg: rgba(201, 169, 110, 0.45); --ranking-num: var(--color-gold-dark); display: flex; align-items: center; gap: 40px; padding: 20px 0; border-bottom: 1px solid var(--color-border-gold); text-decoration: none; color: inherit; }
.ranking-row:first-child { border-top: 1px solid var(--color-border-gold); }
.ranking-row:hover { background: rgba(255, 255, 255, 0.03); }
.ranking-row--rank1 { --ranking-frame: 3px; --ranking-frame-bg: linear-gradient(135deg, var(--color-gold) 0%, #f0d68a 50%, var(--color-gold) 100%); --ranking-num: var(--color-gold-light); }
.ranking-row--rank2 { --ranking-frame: 3px; --ranking-frame-bg: linear-gradient(135deg, #a8a8a8 0%, #e4e4e4 50%, #a8a8a8 100%); --ranking-num: #d4d4d4; }
.ranking-row--rank3 { --ranking-frame: 3px; --ranking-frame-bg: linear-gradient(135deg, #b87333 0%, #d4a06a 50%, #b87333 100%); --ranking-num: #d4a06a; }

/* 写真は縦横4:5。大きさは幅（flex-basis、上限300px）で決まる。スマホの幅は下の @media で指定。
   高さは ::before の padding-top（幅の125%）で作る。aspect-ratio だと、未対応のブラウザ（iOS 14以前）で枠の高さが0になり写真が消える。
   内側の角丸は、外側14pxから枠の太さを引いた値（枠が細い4位以下でも角で線が細らない）。 */
.ranking-row__photo { position: relative; flex: 0 0 42%; max-width: 300px; overflow: hidden; border-radius: 14px; background: var(--ranking-frame-bg); }
.ranking-row__photo::before { content: ''; display: block; padding-top: 125%; }
.ranking-row__photo img { position: absolute; top: var(--ranking-frame); left: var(--ranking-frame); width: calc(100% - var(--ranking-frame) * 2); height: calc(100% - var(--ranking-frame) * 2); object-fit: cover; object-position: center 20%; border-radius: calc(14px - var(--ranking-frame)); }

.ranking-row__body { flex: 1; min-width: 0; }
/* 順位：数字の下に、文字と同じ色の細い線を引く。 */
.ranking-row__rank { font-family: var(--font-decor); font-style: italic; font-weight: 400; font-size: 3.6rem; line-height: 1; color: var(--ranking-num); font-variant-numeric: lining-nums; }
.ranking-row__rank span { margin-right: 2px; font-size: 0.62em; }
.ranking-row__rank::after { content: ''; display: block; height: 1px; margin-top: 8px; background: currentColor; opacity: 0.45; }
.ranking-row__name { margin-top: 14px; font-size: 1.7rem; font-weight: 500; letter-spacing: 0.1em; line-height: 1.35; color: #fff; overflow-wrap: anywhere; }
.ranking-row__meta { margin-top: 4px; font-size: 0.9rem; line-height: 1.6; color: var(--color-text-cream); }
.ranking-row__catch { margin-top: 10px; font-size: 0.95rem; line-height: 1.6; }
/* タグは個数を絞らず全部出す（入りきらない分は折り返す）。 */
.ranking-row__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ranking-row__tags li { padding: 5px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-family: var(--font-gothic); font-size: 0.76rem; line-height: 1.5; letter-spacing: 0.04em; color: var(--color-text-cream); white-space: nowrap; }
/* 口コミ件数（クリックで口コミ一覧へ。行全体が <a> のため span にしている） */
.ranking-row__review { display: inline-block; margin-top: 12px; font-family: var(--font-mincho); font-size: 1.05rem; letter-spacing: 0.06em; line-height: 1.5; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }

/* 新人一覧の写真枠だけをセラピスト一覧と同じ比率に揃える。 */
.ranking-new-therapists .card--media__photo-wrap { aspect-ratio: 4 / 5; }

/* ===== CTA ===== */
.ranking-cta { margin-top: 32px; }

/* ===== Mobile: No.1 on top (full width), No.2/No.3 side by side below — keeps all three photos large ===== */
@media (max-width: 480px) {
  .ranking-podium { flex-wrap: wrap; row-gap: 24px; column-gap: 12px; }
  .ranking-podium__item--first { order: -1; flex: 0 0 100%; max-width: none; }
  .ranking-podium__item { flex: 1 1 0; max-width: none; }
  .ranking-podium__photo-wrap { width: 130px; height: 167px; }
  .ranking-podium__item--first .ranking-podium__photo-wrap { width: 200px; height: 244px; }
  /* 同率で人数が増えた表彰台は2人ずつ。1位が1人のときは、1位だけ上の段に1人で出す。
     1位が同率（--tie-first）のときは1位も2人ずつ並べる。大きい写真（200px）は2人並ばないので、
     半分の幅に入る最大にする（上限は1人のときと同じ200px、縦横比も同じ）。 */
  .ranking-podium--multi .ranking-podium__item { flex: 0 0 calc(50% - 6px); }
  .ranking-podium--multi .ranking-podium__item--first { flex: 0 0 100%; }
  .ranking-podium--tie-first .ranking-podium__item--first { flex: 0 0 calc(50% - 6px); }
  .ranking-podium--tie-first .ranking-podium__item--first .ranking-podium__photo-wrap { width: 100%; max-width: 200px; height: auto; aspect-ratio: 200 / 244; }

  /* Balance the period tabs so all three take equal width in one row */
  .ranking-tabs { flex-wrap: nowrap; gap: 8px; }
  /* .ranking-tab { flex: 1; padding: 10px 6px; font-size: 0.68rem; letter-spacing: 0.05em; text-align: center; } */
  .ranking-tab { gap: 6px; padding: 10px 8px; max-width: none; }
  .ranking-tab__icon { width: 18px; height: 18px; }
  .ranking-tab__ja { font-size: 0.74rem; letter-spacing: 0.06em; }
  .ranking-tab__en { font-size: 0.52rem; letter-spacing: 0.12em; }

  .ranking-month-nav { margin-bottom: 20px; }
  .ranking-month-nav__btn { font-size: 0.68rem; padding: 6px 10px; }
  .ranking-month-nav__current { font-size: 0.82rem; }

  /* 見出しの上下を詰めて、最初の1画面に1位の全体と2位の途中までを入れる。 */
  .page-ranking--rows .ranking-hero { padding: 20px 0 18px; }
  .page-ranking--rows .page-hero__eyebrow { margin-bottom: 6px; font-size: 0.8rem; line-height: 1.4; }
  .page-ranking--rows .ranking-hero__title { margin-bottom: 10px; font-size: 1.7rem; line-height: 1.35; letter-spacing: 0.08em; text-indent: 0.08em; }
  .page-ranking--rows .page-hero__rule { margin-bottom: 14px; }
  .page-ranking--rows .ranking-hero__lead { font-size: 0.85rem; line-height: 1.65; }

  /* 行は左右16pxまで広げる（.container の余白24pxから8pxずつはみ出させる）。
     写真の幅 51% は、幅390pxの端末で約183×229px。1画面に入る人数はこの値で調整する。
     一言やタグが多くて本文が写真より高くなる行は、その分だけ行が高くなる。 */
  .ranking-rows { margin: 0 -8px; }
  .ranking-row { gap: 16px; padding: 12px 0; }
  .ranking-row__photo { flex-basis: 51%; }
  .ranking-row__rank { font-size: 2.6rem; }
  .ranking-row__rank::after { margin-top: 6px; }
  .ranking-row__name { margin-top: 8px; font-size: 1.3rem; }
  .ranking-row__meta { margin-top: 2px; font-size: 0.8rem; }
  .ranking-row__catch { margin-top: 6px; font-size: 0.82rem; }
  .ranking-row__tags { gap: 5px; margin-top: 8px; }
  .ranking-row__tags li { padding: 3px 9px; font-size: 0.66rem; }
  .ranking-row__review { margin-top: 8px; font-size: 0.92rem; }

  .ranking-list__row { gap: 8px; padding: 12px 4px; }
  .ranking-list__trend { width: 30px; font-size: 0.5rem; }
  .ranking-list__num { width: 20px; font-size: 1.02rem; }
  .ranking-list__photo { width: 46px; height: 46px; }
  .ranking-list__name { font-size: 0.88rem; }
}
@media (max-width: 360px) {
  .ranking-podium__photo-wrap { width: 112px; height: 144px; }
  .ranking-podium__item--first .ranking-podium__photo-wrap { width: 176px; height: 215px; }

  /* .ranking-tab { font-size: 0.6rem; padding: 9px 2px; } */
  .ranking-tab { gap: 4px; padding: 9px 4px; }
  .ranking-tab__icon { width: 16px; height: 16px; }
  .ranking-tab__ja { font-size: 0.66rem; letter-spacing: 0.03em; }
  .ranking-tab__en { font-size: 0.48rem; letter-spacing: 0.08em; }
  .ranking-list__row { gap: 6px; padding: 11px 2px; }
  .ranking-list__trend { width: 26px; font-size: 0.5rem; }
  .ranking-list__photo { width: 42px; height: 42px; }
  .ranking-list__points-icon { width: 16px; height: 16px; font-size: 0.56rem; }
}
