* {
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: 100svw;
  height: 100vh;
  height: 100svh;
  display: flex;
  justify-content: flex-start;
  position: relative;
}
.wrap .center_lang {
  display: block;
  width: 352px;
  height: 408px;
  position: absolute;
  top: calc(50% - 204px);
  left: calc(50% - 176px);
  z-index: 3;
}
.wrap .box {
  width: 50%;
  height: 100%;
  background-color: #000;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.wrap .box .logo {
  position: relative;
  z-index: 2;
}
.wrap .box .logo .arrow {
  position: absolute;
  top: 75%;
  left: 28%;
  width: 45%;
  -webkit-animation: rotateY-anim 5s linear infinite;
          animation: rotateY-anim 5s linear infinite;
}
.wrap .box .logo.en .arrow {
  top: 94%;
}
.wrap .box:hover {
  opacity: 0.7;
}
.wrap .box::after {
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.wrap .box.jokamachi::after {
  background: url(../img/top_jokamachi.jpg) center top no-repeat;
  background-size: cover;
}
.wrap .box.kawashiri::after {
  background: url(../img/top_kawashiri.jpg) center top no-repeat;
  background-size: cover;
}

@-webkit-keyframes rotateY-anim {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes rotateY-anim {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
@media screen and (max-width: 1600px) {
  .wrap .center_lang {
    width: 20%;
    top: calc(50% - 12vw);
    left: 40%;
    z-index: 3;
  }
  .wrap .box .logo {
    width: 50%;
  }
  .wrap .box .logo img {
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 768px) {
  figure img {
    margin-left: auto;
    margin-right: auto;
  }
  .wrap {
    flex-direction: column;
  }
  .wrap .center_lang {
    width: 48%;
    height: auto;
    position: absolute;
    top: calc(50% - 98.5px);
    left: 26%;
    z-index: 3;
  }
  .wrap .box {
    width: 100%;
    height: 50%;
  }
  .wrap .box .logo {
    width: auto;
    max-width: 50%;
  }
  .wrap .box .logo img {
    margin-left: auto;
    margin-right: auto;
  }
  .wrap .box .logo .arrow {
    left: 30%;
    width: 42%;
    top: 94%;
  }
  .wrap .box.jokamachi .logo {
    position: relative;
    top: -6.5vw;
  }
  .wrap .box.kawashiri .logo {
    position: relative;
    top: 5.5vw;
  }
}
@media screen and (max-width: 480px) {
  .wrap .center_lang {
    width: 40%;
    top: calc(50% - 17vw);
    left: 30%;
  }
  .wrap .logo_top {
    top: calc(50% - 22vw);
    left: 26%;
  }
  .wrap .box .logo {
    width: 56%;
  }
  .wrap .box.jokamachi .logo {
    position: relative;
    top: -6.5vw;
  }
  .wrap .box.kawashiri .logo {
    position: relative;
    top: 5.5vw;
  }
}/*# sourceMappingURL=style.css.map */