@charset "utf-8";

h2.rank_h {
  position: relative;
  display: block;
  margin-bottom: 20px;
  padding-bottom: 5px;
  font-size: 28px;
  font-weight: 500;
  border-bottom: #000 solid 3px;
  z-index: 77;
}

.rank_date {
  position: absolute;
  width: 84%;
  top: 20%;
  left: 16%;
  font-size: 16px;
  font-weight: 400;
}

.ranking_content {
  position: relative;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.ranking {
  margin: 0 0 20px;
  padding: 1rem;
  background-color: #e7deb4;
}

.rank_num {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.rank_1 {
  background-color: #c0b066;
}

.rank_2 {
  background-color: #999999;
}

.rank_3 {
  background-color: #ed9d7a;
}

.rank_4 {
  background-color: #000;
}

.rank_thumb {
  width: 100%;
  height: auto;
}

.rank_thumb img {
  width: 100%;
  border: #ccc solid 1px;
}

.rank_title {
  margin-top: .2em;
  font-size: 14px;
  font-weight: 500;
}

.rank_catch {
  width: 100%;
  margin-top: .6em;
  font-size: 12px;
  color: #888;
}

.rank-btn1 {
  right: -38px !important;
  left: auto !important;
}

.rank-btn2 {
  left: -38px !important;
  right: auto !important;
}

.rank__btn {
  display: block;
  padding: .2em .8em;
  text-align: center;
  color: #e63556;
  font-size: 18px;
  border: #e63556 solid 2px;
  background-color: #fff;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  cursor: pointer;
  border-radius: 100px;
}

.rank__btn:hover {
  text-decoration: none;
  color: #fff;
  border: #e63556 solid 2px;
  background-color: #e63556;
}

.rank_list_outer {
  margin-bottom: 20px;
}

.rank_list_outer li {
  display: inline-block;
  margin-right: 12px;
}

.tab_active {
  color: #fff;
  background-color: #e63556;
}

@media screen and (min-width: 1px) and (max-width: 767px) {

  .swiper_left {
    padding: 0 5% 0 5%;
  }

  h2.rank_h {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 5px;
  }

  .rank_date {
    width: 55%;
    top: 30%;
    left: 45%;
    font-size: 14px;
  }

  .ranking_content {
    width: 100%;
    margin: 0 auto;
  }

  .ranking {
    margin: 0 0 15px;
    padding: .6rem 0 .6rem 0;
  }

  .rank_num {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .sp_h2 {
    display: block;
    width: 90%;
    margin: 0 auto;
  }

  .rank_list_outer {
    margin-bottom: 15px;
  }

  .rank_list_outer li {
    margin-bottom: 0;
  }

  .sp_tab {
    padding: 0 0 0 5%;
  }

  .rank_title {
    font-size: 12px;
  }

  .rank_catch {
    font-size: 12px;
    color: #888;
  }

  .rank-btn1 {
    right: 5px !important;
    left: auto !important;
  }

  .rank-btn2 {
    left: 5px !important;
    right: auto !important;
  }

  .rank__btn {
    font-size: 14px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    top: 60% !important;
  }

  .sp_hide {
    z-index: -9999;
  }


}

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .rank_date {
    top: 20%;
    left: 22%;
    font-size: 16px;
  }

  .ranking_content {
    width: 90%;
  }

  .pc_rank_outer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .swiper_rank_item {
    width: 18%;
  }

}

@media screen and (min-width: 1025px) {

  .pc_rank_outer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .swiper_rank_item {
    width: 18%;
    margin: 0 0 1rem;
  }

}