body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.6;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  /* background-color: #FAF2D9; */
  background-color: #2b2725;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../images/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container>.nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev,
.lb-next {
  width: 3rem !important;
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  left: 0;
  float: left;
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  opacity: 1;
}

.lb-nav a.lb-next {
  right: 0;
  float: right;
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  opacity: 1;
}

.lb-dataContainer {
  max-width: auto !important;
  margin: 0 auto;
  padding: 0.5rem 1.4rem 0;
}

@media screen and (max-width: 540px) {
  .lb-dataContainer {
    width: 100% !important;
  }

}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  opacity: 0.7;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  opacity: 1;
}

/* 上書きCSS */
#lightbox .lb-nav a.lb-prev:before,
#lightbox .lb-nav a.lb-next:before {
  border-color: #FAF2D9;
  border-width: 1px;
  width: 1.8rem;
}

#lightbox .lb-nav a.lb-prev:before {
  left: 1rem;
}

#lightbox .lb-nav a.lb-next:before {
  right: 1rem;
}

.lb-data .lb-details {
  min-height: 2rem;
}

#lightbox .lb-data .lb-caption {
  font-size: 0.85rem;
  line-height: 1.6;
}

#lightbox .lb-data .lb-caption .tit {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

#lightbox .lb-data .lb-close {
  width: 2rem;
  height: 2rem;
}

.lb-number {
  display: none !important;
}