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

*::-ms-backdrop, body.black main {
	background:url(http://daiwa-competition.com/m_ayu_style/images/tai8mainp2021sp.jpg) center/cover no-repeat; /*fixedをトル！*/
	-webkit-background-size:cover;/*Android4*/
background-attachment: fixed;
}

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

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

*::-ms-backdrop, body.black main {
	background:url(http://daiwa-competition.com/m_ayu_style/images/tai8mainp2021pc.jpg) center/cover no-repeat; /*fixedをトル！*/
	-webkit-background-size:cover;/*Android4*/
background-attachment: fixed;
}

body.black main::before {
	content:"";
	display:block;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100vh;
	background:url(http://daiwa-competition.com/m_ayu_style/images/tai8mainp2021pc.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*/
}
}



