@charset "UTF-8";
/* ポップアップオーバーレイ */
.popup-overlay {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 背景を暗くする */
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease; /* フェードイン・フェードアウト */
}

/* ポップアップコンテンツ */
.popup-content {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に配置 */
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  width: 96%;
  max-width: 1000px;
  height: 400px;
  border-radius: 20px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8); /* 初期状態で縮小 */
  transition: opacity 0.3s ease, transform 0.3s ease; /* フェードイン・フェードアウトと拡大アニメーション */
}

/* ポップアップが表示されたとき */
.popup-overlay.show {
  display: block;
  opacity: 1;
}

.popup-content.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1); /* 正常サイズに拡大 */
}

@media screen and (max-width: 768px) {
  .popup-content.show {
    transform: translate(-50%, -50%) scale(0.95); /* モバイルでは拡大しない */
  }
}
/* ポップアップのクロスボタン */
.popup-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 99;
}
.popup-close::before {
  position: absolute;
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  right: -8px;
  border-radius: 50%;
  background: rgba(97, 96, 96, 0.4);
  z-index: -1;
}/*# sourceMappingURL=animation.css.map */