
/* -----------------------------------------------------------------------------
** popup
----------------------------------------------------------------------------- */
.js-popup-show ,
.js-popup-show body {
    overflow-y: hidden;
    height: 100%;
}

.popup-area {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
}
.popup-area.js-show {
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,.7);
	z-index: 1001;
}

.popup-box {
	position: absolute;
	top: 7%;
	left: 50%;
	height: 86%;
	overflow: auto;
	/*position: relative;*/
	z-index: 1002;
	margin: auto;
	max-width: 900px;
	width: 96%;
	/*max-height: 85vh;*/
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, .6);
	opacity: 0;
	transition: opacity .2s;
	transform: translate3d(-50%,0,0);
}
.popup-box.js-content-load {
	opacity: 1;
}
.popup-box.js-v-center {
	height: auto;
	/*top: auto;*/
	top: 50%;
	left: 50%;
	transform: translate3d(-50%,-50%,0);
}

.popup-content {
	padding: 50px 46px;
}

.popup-content.js-scroll-bar {
	overflow-y: scroll;
	height: calc(85vh - 100px);
}

.popup-content p {
	line-height: 1.6;
	text-align: left;
}

.popup-content > * {
	margin-top: 0;
	margin-bottom: 1.6em;
}
.popup-content > *:last-child {
	margin-bottom: 0;
}

.popup-content img {
	display: block;
	width: auto;
	height: auto;
	margin: auto;
	max-width: 100%;
	max-height: 500px;
}

.popup-btn-close {
	display: inline-block;
	width: 46px;
	height: 46px;
	text-indent: -9999px;
	position: absolute;
	top: 3px;
	right: 3px;
	z-index: 1002;
  background: none;
  border: none;
}
.popup-btn-close:before ,
.popup-btn-close:after {
	content: '';
	display: block;
	width: 60%;
	height: 1px;
	background: #333;
	position: absolute;
	top: 50%;
	left: 20%;
}
.popup-btn-close:before {
	transform: rotate(45deg);
}
.popup-btn-close:after {
	transform: rotate(-45deg);
}

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

	.popup-box {
		margin: 0 auto;
		width: 96%;
	}
	.popup-content {
		padding: 30px 20px;
	}
	.popup-btn-close {
		width: 30px;
		height: 30px;
	}
}