*,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Meiryo, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

@media only screen and (max-width: 460px) {
  body,
html {
    font-size: 4vw !important;
  }
}
img {
  vertical-align: bottom;
  width: 100%;
  height: auto;
}

body {
  background: black;
  display: flex;
  justify-content: center;
}

#wrapper {
  max-width: 750px;
  width: 100%;
  background: #938e8e;
}

main {
  width: 100%;
  background-image: url("../images/bg_mv.png");
  background-size: 100% auto;
  position: relative;
  padding-top: 54%;
  display: flex;
  justify-content: center;
}
main:after {
  content: "";
  display: block;
  position: absolute;
  background: url("../images/image_ship.png") no-repeat;
  background-size: 100% auto;
  max-width: 120px;
  width: 16%;
  padding-top: 14%;
  top: 16%;
  right: 5%;
  animation: 3s fuwafuwa infinite;
}
main header {
  position: absolute;
  top: 31.4%;
  width: 70%;
}
main nav {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  left: 0;
}
main nav ul {
  list-style: none;
}
main nav > ul {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 0 2%;
  box-sizing: border-box;
}
main nav > ul > ul {
  width: 27%;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
}
main nav > ul > ul #btnJP a {
  background: url(../images/lang_jpn_off.png) top;
}
main nav > ul > ul #btnJP a:hover {
  background: url(../images/lang_jpn_on.png) top;
}
main nav > ul > ul #btnEN a {
  background: url(../images/lang_eng_off.png) top;
}
main nav > ul > ul #btnEN a:hover {
  background: url(../images/lang_eng_on.png) top;
}
main nav > ul > ul #btnFR a {
  background: url(../images/lang_fra_off.png) top;
}
main nav > ul > ul #btnFR a:hover {
  background: url(../images/lang_fra_on.png) top;
}
main nav > ul > ul li {
  width: 30%;
}
main nav > ul > ul li a {
  display: block;
  width: 100%;
  height: 100%;
  padding-top: 80%;
  background-repeat: no-repeat;
  background-size: 100% auto !important;
}
main nav > ul > ul li a span {
  display: none;
}
main nav > ul #logo {
  width: 27.5%;
}
main nav:after {
  content: "";
  top: 0;
  width: 100%;
  display: block;
  padding-top: 2.9%;
  background: #ae4294;
}
main #char1 {
  position: absolute;
  bottom: 0;
  right: 2.3%;
  width: 18.7%;
}
main #char2 {
  position: absolute;
  bottom: 0;
  left: 2.3%;
  width: 16.2%;
}

@media only screen and (max-width: 460px) {
  main {
    width: 100%;
    background-repeat: no-repeat;
    background-size: auto 100%;
    position: relative;
    padding-top: 90%;
    display: flex;
    justify-content: center;
  }
  main:after {
    width: 18%;
  }
  main header {
    position: absolute;
    top: 35.4%;
    width: 90%;
  }
  main #char1 {
    position: absolute;
    bottom: 0;
    right: 3.5%;
    width: 23.7%;
  }
  main #char2 {
    position: absolute;
    bottom: 0;
    left: 4.3%;
    width: 20.5%;
  }
  main nav {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    width: 100%;
    left: 0;
  }
  main nav #logo {
    width: 40% !important;
  }
  main nav ul > ul {
    width: 30%;
  }
}
#top {
  position: relative;
}
#top h2 {
  margin-top: -1.5%;
  width: 100%;
  padding-top: 9.9%;
  background-image: url(../images/txt_head.png);
  background-repeat: no-repeat;
  background-position-x: center;
  background-size: 93% auto;
}
#top h2 span {
  display: none;
}
#top .repeatBox {
  display: flex;
  justify-content: space-between;
  width: 92%;
  margin: 3% auto 2%;
}
#top .repeatBox .ssBox {
  width: 48%;
  box-shadow: 10px 10px 0 #fcff0044;
}
#top #ssInfo {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 1%;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#top #ssInfo span {
  display: block;
  width: 50%;
  text-align: center;
}

