/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, 
#cboxOverlay, 
#cboxWrapper {
  position:absolute;
  top:0;
  left:0;
  z-index:9999;
  overflow:hidden;
}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  background: #e0efd8;
  border-radius: 4px;
}
@media (max-width: 767px) {
  #cboxLoadedContent { border-radius: 0;}
}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, 
#cboxLoadingGraphic {
  position:absolute; 
  top:0; 
  left:0; 
  width:100%;
  height:100%;
}
#cboxPrevious, 
#cboxNext, 
#cboxClose, 
#cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, 
#cboxContent, 
#cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
  background: rgba(25, 25, 25, 0.8);
  filter: alpha(opacity = 90);
}
#colorbox{outline:0;}
#cboxContent{
  overflow:visible;
}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadingGraphic{width: 100%;height: 100%;text-align: center;}
#cboxLoadingGraphic::before {
  display: inline-block;
  content: "";
  width: 49px;
  height: 49px;
  margin: 0 auto;
  border: 2px solid rgb(255,255,255);
  border-radius: 50%;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: cssload-spin 575ms infinite linear;
  -o-animation: cssload-spin 575ms infinite linear;
  -ms-animation: cssload-spin 575ms infinite linear;
  -webkit-animation: cssload-spin 575ms infinite linear;
  -moz-animation: cssload-spin 575ms infinite linear;
  top: 50%;
  position: absolute;
  margin-top: -25px;
  left: 50%;
  margin-left: -25px;
}

@keyframes cssload-spin {
  100%{ transform: rotate(360deg); transform: rotate(360deg); }
}
@-o-keyframes cssload-spin {
  100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
}
@-ms-keyframes cssload-spin {
  100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
}
@-webkit-keyframes cssload-spin {
  100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-moz-keyframes cssload-spin {
  100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}

#cboxClose {
  position: relative;
  margin: -61px 0 0;
  display: block;
  border-radius: 0;
  border: none;
  background: #111;
  padding: 18px 0 16px;
  width: 100%;
  box-shadow: 0 0 8px 1px rgba(0,0,0,0.2);
  text-align: center;
  font-size: 0;
}
#cboxClose::before {
  content: "戻る";
  font-size: 18px;
  color: #fff;
}
@media (max-width: 767px) {
  #cboxClose {
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 10px 0;
  }
  #cboxClose::before { font-size: 16px;}
}