@charset "utf-8";
/* CSS Document */



/*==============================
共通
==============================*/

article h1{
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10;
  width: 360px;
}

article h1 a,
article h1 a img{
  width: 100%;
}

#storyWrap{
  width: 100%;
  scroll-snap-type: mandatory;
  scroll-snap-points-y: repeat(300px);
  scroll-snap-type: y mandatory;
}

#storyWrap::before{
  content: "";
  position: fixed;
  top: -5vh;
  left: 0;
  width: 100vw;
  height: 110vh;
  background-image: url("../img/spaceBack.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.page{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
  min-width: 100vw;
  min-height: 100vh;
  padding: 20px;
}

.page h2,
.page p{
  color: #fff;
  font-weight: normal;
  font-family: 'Hannari',"Yu Mincho", "YuMincho", serif;
  font-weight: 300;
}

.page > div{
  position: relative;
  z-index: 1;
}

.page h2{
  font-size: 34px;
  line-height: 80px;
  letter-spacing: 0px;
}

.page p{
  font-size: 20px;
  line-height: 52px;
  letter-spacing: 0px;
}

.page img{
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.page:nth-of-type(1) img{
  width: 100%;
}

.page:nth-of-type(5) img{
  width: 60vw;
  left: auto;
  right: 0;
  bottom: -10vw;
}

.page:nth-of-type(6) img{
  width: 65vw;
}

.page:nth-of-type(7) img{
  width: 30vw;
  left: auto;
  right: 5vw;
  bottom: 5vw;
}

.page:nth-of-type(8) img{
  width: 20vw;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.page:nth-of-type(14) img{
  width: 60vw;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

/*==============================
メイン
==============================*/

/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1400px) {
  article h1 a,
  article h1 img{
    width: 100%;
  }
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 800px) {  
  article h1{
    display: none;
  }

  .page h2{
    font-size: 26px;
    line-height: 50px;
    letter-spacing: 4px;
  }

  .page p{
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 2px;
  }
}

@media screen and (max-width: 600px){

  .page h2{
    font-size: 22px;
    line-height: 36px;
    letter-spacing: 0px;
  }

  .page p{
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0px;
  }

  .page:nth-of-type(5) img{
    width: 100vw;
    left: auto;
    right: 0;
    bottom: -10vw;
  }

  .page:nth-of-type(6) img{
    width: 100vw;
  }

  .page:nth-of-type(7) img{
    width: 70vw;
    left: auto;
    right: 10vw;
    bottom: 10vw;
  }

  .page:nth-of-type(8) img{
    width: 50vw;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }

  .page:nth-of-type(14) img{
    width: 90vw;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
}

@media screen and (max-width: 414px){
}