body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: url('lantern_back_pc.png'); /* PC用背景画像 */
  background-size: cover; /* 画像が画面全体にフィットするように設定 */
  background-repeat: no-repeat; /* 画像の繰り返しを無効にする */
  background-position: center; /* 画像を中央に配置 */
  margin: 0;
  overflow: hidden; /* ページのスクロールを防止 */
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.lantern {
  position: absolute;
  background-size: cover;
  bottom: 0;
}

.modal {
  display: none; /* 初期状態を非表示に設定 */
  position: fixed;
  z-index: 1000; /* 高い値に設定 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* スマホ用背景画像 */
@media only screen and (max-width: 768px) {
  body {
    background-image: url('lantern_back_mobile.png');
  }
}
