@charset "utf-8";
@import url(//fonts.googleapis.com/css?family=Zen+Kaku+Gothic+New);
@import url(//fonts.googleapis.com/css?family=Alata);

/*topimg
---------------------------------------------------------------------------*/
.topimg {
  position: relative;
  width: 100%;
  height: 750px;
  text-align: center;
}

/*bx-slider
---------------------------------------------------------------------------*/
.bx-wrapper {
  height: 750px;
  width: 100%;
  margin: 0px auto;
  position: relative;
  z-index:2;
  overflow:hidden;
}

#slider01 li{
  position: relative;
  height: 750px;
}

#sl_photo {
  width: 100%;
  height:100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bx-wrapper img {
  width: 100%;
  height:auto;
  position: relative;
  z-index:0;
}

@media screen and (max-width: 1350px) {
.bx-wrapper img {
  width: auto;
  height:100%;
}
}


/*THEME */

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url(https://www.ernesto-zanpa.com/images/bx_loader.gif) center center no-repeat #fff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
  width:30px;
  height:30px;
  left: 20px;
  background: url(https://www.ernesto-zanpa.com/images/top/arrowL_off.png) no-repeat;
  background-size:cover;
}

.bx-wrapper .bx-next {
  width:30px;
  height:30px;
  right: 20px;
  background: url(https://www.ernesto-zanpa.com/images/top/arrowR_off.png) no-repeat;
  background-size:cover;
}

.bx-wrapper .bx-prev:hover {
  opacity: 0.7;
}

.bx-wrapper .bx-next:hover {
  opacity: 0.7;
  -webkit-transition: opacity 400ms;
  transition: opacity 400ms;
}

.bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -15px;
  outline: 0;
  width:30px;
  height:30px;
  text-indent: -9999px;
  z-index: 9999;
}

.bx-controls-direction a:hover {
  width:30px;
  height:30px;
  text-indent: -9999px;
  z-index: 9999;
}

#top_row {
  width: 100%;
  height:100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding:0;
}

.topimg #top_row img {
  width:100%;
  height:auto;
  margin:0 auto;
}

.top_info {
  position: relative;
  z-index:8;
  text-align: center;
}

#top_row h1{
  font-family: 'Noto Serif JP', serif;
  font-weight:600;
  font-size:2.2em;
  line-height:1.4;
  color:#FFF;
  text-align: center;
  font-weight:normal;
  margin-bottom:50px;
  text-shadow:1px 1px 1px #000;
}

.scroll {
 font-family: Alata,sans-serif;
 font-size:0.9em;
 letter-spacing:.05em;
 text-transform: uppercase;
}

.scroll a {
  padding-top: 55px;
  color:#FFF;
}

.scroll a {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -27px;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  text-decoration: none;
}

.scroll a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #FFF;
  border-radius: 50px;
  box-sizing: border-box;
}

.scroll a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #FFF;
  border-radius: 100%;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}


@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
