@charset "UTF-8";
/*=============================
  全STEP共通
=============================*/
/* ボタン */
.btn img {
  width: 400px;
}
.form-grp .btn {
  max-width: 300px;
}
#form .btn img{
  width: 100%;
 }
/*----------------------------
  loading
------------------------------*/
.loading{
  background:
  linear-gradient(to bottom, #79a5a5 0%,#79a5a5 20%, #c99359 100%),
  url(../../images/bg_header@4x.png) no-repeat center;
  width: 100%;
  height: 100vh;
  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;
}
.loading_img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 5%;
}
/*提灯アニメーション*/
.chochin-row {
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 20%;
  margin: 0 auto;
}

.chochin {
  width: 30px;
  animation: swing 2s infinite ease-in-out;
}

.chochin:nth-child(1) {
  animation-delay: 0s;
}
.chochin:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes swing {
  0%, 100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

.loading-text {
  color: #fff8d3;
  font-size: clamp(14px, 4vw, 20px);
  font-weight: bold;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px #eada6c; }
  50% { opacity: 0.4; text-shadow: none; }
}  

/* Spinner LoadBar 
.sp-loadbar {
  width: 50px;
  height: 18px;
  margin: auto;
  margin-top: 20px;
  border: 1px #fff solid;
  border-radius: 4px;
  background: linear-gradient(-60deg, transparent 0%, transparent 50%, #fff 50%, #fff 75%, transparent 75%, transparent);
  background-size: 20px 30px;
  background-position: 0px 0px;
  -webkit-animation: spLoadBar 0.8s infinite linear;
  animation: spLoadBar 0.8s infinite linear;
}
@-webkit-keyframes spLoadBar {
  from { background-position: 0px 0px; }
  to { background-position: -20px 0px; }
}
@keyframes spLoadBar {
  from { background-position: 0px 0px; }
  to { background-position: -20px 0px; }
}
*/
/*----------------------------
  mainvisual
------------------------------*/
header {
  background:
    linear-gradient(to bottom, #79a5a5 0%,#79a5a5 20%, #c99359 100%),
    url(../../images/bg_header@4x.png) no-repeat center;
  z-index: -10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
header.hide {
  opacity: 0;
}
header .mainvisual {
  overflow: hidden;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
}
.img-pc{
  display: block;
}
.img-sp{
  display: none;
}
.img-wrapper{
  width: 100%;
  max-width: 1200px;
  position: relative;
  }
@media (max-width: 767px) {
  .img-sp{
    display: block;
  }
  .img-pc{
    display: none;
  }
}

.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 {
  width: 15%;
  position: absolute;
  right: 8%;
  top: 3%;

  @media (max-width: 767px){
    width: 23%;
    position: absolute;
    left: auto;
    right: 2%;
    top: 2%;
  }
}
.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
------------------------------*/
/*.cloud_title_top {
  padding-top: 450px;
  margin-bottom: -10px;
}
@media  (max-width: 1080px){
  .cloud_title_top {
    padding-top: 42%;
  }
}
@media  (max-width: 770px){
  .cloud_title_top {
    padding-top: 78%;
  }
}*/
.cloud_title_top img {
  width: 100%;
}
.step1, .step2, .step3{
  margin-top: -1%;
}
.cloud_title_bottom {
  margin-top: -10px;
}
.cloud_title_bottom img {
  width: 100%;
}
.info {
  background-color: #9dc7c9;
  position: relative;
  font-size: 17px;
  font-weight: bold;
  max-width: 100%;
}
.info .content{
  z-index: 20;
}
 
.info h2 {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 3%;
}
.info p{
  max-width: 800px;
  margin: 0 auto;
}

.info__title {
  margin: 0 auto;
  max-width: 500px;
  margin-bottom: 5%;
  padding: 5% 35px 0;
}


/*----------------------------
  flow
------------------------------*/
.flow1{
  background: url(../../images/bg_flow1@3x.png);
  background-size: contain;
  margin-top: -28%;
}
.flow__main-title {
    padding-top: 10%;
    text-align: center;
    padding-bottom: 5%;
}
.flow__main-title img {
  width: 100%;
  max-width: 700px;
}
  .flow__title {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  z-index: 10;
}
.flow__title img {
  height: auto;
}
  
.flow1 .container .contents_box {
  background-color: #e8e092;
  border: solid 1.8px #000;
  border-radius: 10px;
  padding: 10% 15px 15px;
  margin-top: -5%;
  font-weight: bold;
}
.flow2 .container .contents_box {
  background-color: #c8bed3;
  border: solid 1.8px #000;
  border-radius: 10px;
  padding: 10% 15px 15px;
  margin-top: -5%;
  font-weight: bold;
}
.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: auto 1fr;
    gap: 20px;
  }
}

.flow__schedule {
  margin-bottom: 20px;
  text-align: center;
}
.flow__schedule img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

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

.flow__douji {
  text-align: center;
  margin-bottom: 5%;
}
.flow__douji img {
  width: 100%;
  max-width: 700px;
  height: auto;
}
.flow__oshirase {
  margin: 0 auto;
  margin-top: 30px;
  max-width: 700px;
}
/* .flow1 {
  margin-top: -125px;
  padding-top: 80px;
}
@media (min-width: 680px) {
  /* .flow1 {
    margin-top: -180px;
    padding-top: 130px;
  } 
} */

.flow2 {
  background: url(../../images/bg_flow2@3x.png) ;
  background-size: cover;
  padding-top: 5%;
}

.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: 35px;
  z-index: 1;
  max-width: 400px;
}
@media (max-width: 470px) {
  .btn .--timeout::after,
  .btn .--notfirst::after,
  .btn .--timenot::after {
    border-radius: 27px;
  }
}
@media (min-width: 680px) {
  .btn .--timeout::after,
  .btn .--notfirst::after,
  .btn .--timenot::after {
    width: 400px;
  }
}

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

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

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

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

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

