@charset "utf-8";

/* body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
} */

.ad_img {
  border-radius: 5px;
  max-width: 100%; /* 幅を100%に設定して、親要素に合わせる */
  height: auto; /* 高さを自動調整 */
  display: block; /* 画像をブロック要素にする */
  margin: 0 auto; /* 中央寄せ */
}

.bounce {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* 初期状態は非表示 */
  width: 80%;
  max-width: 600px;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: bounce 0.5s;
}

.bounce_close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-20px);
  }
  60% {
      transform: translateY(-10px);
  }
}
