@charset "UTF-8";

.modalWrapper {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: none;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: rgb(0 0 0 / 80%);
  overflow-y: scroll;
  overscroll-behavior: contain;
}

.modalWrapper.display {
  display: flex;
}

dl.modal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60%;
  margin: 0 auto;
  padding: 20px;
  font-size: 16px;
  border-radius: 5px;
  background-color: #fff;
  max-width: 768px;
  overflow-y: auto;
}

dl.modal::after {
  content: "☒";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  font-size: 20px;
  color: #777;
  background: #efefef;
  border-radius: 5px;
  text-align: center;
  line-height: 24px;
}

dl.modal dt {
  flex-basis: 100%;
  text-align: center;
  border-bottom: 1px solid;
  font-weight: bold;
  padding-bottom: 10px;
}

dl.modal dd {
  flex-basis: 100%;
  line-height: 1.5;
}

dl.modal dd em {
  font-weight: 600;
}

dl.modal dd.-flex-end {
  display: flex;
  justify-content: flex-end;
}

dl.modal dd a.-link {
  color: blue;
}

.-red {
  color: red;
}

.modalWrapper::before,
.modalWrapper::after {
  content: "";
  display: flex;
  width: 1px;
  height: calc(100vh + 1px);
}

@media screen and (width <=480px) {
  dl.modal {
    width: 90%;
    height: 60%;
  }

  dl.modal {
    font-size: 0.75rem;
  }
}
