/* Preload images */
body:after {
  content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
  display: none;
}

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.8;
  display: none;
}

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

.lightbox .lb-image {
  display: block;
  height: auto !important;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 652px;
  height: 760px;
  margin: 0 auto;
}

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

.lb-container {
  padding: 30px 30px 20px;
  background-color: #fff;
}

.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: -13%;
  height: 100%;
  width: 126%; /*814px;*/
  z-index: 10;
  box-sizing: border-box;
}

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

.lb-nav a {
  outline: none;
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../images/modal/previous_pc.png) left 48% no-repeat;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/modal/next_pc.png) right 48% no-repeat;
}

.lb-data {
  color: #333;
}

.data:before,
.data:after {
    content: " ";
    display: table;
}
.data:after {
    clear: both;
}
.data {
    *zoom: 1;
}

.lb-data .lb-details {
  line-height: 1.1em;
  font-size: 32px;
  text-align: left;
}

.lb-data .lb-details .name{
  display: block;
  padding: 24px 0 21px;
}

.lb-data .lb-details .number,
.lb-data .lb-details .price{
  font-size: 18px;
  color: #666;
  font-family: "Helvetica";
  padding-right: 30px;
}

.lb-data .lb-details .dot{
  display: block;
  margin-top: -60px;
  height: 60px;
  letter-spacing: 12px;
  text-align: right;
  font-size: 42px;
  color: #ccc;
}

.lb-data .lb-details .dot .selected_dot{
  color: #666;
}


.lb-data .lb-caption {
  display: none;
}

.lb-data .lb-number {
  display: none;
}

.lb-closeContainer .lb-close {
  display: block;
  position: absolute;
  width: 48px;
  height: 67px;
  background: url(../images/modal/close_pc.png) top right no-repeat;
  outline: none;
  top: -65px;
  right: -75px;
}

.lb-closeContainer .lb-close:hover {
  cursor: pointer;
}


@media (max-width: 768px) {
  .lb-outerContainer {
    max-width: 85%;
    margin: 0 auto;
  }
  .lightbox {
    padding-top: 100px;
  }
  .lb-container {
    padding: 28px 20px;
  }

  .lb-nav {
    left: -8%;
    width: 116%; /*745px;*/
  }

  .lb-nav a.lb-prev {
    background: url(../images/modal/previous_sp.png) left 48% no-repeat;
    background-size: 20px;
  }

  .lb-nav a.lb-next {
    background: url(../images/modal/next_sp.png) right 48% no-repeat;
    background-size: 20px;
  }

  .lb-data .lb-details {
    font-size: 26.25px;
  }

  .lb-data .lb-details{
    padding: 34px 0 0;
  }

  .name{
    padding: 34px 0 25px;
  }

  .lb-data .lb-details .dot{
    margin-top: -105px;
    height: 90px;
  }

  .lb-data .lb-details .number,
  .lb-data .lb-details .price{
    font-size: 16.25px;
  }

  .lb-closeContainer .lb-close {
    width: 30px;
    height: 44px;
    background: url(../images/modal/close_sp.png) top right no-repeat;
    background-size: contain;
    top: -50px;
    right: 0;
  }

}
