@charset "utf-8";

body {
  background-color: #523062;
  font-family: dotgothic16, sans-serif;
  font-weight: 400;
  font-style: normal;
}
img {
  max-width: 100%;
  height: auto;
}

/* ローディング画面 */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  transition: all 1s;
  background-color: #3930b2;
  z-index: 100;
}
.loading_inner {
  position: absolute;
  top: 50%;
  left: 0;
  margin: -50px 0 0;
  width: 100%;
  height: 100px;
}
.loading_inner p {
  margin-bottom: 20px;
  color: #a627ce;
  font-size: 30px;
  text-align: center;
}
.loading_inner .stage {
  width: 10px;
  margin: 0 auto;
}
.dot-collision {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: #a627ce;
  color: #a627ce;
}

.dot-collision::before,
.dot-collision::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-collision::before {
  left: -15px;
  width: 10px;
  height: 10px;
  background-color: #a627ce;
  color: #a627ce;
  animation: dotCollisionBefore 2s infinite ease-in;
}

.dot-collision::after {
  left: 15px;
  width: 10px;
  height: 10px;
  background-color: #a627ce;
  color: #a627ce;
  animation: dotCollisionAfter 2s infinite ease-in;
  animation-delay: 1s;
}

@keyframes dotCollisionBefore {
  0%,
  50%,
  75%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-15px);
  }
}

@keyframes dotCollisionAfter {
  0%,
  50%,
  75%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(15px);
  }
}

.loaded {
  display: none;
  opacity: 0;
  visibility: hidden;
}

/*----------------------------------------
	header
----------------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 70px;
  background: #22282c;
}

.h-logo {
  position: absolute;
  top: 15px;
  left: 30px;
  width: 140px;
}

.sns-list {
  position: absolute;
  top: 22px;
  right: 30px;
  font-size: 0;
}
.sns-list li {
  display: inline-block;
  width: 26px;
  margin-left: 38px;
}

@media screen and (max-width: 639px) {
  .header {
    height: 50px;
  }
  .h-logo {
    top: 10px;
    left: 15px;
    width: 100px;
  }

  .sns-list {
    top: 13px;
    right: 18px;
  }
  .sns-list li {
    width: 23px;
    margin-left: 20px;
  }
}

/*----------------------------------------
	main
----------------------------------------*/

.main-contents {
  height: 100vh;
  height: 100lvh;
}

.counter-box {
  position: absolute;
  top: 270px;
  left: 50%;
  right: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  width: 540px;
  border: 3px solid #a627ce;
  border-radius: 10px;
  background-color: #ff8dff;
  padding: 5px;
  text-align: center;
  z-index: 2;
  opacity: 0;
}
.counter-box_inner {
  padding: 50px 0 35px;
  border: 2px solid #972eaf;
  border-radius: 10px;
  background-color: #fdf8fa;
}
.counter_ttl {
  margin-bottom: 30px;
  text-align: center;
}
.counter_ttl img {
  width: 373px;
}
#countdownArea {
  font-size: 0;
  color: #893ffe;
  text-align: center;
  line-height: 30px;
}
#countdownArea span {
  display: inline-block;
  font-size: 30px;
}

.commingsoon {
  position: absolute;
  top: 390px;
  left: 50%;
  right: 50%;
  width: 300px;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  color: #ffffff;
  font-size: 38px;
  text-align: center;
  z-index: 2;
  opacity: 0;
}

.area {
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  z-index: 1;
  background: repeat-x 0px 70px / auto 63% url("../images/common/sky_1.jpg");
}

.building {
  position: fixed;
  left: 0;
  bottom: 247px;
  height: 393px;
}
.building-01 {
  background: repeat-x 0 / auto 100% url("../images/common/building-01.png");
  z-index: 1;
}
.building-02 {
  background: repeat-x 0 / auto 100% url("../images/common/building-02.png");
  z-index: 0;
}

.road {
  position: fixed;
  left: 0;
  bottom: 70px;
  height: 204px;
  background: repeat-x 0 / auto 100% url("../images/common/road.png");
  z-index: 2;
}
.road::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 429px;
  height: 166px;
  background: repeat-x 0 / auto 100% url("../images/common/road_right.png");
}
.shop {
  position: absolute;
  bottom: 126px;
  right: 0;
  width: 284px;
  height: 365px;
  background: no-repeat 0 / auto 100% url("../images/common/shop-close.png");
  z-index: 2;
}

.character {
  position: absolute;
  width: 66px;
  height: 105px;
  overflow: hidden;
  animation: sprite1 1s steps(2, start) infinite;
}
.character-01_run {
  background: url(../images/common/character-01.png) 0 0 / 200% no-repeat;
}
.character-02_run {
  background: url(../images/common/character-02.png) 0 0 / 200% no-repeat;
}
.character-03_run {
  background: url(../images/common/character-03.png) 0 0 / 200% no-repeat;
}
.character-04_run {
  background: url(../images/common/character-04.png) 0 0 / 200% no-repeat;
}
.character-05_run {
  background: url(../images/common/character-05.png) 0 0 / 200% no-repeat;
}
.character-06_run {
  background: url(../images/common/character-06.png) 0 0 / 200% no-repeat;
}
@keyframes sprite1 {
  0% {
    background-position: -132px 0;
  }
  100% {
    background-position: 0 0;
  }
}

