.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  /* 버튼 기준이 되는 박스 역할은 banner-img-wrap으로 이동 */
  background: transparent;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
}
.banner-img-wrap {
  position: relative;
}

.modal-content img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 70vw;
  max-height: 70vh;
  object-fit: contain;
}

.hidden {
  display: none;
}

.close-btn,
.dont-show-btn {
  position: absolute;
  background: none;
  cursor: pointer;
  z-index: 2;
}

.close-btn {
  top: 0;
  right: 0;
  width: clamp(24px, 8vw, 48px);
  /* 이미지의 우상단에 위치, 크기는 부모 이미지 기준 */
}

.dont-show-btn {
  bottom: 2%;
  left: 3%;
  width: 40%;
  min-width: 80px;
  max-width: 240px;
  height: auto;
  /* 이미지의 좌하단에서 오른쪽, 위로 4px 이동, 크기는 부모 이미지 기준, 오늘 그만보기 버튼 크기 2배 확대 */
}
.preorder-btn {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  min-width: 80px;
  max-width: 300px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}
.preorder-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.close-btn img,
.dont-show-btn img {
  width: 100%;
  height: auto;
}

