.wrapper {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* ボタンを下部に配置 */
  min-height: 100vh;
  overflow: hidden; /* ページ全体のスクロールを防ぐ */
  background-color: #d3272c;
  position: absolute;
  top: 0;
  max-width: 768px;
}

.gallery {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.gallery img {
  position: absolute;
  width: auto; /* 横幅または縦幅を自動調整 */
  height: auto; /* 比率を維持する */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform-origin: center;
  opacity: 0; /* 初期状態で透明 */
  transform: scale(2) rotate(0deg); /* 初期状態でさらに大きく */
  transition: all 1.8s ease-out; /* 滑らかな遷移を1.8秒に設定 */
}

#reloadButton {
  background-color: transparent;
  cursor: pointer;
  z-index: 11;
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: 25px;
  right: 25px;
}
#reloadButton img {
  width: 40px;
  height: 40px;
}
#reloadButton:hover {
  filter: opacity(0.5);
}
#reloadButton p {
  font-size: 7px;
  color: white;
  font-family: initial;
  margin-top: -1em;
}


/* ======= */
#visualWrapper {
  position: relative;
}
#visual {
  background-color: transparent;
  z-index: 10;
  position: relative;
}
