/* =========================
   記事一覧
========================= */

.article_list_title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 16px 1%;
}

/* 記事リスト */
.article_list_items {
  list-style: none;
  margin: 0 1% 24px 1%;
  padding: 0;
  border-top: 1px solid #ddd;
}

.article_item {
  border-bottom: 1px solid #eee;
}

.article_link {
  display: block;
  padding: 10px 8px;
  text-decoration: none;
  color: #222;
  transition: background 0.2s ease;
}

.article_link:hover {
  background: #fafafa;
}

/* 日付とカテゴリ */
.article_meta {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 2px;
}

.article_date {
  margin-right: 8px;
}

.article_category {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 0.7rem;
}

/* タイトルと抜粋 */
.article_title {
  font-size: 1.0rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.article_excerpt {
  font-size: 0.85rem;
  color: #555;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
}

.page_link {
  text-decoration: none;
  padding: 4px 8px;
  border: 1px solid #ccc;
  font-size: 0.85rem;
}

.page_link:hover {
  background: #f0f0f0;
}

.page_now {
  font-size: 0.85rem;
}
.thread-title{
  font-size: 1.5rem;margin:12px 0 12px 0;
  padding: 8px 2%;
  width: 94%;
  font-size: 1.8rem;
  line-height: 1.2;
  border-top: #111 solid 3px;
  border-bottom: #111 solid 3px;
}


/* ▼ スマホ対応 */
@media screen and (max-width: 600px) {
.thread-title{ font-size: 1.0rem;margin:12px 2% ;padding: 4px 2%;}

}


.player-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:#fff ;
}

.player-block {
    border-bottom: 1px solid #ccc;
    padding: 4px;
    border-radius: 4px;position: relative;
     width: 96%;
     margin:0 2%;
}

.player-main,
.player-stats {
    
    border-collapse: collapse;
    font-size: 0.9rem;
    margin:0 auto 0px auto;

}

.player-stats{width:100%;}
.player-stats th{font-size: 0.6rem;}

.pm-img-val {width:22%;}
.pm-img-val img{width:100%;}
.player-main th,
.player-main td,
.player-stats th,
.player-stats td {
    border: 2px solid #fff;
    padding: 4px 6px;
   
}
.player-main th , .player-main td{border:solid 0 #333;}
.player-stats td {background-color: #eee;}
.player-stats th,.player-stats td {border:solid 2px #fff;padding:0; text-align: center;}
.player-stats th{border:solid 0px #333;}
.pm-name-val a {
    font-weight: 600;
    text-decoration: none;
    
}
.pm-name-val{text-align: left;width:45%;}
.pm-team {
    font-size: 0.8rem;
    color: #666;
}
.pm-pt-val{font-size:1.5rem;text-align:center;}
.plus { color: #d00; }
.minus { color: #06c; }

@media (max-width: 600px) {
    .player-block {
        padding: 6px;
    }
    .player-main,
    .player-stats {
        font-size: 0.8rem;
    }
}








.team-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-block {
    position: relative;
    border: 1px solid #eee;
    padding: 10px 8px 8px 8px;
    border-radius: 4px;
    background: #fff;
}

.rank-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 4px;
    background: #f2f2f2;
    font-weight: 600;
}

.rank-badge img.m-rr {
    display: block;
    width: 40px;
    height: auto;
}

/* 1〜3位で色を変えたければ */
.rank-badge.rank-1 { background: #ffd700; }
.rank-badge.rank-2 { background: #c0c0c0; }
.rank-badge.rank-3 { background: #cd7f32; }

.ranking_teams{margin-bottom: 48px;}
.team-main {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.team-main th,
.team-main td {
    border: 1px solid #eee;
    padding: 4px 6px;
}

.tm-img {
    width: 13%;
    text-align: center;
}


.team_rank_list_news {
    margin: 16px 0;
    width:70%;
}
.ranking_players{
margin: 16px 0;
    width:70%;

}
@media (max-width: 600px) {
    .team_rank_list_news {
        width: 100%;
    }

    .ranking_players{

    width:100%;

}
}

.data_rank{font-weight: bold;font-size: 1.2rem;}
.team_rank_list_news .rank_head {
    font-weight: 600;
    margin-bottom: 8px;
}

.team_rank_list_new .rank_head .small {
    font-size: 0.8em;
    color: #666;
    margin-left: 4px;
}

.team_card_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team_card_news {
    width: 100%;
    border-bottom: 1px solid #eee;
   
    padding: 6px 4px;
    box-sizing: border-box;
    position: relative;
    background: #fff;
    display:flex;flex-wrap: wrap;
}

.team_rank {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #f2f2f2;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

.team_img_div {
    text-align: center;
    width: 14%;
}

.team_img_div img {
    max-width: 100%;
    height: auto;margin-left:4px;
}

.team_card_news .team_name {
    text-align: left;
    margin: 4px 8px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    height:40px;
}

.team_name a {
    text-decoration: none;
    font-weight: 600;
}

.team_point_block {
    text-align: center;
    font-size: 0.8rem;
  
    display: flex;
    align-items: center;
}

.team_point {
    margin: 2px 0;

}


.team_rank_list_news .rank_head_news {
 font-size: 1rem;
  font-weight: bold;
  color: #111;
  background-color: #fff;
  border-bottom: solid 2px #000;
  padding: 6px 2px;
  margin-bottom: 8px;line-height: 1.2em;

}
.tp_label {
    margin-left: 2px;
    color: #666;
    font-size: 0.75em;
}

@media (max-width: 600px) {
    .team_card {
        width: 100%;
    }
}



/* デフォルトを「スマホ優先」にする */
.player-stats-pc {
    display: none;
}
.player-stats-sp {
    display: table; /* 普通にテーブル表示 */
}

/* PCサイズ（例：幅768px以上）のときだけ切り替える */
@media (min-width: 768px) {
    .player-main {
        width: 100%;
        border-collapse: collapse;
    }

    .player-main tr {
        /* 画像 + 右カラム + PT をきれいに並べたいなら flex もアリ */
        /* display: flex; align-items: flex-start; */
    }

    .player-stats-pc {
        display: table;   /* PC用を表示 */
        margin-top: 4px;
    }
    .player-stats-sp {
        display: none;    /* SP用は隠す */
    }
}