/* racers.css */
@charset "utf-8";

.racers_wrap {
  width: 100%;
  background: url(../images/racers_gra_t.png) no-repeat center top , url(../images/racers_wave.png) no-repeat top , #96D500;
  background-size: contain;
  position: relative;
  padding-top: 50px;
  font-family: 'Noto Sans JP',sans-serif;
}
.racers_wrap::before {
  content: '';
  width: 100%;
  height: 100%;
  /* height: calc(100% + 50px); */
  top: 0px;
  left: 0;
  background: url(../images/racers_gra.png) no-repeat top center ;
  background-size: cover;
  position: absolute;
}

.racers_wrap .tit_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  will-change: transform, opacity;
}
.racers_wrap .silhouette {
  width: 490px;
  height: 360px;
  position: absolute;
  top: -50px;
  left: 180px;
  pointer-events: none;
  overflow: hidden;
}
.racers_wrap .silhouette .loly {
  background: url(../images/loly_boat_s.svg) no-repeat center;
  background-size: contain;
  width: 490px;
  height: 360px;
  opacity: 0.4;
  top: -68px;
  right: 0;
  z-index: 0;
}

.racers_wrap .tit {
  background: url(../images/racers_tit.svg) no-repeat center;
  background-size: contain;
  width: 605px;
  height: 136px;
  filter: drop-shadow(0 12px 20px #0000006c);
  margin-bottom: 25px;
}
.racers_wrap .subtit {
  background: url(../images/racers_subtit.svg) no-repeat center;
  background-size: contain;
  width: 570px;
  height: 25px;
  position: relative;
}

.racers_wrap .subtit::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 104px;
  background: url(../images/tenbo_star.png) no-repeat center;
  background-size: contain;
  top: 70px;
  left: -180px;
}
.racers_wrap .subtit::after {
  content: '';
  position: absolute;
  width: 55px;
  height: 57px;
  background: url(../images/tenbo_star.png) no-repeat center;
  background-size: contain;
  top: -5px;
  left: -90px;
  transform: rotate(40deg);
}

.racers_wrap .lead {
  background: #000000cc;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  vertical-align: middle;
  padding: 3px 16px;
  position: relative;
  margin-bottom: 15px;
}
.racers_wrap .lead li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.racers_wrap .lead li::before {
  content: '■';
  font-size: 0.65em;
  position: relative;
  /* bottom: 1px; */
  /* margin-right: 5px; */
}

.racers_wrap .loly {
  background: url(../images/loly_boat.png) no-repeat center;
  background-size: contain;
  width: 320px;
  height: 240px;
  animation: fuwafuwa 3s ease-in-out infinite;
  position: absolute;
  top: 70px;
  right: 350px;
  z-index: 2;
  pointer-events: none;
}

.racers_wrap .btn_area {
  padding: 30px 0 20px;
  background: #ffffff5a;
  backdrop-filter: blur(30px);
  position: relative;
  z-index: 1;
}

