.modal-scroll-lock {
  overflow: hidden;
}
.modal-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  transform: translateZ(0);
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-area {
  position: fixed;
  background-color: #fff;
  top: 50%;
  left: 50%;
  height: auto;
  transform: translate(-50%, -50%);
  width: 720px;
  max-height: calc(100% - 15em);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 50%;
}
.modal-header {
  background-color: #f5f5f5;
  width: 100%;
  min-height: 70px;
  height: auto;
  display: flex;
  align-items: center;
}
.modal-header-title {
  margin: 21px auto 21px 24px;
  font-size: 16px;
  color: #46494d;
  width: 85%;
}
.modal-header-close {
  background-color: inherit;
  height: -webkit-fill-available;
  height: -moz-available;
  position: absolute;
  right: 0;
  padding: 0;
  border: 0;
  box-shadow: 0;
  cursor: pointer;
}
.modal-header-close-icon {
  margin: 23px 24px 23px 16px;
}
.modal-body {
  margin: 0px;
  max-height: 80%;
  top: 80px;
  overflow-y: auto;
}
.modal-body,
.modal-footer {
  position: absolute;
  width: -webkit-fill-available;
  width: -moz-available;
}
.modal-footer {
  height: auto;
  background-color: #f5f5f5;
  color: #101010;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  padding: 5px 30px;
  bottom: 0;
}
@media screen and (max-width: 783px) {
  .modal-area {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
  .modal-header {
    min-height: 80px;
  }
  .modal-header-title {
    margin: 21px auto 21px 24px;
    font-size: 20px;
    color: #00183a;
    width: 80%;
  }
  .modal-header-title {
    margin: 28px 24px 28px 64px;
  }
  .modal-header-close {
    left: 0;
    right: auto;
  }
  .modal-header-close-icon {
    margin: 28px 16px 28px 24px;
  }
  .modal-body {
    margin: 19px 16px;
    max-height: 80%;
    top: 80px;
    overflow-y: auto;
  }
  .modal-footer {
    font-weight: 400;
    font-size: 14px;
    padding: 16px 30px;
    width: -webkit-fill-available;
    width: -moz-available;
    bottom: 0;
  }
}
