/*--------------------------------------------------------
top
----------------------------------------------------------*/
.modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  width: 500px; /* 任意で調整 */
}
@media screen and (max-width: 1024px) {
  .modal-content {
    width: 800px;
  }
}
@media screen and (max-width: 599px) {
  .modal-content {
    width: 400px;
  }
}

.popup-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.dsp_popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  background: red;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  z-index: 10;
}