.racers_wrap .btn_area ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
.racers_wrap .btn_area li {
  text-align: center;
  font-weight: 900;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.racers_wrap .btn_area .ranking {margin-bottom: 20px;}
.racers_wrap .btn_area .ranking li {
  width: 440px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  font-size: 40px;
  padding: 13px 0 17px;
}

.racers_wrap .btn_area .ranking li:nth-child(2) {
  margin: 0 10px;
}

.racers_wrap .btn_area .ranking li::before {
  content: '▼';
  color: #BAF92C;
  font-size: 0.6em;
  position: relative;
  bottom: 5px;
  margin-right: 15px;
}
.racers_wrap .btn_area .ranking li.active {
  background: #063391;
  color: #BAF92C;
}
.racers_wrap .btn_area .ranking li.active::before {
  display: none;
}
.racers_wrap .btn_area .ranking li span {
  font-size: 30px;
}

.racers_wrap .btn_area .sort {
  height: 70px;
}
.racers_wrap .btn_area .sort li {
  width: 265px;
  border-radius: 25px;
  color: #fff;
  font-size: 22px;
  padding: 8px 0 7px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.racers_wrap .btn_area .sort li.active {
  border: solid 2px #000;
  padding: 6px 0 7px;
}
.racers_wrap .btn_area .sort li:not(:last-child) {
  margin-right: 10px;
}

.racers_wrap .btn_area .sort li#sort_reset {
  width: 117px;
  background: #0000004d;
}
.racers_wrap .btn_area .sort li#sort_reset.active {
  background: #000;
}
.racers_wrap .btn_area .sort li#sort01 {  background: #0071FF4d; position: relative;}
.racers_wrap .btn_area .sort li#sort02 {  background: #C051FF4d; position: relative;}
.racers_wrap .btn_area .sort li#sort03 {  background: #F15A7E4d; position: relative;}
.racers_wrap .btn_area .sort li#sort04 {  background: #00B2244d; position: relative;}
.racers_wrap .btn_area .sort li#sort01.active {  background: #0071FF;}
.racers_wrap .btn_area .sort li#sort02.active {  background: #C051FF;}
.racers_wrap .btn_area .sort li#sort03.active {  background: #F15A7E;}
.racers_wrap .btn_area .sort li#sort04.active {  background: #00B224; padding: 6px 0 9px;}

.racers_wrap .btn_area .sort li:not(:first-child):after {
  content: '';
  background: url(../images/sort_icon01.png)no-repeat center;
  background-size: contain;
  display: inline-block;
  position: relative;
  width: 35px;
  height: 35px;
}
.racers_wrap .btn_area .sort li#sort02::after {background: url(../images/sort_icon02.png) no-repeat center; background-size: contain;}
.racers_wrap .btn_area .sort li#sort03::after {background: url(../images/sort_icon03.png) no-repeat center; background-size: contain;}
.racers_wrap .btn_area .sort li#sort04::after {background: url(../images/sort_icon04.png) no-repeat center; background-size: contain;}

.racers_wrap .btn_area .sort li .kako {
  background: #fff;
  border-radius: 14px;
  color: #000;
  font-size: 16px;
  padding: 0 5px 1px;
  margin-right: 8px;
}
.racers_wrap .btn_area .sort li:last-child {
  font-size: 20px;
}

.racers_wrap .kikan {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  margin: 10px auto 0;
  padding-right: 30px;
}

.data_area {
  width: 100%;
  background: url(../images/racers_stars.png) repeat-y center top ,url(../images/racers_ribon.png) repeat-y center bottom ;
  background-size:  auto ;
  margin-top: -30px;
  position: relative;
}

#data {
  /* padding: 70px 0 70px 20px; */
  padding: 70px 0 70px 0px;
}

.data_area ul {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  align-items: center;
  justify-content: center;
}

.data_area ul.data_wrap { 
  justify-content: flex-start;
  overflow-y: scroll;
  max-height: 1260px;
  padding-bottom: 50px;
}

