@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Maru Gothic", "Mulish", "Zen Kaku Gothic New", sans-serif;
}

#loading {
  width: 100vw;
  height: calc(100vh);
  z-index: 11;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f1337;
  visibility: visible;
}

#loading.loading.visited {
  visibility: hidden;
  opacity: 0;
}

#loading .loading-container {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#loading .loading-neon {
  position: relative;
}

#loading .loading-neon .logo {
  z-index: 2;
  position: absolute;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
}

#loading .loading-neon .logo-blur {
  z-index: 1;
  position: absolute;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  filter: blur(3px);
}

#bg {
  display: flex;
  justify-content: center;
  background-color: #0f1337;
}

#content {
  z-index: 1;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  background-color: #0f1337;
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/common/bg.png");
  background-repeat: repeat;
  background-position: top 140vw center;
}

@media (min-width: 500px) {
  #content {
    background-position: top 700px center;
  }
}

#cta {
  z-index: 2;
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: center;
  bottom: 0;
}

#cta .content {
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
  background: linear-gradient(180deg, rgba(15, 19, 55, 0) 0%, #0f1337 80%);
  flex-direction: column;
}

#cta .content img {
  width: 100%;
}

#kv {
  background-color: #0f1337;
}

#kv-bg {
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/top/hero-bg.png");
  background-size: cover;
}

#kv .header {
  position: relative;
  height: 47px;
  width: 100%;
  margin-bottom: 16px;
}

#kv .header img {
  position: absolute;
  width: 111px;
  height: 25px;
  top: 16px;
  left: 16px;
}

#kv .hero {
  position: relative;
  margin-bottom: 32px;
}

#kv.visited .hero .logo,
#kv.visited .hero .confetti,
#kv.visited .hero .chara01,
#kv.visited .hero .chara02 {
  opacity: 1;
}

#kv .hero .logo {
  width: 100%;
  opacity: 0;
}

#kv .hero .chara01 {
  position: absolute;
  left: 0;
  top: -24px;
  opacity: 0;
  width: 25%;
}

#kv .hero .chara02 {
  position: absolute;
  right: 4px;
  bottom: 0;
  opacity: 0;
  width: 18%;
}

#kv .hero .confetti {
  position: absolute;
  width: 100%;
  top: -28px;
  left: 0;
  opacity: 0;
}

#kv .button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#kv .button a {
  position: relative;
  height: 20vw;
  width: 80%;
  border-radius: 20vw;
  text-align: center;
  line-height: 20vw;
  font-size: 5.333vw;
  color: white;
  font-weight: 700;
}

@media (min-width: 500px) {
  #kv .button a {
    height: 100px;
    line-height: 100px;
    border-radius: 100px;
    font-size: 27px;
  }
}

#kv .button a .icon {
  position: absolute;
  right: 24px;
  top: calc(50% - 10px);
  aspect-ratio: 20/16;
  height: 5.333vw;
}

@media (min-width: 500px) {
  #kv .button a .icon {
    height: 27px;
  }
}

#kv .annotation {
  margin-top: 16px;
  width: 100%;
  color: #ffffff;
  text-align: center;
  font-size: 3.2vw;
  line-height: 5.6vw;
}

@media (min-width: 500px) {
  #kv .annotation {
    font-size: 16px;
    line-height: 28px;
  }
}

#about {
  position: relative;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-top: 48px;
  padding-bottom: 90px;
}

#about .about-bg-top {
  aspect-ratio: 750/372;
  z-index: 2;
  position: absolute;
  top: 0;
  width: 100%;
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/top/about-star-01.png");
  background-size: cover;
  background-position: top;
}

#about .about-bg-bottom {
  aspect-ratio: 750/727;
  z-index: 2;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/top/about-star-02.png");
  background-size: cover;
  background-position: bottom;
}

#about .slide {
  z-index: 1;
  display: flex;
  transform: rotate(-8deg);
  align-items: center;
}

