.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .86);
  cursor: zoom-out;
}

.case-lightbox.is-open {
  display: flex;
}

.case-lightbox__image {
  display: block;
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}

.case-lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

body.case-lightbox-open {
  overflow: hidden;
}

.case .detail_slide img,
.case .detail .pic img {
  cursor: zoom-in;
}