/*----------------------------
  step3
------------------------------*/
.cloud_title_top {
  margin-top: -10px;
}
.step3 .cloud_title_top {
  padding-top: 450px;
  margin-bottom: -10px;
}
.step3 .flow__main-title {
  padding-top: 5%;
  padding-bottom: 1%;
}
@media (min-width: 680px) {
  .step3 .flow__main-title img {
    max-width: 600px;
  }
}
.step3 .flow__item {
  padding: 10px;
}
.step3 .flow2 .flow__item {
  padding: 20px 10px 10px;
}
@media (min-width: 680px) {
  .step3 .flow2 .flow__item {
    padding-right: 40px;
    padding-left: 40px;
  }
}
@media (min-width: 480px) {
  .step3 .flow__item {
    padding: 20px 40px;
  }
}
.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: 15px;
  color: #000;
  font-weight: normal;
  padding-top: 13%;
  margin-bottom: 7%;
}
@media (min-width: 680px) {
  .step3 .result {
    padding-right: 30px;
    padding-left: 30px;
  }
}
.step3 .result__stamp {
  color: #274a78;
  border: dotted 1px #274a78;
  border-radius: 3px;
  padding: 5px;
  margin-bottom: 20px;
  margin-top: -3%;
  text-align: center;
}

.step3 .result_race {
  margin: 10px 0;
}
@media (min-width: 680px) {
  .step3 .result_race {
    margin-top: 0;
  }
}
.step3 .result__comment {
  font-size: 16px;
}
@media (min-width: 680px) {
  .step3 .result__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 40% 1fr;
  }
}
.step3 .flow2 .result {
  margin-top: 10%;
}
.flow_result_bg {
  background: url(../../images/bg_flow1@3x.png);
  background-size: contain;
  margin-top: -20%;
  padding-bottom: 5%;
}
.flow_result .container {
  max-width: 100%;
  padding: 0px;
}
.flow_result h3 {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  z-index: 10;
}
.flow_result .flow1 {
  margin-top: 0px;
  background-image: none;
}
.flow_result h2.flow__main-title {
  padding-bottom: 2%;
}
.flow_result  .contents {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.flow_result .flow1 .container_result {
  background-image: none;
  background-color: #e8e092;
  border: #000 1.8px solid;
  border-radius: 10px;
  margin-top: -5%;
}
.flow_result .flow__oshirase img {
  margin: 0 auto;
}
.flow_result .flow2 .container_result {
  background-image: none;
  background-color: #c8bed3;
  border: #000 1.8px solid;
  border-radius: 10px;
  margin-top: -5%;
}
.flow_result .flow2 {
  padding:5% 0;
}
.flow_result .flow__main-title img {
  width: 100%;
  max-width: 600px;
}
@media (max-width: 500px) {
  .flow_result .flow__main-title img {
    width: 100%;
    max-width: 350px;
  }
}
.flow_result .flow__title {
  max-width: 600px;
  margin: 0 auto;
  z-index: 10;
  margin-top: -2%;
}

.flow_result h4.flow__title-result {
  text-align: center;
  margin: 10% auto 10%;
}
.flow_result h4.flow__title-result img {
  height: auto;
  width: 100%;
  max-width: 600px;
}
.result_umaname {
  margin: 0 auto;
  width: 100%;
  margin-top: -18%;
  margin-bottom: 5%;
  text-align: center;
}
.result_umaname img {
  width: 100%;
  height: auto;
  max-width: 400px;
}
/*----------------------------
  point
------------------------------*/

.point__title {
  text-align: center;
  margin-top: 10%;
  margin-bottom: 10%;
}
.point__title img{
  width: 100%;
  max-width: 700px;
  height: auto;
}
.point__list {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  font-size: 16px;
  font-weight: bold;
  padding: 3% 20px 10%;
  padding-bottom: 10%;
  grid-template-columns: 1fr;
  margin: 0 auto;
}
.point__list li {
  background-color: #fff;
  border: #000 1.8px solid;
  border-radius: 10px;
  position: relative;
  margin-bottom: 13%;
}
.point__img {
  width: 40%;
  position: absolute;
  top: -23%;
  left: -3%;
  z-index: 10;
}
.point__list h3 {
  margin: 0;
  border-bottom: dashed 2px #000;
  padding: 7% 55px 3%;
}
.point__list p {
  padding: 5% 20px;
}
@media (min-width: 781px) {
  .point__list {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 20px;
  }
.point1, .point2, .point3 {
  position: relative;
  margin-bottom: 10%;
}
.point__img {
  width: 60%;
  top: -18%;
  left: -6%;
}
.point__list li {
  background-color: #fff;
  border: #000 1.8px solid;
  border-radius: 10px;
  padding: 15% 0 7%;
}
.point__list h3 {
  margin: auto;
  border-bottom: dashed 2px #000;
  margin-bottom: 7%;
  padding: 0px 20px 7%;
}
.point__list p {
  padding: 0 20px;
}
}
@media (min-width: 570px) and (max-width: 780px){
  .point__list {
    padding: 0px 20px 10%;
  }
  .point1, .point2, .point3 {
    position: relative;
    margin-bottom: 10%;
  }
  .point__img {
    width: 35%;
    position: absolute;
    top: -37%;
    left: -3%;
    z-index: 10;
  }
.point__list li {
  display: grid;
  grid-template-columns: 50% 1fr;
  align-items: center;
  padding: 0;
}
.point__list h3 {
  border-bottom: none;
  border-right: dashed 2px #000;
  margin-bottom: auto;
  padding: 17% 0 10%;
}
}
@media (max-width: 450px){
  .point__img {
    top: -20%;
  }
}
/* 小雲 */
.point1{
  position: relative;
}
.cloud_1 {
  position: absolute;
  width: 27%;
  top: -27%;
  left: 90%;
}
.point2{
  position: relative;
}
.cloud_2 {
  position: absolute;
  width: 23%;
  top: 110%;
  left: 60%;
}
.point3{
  position: relative;
}
.cloud_3 {
  position: absolute;
  width: 30%;
  left: 85%;
  top: 110%;
}

.cloud--float {
  animation: floatCloud 4s ease-in-out infinite;
}
@keyframes floatCloud {
  0% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-10px); }
  100% { transform: translateX(-50%) translateY(0px); }
}
@media (min-width: 781px){
  .cloud_1 {
    left: 5%;
    top: -30%;
  }
  .cloud_2 {
    width: 45%;
    top: 110%;
    left: -35%;
  }
  .cloud_3 {
    right: -25%;
    top: 125%;
  }
}
@media (min-width: 570px) and (max-width: 780px){
  .cloud_1 {
    width: 20%;
    left: 95%;
    top: -40%;
  }
  .cloud_2 {
    width: 25%;
    top: 110%;
    left: 80%;
  }
  .cloud_3 {
    width: 27%;
    left: 15%;
    top: 115%;
  }
}
/*=============================
  STEP2
=============================*/
.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 {
  margin: 20px auto 30px auto;
  text-align: center;
}
.step2 .flow__title-finalist img{
  width: 100%;
  max-width: 400px;
}
@media (max-width: 560px){
.step2 .flow__title-finalist img{
  width: 80%;
}
}

