@charset "UTF-8";
/* CSS Document */
#heiwajima {
  display: none;
}

#racer .tit {
  background: url(../images/racer_tit.png) no-repeat center;
  background-size: contain;
  width: 73rem;
  height: 18rem;
  margin: auto;
}
#racer .lead {
  background: url(../images/choco_bitter.svg) repeat left bottom, #3f1b0d;
  background-size: 13rem auto;
  padding-top: 3rem;
}
#racer .content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#racer .campaign {
  color: #6C321C;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 2.3rem;
}
#racer .campaign a {
  margin-right: 1rem;
}
#racer .campaign .cam_list {
  background: url(../images/racer_cam_bgs.png) no-repeat center;
  background-size: contain;
  position: relative;
  height: 7rem;
  padding: 3rem;
}
#racer .campaign .cam_list.large {
  background: url(../images/racer_cam_bgl.png) no-repeat center;
  background-size: contain;
  height: 44rem;
}
#racer .campaign h4 {
  position: absolute;
  background: url(../images/racer_cam_h4.png) no-repeat center;
  background-size: contain;
  z-index: 2;
  width: 40rem;
  height: 4rem;
  color: #252F40;
  text-align: center;
  top: -2.5rem;
  left: calc(50% - 20rem);
  font-size: 3rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  padding-bottom: 0.5rem;
}
#racer .campaign .pre {
  text-align: center;
  margin: 3rem 0;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 4.3rem;
  background: #FF7FA5;
  width: calc(100% - 28rem);
  position: relative;
  left: -3rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 30rem;
  padding-left: 4rem;
}
#racer .campaign .pre span {
  font-size: 4rem;
  color: #FFF6E4;
}
#racer .campaign .pre span.small {
  font-size: 3.3rem;
}
#racer .campaign .kome {
  font-weight: 400;
  font-size: 1.6rem;
}
#racer .campaign .kome li {
  text-indent: -1rem;
  margin-left: 2rem;
}
#racer .campaign .kome li::before {
  content: "※";
  display: inline-block;
}
#racer .campaign .pstar {
  background: url(../images/pstar_quo.png) no-repeat center bottom;
  background-size: contain;
  transform-origin: center bottom;
  width: 20.6rem;
  height: 19.2rem;
  position: absolute;
  pointer-events: none;
  z-index: 1;
  top: 15rem;
  left: 37rem;
  animation: pstar 5s linear infinite;
  animation-delay: 3s;
}
#racer .campaign .obo {
  display: flex;
  align-items: center;
}
#racer .campaign .obo .num {
  width: 5.9rem;
  height: 5rem;
  background: url(../images/racer_heart.svg) no-repeat center;
  background-size: contain;
  text-align: center;
  color: #FFF6E4;
  flex-shrink: 0;
  line-height: 5.3rem;
  font-family: "Oswald", sans-serif;
  font-size: 2.9rem;
  margin-right: 2rem;
}
#racer .campaign .obo:nth-child(2)::after {
  content: "";
  display: inline-block;
  position: absolute;
  background: #FF7FA5;
  width: 4rem;
  height: 1rem;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  bottom: -3rem;
  left: calc(50% - 2rem);
}
#racer .campaign .obo * {
  text-decoration: none;
}
#racer .campaign .obo * a:hover {
  background: #FF7FA5;
}
#racer .campaign .obo .txt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#racer .campaign .obo .hei_x {
  width: 21.5rem;
  height: 3.5rem;
  background: #000;
  color: #fff;
  border-radius: 0.5rem;
  padding-top: 0.4rem;
  padding-bottom: 0.5rem;
  padding-right: 1rem;
  padding-left: 1rem;
}
#racer .campaign .obo .hei_x::after {
  content: "";
  display: inline-block;
  background: #fff;
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  width: 1.1rem;
  height: 1.8rem;
  position: relative;
  left: 0.5rem;
}
#racer .campaign .obo .mess_btn {
  width: 18.5rem;
  height: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-left: 0.5rem;
}
#racer .campaign .limit {
  text-align: center;
  font-size: 4rem;
}
#racer .campaign .limit .small {
  font-size: 3rem;
}
#racer .campaign .limit .yo-bi {
  color: #FFF6E4;
  position: relative;
  font-size: 3rem;
  z-index: 1;
  top: -0.4rem;
}
#racer .campaign .limit .yo-bi::before {
  content: "";
  display: inline-block;
  position: absolute;
  background: #6C321C;
  border-radius: 50%;
  z-index: -1;
  padding: 0.2rem;
  width: 4rem;
  height: 4rem;
  top: 0.3rem;
  left: -0.6rem;
}
#racer .racer_btn {
  margin-bottom: 2rem;
}
#racer .racer_btn ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8rem;
  margin-bottom: 6rem;
}
#racer .racer_btn li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(../images/racer_btn_num.svg) no-repeat center;
  background-size: contain;
  width: 26rem;
  height: 12rem;
  transform-origin: bottom;
  transition: all 0.3s;
  cursor: pointer;
}
#racer .racer_btn li::after {
  content: "";
  display: inline-block;
  position: relative;
  width: 15rem;
  height: 1.2rem;
  background: #6C321C;
  border-radius: 50%;
  top: 8rem;
  transform-origin: bottom;
  transition: all 0.3s;
}
#racer .racer_btn li#zen {
  background: url(../images/racer_btn_zen.svg) no-repeat center;
  background-size: contain;
}
#racer .racer_btn li#hei {
  background: url(../images/racer_btn_hei.svg) no-repeat center;
  background-size: contain;
}
#racer .racer_btn li.active {
  transform: translateY(2rem);
  pointer-events: none;
}
#racer .racer_btn li.active::after {
  border-radius: 0;
  width: 6rem;
  height: 2rem;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  top: 6rem;
}
#racer .racer_btn .kome {
  color: #6C321C;
  font-size: 1.8rem;
  text-align: right;
}
#racer .mess_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff;
  border-style: solid;
  border-width: 0.2rem;
  border-color: #fff;
  border-radius: 1rem;
}
#racer .mess_btn .ind {
  background: url(../images/x_logo.svg) no-repeat center;
  background-size: contain;
  width: 2.5rem;
  height: 2.5rem;
}
#racer .racer_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-top: 11rem;
  margin-top: -11rem;
}
#racer .racer_list .data_list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 34rem;
  background: url(../images/racer_pattern.svg) repeat top left, #6C321C;
  background-size: 7rem auto;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
}
#racer .racer_list .data_list * {
  color: #FFF6E4;
  text-align: center;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}
