@charset "UTF-8";
/*=============================
  全STEP共通
=============================*/
/*----------------------------
  loading
------------------------------*/
.loading {
  width: 100%;
  height: 100dvh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  padding: 10%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #252572;
  overflow: hidden;
}
.loading.go {
  opacity: 1;
}
.loading_img {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 5%;
  position: relative;
  isolation: isolate
}
.horse_shadow {
  display: block;
  filter: brightness(0.25);
  width: 100%;
}
.horse_light {
  position: absolute;
  inset: 0;
  display: block;

  width: 100%;

  clip-path: ellipse(10% 40% at 120% 50%);

  animation: lightMove 3.5s infinite ease-in-out;
  filter: 
  drop-shadow(0 0 30px rgba(180,180,255,.6));
  mix-blend-mode: screen;
  transform: translateZ(0);
}
@keyframes lightMove {
  0% {
    clip-path: ellipse(16% 55% at 120% 50%);
  }

  /* 40% {
    clip-path: ellipse(16% 55% at -20% 50%);
  }

  70% {
    clip-path: ellipse(16% 55% at 40% 50%);
  } */
  50% {
    clip-path: ellipse(16% 55% at -20% 50%);
  }

  100% {
    clip-path: ellipse(16% 55% at 120% 50%);
  }
}
.loading_text {
  /* position: relative;
  z-index: 10; */
  max-width: 500px;
  width: 80%;

  animation: textGlow 1s ease-in-out infinite alternate;
}
@keyframes textGlow {

  0% {
    opacity: 0.5;

    filter:
      drop-shadow(0 0 0px rgba(255,255,255,0))
      drop-shadow(0 0 0px rgba(120,179,249,0));
  }

  100% {
    opacity: 1;

    filter:
      drop-shadow(0 0 2px rgba(255,255,255,.6))
      drop-shadow(0 0 8px rgba(120,179,249,.45));
  }
}
/*----------------------------
  mainvisual
------------------------------*/
header {
  width: 100%;
  height: 100%;
}

header.hide {
  opacity: 0;
}

