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

/* 拡大画像モーダル */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}

/* モーダル内の画像 */
.image-modal img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* 閉じるボタン（×） */
.image-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  text-shadow: 0 2px 8px #000;
}

/* スマートフォン向けのスタイル調整 */
@media (max-width: 600px) {
  .image-modal img {
    max-width: 98vw;
    max-height: 60vh;
  }
  .image-modal-close {
    top: 10px;
    right: 16px;
    font-size: 2rem;
  }
}