@charset "utf-8";

.modal {
  visibility: hidden;
  overflow-y: auto;
  opacity: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  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_inner {
  margin: 20px auto;
  width: 100%;
}

.modal_content {
  display: none;
  background: #ffe6e6;
}
.is-active .modal_content {
  display: block;
  position: relative;
	margin: 100px 0;
}

.modalClose {
  border: none;
  background: #ff8080;
  text-align: center;
  display: block;
  margin-right: auto;
  margin-left: auto;
  cursor: pointer;
  width: 100%;
  color: #fff;
  font-size: inherit;
  font-family: inherit;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
	border: 2px solid #fff;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.1);
}
.modalClose:hover {
  background: #ddd;
}
.close_top {
  border:none;
  width: auto;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
  background: none;
}
.close_top:hover {
  background: none;
}
.modal_inner {
	background-color: #fff;
	width: 100%;
	padding: 60px;
}
@media only screen and ( max-width : 768px ) {
  .modal_content {
    padding: 20px;
  }
  .modalClose {
    padding: 15px;
    width: 100%;
  }
  .close_top {
    padding: 0;
    width: 90px;
  }
.modal_inner {
	background-color: #fff;
	width: 100%;
	padding: 0px;
}
}

@media only screen and ( max-width : 480px ) {
}

@media only screen and ( max-width : 320px ) {
  .modal {
    padding: 0 10px;
  }
  .modal_inner {
    margin: 10px auto;
  }
  .modal_content {
    padding: 10px;
  }
}

@media print, screen and ( min-width : 769px ) {
  .modal_inner {
    max-width: 90%;
  }
  .modal_content {
    padding: 40px;
  }
  .modalClose {
    padding: 25px;
  }
  .close_top {
    padding: 0;
  }
}

@media print, screen and ( min-width : 1000px ) {
  .modal_inner {
    max-width: 90%;
  }
}


@media print, screen and ( min-width : 1200px ) {
  .modal_inner {
    max-width: 1160px;
  }
}