/* スクロール無効 */
body.no_scroll {
	overflow: hidden;
	overscroll-behavior: none;
	touch-action: none;
}

html,
body {
	height: 100%;
}

#gashapon .loading {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 9999;
	background-color: #fff;
	background-image: url(/library/contents/products/gashapon/img/parts/bg.png);
	background-size: 400px;
	background-position: center;
	background-repeat: repeat;
	background-attachment: fixed;
	width: 100%;
	height: 100%;
	transition: all 0.5s;
}

#gashapon .loading.is-loaded {
	opacity: 0;
	pointer-events: none;
}

#gashapon .loading-bg {
	position: absolute;
	inset: 0;
	content: "";
	background: radial-gradient(circle at center,
			rgba(230, 0, 19, 1) 0%,
			rgba(230, 0, 19, 1) 40%,
			rgba(239, 19, 37, 1) 40%,
			rgba(239, 19, 37, 1) 70%,
			rgba(245, 35, 52, 0.7) 70%,
			rgba(245, 35, 52, 0.7) 100%);
}

#gashapon .loading-txt {
	position: absolute;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 2em;
	top: calc(45% + 110px);
	left: 50%;
	transform: translate(-50%, -50%);
	letter-spacing: 0.5em;
	padding-left: 0.5em;
}

@media screen and (max-width: 768px) {
	#gashapon .loading-txt {
		font-size: 1.5em;
		top: calc(45% + 80px);
	}
}

#gashapon .spinner {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 140px;
	height: 140px;
}

@media screen and (max-width: 768px) {
	#gashapon .spinner {
		width: 100px;
		height: 100px;
	}
}

#gashapon .double-bounce1,
#gashapon .double-bounce2 {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #fff;
	opacity: 0.7;
	position: absolute;
	top: 0;
	left: 0;

	-webkit-animation: sk-bounce 2.0s infinite ease-in-out;
	animation: sk-bounce 2.0s infinite ease-in-out;
}

#gashapon .double-bounce2 {
	-webkit-animation-delay: -1.0s;
	animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {

	0%,
	100% {
		-webkit-transform: scale(0.0)
	}

	50% {
		-webkit-transform: scale(1.0)
	}
}

@keyframes sk-bounce {

	0%,
	100% {
		transform: scale(0.0);
		-webkit-transform: scale(0.0);
	}

	50% {
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
	}
}