@charset "utf-8";

html {
  overflow-x: hidden;
  font-family: 'Hina Mincho', serif;
}

body {
  margin: 0;
  box-sizing: border-box;
}

.wrapper {
  box-sizing: border-box;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 3fr 1fr;
  background: linear-gradient(181deg, #454545, #ffffff);
  background-size: 400% 400%;

  -webkit-animation: AnimationName 15s ease infinite;
  -moz-animation: AnimationName 15s ease infinite;
  animation: AnimationName 15s ease infinite;
}

@media screen and (max-width:767px) {
  .wrapper {
    display: block;
  }
}

@-webkit-keyframes AnimationName {
  0%{background-position:51% 0%}
  50%{background-position:50% 100%}
  100%{background-position:51% 0%}
}
@-moz-keyframes AnimationName {
  0%{background-position:51% 0%}
  50%{background-position:50% 100%}
  100%{background-position:51% 0%}
}
@keyframes AnimationName {
  0%{background-position:51% 0%}
  50%{background-position:50% 100%}
  100%{background-position:51% 0%}
}

.container {
  margin: 10px;
  box-sizing: border-box;
}

@media screen and (max-width:767px) {
  .container {
    margin: auto;
  }
}


.slider_fade {
  position: relative;
}

.slider_fade li img {
  box-sizing: border-box;
  width: 100%;
}

.slider_fade > li {
  position: absolute;
  list-style: none;
  visibility: hidden;
  animation: anime_slider_fade 7s 0s;
}
.slider_fade > li:nth-of-type(2) {
  animation-delay: 2.5s;
}

@keyframes anime_slider_fade {
  0% {
      visibility: visible;
      opacity: 0;
  }
  15% {
      opacity: 1;
  }
  33.3% {
      opacity: 1;
  }
  48.3% {
      opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
      opacity: 0;
  }
}

.start {
  box-sizing: border-box;
	background: #FFF;
	position: fixed;
	top: -15px;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
  padding: 0;
}
.start li {
  box-sizing: border-box;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 100%;
}


header {
  box-sizing: border-box;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: #fff;
  z-index: 100;
}

main {
  padding-top: 50px;
  text-align: center;
  box-sizing: border-box;
}

@media screen and (max-width:767px) {
  main {
    padding-top: 10px;
  }
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

.side {
  box-sizing: border-box;
  background-color: #eee;
  padding-top: 50px;
  width: 96%;
  display: flex;
  justify-content: center;
}

.side_content {
  position: fixed;
}

.side_content p img {
  width: 90%;
}

@media screen and (max-width:767px) {
  .side {
    display: none;
  }
}

.header_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
}

.header_box nav {
  width: 70%;
}

.header_box h1 {
  margin: 0;
  padding-left: 10px;
  font-size: 5rem;
  line-height: 50%;
}

.header_box nav ul {
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  margin: -10px 10px 0px 0px;
}


.header_box nav ul li a img{
  width: 40%;
}

@media screen and (max-width:767px) {
  header {
    display: none;
  }
}

.title {
  position: relative;
}

.title img {
  width: 100%;
}

.title p img {
  position: absolute;
  width: 20%;
  top: 10%;
  left: 5%;
}

.about {
  padding-top: 10%;
  margin: auto;
}

@media screen and (max-width:767px) {
  .about {
    width: 90%;
  }
}

.chara img {
  box-sizing: border-box;
  width: 20%;
  margin: 20px;
}

.chara {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
  background-color: #999
}

@media screen and (max-width:767px) {
  .chara img {
    width: 40%;
  }
  .chara_about {
    padding: 5%;
  }
}

.game_about {
  margin: auto;
  padding-top: 10%;
}

@media screen and (max-width:767px) {
  .game_about {
    width: 90%;
  }
}

.story_about {
  margin: auto;
  padding-top: 10%;
}

.story_img {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.story_img a {
  width: 45%;
  padding: 1%;
}

@media screen and (max-width:767px) {
  .story_img a {
    width: 70%;
  }
}

.story_img img {
  box-sizing: border-box;
  width: 100%;
  margin: auto;
}


.letter img {
  box-sizing: border-box;
  width: 80%;
}

footer {
  position: relative;
  height: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer_box {
  box-sizing: border-box;
  position: absolute;
  width: 97%;
  display: flex;
  justify-content: space-around;
  z-index: 100;
}

footer p {
  position: absolute;
  bottom: 0%;
}