@charset "UTF-8";

/* CSS INFORMATION -================================================= */
/* File name : enquete.css */
/* Description : Tverアンケート */
/* ================================================================== */

/* =====================================================================
*    popup
* =================================================================== */
.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	/*    display: none;*/
}

.popup_bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
}

.popup_area {
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

.popup_inner {
	position: relative;
	width: 89.33%;
	width: calc(670 / 750 * 100%);
	margin: 0 auto;
	padding: 11% 0 0;
}

.popup_close {
	position: absolute;
	width: 100%;
	margin: -30px 0 0;
	/*    margin: -8% 0 0;*/
}

.popup_close::before,
.popup_close::after {
	content: "";
	display: block;
	width: 2px;
	padding-top: 8%;
	background-color: #c9c9c9;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin: 0 3% 0 auto;
}

.popup_close::after {
	position: absolute;
	top: 0;
	right: 0;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.popup_details {
	width: 100%;
	height: 100%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 0 calc(20 / 750 * 100vw) rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 calc(20 / 750 * 100vw) rgba(0, 0, 0, 0.3);
}

#loading {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	text-align: center;
	font-size: 2rem;
	opacity: 1;
	visibility: visible;
}

.loading_message img {
	width: 60%;
	width: calc(450 / 750 * 100%);
	margin: 0 auto 3.28%;
	margin: 0 auto calc(20 / 610 * 100%);
}

#loading.fadeOut {
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s, visibility 0.5s;
}

.popup .survey > iframe {
	width: 100%;
}

@media screen and (min-width:768px) {
	.popup_bg {
		cursor: pointer;
	}

	.popup_area {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.popup_inner {
		width: calc(940 / 1100 * 100%);
		max-width: 940px;
		margin: auto;
		padding: calc(60 / 1100 * 100%) 0 0;
		-ms-flex-item-align: start;
		align-self: flex-start;
	}

	.popup_close {
		cursor: pointer;
		margin: -4.5% 0 0;
	}

	.popup_close::before,
	.popup_close::after {
		padding-top: 4.3%;
		margin: 0 1.5% 0 auto;
	}

	.popup_close:hover::before,
	.popup_close:hover::after {
		opacity: 0.7;
	}

	.popup_details_inner {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}

}

@media screen and (min-width:1100px) {
	.popup_inner {
		padding: 60px 0 0;
	}

	.popup_close_inner {
		padding-top: 80px;
	}

}
