@charset "UTF-8";

/*------------------------------------------------------
  画像用モーダル
------------------------------------------------------*/
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.img-modal.active {
  display: flex;
}
.img-modal .modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
	overflow-y: scroll;
  box-sizing: border-box;
}
.img-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 5rem;
  color: #333;
  cursor: pointer;
}
.open-modal-btn {
  padding: 0;
	cursor: pointer;
}
@media (width < 768px) {
  .img-modal .close-modal {
    right: 10px;
    font-size: 3rem;
  }
}