/* simple-modal.html */
.modal {
  visibility: hidden;
  overflow-y: scroll;
  opacity: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 50px;
  transition: opacity 0.3s, visibility 0s 0.3s;
  background: rgba(0, 0, 0, 0.8);
}

.modal.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s, visibility 0s 0s;
}

.modal_container {
  display: flex;
  min-height: 100%;
  justify-content: center;
  align-items: center;
}

.modal_container _:-ms-lang(x)::-ms-backdrop,
.modal_container {
  min-height: 100vh;
}

.modal_container::after {
  content: "";
  min-height: inherit;
  font-size: 0;
}

.modal_inner {
  margin: 30px auto;
  width: 90vw;
  max-width: 1000px;
}

.modal_content {
  display: none;
  width: 100%;
  max-width: 1000px;
  border-radius: 5px;
  background: #fff;
  padding: 55px 20px 20px;
  margin: 0 auto;
  position: relative;
}

.is-active .modal_content {
  display: flex;
  flex-flow: column;
}

.modal_content h2 {
  text-align: center;
  margin-bottom: 20px;
}

.wrapper.is-locked {
  position: fixed;
  width: 100%;
}

.modal_content .text_wrapper {
  margin-bottom: 50px;
}

.modalBtn {
  cursor: pointer;
  text-decoration: underline;
}

.modalClose {
  background: #EB6100;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  line-height: 1;
  font-size: 14px;
  flex-direction: column;
  position: absolute;
  z-index: 1001;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

@media print,
screen and (min-width: 768px) {
  .is-active .modal_content {
    display: flex;
    flex-flow: row;
  }

  .modal_content {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .modal_imgarea {
    width: 40%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }

  .modal_textarea {
    width: 57%;
    height: 70vh;
    overflow-y: scroll;
  }
}