#racer .racer_list .data_list a {
  position: absolute;
  top: 0;
  left: 0;
}
#racer .racer_list .data_list .label {
  width: 30rem;
  height: 4rem;
  position: absolute;
  top: 3rem;
  left: -7rem;
  transform: rotate(-30deg);
  font-size: 2.6rem;
  font-family: "Noto Sans JP", sans-serif;
}
#racer .racer_list .data_list .label span {
  font-size: 2.2rem;
  font-family: "Noto Sans JP", sans-serif;
}
#racer .racer_list .data_list .label.a1 {
  background: #FF3343;
}
#racer .racer_list .data_list .label.a2 {
  background: #FF8800;
}
#racer .racer_list .data_list .label.b1 {
  background: #00BD9E;
}
#racer .racer_list .data_list .label.b2 {
  background: #61A5FE;
}
#racer .racer_list .data_list img {
  width: 30rem;
  height: 20rem;
  margin-top: 2rem;
}
#racer .racer_list .data_list .name {
  background: #252F40;
  width: 30rem;
  height: 5rem;
  line-height: 5rem;
  font-size: 3rem;
  margin-top: -2.5rem;
}
#racer .racer_list .data_list .score {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#racer .racer_list .data_list .score h4 {
  color: #6C321C;
  background: url(../images/racer_zen_h4.png) no-repeat center;
  background-size: contain;
  width: 30rem;
  height: 4rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
}
#racer .racer_list .data_list .score ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#racer .racer_list .data_list .score li {
  width: 9rem;
  height: 8rem;
  background: url(../images/racer_score_bg.svg) no-repeat center;
  background-size: contain;
  font-size: 2.8rem;
  font-weight: 900;
}
#racer .racer_list .data_list .score li:not(:nth-child(2)) {
  margin-right: 1rem;
}
#racer .racer_list .data_list .score li:nth-child(1) {
  margin-left: 5rem;
  margin-bottom: 1rem;
}
#racer .racer_list .data_list .score li:nth-child(2) {
  margin-right: 5rem;
  margin-bottom: 1rem;
}
#racer .racer_list .data_list .score li:nth-child(2)::after {
  content: "%";
  font-size: 1.7rem;
}
#racer .racer_list .data_list .score li:nth-child(n+3)::after {
  content: "回";
  font-size: 1.8rem;
}
#racer .racer_list .data_list .score li h5 {
  position: relative;
  padding: 0.3rem 0;
  font-size: 1.8rem;
  font-weight: 700;
}
#racer .racer_list .data_list .score li h5::after {
  content: "";
  display: inline-block;
  background: url(../images/racer_zen_h4.png) no-repeat center;
  background-size: cover;
  width: 8rem;
  height: 0.15rem;
  position: absolute;
  bottom: -0.2rem;
  left: 0.3rem;
}
#racer .racer_list .data_list .score.hei h4 {
  color: #252F40;
  background: url(../images/racer_hei_h4.png) no-repeat center;
  background-size: contain;
}
#racer .racer_list .data_list .score.hei h5::after {
  background: url(../images/racer_hei_h4.png) no-repeat center;
  background-size: cover;
}
#racer .racer_list .data_list .mess_btn {
  width: 29rem;
  font-size: 2.4rem;
  font-family: "Noto Sans JP", sans-serif;
  transition: all 0.1s;
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
#racer .racer_list .data_list .mess_btn .ind {
  width: 3.3rem;
  height: 3.4rem;
}
#racer .racer_list .data_list:hover .mess_btn {
  background: #FF7FA5;
}
#racer .racer_list .data_list.zenhatsu .zen li {
  display: none;
}
#racer .racer_list .data_list.zenhatsu .zen::after {
  content: "出走なし";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF6E4;
  background: url(../images/racer_hatsu_bg.svg) no-repeat center;
  background-size: contain;
  width: 29rem;
  height: 17rem;
  font-size: 2.8rem;
}
#racer .racer_list .data_list.hatsu .hei li {
  display: none;
}
#racer .racer_list .data_list.hatsu .hei::after {
  content: "当地初出走";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF6E4;
  background: url(../images/racer_hatsu_bg.svg) no-repeat center;
  background-size: contain;
  width: 29rem;
  height: 17rem;
  font-size: 2.8rem;
}