/*=============================
  STEP3
=============================*/
/*----------------------------
  結果発表
------------------------------*/
.flow_result_bg {
  background: url(../../images/bg_flow1@3x.png);
  background-size: contain;
  margin-top: -20%;
  padding-bottom: 5%;
}
.flow_result .container {
  max-width: 100%;
  padding: 0px;
}
.flow_result .flow1 {
  margin-top: 0px;
  background-image: none;
}
.flow_result h2.flow__main-title {
  padding-bottom: 2%;
}
.flow_result  .contents {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.flow_result .flow1 .container_result {
  background-image: none;
  background-color: #e8e092;
  border: #000 1.8px solid;
  border-radius: 10px;
  margin-top: -5%;
}
.flow_result .flow__oshirase img {
  margin: 0 auto;
}
.flow_result .flow2 .container_result {
  background-image: none;
  background-color: #c8bed3;
  border: #000 1.8px solid;
  border-radius: 10px;
  margin-top: -5%;
}
.flow_result .flow2 {
  padding:5% 0;
}
.flow_result .flow__title {
  max-width: 600px;
  margin: 0 auto;
  z-index: 10;
  margin-top: -2%;
}

.flow_result h4.flow__title-result {
  text-align: center;
  margin: 10% auto 10%;
}
.flow_result h4.flow__title-result img {
  height: auto;
  width: 100%;
  max-width: 600px;
}
.result_umaname {
  margin: 0 auto;
  width: 100%;
  margin-top: -18%;
  margin-bottom: 5%;
  text-align: center;
}
.result_umaname img {
  width: 100%;
  height: auto;
  max-width: 400px;
}