#about .slide .wrap {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

#about .slide .wrap img {
  width: 119px;
  height: 119px;
}

#about .detail {
  margin-top: 20vw;
}

@media (min-width: 500px) {
  #about .detail {
    margin-top: 100px;
  }
}

#about .detail p {
  color: #ffffff;
  font-weight: 700;
  font-size: 4.8vw;
  line-height: 8.4vw;
  text-align: center;
}

@media (min-width: 500px) {
  #about .detail p {
    font-size: 24px;
    line-height: 42px;
  }
}

#about .detail p:first-child {
  margin-bottom: 16px;
}

#about .about-bottle-top,
#about .about-bottle-middle,
#about .about-bottle-bottom {
  position: absolute;
  z-index: 2;
  transform: rotate(5deg);
}

#about .about-bottle-top {
  width: 22%;
  top: 15%;
  right: 5%;
}

#about .about-bottle-middle {
  width: 12%;
  top: 60%;
  left: 5%;
}

#about .about-bottle-bottom {
  width: 22%;
  bottom: -3%;
  right: 30%;
}

#apply {
  width: 100%;
  margin-bottom: 32px;
}

#apply .title {
  width: 100%;
  margin-bottom: 32px;
}

#apply .triangle {
  padding: 16px;
}

#apply .steps {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#apply .step1,
#apply .step2,
#apply .step3 {
  display: flex;
  justify-content: center;
  position: relative;
  width: 90%;
  background-size: cover;
  background-position: center center;
}

#apply .steps .photo {
  transform: rotate(5deg);
}

#apply .step1 {
  aspect-ratio: 661/658;
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/top/step-01-bg.png");
}

#apply .step1 .photo {
  position: absolute;
  width: 55%;
  top: 33%;
  aspect-ratio: 360/387;
}

#apply .step1 .en {
  position: absolute;
  bottom: 10vw;
  right: 5vw;
  width: 35vw;
  aspect-ratio: 254/103;
}

@media (min-width: 500px) {
  #apply .step1 .en {
    bottom: 50px;
    right: 25px;
    width: 175px;
  }
}

#apply .step2 {
  aspect-ratio: 661/658;
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/top/step-02-bg.png");
}

#apply .step2 .photo {
  position: absolute;
  width: 55%;
  top: 32%;
  aspect-ratio: 388/421;
}

#apply .step2 .en {
  position: absolute;
  bottom: 10vw;
  left: 5vw;
  width: 38vw;
  aspect-ratio: 285/145;
}

@media (min-width: 500px) {
  #apply .step2 .en {
    bottom: 50px;
    left: 25px;
    width: 190px;
  }
}

#apply .step3 {
  aspect-ratio: 661/1424;
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/top/step-03-bg.png");
}

#apply .step3 .photo {
  position: absolute;
  width: 55%;
  top: 24%;
  aspect-ratio: 360/397;
}

#apply .step3 .en {
  position: absolute;
  top: 80vw;
  right: 5vw;
  width: 46vw;
  aspect-ratio: 347/156;
}

@media (min-width: 500px) {
  #apply .step3 .en {
    top: 400px;
    right: 25px;
    width: 230px;
  }
}

#apply .step3 .title {
  position: absolute;
  width: 62%;
  bottom: 1%;
  aspect-ratio: 416/504;
  opacity: 0;
}

#apply .step3 .confetti {
  position: absolute;
  width: 105%;
  bottom: 1%;
  aspect-ratio: 693/497;
  opacity: 0;
}

#apply .step3 .bg {
  position: absolute;
  width: 100%;
  bottom: 0;
  aspect-ratio: 670/612;
}

#shop {
  width: 100%;
}

#shop .title {
  width: 100%;
}

#shop .lead {
  width: 100%;
}

#shop .list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 5%;
  gap: 10vw 5vw;
  margin-top: 32px;
}

