#ranking_category { background: #F8F8F8; }
#ranking_category .ranking_category_content {
  position: relative;
  padding-top: 80px;
  padding-bottom: 100px;
}
#ranking_category h2 {
  text-align: center;
  margin-bottom: 50px;
  line-height: 1;
}
#ranking_category h2 small {
  color: #105AAF;
  font-size: 16px;
  font-family: "ZenKakuGothicNew-B";
}
#ranking_category .nav .flex{
  flex-wrap: nowrap;
  justify-content: space-between;
}
#ranking_category .nav .flex li {
  cursor: pointer;
  position: relative;
  padding: 29px 0;
  width: 100%;
  flex: 1;
  background-color: #F4F4F4;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
#ranking_category .nav li:first-child { border-left: 1px solid #ccc; }
#ranking_category .nav li .spNone { display: inline-block; }
#ranking_category .nav li.active {
  color: #105AAF;
  background: #fff;
  border-top: 5px solid #105AAF;
}
#ranking_category .nav p.menu_title {
  text-align: center;
  margin-bottom: 0;
  color: #8D8D8D;
  font-size: 20px;
  font-family: "ZenKakuGothicNew-B";
}
#ranking_category .nav li.active p.menu_title { color: #105AAF; }
#ranking_category .posts_list {
  padding: 50px 50px 20px 50px;
  background: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
/*#ranking_category .posts_list .posts_category:first-child,
#ranking_category .posts_list .posts_category:nth-of-type(n+3){ display: none; }*/
#ranking_category .posts_frm {
  margin-right: 2%;
  width: 23.5%;
}
#ranking_category .posts_list .posts_frm:nth-of-type(4n) { margin-right: 0; }
#ranking_category .posts_list .posts_content {
  position: relative;
  padding: 10px 0 0 35px;
}
#ranking_category .posts_list .posts_image img { height: 145px; }
#ranking_category .posts_list .posts_frm .number p {
  text-align: center;
  margin-top: 10px;
  padding: 3px 0 0;
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 16px;
  border: 0;
  border-radius: 50%;
}
#ranking_category .posts_list .posts_frm:nth-of-type(1) .number p { background: #9DAF10; }
#ranking_category .posts_list .posts_frm:nth-of-type(2) .number p { background: #576389; }
#ranking_category .posts_list .posts_frm:nth-of-type(3) .number p { background: #BA7320; }
#ranking_category .posts_list .posts_frm:nth-of-type(n+4) .number p { background: #999999; }
#ranking_category .ranking_category_button {
  position: absolute;
  left: 0;
  bottom: 45px;
  text-align: center;
  width: 100%;
}
#ranking_category .ranking_category_button a::after {
  position: absolute;
  content: "\f138";
  font-family: 'Font Awesome 6 Free';
  font-weight: bold;
  margin-top: -1px;
  margin-left: 5px;
  font-size: 20px;
  color: #105AAF;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.pc #ranking_category .posts_frm a:hover .posts_title {
  text-decoration: underline;
  color: #105AAF;
}
.pc #ranking_category .ranking_category_button a:hover,
.pc #ranking_category .ranking_category_button a:hover::after { color: #FC5D17; }
@media screen and (max-width: 991px){
  #ranking_category .ranking_category_content {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
  #ranking_category h2 { margin-bottom: 3rem; }
  #ranking_category h2 small { font-size: 1.2rem; }
  #ranking_category .nav .flex li { padding: 1rem .5rem; }
  #ranking_category .nav li p.menu_title { font-size: 1.6rem; }
  #ranking_category .nav li .spNone { display: none; }
  #ranking_category .posts_list { padding: 3rem 1.5rem 1rem; }
  #ranking_category .posts_frm {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 0;
  }
  #ranking_category .posts_list .posts_title { font-size: 1.5rem; }
  #ranking_category .posts_frm .posts_image {
    width: 30%;
    height: 90px;
    margin-right: 4%;
  }
  #ranking_category .posts_frm .posts_content {
    padding-top: 0;
    padding-left: 3rem;
    width: 66%;
  }
  #ranking_category .posts_list .posts_frm .number p {
    margin-top: 0;
    padding: 0;
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1.5rem;
  }
  #ranking_category .posts_list .posts_frm .posts_date::before,
  #ranking_category .posts_list .posts_frm .single_views { display: none; }
  #ranking_category .ranking_category_button { bottom: 3rem; }
}
