@charset "utf-8";

/* モーダル拡大 */
/* 背景ロック（モーダル表示中は背面をスクロールさせない） */
body.imageModal-open {
  overflow: hidden;
}

/* モーダル全体 */
#imageModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  overflow: auto;
  /* ← 縦長画像はここでスクロール */
}

/* 画像を中央寄せするラッパー */
#imageModalInner {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 2vw;
  box-sizing: border-box;
}

/* 拡大画像 */
#imageModal img {
  max-width: 95vw;
  max-height: 92vh;
}

/* zoom可を示すアイコン */
.zoom-indicator {
  --icon-size: 40px;
  --icon-margin: 0px;
  position: absolute;   /* body基準 */
  left: 0; top: 0;      /* transformの基準を固定 */
  will-change: transform;
  width: var(--icon-size);
  height: var(--icon-size);
  background: url(/event/image/ico_zoom.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 20;
}


/* 閉じるボタン */
#imageModalClose {
  position: fixed;
  top: 12px;
  right: 24px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  user-select: none;
}
