html.pc-access.modal-active,
body.pc-access.modal-active
{
	position: fixed !important;
	overflow: auto !important;
	overflow-y: scroll !important;
	width: 100% !important;
}
html.iphone-access.modal-active,
html.android-access.modal-active,
html.tb-access.modal-active,
body.iphone-access.modal-active,
body.android-access.modal-active,
body.tb-access.modal-active
{
	position: fixed !important;
	overflow: hidden !important;
	height: 100% !important;
	width: 100% !important;
}

body {
	-webkit-text-size-adjust: 100%;
}

.modalHtmlY
{
	overflow-y:hidden !important;
	position:relative !important;
	height: 100% !important;
}
.modalHtmlX
{
	overflow-x:hidden !important;
}
.modalBodyY
{
	overflow-y:hidden !important;
	position:relative !important;
	height: 100% !important;
}
.modalBodyX
{
	overflow-x:hidden !important;
}

.bg_black{background-color: rgba(0,0,0,0.75); background-image: none;}
.bg_black_no{background-color: rgba(0,0,0,0); background-image: none;}
.bgClose
{
	position: fixed;
	display: block;
	width: 100%;
	height: 1000vh;
	/* background-color: hsla(0,0%,0%,0.30); */
}

#mdOverlay {top: 0; left: 0; width: 100vw !important; height: 100vh !important; position: fixed; z-index: 50; display: none;}
#mdWindow-common
{
	top:0;
	left: 0;
	width:100%;
	height: 100%;
	position: fixed;
	z-index: 5100000;
	display: none;
}
#mdWindow-common ul
{
	position: relative;
	margin: 0;
	padding: 0;
}

#contWrap-common {width:100%; height: 100%;}
#mdContents
{
	position:fixed;
	z-index:1;
	overflow-x:hidden;
	overflow-y:hidden;
	background-color:transparent;
	left:0;
	right:0;
	top:0;
	bottom:0;
	margin:auto;
	opacity: 0;
	border-radius: 4px;
	overscroll-behavior-y: contain;
}

.bg_black{/* background-color: hsla(0,0%,0%,0.5); */ background-image: none;}
.bgClose-style{position: fixed; display: block; width: 100vw; height: 1000vh; background-color: hsla(0,0%,0%,0.00);}

.mdPage-double{/*width: 960px;*/ height: 98vh !important; min-height: 98vh !important; background-color:#fff; position: fixed; z-index: 1; top:1vh; left:50%; transform: translate(-50%,0); }
.modal-wrap-in{/*width: 960px;*/ margin: 0 auto; height: 100%; }
.modal-cont-in{/*width: 960px;*/ padding: 0; background-color: transparent; height: 100%; }

body.scroll_hidden {overflow:hidden;}

#mdOverlay-double {top: 0; left: 0; width: 100%; position: fixed; z-index: 50; display: none; background-color:rgba(0,0,0,0.5);}
#mdClose {cursor: pointer; position: absolute; right:0px; top:0px; width:40px ;height:40px; line-height:40px; text-align: center; background-color:#f00; color:#fff;}
#modalInclude-double {display: none;}
#contWrap-double { width: 100%; height: 100%; box-sizing: border-box;}

#mdContents-Close{display: block; width: 100%; height: 50px; background-color: transparent;}
#mdContents-View{width: 100%; height: 100%; background-color: transparent;}

/*iPadで背景をスクロールさせないための対応*/
.modalHtml {overflow-y:hidden; position:fixed; width: 100%;}