@charset "UTF-8";
.image-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal.active {
  display: flex;
}

.image-modal-inner {
  position: relative;
  width: 90%;
  height: 90%;
}

.image-modal-inner img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.image-modal .close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* PCのときだけカーソルを変える */
@media screen and (min-width: 1024px) {
  .image-area img {
    cursor: zoom-in;
  }
}/*# sourceMappingURL=modal.css.map */