@media (min-width: 500px) {
  #shop .list {
    gap: 50px 25px;
  }
}

#shop .list .item {
  height: 93vw;
}

@media (min-width: 500px) {
  #shop .list .item {
    max-height: 485px;
  }
}

#shop .list .item .card {
  background: #191c29;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 100vw;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#shop .list .item .card::before {
  background-image: -webkit-linear-gradient(
    180deg,
    #5ddcff,
    #3c67e3 43%,
    #4e00c2
  );
  background-image: linear-gradient(180deg, #5ddcff, #3c67e3 43%, #4e00c2);
  content: "";
  width: 104%;
  height: 102%;
  border-radius: 100vw;
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -2%;
}

#shop .list .item .card::after {
  background-image: -webkit-linear-gradient(
    180deg,
    #5ddcff,
    #3c67e3 43%,
    #4e00c2
  );
  background-image: linear-gradient(180deg, #5ddcff, #3c67e3 43%, #4e00c2);
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  border-radius: 100vw;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.8);
  filter: blur(10vw);
  opacity: 1;
  transition: opacity 0.5s;
}

#shop .list .item .card .content {
  height: 98%;
  width: 95%;
  border-radius: 100vw;
  overflow: hidden;
}

#shop .list .item .card .content .photo {
  height: 40%;
}

#shop .list .item .card .content .photo img {
  width: 100%;
  height: 100%;
}

#shop .list .item .card .content .detail {
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#shop .list .item .card .content .detail .name {
  overflow: hidden;
  width: 100%;
  margin-top: 8px;
  padding: 0 8px;
  font-size: 4.5333vw;
  font-weight: 700;
  line-height: 8vw;
  letter-spacing: 0em;
  text-align: left;
  color: white;
}

@media (min-width: 500px) {
  #shop .list .item .card .content .detail .name {
    font-size: 23px;
    line-height: 40px;
  }
}

#shop .list .item .card .content .detail .name p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#shop .list .item .card .content .detail .wrap {
}

#shop .list .item .card .content .detail .budget {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#shop .list .item .card .content .detail .budget p {
  font-size: 3.733vw;
  font-weight: 700;
  line-height: 4.733vw;
  letter-spacing: 0em;
  text-align: center;
  color: #00ccd0;
}

@media (min-width: 500px) {
  #shop .list .item .card .content .detail .budget p {
    font-size: 19px;
    line-height: 24px;
  }
}

#shop .list .item .card .content .detail .button {
  display: flex;
  align-items: center;
  justify-content: center;
}

#shop .list .item .card .content .detail .button img {
  height: 18vw;
  aspect-ratio: 1/1;
}

@media (min-width: 500px) {
  #shop .list .item .card .content .detail .button img {
    height: 90px;
  }
}

#detail {
  margin-top: 32px;
}

#detail .title {
  width: 100%;
}

#detail .content {
  border: 3px solid #00ccd0;
  border-radius: 20px;
  margin: 0 5%;
  padding: 5%;
  width: 90%;
  margin-top: 32px;
}

#detail .content .section {
  color: white;
  font-weight: 500;
  font-size: 4.2666vw;
  line-height: 7.466vw;
  border-bottom: 3px dashed #00ccd0;
  padding: 16px 0;
}

@media (min-width: 500px) {
  #detail .content .section {
    font-size: 22px;
    line-height: 38px;
  }
}

#detail .content .section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#detail .content .section .label {
  font-weight: 700;
  font-size: 4.2666vw;
  line-height: 7.466vw;
  display: flex;
  align-items: center;
}

@media (min-width: 500px) {
  #detail .content .section .label {
    font-size: 22px;
    line-height: 38px;
  }
}

#detail .content .section .label .head {
  margin-top: 1vw;
  margin-right: 8px;
  width: 4px;
  height: 4vw;
  border-radius: 2px;
  background-color: #00ccd0;
}