.road .character {
  bottom: 135px;
  opacity: 1;
}
.road .character.hide {
  opacity: 0;
}
.road .character-01 {
  left: 10px;
}
.road .character-02 {
  left: calc(700% / 24 - 33px);
}
.road .character-03 {
  left: calc(1000% / 24 - 33px);
}
.road .character-04 {
  left: calc(1300% / 24 - 33px);
}
.road .character-05 {
  left: calc(1600% / 24 - 33px);
}
.road .character-06 {
  left: calc(1900% / 24 - 33px);
}

.character-wrap {
  position: absolute;
  bottom: 205px;
  z-index: 2;
  font-size: 0;
  text-align: center;
}

.character-wrap .character {
  position: static;
  display: inline-block;
  margin: 0 5px;
  opacity: 0;
  transform: scale(1, 1);
}
.character-wrap .character.show {
  opacity: 1;
}
.character-wrap.refrect .character {
  transform: scale(-1, 1);
}

.character-wrap .character-01_run {
  opacity: 1;
}

@media screen and (max-width: 879px) {
  .counter-box {
    top: 150px;
    width: 420px;
  }
  .counter-box_inner {
    padding: 40px 0 25px;
  }
  .counter_ttl {
    margin-bottom: 20px;
  }
  .counter_ttl img {
    width: 320px;
  }
  .commingsoon {
    top: 270px;
  }
  .building {
    bottom: 200px;
    height: 240px;
  }
  .road {
    bottom: 70px;
    height: 150px;
  }
  .road::after {
    width: 314px;
    height: 122px;
  }
  .shop {
    bottom: 90px;
    width: 197px;
    height: 255px;
  }
  .character {
    width: 50px;
    height: 79.54px;
  }
  @keyframes sprite1 {
    0% {
      background-position: -100px 0;
    }
    100% {
      background-position: 0 0;
    }
  }
  .road .character {
    bottom: 100px;
  }
  .character-wrap {
    bottom: 170px;
  }
}

@media screen and (max-width: 639px) {
  .area {
    background-position: 0 50px;
  }
  .counter-box {
    top: 150px;
    width: 360px;
  }
  .counter-box_inner {
    padding: 30px 0 15px;
  }
  .counter_ttl {
    margin-bottom: 18px;
  }
  .counter_ttl img {
    width: 280px;
  }
  .commingsoon {
    font-size: 28px;
  }
  #countdownArea {
    line-height: 26px;
  }
  #countdownArea span {
    font-size: 26px;
  }
  .building {
    bottom: 180px;
    height: 240px;
  }
  .road {
    bottom: 50px;
    height: 150px;
  }
  .road::after {
    width: 314px;
    height: 122px;
  }
  .shop {
    bottom: 90px;
    width: 158px;
    height: 205px;
  }
  .character {
    width: 40px;
    height: 63.63px;
  }
  @keyframes sprite1 {
    0% {
      background-position: -80px 0;
    }
    100% {
      background-position: 0 0;
    }
  }
  .road .character {
    bottom: 100px;
  }
  .character-wrap {
    bottom: 150px;
  }
  .character-wrap .character {
    margin: 0 2px;
  }
}

@media screen and (max-width: 379px) {
  .counter-box {
    width: 280px;
  }
  .counter-box_inner {
    padding: 20px 0 10px;
  }
  .counter_ttl {
    margin-bottom: 15px;
  }
  .counter_ttl img {
    width: 220px;
  }
  #countdownArea {
    line-height: 22px;
  }
  #countdownArea span {
    font-size: 22px;
  }
}

@media screen and (max-height: 869px) {
  .counter-box {
    top: 150px;
  }
  .commingsoon {
    top: 270px;
  }
}

@media screen and (max-height: 699px) {
  .counter-box {
    top: 100px;
  }
  .commingsoon {
    top: 190px;
  }
}

/*----------------------------------------
	footer
----------------------------------------*/

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 70px;
  background: #22282c;
}

.f-ico {
  position: absolute;
  top: 35px;
  left: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 30px;
}

.f-ico img {
  width: 100%;
  height: auto;
}

.f-mail {
  position: absolute;
  top: 35px;
  right: 3%;
  transform: translateY(-50%);
  display: flex;
  gap: 20px;
}

.f-mail p {
  color: white;
  line-height: 180%;
  font-size: 12px;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 639px) {
  .footer {
    height: 50px;
  }
  .f-ico {
    top: 25px;
    width: 25px;
    transform: translateY(-50%);
    left: 8%;
    right: auto;
  }
  .f-mail {
    top: 25px;
    gap: 10px;
  }

  .f-mail img {
    width: 20px;
  }

  .f-mail p {
    color: white;
    line-height: 150%;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
}
