@charset "UTF-8";

/* modal
------------------------------------------------------------*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000,endColorstr=#80000000);
  background: rgba(47, 30, 61, 0.7);
}

.modal-wrap {
  height: 100%;
  padding: 0 30px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  height: 100%;
  /*max-width: 960px;*/
  max-width: 92%;
  margin: 0 auto;
}

.modal-table-wrap {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}

.modal-table-cell {
  display: table-cell;
  padding: 60px 0 60px;
  vertical-align: middle;
}

.modal-content-box {
  position: relative;
  margin: 0 auto;
  background: #fff;
  -webkit-border-radius:20px; border-radius:20px;
}

.modal-content-inner {
  padding: 40px 30px 80px;
}

.modal-content-inner h2 { font-size: 24px; line-height: 100%; margin: 0 auto 60px; padding: 0;}
.modal-content-inner p {line-height: 180%; margin: 0 auto; text-align: center;}


#modal1 p {text-align: left;}
#modal1 ul { margin-top: 20px; text-align: left;}
#modal1 ul li { list-style-type: none; line-height:200%; margin:0 0 10px 0; padding:0; font-size: 14px;}
#modal1 ul li:last-of-type { margin:0;}

@media only screen and (max-width: 767px) {
	.modal-content-inner h2 { font-size: 20px; margin: 0 auto 30px;}
	.modal-content-inner p { font-size: 14px;}
	#modal1 ul li { lline-height:160%; font-size: 12px;}
}



.modal-btn-close {
  position: absolute;
  top: -38px;
  right: -38px;
  z-index: 9;
  height: 76px;
  width: 76px;
  cursor: pointer;
  background: #2F1E3D;
 -webkit-border-radius:50%; border-radius:50%;display:flex; flex-direction:column; justify-content:center; align-items:center;
}
.modal-btn-close span {
  display: block;
  background: #fff;
  height: 2px;
  width: 30px;
  margin-top: -15px;
}
.modal-btn-close .bar01 {
  -moz-transform: translateY(1px) rotate(-45deg);
  -ms-transform: translateY(1px) rotate(-45deg);
  -webkit-transform: translateY(1px) rotate(-45deg);
  transform: translateY(1px) rotate(-45deg);
}
.modal-btn-close .bar02 {
  -moz-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -webkit-transform: translateY(13px) rotate(45deg);
  transform: translateY(13px) rotate(45deg);
}

@media only screen and (max-width: 767px) {
  .modal-wrap {
    padding: 0 3.125%;
  }

  .modal-content-inner {
    padding: 30px 3.33333% 30px;
  }
  
	.modal-btn-close {
	  position: absolute;
	  top: -23px;
	  right: -23px;
	  z-index: 9;
	  height: 46px;
	  width: 46px;
	  cursor: pointer;
	  background: #2F1E3D;
	 -webkit-border-radius:50%; border-radius:50%;display:flex; flex-direction:column; justify-content:center; align-items:center;
	}
	.modal-btn-close span {
	  display: block;
	  background: #fff;
	  height: 2px;
	  width: 22px;
	  margin-top: -15px;
	}
	.modal-btn-close .bar01 {
	  -moz-transform: translateY(1px) rotate(-45deg);
	  -ms-transform: translateY(1px) rotate(-45deg);
	  -webkit-transform: translateY(1px) rotate(-45deg);
	  transform: translateY(1px) rotate(-45deg);
	}
	.modal-btn-close .bar02 {
	  -moz-transform: translateY(13px) rotate(45deg);
	  -ms-transform: translateY(13px) rotate(45deg);
	  -webkit-transform: translateY(13px) rotate(45deg);
	  transform: translateY(13px) rotate(45deg);
	}
  
}
