.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.parallax-bg>div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 150px);
}

.parallax-bg>div:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-transition: 1.0s;
  transition: 1.0s;
  opacity: 0;
}

.parallax-bg>div.on:after {
  opacity: 1;
}

.parallax-bg>div:nth-of-type(1):after {
  background-image: url(../../img/story/bg_01.jpg);
}

.parallax-bg>div:nth-of-type(2):after {
  background-image: url(../../img/story/bg_02.jpg);
}

.parallax-bg>div:nth-of-type(3):after {
  background-image: url(../../img/story/bg_03.jpg);
}

.story-parallax01 {
  margin-top: -26px;
  text-align: center;
  padding: 80px 0 200px;
}

.story-parallax01-text01 {
  margin: 160px auto 0;
}

.story-parallax01-text02 {
  margin: 30px auto 0;
}

.story-parallax01-text03 {
  margin: 30px auto 0;
}

.story-parallax01-text04 {
  margin: 30px auto 0;
}

.story-parallax02 {
  padding: 190px 0 210px;
  text-align: center;
}

.story-parallax02-text02 {
  margin: 50px auto 0;
}

.story-parallax02-text03 {
  margin: 250px auto 0;
}

.story-parallax03 {
  text-align: center;
  padding: 150px 0 200px;
}

.story-parallax03-text02 {
  margin: 30px auto 0;
}

.story-parallax03-text03 {
  margin: 120px auto 0;
}

.story-diagram h2 {
  padding-top: 110px;
  text-align: center;
  margin: 0 auto;
}

.story-diagram-pic {
  margin-top: 60px;
  position: relative;
}

.story-diagram-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2000;
  display: none;
}

.story-diagram-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.8;
}

.story-diagram-modal-touch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.story-diagram-modal-contents {
  position: absolute;
  width: 300px;
}

.story-diagram-modal-close {
  width: 180px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: auto;
}

#nav {
  position: relative;
  z-index: 10;
  background-image: url(../../img/common/bg_pattern.png);
  background-position: center center;
}

#nav .bg-deco-head {
  background-image: none;
}

@media screen and (max-width: 767px) {
  .parallax-bg>div:nth-of-type(1):after {
    background-image: url(../../img/story/bg_01_sp.jpg);
  }

  .parallax-bg>div:nth-of-type(2):after {
    background-image: url(../../img/story/bg_02_sp.jpg);
  }

  .parallax-bg>div:nth-of-type(3):after {
    background-image: url(../../img/story/bg_03_sp.jpg);
  }

  .story-parallax01 {
    margin-top: -24px;
    padding: 60px 0 140px;
  }

  .story-parallax01-text01 {
    margin-top: 60px;
  }

  .story-parallax01-text02 {
    margin-top: 40px;
  }

  .story-parallax01-text03 {
    margin-top: 40px;
  }

  .story-parallax02 {
    padding: 90px 0 100px;
  }

  .story-parallax02-text02 {
    margin-top: 40px;
  }

  .story-parallax02-text03 {
    margin-top: 200px;
  }

  .story-parallax03 {
    padding: 140px 0 170px;
  }

  .story-parallax03-text02 {
    margin-top: 50px;
  }

  .story-parallax03-text03 {
    margin-top: 50px;
  }

  .story-diagram-pic:after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url(../../img/common/icon_zoom.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  #nav {
    background-size: 69px;
  }
}