/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
html.swipebox-html.swipebox-touch {
  overflow: hidden !important;
}

#swipebox-overlay img {
  border: none !important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999 !important;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#swipebox-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#swipebox-slider {
  -webkit-transition: -webkit-transform 0.4s ease;
          transition: transform 0.4s ease;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
  cursor: pointer;
}
#swipebox-slider .slide {
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}
#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}
#swipebox-slider .slide img,
#swipebox-slider .slide .swipebox-video-container,
#swipebox-slider .slide .swipebox-inline-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
#swipebox-slider .slide .swipebox-video-container {
  background: none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 5%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
/*
#swipebox-slider .slide-loading {
  background:url(../closs-slide/images/loading.gif) 50% 50% no-repeat;
}
*/

#swipebox-slider .slide-loading {
/*  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;*/
   }

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  box-shadow: #928748 -4px -3px 3px -3px;
  -webkit-animation: spin 2s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 3s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */ }

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  box-shadow: #b9a84d -4px -3px 3px -3px;
  -webkit-animation: spin 3s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 4s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */ }

#loader:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  box-shadow: #dfcd69 -4px -3px 3px -3px;
  -webkit-animation: spin 1.5s linear infinite;
  /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite;
  /* Chrome, Firefox 16+, IE 10+, Opera */ }












#swipebox-bottom-bar,
#swipebox-top-bar {
  -webkit-transition: 0.5s;
          transition: 0.5s;
  z-index: 999;
  width: 100%;
}
#swipebox-bottom-bar {
  bottom: 0px;
}

#swipebox-top-bar {
  top: -50px;
}
#swipebox-top-bar.visible-bars {
  -webkit-transform: translate3d(0, 50px, 0);
          transform: translate3d(0, 50px, 0);
}

#swipebox-title {
  display: block;
  width: 100%;
  text-align: center;
}

#swipebox-prev,
#swipebox-next,
#swipebox-close {
  background-repeat: no-repeat;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: absolute;
}
#swipebox-prev {
  background-image: url(../img/common/slider_arrow_prev.png);
  top: 50%;
  left: 52px;
}
#swipebox-next {
  background-image: url(../img/common/slider_arrow_next.png);
  top: 50%;
  right: 52px;
}
#swipebox-close {
  top: 0;
  right: 0;
  position: absolute;
  z-index: 9999;
  background-position: 15px 12px;
}

.swipebox-no-close-button #swipebox-close {
  display: none;
}

#swipebox-prev.disabled,
#swipebox-next.disabled {
    /*opacity: 0.3;*/
  display:none;
  
}

.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
  -webkit-animation: rightSpring 0.3s;
          animation: rightSpring 0.3s;
}
.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
  -webkit-animation: leftSpring 0.3s;
          animation: leftSpring 0.3s;
}

.swipebox-touch #swipebox-container:before, .swipebox-touch #swipebox-container:after {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
  content: ' ';
  position: absolute;
  z-index: 999;
  top: 0;
  height: 100%;
  width: 20px;
  opacity: 0;
}
.swipebox-touch #swipebox-container:before {
  left: 0;
  -webkit-box-shadow: inset 10px 0px 10px -8px #656565;
          box-shadow: inset 10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-container:after {
  right: 0;
  -webkit-box-shadow: inset -10px 0px 10px -8px #656565;
          box-shadow: inset -10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before {
  opacity: 1;
}
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
  opacity: 1;
}

/* Skin (background-color) 
--------------------------*/
#swipebox-overlay {
  background: #0d0d0d;
  background: rgba(0,0,0,0.5);
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  text-shadow: 1px 1px 1px black;
}

#swipebox-top-bar {
  color: white !important;
  font-size: 15px;
  line-height: 43px;
  font-family: Helvetica, Arial, sans-serif;
}


@-webkit-keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}

@keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}
@-webkit-keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}

/*=====  170523  =====*/
#MoreButton a:hover {
    cursor: pointer;
}


@media screen and (max-width: 800px) {
  #swipebox-close {
    /*right: 10px;*/
  }

    /* Skin
    --------------------------*/
    #swipebox-overlay {
      background: #0d0d0d;
      background: #fff;
    }

    #swipebox-bottom-bar,
    #swipebox-top-bar {
      text-shadow: 1px 1px 1px black;
    }

    #swipebox-top-bar {
      color: white !important;
      font-size: 15px;
      line-height: 43px;
      font-family: Helvetica, Arial, sans-serif;
    }

    /*=======  170428  =======*/
    #swipebox-prev,
    #swipebox-next
    {
      background-repeat: no-repeat;
      border: none !important;
      text-decoration: none !important;
      cursor: pointer;
      width: 40px;
      height: 40px;
      position: absolute;
      z-index: 9999;
    }
    #swipebox-prev {
      background: url(../img/common/sp/slider_arrow_prev.png) no-repeat center center;
      top: 50%;
      left: 0;
      background-size: 6px 8px;
      background-color: rgba(255, 255, 255, 0.8);
      width: 30px;
      height: 30px;
      margin-top: -15px;
    }
    #swipebox-next {
      background: url(../img/common/sp/slider_arrow_next.png) no-repeat center center;
      top: 50%;
      right: 0;
      background-size: 6px 8px;
      background-color: rgba(255, 255, 255, 0.8);
      width: 30px;
      height: 30px;
      margin-top: -15px;
    }
    #swipebox-close {
      background: url(../img/common/ico_delete.png) no-repeat 97% 10px;
      background-size: 8px 8px;
      width: 30px;
      height: 30px;
      top: 8px;
      right: 8px;
      position: absolute;
      z-index: 9999;
      display: block;
    }
    #swipebox-slider .slide {
      position: relative;
      z-index: 9998;
    }
    #swipebox-slider .slide img {
      position: relative;
      z-index: 9999;
    }

}