@media only screen and (max-width: 460px) {
  #top h2 {
    margin-top: -9.5%;
    width: 100%;
    padding-top: 23%;
    background-image: url(../images/txt_head_sp.png);
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: 80% auto;
  }
  #top h2 span {
    display: none;
  }
  #top .repeatBox {
    display: flex;
    width: 92%;
    margin: 3% auto 2%;
    flex-direction: column;
    align-items: center;
  }
  #top .repeatBox .ssBox {
    width: 90%;
    box-shadow: 0.6rem 0.61rem 0 #fcff0044;
    margin-bottom: 1rem;
  }
  #top #ssInfo {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  #top #ssInfo span {
    display: block;
    width: 90%;
    text-align: center;
  }
}
#bottom {
  background-image: url("../images/bg_pattern.gif");
}
#bottom #bottomFlex {
  display: flex;
  flex-wrap: wrap;
}
#bottom #bottomFlex #infoRelease {
  width: 62%;
  padding-top: 2%;
  box-sizing: border-box;
  position: relative;
  margin-left: 1.2%;
}
#bottom #bottomFlex #infoRelease img {
  width: 70%;
  height: auto;
  position: absolute;
  right: 4%;
  top: 0;
}
#bottom #bottomFlex #infoRelease:after {
  content: "";
  display: block;
  width: 100%;
  padding-top: 40.3%;
  background-image: url("../images/image_lobo.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
}
#bottom #bottomFlex #linkComic {
  width: 32%;
  position: relative;
  margin-left: 4%;
}
#bottom #bottomFlex #linkComic a {
  display: block;
}
#bottom #bottomFlex #linkComic a:hover {
  transform: scale(1.05);
}
#bottom #bottomFlex #linkComic:after {
  content: "";
  bottom: 0;
  width: 33%;
  position: absolute;
  display: block;
  padding-top: 40%;
  background-image: url(../images/image_alien.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: -15%;
}
#bottom footer > * {
  font-size: 0.9rem;
  padding: 0.3rem 1.2rem;
  text-align: right;
  font-weight: bold;
}
#bottom footer #copyright {
  background: #2a2986;
  color: white;
}
#bottom footer #copyswitch {
  color: white;
}

@media only screen and (max-width: 460px) {
  #bottom #bottomFlex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    align-items: center;
  }
  #bottom #bottomFlex #infoRelease {
    width: 94%;
    padding-top: 6%;
    box-sizing: border-box;
    position: relative;
    margin-left: 0%;
    margin-top: 1rem;
  }
  #bottom #bottomFlex #infoRelease img {
    width: 70%;
    height: auto;
    position: absolute;
    right: 4%;
    top: 0;
  }
  #bottom #bottomFlex #infoRelease:after {
    content: "";
    display: block;
    width: 85%;
    padding-top: 36%;
    background-image: url("../images/image_lobo.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
  }
  #bottom #bottomFlex #infoRelease:before {
    content: "";
    bottom: 0;
    width: 15%;
    position: absolute;
    display: block;
    padding-top: 19.1%;
    background-image: url(../images/image_alien.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    right: 0;
  }
  #bottom #bottomFlex #linkComic {
    width: 55%;
    position: relative;
    margin-left: -0.4rem;
  }
  #bottom #bottomFlex #linkComic:after {
    display: none;
  }
}
@keyframes fuwafuwa {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes zoominout {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.anime-fuwafuwa {
  animation-name: fuwafuwa;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
}

.anime-zoominout {
  animation-name: zoominout;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 3.5s;
}

.active a {
    pointer-events: none;
}

#btnJP.active a {
background: url(../images/lang_jpn_on.png) top;
}

#btnEN.active a {
background: url(../images/lang_eng_on.png) top;
}

#btnFR.active a {
background: url(../images/lang_fra_on.png) top;
}