/* ==============================
  base
============================== */
/******************
  font
*******************/
@import url("https://fonts.googleapis.com/css?family=EB+Garamond:400,400i");
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");
/* ==============================
	modal
============================== */
.modal {
  position: fixed;
  top: 0;
  bottom: auto;
  left: 0;
  right: 0;
  transition: 0.5s;
  transform: translate(0, 100%);
  z-index: 1500;
  line-height: 1.6;
}

.modal_html, .modal_body {
  overflow: hidden;
}

.modal-layer {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
}

.modal_close {
  position: absolute;
  left: 10px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: auto;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.modal_close::before, .modal_close::after {
  display: block;
  position: absolute;
  top: 14px;
  width: 20px;
  height: 2px;
  background: #000;
  content: "";
}

.modal_close::before {
  left: 5px;
  transform: rotate(45deg);
}

.modal_close::after {
  left: 5px;
  transform: rotate(-45deg);
}

.modal-inner {
  margin: 5vh 0 0;
    background: #fff2f0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px 10px 0 0;
    height: 95vh;
}

.modal-content {
  padding: 10% 0 5%;
  overflow-y: scroll;
  height: 100%;
 color: #383838;
}

.modal-content__title {
    font-size: 1.5rem !important;
    font-weight: bold;
    color: #e61b84;
}

.modal-content__form-box {
  padding: 0 25px;
  text-align: left;
}

.modal.modal_on {
  transform: translate(0, 0%);
}

.modal.modal_on .modal_inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
