@-moz-keyframes imageAnimation {
  0% {
    opacity: 0;
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -moz-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  50% {
    opacity: 1;
  }
  58% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes imageAnimation {
  0% {
    opacity: 0;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  50% {
    opacity: 1;
  }
  58% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes imageAnimation {
  0% {
    opacity: 0;
    -moz-transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -moz-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  50% {
    opacity: 1;
  }
  58% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.cb-slideshow {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 494px;
  overflow-x: hidden;
  overflow-y: hidden;
}
.cb-slideshow span {
  display: block;
  /*position: fixed; */
  top: 0;
  z-index: 0;
  width: 100%;
  height: 534px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  text-indent: -9999px;
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  /* @include opacity(0); */
  /* @include animation(imageAnimation 12s linear infinite 0s); */
}
.cb-slideshow h3 {
  position: absolute;
  bottom: 70px;
  left: 220px;
  z-index: 1001;
  margin: auto;
  width: 700px;
  height: 60px;
  text-indent: -9999px;
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  /* @include opacity(0); */
  /* @include animation(imageAnimation 12s linear infinite 0s); */
}
.cb-slideshow li:nth-child(1) span {
  background-image: url(../../img/top_slide01.jpg);
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.cb-slideshow li:nth-child(1) h3 {
  background-image: url(../../img/top_slide_telop01.png);
  background-repeat: no-repeat;
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.cb-slideshow li:nth-child(2) span {
  background-image: url(../../img/top_slide02.jpg);
  -moz-animation-delay: 6s;
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
.cb-slideshow li:nth-child(2) h3 {
  background-image: url(../../img/top_slide_telop02.png);
  background-repeat: no-repeat;
  -moz-animation-delay: 6s;
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
@media only screen and (min-width: 600px) {
    #gallery {
      display: block;
      width: 100%;
      height: 460px;
    }
    #gallery-sp {
      display: none;
    }
}
@media only screen and (max-width: 590px) {
  #gallery {
    display: none;
  }
  #gallery-sp {
    display: block;
    margin-bottom: 20px;
  }
  #gallery-sp img {
    max-width: 100%;
  }
}
