@media screen and (orientation:portrait) {/* 縦向き */

body.black main::before {
	content:"";
	display:block;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100vh;
	background:url(http://www.daiwa-competition.com/m_gure/images/guremains2024sp.jpg) center/cover no-repeat; /*fixedをトル！*/
	-webkit-background-size:cover;/*Android4*/
	z-index: 1;
}

}
@media screen and (orientation:landscape) {/* 横向き */

body.black main::before {
	content:"";
	display:block;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100vh;
	background:url(http://www.daiwa-competition.com/m_gure/images/guremains2024pc.jpg) center/cover no-repeat; /*fixedをトル！*/
	-webkit-background-size:cover;/*Android4*/
	z-index: 1;
}

}



@media screen and (orientation:portrait)and (max-width: 980px) {/* 縦向き */
body.black main::before {
	display:none;
	-webkit-background-size:cover;/*Android4*/
}
}
@media screen and (orientation:landscape)and (max-width: 980px) {/* 横向き */
body.black main::before {
	display:none;
	-webkit-background-size:cover;/*Android4*/
}
}

