body.is-modal-open {
  overflow: hidden;
}

.modal_cover {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 200;
  display: none;
  opacity: 0;
}

.modal_cover.is_open {
  display: block;
  opacity: 1;
  -webkit-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
}

.m-modal {
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  opacity: 0;
  z-index: 500;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -ms-overflow-x: hidden;
  overflow-x: hidden;
  -webkit-transition: all 0.3s cubic-bezier(0.5, 1, 0.89, 1) 0.3s;
  transition: all 0.3s cubic-bezier(0.5, 1, 0.89, 1) 0.3s;
}

.m-modal .m-modal__bg {
  background: rgba(255, 255, 255, 0.8);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.m-modal .m-modal__content {
  position: relative;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-out 0s;
  transition: opacity 0.25s ease-out 0s;
}

.m-modal .float_contents {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 800px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media only screen and (max-width: 960px) {
  .m-modal .float_contents {
    width: 90%;
  }
}

@media only screen and (min-width: 961px) {
  .m-modal[data-modal-type=template] .m-modal__content {
    min-height: 100vh;
  }
}

@media only screen and (max-width: 960px) {
  .m-modal[data-modal-type=template] .m-modal__content {
    min-height: 100vh;
  }
}

.m-modal.is-open {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.m-modal.is-open .m-modal__bg:after {
  width: 0;
}

.m-modal.is-open .m-modal__content {
  opacity: 1;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}

.float_contents {
  position: relative;
  background: #fff;
  border: solid 5px #f0555a;
  padding: 50px;
  font-weight: 500;
}

@media only screen and (max-width: 960px) {
  .float_contents {
    padding: 10% 5%;
  }
}

.float_contents::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  border: 2px solid #f0555a;
  pointer-events: none;
}

.float_contents .float_caption {
  color: #00b4aa;
  font-weight: 800;
  font-size: 24px;
}

@media only screen and (max-width: 960px) {
  .float_contents .float_caption {
    font-size: 20px;
  }
}

.float_contents .float_text {
  margin-top: 30px;
  line-height: 1.5em;
}

@media only screen and (max-width: 960px) {
  .float_contents .float_text {
    font-size: 13px;
    margin-top: 20px;
  }
}

.float_contents .form_code__error,
.float_contents .float_text__error {
  color: #f0555a;
  font-size: 13px;
  margin-top: 10px;
}

@media only screen and (max-width: 960px) {
  .float_contents .form_code__error,
  .float_contents .float_text__error {
    font-size: 11px;
  }
}

.float_contents .form_code__btn input {
  background: #00b4aa;
  width: 250px;
  margin: 30px auto 0;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  line-height: 1em;
  cursor: pointer;
  border: transparent;
  font-size: 18px;
}

@media only screen and (max-width: 960px) {
  .float_contents .form_code__btn input {
    font-size: 15px;
    width: 200px;
    margin: 20px auto 0;
  }
}

@media only screen and (min-width: 961px) {
  .float_contents .form_code__btn {
    -webkit-transition: opacity 0.6s cubic-bezier(0.5, 1, 0.89, 1);
    transition: opacity 0.6s cubic-bezier(0.5, 1, 0.89, 1);
  }
  .float_contents .form_code__btn:hover {
    opacity: 0.6;
  }
}

.float_contents .form_code__input {
  margin-top: 20px;
}

.float_contents .form_code__input input {
  border: #ccc solid 2px;
  width: 100%;
  padding: 10px;
  width: calc(100% - 20px);
}

.float_contents .float_attention {
  font-size: 13px;
  line-height: 1.5em;
  margin-top: 30px;
}

@media only screen and (max-width: 960px) {
  .float_contents .float_attention {
    font-size: 11px;
    line-height: 1.4em;
    text-align: left;
  }
}

.float_contents .btn_close {
  background: #00b4aa;
  width: 200px;
  margin: 30px auto 0;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1em;
  cursor: pointer;
}

@media only screen and (min-width: 961px) {
  .float_contents .btn_close {
    -webkit-transition: opacity 0.6s cubic-bezier(0.5, 1, 0.89, 1);
    transition: opacity 0.6s cubic-bezier(0.5, 1, 0.89, 1);
  }
  .float_contents .btn_close:hover {
    opacity: 0.6;
  }
}

@media only screen and (max-width: 960px) {
  .float_contents .btn_close {
    width: 160px;
    font-size: 11px;
  }
}
/*# sourceMappingURL=serial.modal.css.map */