.modal-wrap {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .3s linear, visibility .3s linear;
  transition: opacity .3s linear, visibility .3s linear;
  z-index: -1;
}

.modal-wrap .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal-wrap .modal-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  text-align: center;
  padding: 1em;
  background: white;
  transform: translate(-50%, -50%);
}

.modal-wrap .modal-inner .modal-close {
  position: absolute;
  cursor: pointer;
}

.modal-wrap.show {
  opacity: 1;
  visibility: visible;
  z-index: 10000;
}

.contact-form {
  display:flex;
  flex-wrap: wrap;
  margin-top:20px;
  align-items: center;
}

.contact-form dt {
  width:25%;
  height: 40px;
}

.contact-form dd {
  text-align: left;
  width:75%;
}

.form-input-name,
.form-input-email {
  height: 35px;
}


.form-input-name,
.form-input-email,
.form-input-content {
  width: 80%;
}

.form-btn {
  text-align: center;
  box-sizing: border-box;
  display: block;
  border: 2px solid #2EA7E0;
  background: #fff;
  color: #2EA7E0;
  font-weight: bold;
  padding: 0.5em 2em 0.5em 1em;
  line-height: 1.4;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.form-btn::after {
  content: '';
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  top: 50%;
  right: 12px;
  margin-top: -6px;
  transform: rotate(45deg);
  border-top: 2px solid #2EA7E0;
  border-right: 2px solid #2EA7E0;
  transition: right 0.3s;
}
.form-btn:hover {
  background: #2EA7E0;
  color: #fff;
}
.form-btn:hover::after {
  border-color: #fff;
  right: 7px;
}
.form-btn:active, .form-btn:focus {
  opacity: 0.8;
}


@media screen and (min-width: 768px) {
  .modal-trigger {
    -webkit-transition: opacity .3s linear;
    transition: opacity .3s linear;
  }
  .modal-wrap .modal-inner {
    max-width: 700px;
  }
  .modal-wrap .modal-inner .modal-close {
    top: -48px;
    right: 0;
  }
}

@media screen and (max-width: 767px) {
  .modal-wrap .modal-inner {
    width: 90%;
  }
  .modal-wrap .modal-inner .modal-close {
    top: -30px;
    right: 0;
  }

  .contact-form {
    margin : 0;
    padding : 0;
    display:block;
    text-align:left;
    margin-top:20px;
    width: 100%;
  }
  
  .contact-form dt {
    margin : 0;
    padding : 0;
    height: 25px;
    width: 100%;
  }
  
  .contact-form dd {
    margin : 0;
    padding : 0;
    text-align: left;
    width: 100%;
  }

  .form-input-name,
  .form-input-email,
  .form-input-content {
    width: 100%;
  }

}
/*# sourceMappingURL=modal.css.map */