.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.modal-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 900px;
  height: calc(70vh + 33px);
  margin: auto;
}

#modal-body {
  max-height: 70vh;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 8px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s;
}

.close-btn {
  position: absolute;
  top: -37px;
  right: -5px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 20px;
  text-align: center;
  line-height: 28px;
  color: #fff;
  z-index: 999;
  cursor: pointer;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
