@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

.fall-effect {
  cursor: pointer;
  opacity: 1;
  transition: opacity 2.0s ease;
}

.fall-effect:hover {
  transform: scale(1.1);
}

.fall-effect:active {
  transform: scale(0.95);
}

/* 落下アニメーション */
.fall-effect--falled {
  pointer-events: none;
}

/* 画面から消えた要素を隠す */
.fall-effect--hidden {
  visibility: hidden;
  opacity: 0;
}

.fall-effect-dummy {
  position: fixed !important;
  z-index: 1000 !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  overflow: hidden;
  pointer-events: none;
  transform-origin: center center; /* 回転とスケールの基準点を中央に */
  transition: none; /* アニメーション中は遷移を無効にする */
  animation: none;
}