.data_area ul.data_wrap::-webkit-scrollbar {
  background: linear-gradient(90deg, #ffffff00 45%, #fff 45% 55%, #ffffff00 55%);
  width: 8px;
}
.data_area ul.data_wrap::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.data_list {
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.data_list.mov {
  animation: fade-in-top 0.5s both;
}

.data_list ul li {
  color: #000;
  font-size: 39px;
  font-weight: 900;
}
.data_list ul li.toban {
  color: #000;
  font-size: 34px;
  font-weight: 500;
  font-family: 'Oswald';
}

.data_list .sibu {
  font-size: 21px;
  border-radius: 18px;
  border: solid 1px #000;
  width: 260px;
  height: 33px;
  text-align: center;
}

.data_list .sort_icon {
  width: 260px;
  justify-content: center;
  margin: -10px 0 10px;
}

.data_list img {
  width: 240px;
  height: 240px;
}

.data_list .sort_icon li {
  filter: drop-shadow( 0 3px 6px #00000026);
  opacity: 0.5;
}
.data_list .sort_icon li:not(:last-child) {
  margin-right: 5px;
}
.data_list .sort_icon li.on {
  filter: drop-shadow( 0 3px 6px #00000026);
  opacity: 1;
}
.data_list .sort_icon li img {
  width: 36px;
  height: 36px;
}

.data_list table { border-collapse: separate; border-spacing: 0 4px;}

.data_list table th,
.data_list table td {
  vertical-align: middle;
  font-weight: 700;
  padding: 2px 0;
  position: relative;
}

.data_list th:not(:first-child) {
  font-size: 24px;
  color: #374C84;
  margin-left: 4px;
  bottom: 6px;
}
.data_list th:last-child {
  color: #D67A1E;
  position: relative;
}
.data_list th:not(:first-child)::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 97%;
    height: 6px;
    background: #374c84;
    bottom: -5px;
    left: 2px;
}
.data_list th:last-child::before {
    content: '';
    background: #D67A1E;
}

.data_list td {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Roboto';
  text-align: center;
  background: #0000005a;
  width: 100px;
}
.data_list td:first-child {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Noto Sans JP',sans-serif;
  position: relative;
  background: #00000099;
  width: 80px;
}
.data_list td:first-child::after {
  content: '';
  width: 6px;
  height: 100%;
  display: inline-block;
  position: absolute;
  top: 0;
  right: -5.9px;
  background: #0000005f;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

.data_list td:last-child {
  border-left: solid 1px #fff;
}

/***********************************************************************
「★PC版 CSS★」ブラウザの幅が751px以上ならここの記述が有効になる
**********************************************************************/

@media only all and (min-width: 751px) {

  .pc_non {display: none;}
  
  .racers_wrap .lead {
    display: flex;
    width: 840px;
    justify-content: space-around;
    left: 262px;
  }
  /* .racers_wrap .lead li:first-child {
    margin-right: 20px;
  } */

  .racers_wrap .lead li:first-child span {
    margin-left: -10px;
  }
  .racers_wrap .lead li:first-child:before {
    margin-right: -5px;
  }


  .racers_wrap .btn_area li:hover {
  transition: all 0.3s;
    transform: translateY(-5px) scale(1.02);
  }
  .racers_wrap .btn_area li.active {
    pointer-events: none;
  }

  .racers_wrap .btn_area .sort li:last-child {
  width: 380px;
  }
 
  .racers_wrap .btn_area .sort li:not(:first-child):after {
    margin-left: 15px;
  }
  
  .racers_wrap .kikan { width: 1340px; padding-right: 26px;}

  .data_area ul.data_wrap { 
    width: 1820px;
  }


  .data_list:not(:nth-child(-n+5)) {
    margin-top: 50px;
  }
  .data_list:not(:nth-child(5n)) {
    border-right: solid 1px #707070;
  }

}


/***********************************************************************
「★SP版 CSS★」ブラウザの幅が750px以下ならここの記述が有効になる
**********************************************************************/
@media only all and (max-width: 750px) {
 
  .racers_wrap {width: 750px;
    background: url(../images/racers_gra_sp_t.png) no-repeat center top , url(../images/racers_wave.png) no-repeat top , url(../images/racers_gra_sp_b.png) no-repeat center bottom , #96D500;
  }  

  .racers_wrap .silhouette {
    width: 490px;
    height: 360px;
    top: -50px;
    left: -180px;
  }
  .racers_wrap .silhouette .loly {
    width: 430px;
    height: 316px;
    top: -3px;
    right: 0;
  }

  .racers_wrap .tit {
    width: 600px;
    height: 134px;
    margin-bottom: 20px;
  }
  
  .racers_wrap .subtit {
    width: 544px;
    height: 24px;
  }
 
  .racers_wrap .subtit::before {
    width: 63px;
    height: 66px;
    top: -10px;
    left: -80px;
  }
  .racers_wrap .subtit::after {
    width: 36px;
    height: 38px;
    top: 64px;
    left: -87px;
  }
  
  .racers_wrap .loly {
    width: 240px;
    height: 180px;
    top: 160px;
    right: 10px;
  }

  .racers_wrap .lead {
    width: 420px;
    margin-left: 30px;
    text-align: left;
    padding: 8px 16px;
    line-height: 1.4em;
  }
  .racers_wrap .btn_area .ranking li { font-size: 36px; width: 225px; padding: 6px 0 24px;}
  .racers_wrap .btn_area .ranking li.active { padding: 13px 0 17px;}
  .racers_wrap .btn_area .ranking li span { font-size: 28px; }
  .racers_wrap .btn_area .ranking li::before {position: absolute; font-size: 0.5em; left: 100px; margin: auto; bottom: 2px; transform: scale(1, 0.7);}

.racers_wrap .btn_area .sort {
  height: 100px;
}
  .racers_wrap .btn_area .sort li {
    width: 147px;
    font-size: 26px;
    line-height: 1.3em;
    border-radius: 10px;
    flex-direction: column;
  }
  .racers_wrap .btn_area .sort li .small {
    font-size: 22px;
  }
  .racers_wrap .btn_area .sort li .small_s {
    font-size: 22px;
    display: inline-block;
    transform: scale(0.75, 1);
    transform-origin: left;
    position: relative;
    width: 120%;
    left: 6px;
  }
  
  .racers_wrap .btn_area .sort li#sort_reset {
    width: 70px;
    height: 70px;
    line-height: 60px;
  }
  .racers_wrap .btn_area .sort li { padding: 20px 0;}
  .racers_wrap .btn_area .sort li.active:first-child { padding: 20px 0;}
  .racers_wrap .btn_area .sort li:not(:first-child){
    padding: 40px 0  10px;
  }  
  .racers_wrap .btn_area .sort li:last-child{
    /* padding: 17px 0  12px; */
    padding: 45px 0  20px;
  }  
  .racers_wrap .btn_area .sort li#sort04.active{
    /* padding: 12px 0  11px; */
    padding: 45px 0  20px;
  }  

  .racers_wrap .btn_area .sort li:not(:first-child):after {
    content: '';
    background: url(../images/sort_icon01.png)no-repeat center;
    background-size: contain;
    display: inline-block;
    position: absolute;
    width: 35px;
    height: 35px;
    top: 5px;
  }

  #data {padding-top: 200px;}

  .data_area {
  width: 100%;
  background: url(../images/racers_stars_sp.png) repeat-y center top ,url(../images/racers_ribon_sp.png) repeat-y center top ;
  background-size:  auto , auto;
  margin-top: -150px;
}

  .data_area ul.data_wrap { 
    width: 730px;
    height: 900px;
  }

  .data_list:not(:nth-child(-n+2)) {
    margin-top: 50px;
  }
  .data_list:nth-child(odd) {
    border-right: solid 1px #707070;
  }

}




/***********************************************************************
アニメーション指定
**********************************************************************/
.racers_wrap .subtit::before {
  animation: star-rotate 10s cubic-bezier(0.28, 0.01, 0.64, 0.9) infinite;
  transform-origin: center;
}
.racers_wrap .subtit::after {
  animation: star2-rotate 10s  cubic-bezier(0.28, 0.01, 0.64, 0.9) infinite;
  animation-delay: 0.75s;
  transform-origin: center;
}

/***********************************************************************
keyframe
**********************************************************************/
@keyframes star-rotate {
  0% {
    transform: rotate(0deg);
  }
  50%,100% {
    transform: rotate(360deg);
  }
}

@keyframes star2-rotate {
  0% {
    transform: rotate(40deg);
  }
  50%,100% {
    transform: rotate(400deg);
  }
}