/***********************************************************************
ミディアムデバイス (スマートフォン) のスタイル
**********************************************************************/
@media screen and (max-width: 750px) {
  #racer .content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  #racer .tit {
    margin-bottom: 7rem;
  }
  #racer .campaign {
    font-size: 2.5rem;
  }
  #racer .campaign .cam_list {
    width: 61rem;
    height: 8.1rem;
    margin-bottom: 5rem;
  }
  #racer .campaign .cam_list.large {
    height: 48.1rem;
    padding-top: 4.5rem;
    padding-bottom: 1.5rem;
  }
  #racer .campaign .pre {
    font-size: 3.5rem;
  }
  #racer .campaign .pre span {
    font-size: 4.3rem;
  }
  #racer .campaign .pstar {
    width: 22.3rem;
    height: 20.8rem;
    top: 17rem;
    left: 41rem;
  }
  #racer .campaign .kome {
    font-size: 1.7rem;
  }
  #racer .campaign .obo .hei_x {
    width: 23rem;
  }
  #racer .campaign .limit {
    font-size: 4.3rem;
  }
  #racer .racer_btn li {
    width: 22rem;
    height: 10.2rem;
  }
  #racer .racer_btn li:nth-child(2) {
    margin-right: 2.5rem;
    margin-left: 2.5rem;
  }
  #racer .racer_list .data_list:nth-child(odd) {
    margin-right: 2rem;
  }
}
/***********************************************************************
ラージデバイス (デスクトップ) のスタイル
**********************************************************************/
@media screen and (min-width: 751px) {
  #racer .lead {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
  #racer .campaign {
    height: 50rem;
    justify-content: space-between;
    align-content: center;
    margin-top: 5rem;
  }
  #racer .cam_list {
    width: 56rem;
  }
  #racer .cam_list:first-child {
    margin-right: 13rem;
  }
  #racer .racer_btn {
    width: 182rem;
  }
  #racer .racer_btn li:nth-child(2) {
    margin-right: 3rem;
    margin-left: 3rem;
  }
  #racer .racer_btn li:hover {
    transform: translateY(1rem);
  }
  #racer .racer_btn li:hover::after {
    top: 7rem;
  }
  #racer .racer_btn .kome {
    margin-top: -5.5rem;
  }
  #racer .racer_list {
    width: 182rem;
  }
  #racer .racer_list .data_list:not(:nth-child(5n)) {
    margin-right: 3rem;
  }
}
@keyframes pstar {
  from {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(0deg) skew(0deg, 0deg);
    opacity: 1;
  }
  to {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(0deg) skew(0deg, 0deg);
    opacity: 1;
  }
  2% {
    animation-timing-function: linear;
    transform: translate(0rem, -2rem) scale(1, 1) rotate(0deg) skew(0deg, 0deg);
    opacity: 1;
  }
  5% {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(0deg) skew(0deg, 0deg);
    opacity: 1;
  }
  20% {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(0deg) skew(0deg, 0deg);
    opacity: 1;
  }
  30% {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(10deg) skew(0deg, 0deg);
    opacity: 1;
  }
  35% {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(10deg) skew(0deg, 0deg);
    opacity: 1;
  }
  55% {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(-10deg) skew(0deg, 0deg);
    opacity: 1;
  }
  60% {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(-10deg) skew(0deg, 0deg);
    opacity: 1;
  }
  70% {
    animation-timing-function: linear;
    transform: translate(0rem, 0rem) scale(1, 1) rotate(0deg) skew(0deg, 0deg);
    opacity: 1;
  }
}/*# sourceMappingURL=racer.css.map */