




.hosoku_small{font-size: 0.5rem;line-height: 0.5rem;display: block;}
/*ヘッド フィルター*/
.nav-button-group a {
  display: inline-block;
  text-decoration: none;
    padding:4px 6px;
     cursor: pointer;
     font-size: 1.2rem;
}
.group1 a.active {
  background-color: #00ab8e;
  color: white;
}

.group2 a.active {
  background-color: #e75a5a;
  color: white;
}

.group3 a.active {
  background-color: #477deb;
  color: white;
}

.group4 a.active {
  background-color: #c48000;
  color: white;
}

.filter-header {
    
      gap: 1rem;
  
      margin:8px 1%  16px 1%;
      

}


    .filter-group {
      display: flex;
      flex-direction: column;
     
      min-width: 220px;
     
    }

.group1 a{
color:#00ab8e;
border:solid 1px #00ab8e;
}

.group2 a{
color:#e75a5a;
border:solid 1px #e75a5a;
}

.group3 a{
color:#477deb;
border:solid 1px #477deb;
}

.group4 a{
color:#c48000;
border:solid 1px #c48000;
}

    .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 2px;
      margin-bottom: 4px;
    }

    .button-row button {
      padding: 4px 6px;
      font-size: 1.1rem;
    
      background-color: white;
      cursor: pointer;
     
    }

    .button-row button:hover {
      background-color: #f0f0f0;
    }

    @media (max-width: 768px) {
      .filter-header {
    
         margin:0px 1%  8px 1%;
      }

      .nav-button-group a {font-size: 0.6rem;}
    }

/*ヘッド フィルター*/




.player_stats {
  width: 98%;
  margin: 12px auto;
  background: #fff;
  /*border: solid 2px #000;*/
  /*box-shadow: 1px 1px 4px #333;*/
}

.rank_head {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  /*background: #000;*/
  border-bottom: solid 2px #000;
  border-top: solid 2px #000;
  padding: 8px 1%;
  margin-bottom:8px;
  line-height: 1rem;
    box-shadow: 1px 1px 1px #666;
}

/* ======== ナビゲーション ======== */
.season_nav, .stage_nav, .sort_menu {
  margin: 10px;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.season_nav a,
.stage_nav a,
.sort_menu a {
  color: #333;
  background: #f4f4f4;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}
.season_nav a:hover,
.stage_nav a:hover,
.sort_menu a:hover {
  background: #000;
  color: #fff;
}
.season_nav a.active,
.stage_nav a.active,
.sort_menu a.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ======== テーブル ======== */
.ranking_table {
  width: 100%;
  border-collapse: collapse;
}
.ranking_table th, .ranking_table td {
  border-bottom: 1px solid #ddd;
  padding: 6px 8px;
  text-align: center;
}
.ranking_table th {
  background: #444;
  color: #fff;
}
.plus {
  color: #007700;
  font-weight: bold;
}

.minus {
  color: #cc0000;
  font-weight: bold;
}


.mini_face { width: 30px; height: 30px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.mini_logo { width: 25px; height: 25px; vertical-align: middle; margin-right: 5px; }

/* ======== レスポンシブ ======== */
@media (max-width: 700px) {
  .ranking_table th, .ranking_table td {
    font-size: 0.8rem;
    padding: 4px;
  }
  .season_nav, .stage_nav, .sort_menu {
    font-size: 0.85rem;
  }
}




/* =========================
   ランキング表スタイル強化
========================= */

/* ソート基準の列を強調 */
.highlight_col {
  background-color: #fff3f3  !important; /* 柔らかい黄色で視覚的にわかる */
}

/* thにも同じ効果を */
.ranking_table th.highlight_col {
  background-color: #000 !important;
  color: #fff;
  font-weight: bold;
}

/* 選手名セル：左寄せ＋画像整列 */
.player_name_cell {
  text-align: left !important
  ;
  padding-left: 10px;
  white-space: nowrap;
}

.player_name_cell img.mini_face {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  border: 1px solid #ccc;
}

.player_name_cell span {
  vertical-align: middle;
  font-weight: bold;
  color: #111;
}


/* スマホ調整 */
@media (max-width: 700px) {
  .ranking_table th, .ranking_table td {
    font-size: 0.6rem;
    padding: 4px;
  }
  .mini_face {
    width: 24px;
    height: 24px;
    margin-right: 5px;
  }


  .player_name_cell img.mini_face {
  width: 24px;
  height: 24px;

  margin-right: 4px;
  }

}