@charset "utf-8";
/* CSS Document */

/* モーダル本体 */
.modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  overflow: visible;
}

/* 背景の暗転部分 */
.modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.modal-inner {
  position: relative;
}

/* 拡大画像のサイズ調整 */
.modal-inner img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: -36px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}