/* フェードインエフェクトの拡縮でバグる */
/* メインレイアウト */
html,body{
	width: 100%;
	height: 100%;
	overflow: hidden;
}
main{
	display: block;
	width: 100%;
	height: 92vh;
	position: absolute;
	top: 0;
	left: 0;
	overflow-x: hidden;
}
#mainAll.imgPage{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	height: inherit;
}
#mainAll.imgPage img{
	display: block;
	width: 100%;
	max-width: 90vw;
	height: auto;
	max-height: inherit;
}
#mainAll.moviePage{
	display: block;
	height: 100%;
	position: relative;
	overflow: hidden;	
}
#mainAll video{
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
#mainAll.webPage{
	display: flex;
	flex-flow: column wrap;
	justify-content: flex-start;
	align-content: center;
	gap: 3em;
	background: var(--grayColor);
	position: relative;
}
#mainAll iframe{
	display: block;
	width: 80vw;
	height: 78vh;
	margin-top: 3vh;
}
#mainAll #back_top_btn{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	width: 28em;
	height: 3.5em;
	font-size: 1.875rem;
	background: #FFF;
	color: var(--mainColor);
	border-radius: 6px;
	margin-left: auto;
	margin-right: auto;
}
#mainAll #back_top_btn svg{
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}
#call_modal{
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	transition: all 0.3s ease;
}
#call_modal:not(.active){
	opacity: 0;
	pointer-events: none;
}
#call_modal .modalCont{
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
	gap: 1.5em;
	width: 300px;
	height: 200px;
	padding: 20px;
	text-align: left;
	font-size: 1.75rem;
	line-height: 1.8;
	background: #FFF;
	border-radius: 10px;
}
#call_modal button{
	display: block;
	width: 180px;
	height: 40px;
	background: var(--mainColor);
	color: #FFF;
	border-radius: 6px;
}