.mainvisual_kemuri {
  opacity: 0;
}
.mainvisual_kemuri.go {
  animation-name: kemuriAnime;
  animation-duration: 0.2s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.mainvisual_uma {
  opacity: 0;
}
.mainvisual_uma.go {
  animation-name: umaAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.mainvisual_logo.go {
  animation-name: logoAnime;
  animation-duration: 0.4s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

@keyframes kemuriAnime {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes umaAnime {
  from {
    transform: translateY(100vh);
    /* 要素を上の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}
@keyframes logoAnime {
  0% {
    opacity: 0;
    transform: scale(1.3) rotate(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(360deg);
  }
}
.visited {
  opacity: 1 !important;
}

/*----------------------------
  info
------------------------------*/
.info {
  background: linear-gradient(to bottom, #41418c, #7777ef);
  position: relative;
  font-size: 17px;
  font-weight: bold;
  max-width: 100%;
  padding-bottom: 9.2%;
}
@media (min-width: 1000px) {
  .info {
    padding-bottom: 92px;
  }
}
.info__bg {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background: url(../../images/bg_title.png);
  background-size: 100%;
  background-repeat: repeat-y;
  margin-top: -0.07%;
  background-position: center center;
  padding-block: 3%;
}

.info__bg::after {
  content: "";
  background: url(../../images/deco_title.png);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  position: absolute;
  aspect-ratio: 1000/92;
  top: 99%;
  left: 0;
  background-position: center center;
}

.info h2 {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 2%;
  padding-inline: 5%;
}

.info p {
  max-width: 800px;
  padding-inline: 5%;
  margin: 0 auto;
}

.info__title {
  margin: 0 auto;
  margin-bottom: 2%;
  max-width: 800px;
  padding-inline: 5%;
}

/*----------------------------
  flow
------------------------------*/
.flow1 {
  background: linear-gradient(to bottom, rgb(119, 119, 239) 0%, rgb(119, 119, 239) 30%, rgba(119, 119, 239, 0) 100%), url(../../images/bg_flow1.png);
  background-size: 100% 100%, 300px 300px;
  background-repeat: no-repeat, repeat;
}
@media (max-width: 767px) {
  .flow1 {
    background-size: 100% 100%, 220px 220px;
  }
}
.flow__main-title {
  text-align: center;
  padding-top: 10%;
  padding-bottom: 6%; 
}
@media (max-width: 767px) {
  .flow__main-title {
    padding-bottom: 10%; 
  }
}
.flow__main-title img {
  width: 100%;
  max-width: 700px;
}

.flow__title {
  position: relative;
  max-width: 400px;
  min-width: 200px;
  width: 80%;
  margin: 0 auto;
  z-index: 10;
  background-color: #323232;
  padding: 16px;
  border: 4px solid #ffea27;
  border-radius: 5px;
}
@media (max-width: 767px) {
  .flow__title{
    padding: 8px;
  }
}
.flow__title img {
  height: auto;
}

.flow__border {
  display: grid;
  justify-content: space-between;
  grid-template-columns: auto auto;
  width: 60%;
  margin: auto;
}
.flow__border span {
  display: block;
  width: 5px;
  height: 10px;
  background-color: #e9e9e9;
  border-right: solid 1.8px #000;
  border-left: solid 1.8px #000;
}
@media (min-width: 680px) {
  .flow__border span {
    border-width: 2px;
  }
}
.flow__border span:nth-child(1) {
  margin-left: 20px;
}
.flow__border span:nth-child(2) {
  margin-right: 20px;
}

@media (min-width: 680px) {
  .flow__item-grid {
    display: grid;
    grid-template-columns: 56% 1fr;
    gap: 16px;
  }
}

.flow__schedule {
  margin-bottom: 20px;
  text-align: center;
}
/* @media (min-width: 480px) {
  .flow__schedule img {
    height: 120px;
  }
} */

.flow__arrow {
  max-width: 100px;
  margin: 20px auto 20px;
}

.flow__douji {
  text-align: center;
  padding-top: 10%;
  padding-bottom: 4%;
}
.flow__oshirase {
  margin: 0 auto;
  margin-top: 2%;
  max-width: 800px;
  padding: 0 20px 4%;
}
@media (max-width: 767px) {
    .flow__oshirase {
          padding: 0 0 10%;
    }
}
.flow2 {
  background: linear-gradient(to bottom, rgb(120, 179, 249) 0%, rgb(120, 179, 249) 30%, rgba(119, 119, 239, 0) 100%), url(../../images/bg_flow2.png);
  background-size: 100% 100%, 300px 300px;
  background-repeat: no-repeat, repeat;
}
@media (max-width: 767px) {
  .flow2 {
    background-size: 100% 100%, 220px 220px;
  }
}
.btn .--timeout,
.btn .--notfirst,
.btn .--timenot {
  position: relative;
  display: block;
  pointer-events: none;
}
.btn .--timeout::after,
.btn .--notfirst::after,
.btn .--timenot::after {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  border-radius: 60px;
  z-index: 1;
}
@media (min-width: 680px) {
  .btn .--timeout::after,
  .btn .--notfirst::after,
  .btn .--timenot::after {
    width: 400px;
  }
}

.btn .--timenot::after {
  content: "6/24 PM12:00より開始";
}

.btn .--timenot.--final::after {
  content: "7/22 PM12:00より開始";
}

.btn .--timeout::after {
  content: "投票受付は終了しました";
}

.btn .--notfirst::after {
  content: "投票は完了しています";
}

.btn .--notfirst.--final::after {
  content: "本日分の投票は完了しています";
}

/*----------------------------
  step3
------------------------------*/
@media (min-width: 680px) {
  .step3 .flow__main-title img {
    max-width: 700px;
  }
}
.step3 .flow__item {
  padding: 4%;
}

.step3 .flow__title {
  margin-bottom: 0;
}
.step3 .flow__title-result {
  margin-bottom: 30px;
  text-align: center;
}
@media (min-width: 480px) {
  .step3 .flow__title-result img {
    height: 65px;
  }
}
.step3 .flow__title-result:nth-of-type(2) {
  margin-top: 40px;
}
.step3 .result {
  background-color: #f3f3f2;
  border-radius: 10px;
  padding: 3%;
  color: #000;
  font-weight: normal;
}
.step3 .result:not(:first-child) {
  margin-top: 30px;
}
.result__umaheader {
  display: grid;
  grid-template-columns: 20% 1fr;
  align-items: center;
  gap: 2%;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .result__umaheader {
    grid-template-columns: 17% 1fr;

  }
}
.result__number {
  display: block;
  background-color: #111111;
  border-radius: 5px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
  box-sizing: border-box;
  position: relative;
  padding-right: 16%;
}
.result__number::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #323232;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
}
.result__umaheader__text {
  background-color: #111111;
  padding: 10px 4%;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.step3 .result__stamp {
  color: #fff;
  margin-top: 10px;
  text-align: center;
  font-size: 20px;
}
@media (max-width: 767px) {
  .step3 .result__stamp {
    color: #fff;
    margin-top: 10px;
    text-align: center;
    font-size: clamp(0.6875rem, 0.2848rem + 2.0134vw, 1.25rem);
  }
}
.result__umaheader__text::after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top: 55%;
  left: 0;
  background-color: #fff;
}
.step3 .result_race {
  margin: 10px 0;
}
@media (min-width: 680px) {
  .step3 .result_race {
    margin-top: 0;
  }
}
.step3 .result__comment {
  font-size: 16px;
}
.step3 .result__grid {
  color: #fff;
}
@media (min-width: 680px) {
  .step3 .result__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 40% 1fr;
  }
}
.step3 .result {
  background-color: #555555;
}

.flow_result_bg {
  background: url(../../images/bg_flow1.png);
  background-size: contain;
  margin-top: -20%;
  padding-bottom: 5%;
}
.flow_result h2.flow__main-title {
  padding-bottom: 2%;
}
.flow_result .flow__oshirase img {
  margin: 0 auto;
}
.flow_result .flow2 {
  padding-top: 5%;
}

.flow_result .flow__main-title img {
  width: 80%;
  max-width: 460px;
}


.flow_result h4.flow__title-result {
  text-align: center;
}

.flow_result h4.flow__title-result img {
  height: auto;
  width: 100%;
  max-width: 600px;
}

.result_umaname {
  margin: 0 auto;
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}

.result_umaname img {
  width: 100%;
  height: auto;
  max-width: 400px;
}

/*----------------------------
  point
------------------------------*/
.point__title {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
  padding-top: 10dvh;
  padding-bottom: 4%;
}
@media (max-width: 767px) {
  .point__title  {
    padding-top: 10%;
  }
}
.point__list {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  font-size: 16px;
  font-weight: bold;
  padding: 0 20px;
  padding-bottom: 2%;
  grid-template-columns: 1fr;
  margin: 0 auto;
}
@media (min-width: 781px) {
  .point__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.point__list li {
  overflow: hidden;
  border-radius: 5px;
  background-color: #7777ef;
  /* background-image: url(../../images/bg_point.svg);
  background-repeat: no-repeat;
  background-size: 120%;
  background-position: 100% 100%; */
  border: 4px solid #fff;
  position: relative;
}
.point__list li::after {
  content: "";
  width: 140%;
  aspect-ratio: 5 / 4;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(27%, 62%);
  background-color: #898ee5;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
@media (min-width: 431px) and (max-width: 780px) {
  .point__list li::after {
    width: 100%;
    transform: translate(32%, 72%);
  }
}
/* @media (min-width: 400px) and (max-width: 780px) {
  .point__list li {
    display: grid;
    grid-template-columns: 50% 1fr;
    align-items: center;
  }
} */
.point__list li .point__number {
  background-color: #f4f4f4;
}
.point__list li .point__number .point__img {
  width: 60%;
  min-width: 140px;
  padding: 15px;
  border-radius: 0 60px 60px 0;
}
@media (min-width: 431px) and (max-width: 780px) {
  .point__list li .point__number .point__img {
    width: 34%;
  }
  .point__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
.point__content h3 {
  padding: 30px 3%;
  margin-block: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .point__content h3 {
    padding: 30px 8%;
  }
}
.point__content p {
  padding: 15px;
  color: #fff;
  border-top: solid 2px #fff;
}
@media (min-width: 431px) and (max-width: 780px) {
  .point__content p {
    border-top: none;
    border-left: solid 2px #fff;
  }
}
.point__list li:nth-child(1) .point__img {
  background-color: #8ced91;
}
.point__list li:nth-child(2) .point__img {
  background-color: #f9a058;
}
.point__list li:nth-child(3) .point__img {
  background-color: #c3b2f9;
}
.point__img img {
  width: 60%;
  min-width: 110px;
}
.point2 li {
  margin-left: auto;
}

/*=============================
  STEP2
=============================*/
.step2 .flow2 .container {
  padding-bottom: 4%;
}
@media (max-width: 767px) {
    .step2 .flow2 .container {
  padding-bottom: 10%;
}
}
.step2 .flow__item.--end {
  position: relative;
}
.step2 .flow__item.--end::after {
  content: "投票受付は終了しました";
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  border-radius: 5px;
  z-index: 1;
}
.step2 .flow__title-finalist {
  text-align: center;
  margin: 20px auto 0 auto;
}
.step2 .flow__title-finalist img {
  width: 80%;
  max-width: 420px;
}
/*=============================
  STEP3
=============================*/