@charset "utf-8";

.modal {
  visibility: hidden;
  opacity: 0;
  overflow-y: auto;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s, visibility 0s 0.3s;
  background: rgba(0,0,0,.6);
}
.modal.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s, visibility 0s 0s;
}

.modal_container {
  min-height: 100%;
}

.modal_inner {
  width: 442px;
  max-width: 100%;
  background: #fff;
  margin: 0 auto;
  position: relative;
  padding: 4rem 1.5rem;
}

.modalClose_fixed {
  position: fixed;
  right: 1.5rem;
  top: 1.5rem;
  z-index: 99;
}
.modalClose_fixed img {
  width: 2.6rem;
}

@media print, screen and ( min-width : 768px ) {
  .modalClose_fixed {
    right: calc(((100% - 442px) / 2) + 1.5rem);
  }
}


