#top_dream {
  position: relative;
  /* overflow: hidden; */
  margin-top: 4.4%;
}

@media (max-width: 1199px) {
  #top_dream {
    margin-top: 7.4%;
  }
}

#top_dream::before {
  content: "";
  background-image: url("../images/main/footprints.png");
  background-size: cover;
  position: absolute;
  width: 21%;
  aspect-ratio: 409 / 324;
  top: -3.3%;
  left: 1%;
  z-index: -1;
}

@media (max-width: 1199px) {
 #top_dream::before {
  width: 30%;
  top: -1.8%;
  left: 1.9%;
 }
}

#top_dream ul,
#top_dream h3,
#top_dream h4,
#top_dream p {
  /* margin: 0; */
}

#top_dream ul,
#top_dream li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#top_dream .top_dream-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 14% 0 18%;
  text-align: center;
}

@media (max-width: 1920px) {
  #top_dream .top_dream-wrapper {
    padding-top: 268px;
    padding-bottom: 345px;
  }
}
#top_dream::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  /* aspect-ratio: 1920 / 3066; */
  background-image: url("../images/dream/top/bg.webp");
  background-repeat: no-repeat;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-size: cover;
  background-size: 100% 100%;
  z-index: -1;
  top: 0;
}

@media (min-width: 1921px) {
  #top_dream::after {
    /* top: 103px; */
  }
}

@media (max-width: 1199px) {
  #top_dream::after {
    /* top: 13%; */
    background-image: url("../images/dream/top/bg_sp.webp");
  }
}
/* #top_dream .top_dream-wrapper::before{
  content: "";
  position: absolute;
  width: 324px;
  aspect-ratio: 324 / 244;
  background-image: url("../images/dream/top/star.png");
  background-repeat: no-repeat;
  top: 0;
  left: 81%;
  background-size: cover;
  z-index: 1;
  top: 92px;
}

@media (max-width: 1600px){
  #top_dream .top_dream-wrapper::before {
    left: 71vw;
  }
} 

@media (max-width: 1199px){
  #top_dream .top_dream-wrapper::before {
    display: none;
  }
}  */
#top_dream .z-2{
  position: relative;
  z-index: 2;
}
#top_dream .dream-box {
  /* margin-bottom: 67px; */
  /* margin-top: 32px; */
}

#top_dream .dream-box h4 {
  text-align: center;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 0 0 1px #0055a7, 0 0 3px #0055a7, 0 0 6px #0055a7, 0 0 10px #0055a7, 0 0 20px #0055a7, 0 0 1px #0055a7, 0 0 3px #0055a7, 0 0 6px #0055a7, 0 0 10px #0055a7, 0 0 20px #0055a7;
  padding-bottom: 2.6%;
  width: 40%;
  margin: 0 auto;
}

#top_dream .dream-box h4 img {
  width: 100%;
}

#top_dream .dream-box h4 span {
  font-family: 'Oswald';
}

#top_dream .second h4 {
  padding-top: 3%;
}

#top_dream .racers-flex {
  display: flex;
  justify-content: center;
}

#top_dream .racer-img img {
  width: 100%;
}

#top_dream .top-btn-link {
  display: inline-block;
  width: 25%;
  margin: 2.7% auto 2%;
}
#top_dream .top-btn-link img{
  width: 100%;
}

@media (max-width: 1199px) {
  #top_dream img {
    width: 746px;
  }

  #top_dream .top_dream-wrapper {
    padding: 33% 0 41%;
    overflow: hidden;
  }

  #top_dream .dream-box {
    margin-bottom: 0;
  }

  #top_dream .dream-box.first {
    margin-top: 0;
  }

  #top_dream .dream-box.first,
  #top_dream .dream-box.second {
    /* padding: 1% 4% 0; */
  }

  #top_dream .top-title {
    /* margin-bottom: 26%; */
  }

  #top_dream .second h4 {
    padding-top: 7%;
  }


  #top_dream .dream-box h4 {
    margin: auto;
    margin-bottom: 0;
  }

  #top_dream .dream-box.first h4,
  #top_dream .dream-box.second h4 {
    width: 80%;
    padding-bottom: 6%;
  }

  #top_dream .racers-flex {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 0;
  }

  #top_dream .racers-flex .racer {
    width: calc(100% / 3);
    flex: initial;
  }

  #top_dream .top-btn-link {
    max-width: none;
    width: 52vw;
    margin: 4% auto 4%;
  }
}

@media (max-width: 767px) {
  #top_dream .top-title {
    /* margin-bottom: 25%; */
  }

  #top_dream .top_dream-wrapper {
    /* padding: 8% 0 3%; */
  }

  #top_dream .dream-box.first h4,
  #top_dream .dream-box.second h4 {
    /* width: 71%;
    padding-bottom: 2%; */
  }

  #top_dream .racers-flex {
    padding-inline: 0;
  }
}

@media (max-width: 499px) {
  #top_dream .top-title {
    /* margin-bottom: 17%; */
  }

  #top_dream .second h4 {
    padding-top: 2%;
  }

  #top_dream .top_dream-wrapper {
    /* padding: 8% 0 3%; */
  }
}

.racer {
  flex: 1;
}

.top_dream_title {
  font-size: 1.9vw;
  font-weight: 700;
  color: #000;
  text-align: left;
  padding-inline: 2%;
  padding-top: 1.7%;
}

@media (max-width: 1920px) {
  .top_dream_title {
    font-size: 36px;
  }
}
@media (max-width: 1199px) {
  .top_dream_title {
    font-size: 4.8vw;
    margin-top: 0;
    padding-inline: 3%;
    padding-top: 2.7%;
  }
}

.top_dream_txt {
  font-size: 1vw;
  font-weight: 700;
  color: #000;
  text-align: left;
  padding-inline: 2%;
   margin-top: 1.7%;
   line-height: 1.6;
}

@media (max-width: 1920px) {
  .top_dream_txt {
    font-size: 20px;
   
  }
}
@media (max-width: 1199px) {
  .top_dream_txt {
    font-size: 3vw;
    margin-top: 3%;
    padding-inline: 3%;
    line-height: 1.5;
  }
}

.top_dream_inner_bg {
  background: rgba(255,255,255,0.42);
}