@media (min-width: 500px) {
  #detail .content .section .label .head {
    margin-top: 5px;
    height: 20px;
  }
}

#detail .content .section ul {
  list-style: inside;
  list-style-position: outside;
  margin-left: 20px;
}

#detail .content .section ul li {
  padding: 4px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 175%;
  word-break: break-all;
  font-size: 3.733vw;
  line-height: 6.533vw;
}

@media (min-width: 500px) {
  #detail .content .section ul li {
    font-size: 19px;
    line-height: 33px;
  }
}

#detail .content .section ul li a {
  text-decoration: underline;
  cursor: pointer;
}

#detail .content .section ul li a img {
  margin-left: 4px;
  aspect-ratio: 1/1;
  height: 6vw;
}

@media (min-width: 500px) {
  #detail .content .section ul li a img {
    height: 30px;
  }
}

#cv {
  position: relative;
  z-index: -1;
}

#cv .title-bg {
  z-index: -1;
  position: absolute;
  height: 260vw;
  width: 100%;
  top: -76vw;
  background-image: url("/wp-content/themes/favtown/assets/images/09_lp/hatachinotsudoi2024/top/cv-bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
}

@media (min-width: 500px) {
  #cv .title-bg {
    height: 1300px;
    top: -380px;
  }
}

#cv .title {
  top: -10vw;
  position: absolute;
  width: 100%;
  height: 100vw;
}

#cv .title .inner {
  width: 100%;
  height: 100%;
  position: relative;
}

#cv .title .inner .title-img {
  position: absolute;
  width: 100%;
  top: 72px;
  aspect-ratio: 750/448;
  opacity: 0;
}

#cv .title .inner .confetti-img {
  position: absolute;
  width: 100%;
  top: 72px;
  left: 0;
  aspect-ratio: 709/452;
  opacity: 0;
}

@media (min-width: 500px) {
  #cv .title {
    top: -50px;
    height: 500px;
  }
}

#cv .content {
  padding-top: 72vw;
}

@media (min-width: 500px) {
  #cv .content {
    padding-top: 360px;
  }
}

#cv .content .button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cv .content .button a {
  position: relative;
  height: 20vw;
  width: 80%;
  border-radius: 20vw;
  text-align: center;
  line-height: 20vw;
  font-size: 5.333vw;
  color: white;
  font-weight: 700;
}

@media (min-width: 500px) {
  #cv .content .button a {
    height: 100px;
    line-height: 100px;
    border-radius: 100px;
    font-size: 27px;
  }
}

#cv .content .button a .icon {
  position: absolute;
  right: 24px;
  top: calc(50% - 10px);
  aspect-ratio: 20/16;
  height: 5.333vw;
}

@media (min-width: 500px) {
  #cv .content .button a .icon {
    height: 27px;
  }
}

.btn-anim .btn-anim-inner,
.btn-anim .btn-anim-bg {
  background: -webkit-linear-gradient(
    -45deg,
    #2c67ff,
    #6613e8,
    #a413e8,
    #2c67ff,
    #6613e8,
    #a413e8
  );
  background: linear-gradient(
    -45deg,
    #2c67ff,
    #6613e8,
    #a413e8,
    #2c67ff,
    #6613e8,
    #a413e8
  );
  background-size: 900%;
  -webkit-animation: btn-anime 24s linear infinite;
  animation: btn-anime 24s linear infinite;
  border-radius: 100vw;
}

.btn-anim .btn-anim-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
}

.btn-anim .btn-anim-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 0;
  filter: blur(3vw);
}

@media (min-width: 500px) {
  .btn-anim .btn-anim-bg {
    filter: blur(25px);
  }
}

.btn-anim p {
  z-index: 2;
  position: inherit;
}

.btn-anim img {
  z-index: 2;
  position: inherit;
}

@-webkit-keyframes btn-anime {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes btn-anime {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
