@charset "UTF-8";

/*共通===========================================*/
div#modal_area{
	position: fixed !important;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	text-align: left;
}
div#modal_mask{
	position: absolute;
	z-index: 10001;
	width: 100%;
	height:100%;
	background-color: rgba(0,0,0,.8);
	filter: alpha( opacity=0 );
	-moz-opacity: 0;
	opacity: 0;
	transition: all .5s;
	cursor: pointer;
}
div#modal_mask.appear{
	filter: alpha( opacity=100 );
	-moz-opacity: 1;
	opacity: 1;
}
div#modal_win{
	position: relative;
	z-index: 10002;
	transition: all .5s ease-out;
	top: -100%;
}

div#modal_win.appear{
	top: 0 !important;
}
.pc_view div#modal_close{
	position: absolute;
	z-index: 10002;
	top: -50px;
	right: -10px;
	width: 50px;
	height: 50px;
	cursor: pointer;
	background-image: url(../img/modal_close.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%;

	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);

	transition: all .2s;
}

.display_device div#modal_close:hover{
	-moz-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
}



.sm_view div#modal_close{
	position: absolute;
	z-index: 10002;
	bottom: -50px;
	left: 50%;
	width: 60%;
	height: 50px;
	margin-left: -30%;
	cursor: pointer;
	background-image: url(../img/modal_close_sm.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}



.pc_view a#modal_next{
	position: absolute;
	z-index: 10002;
	display: block;
	top: 0;
	/*right: -50px;*/
	right: 0;
	width: 50px;
	height: 100%;
	cursor: pointer;
	background-image: url(../img/modal_next.png);
	background-position: 0px center;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;

	transition: all .2s;
}
.sm_view a#modal_next{
	right: -15px;
}
.display_device a#modal_next:hover{
	background-position: 5px center;
}

.pc_view a#modal_prev{
	box-sizing: border-box;
	position: absolute;
	z-index: 10002;
	display: block;
	top: 0;
	/*left: -50px;*/
	left: 0;
	width: 50px;
	height: 100%;
	cursor: pointer;
	background-image: url(../img/modal_prev.png);
	background-position: 0px center;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;

	transition: all .2s;
}
.sm_view a#modal_prev{
	left: -15px;
}
.display_device a#modal_prev:hover{
	background-position: -5px center;
}
.pc_view div#modal_swipe{
	display: none;
}

.sm_view a#modal_next{
	position: absolute;
	z-index: 10002;
	display: block;
	bottom: -50px;
	right: 0;
	width: 20%;
	height: 50px;
	cursor: pointer;
	background-image: url(../img/modal_next.png);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: contain;
}
.sm_view a#modal_prev{
	position: absolute;
	z-index: 10002;
	display: block;
	bottom: -50px;
	left: 0;
	width: 20%;
	height: 50px;
	cursor: pointer;
	background-image: url(../img/modal_prev.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
}

.sm_view div#modal_swipe{
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 10002;
	left: 0;
	bottom: 0;
	background-image: url(../img/modal_swipe.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 20% auto;
	display: none;
	pointer-events: none;
}

/*open_modal用===========================================*/
div#modal_win_outer{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
div#modal_win_inner{
	position: relative;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	/*background: #ffffff;*/
	overflow: hidden;
}

/*modal_divなどで隠しておく用==========================================*/
div#modal_hide{
	position: relative;
	height: 0;
	overflow: hidden;
}
/*modal内部用=====================================================*/
div.modal_content_sp,/*★*/
div.modal_content{
	position: relative;
	box-sizing: border-box;
	z-index: 1;
	width: 100%;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling:touch;
}
div.modal_content_sp{
	text-align: right;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;
}
.pc_view div.modal_content_sp{
	padding: 0 50px;
	overflow: hidden;
}
.sm_view div.modal_content_sp{/*★*/
	padding: 5% 5% 15%;
}
div.modal_content_sp>div.modal_mask_sp{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

div.modal_content_inner{
	text-align: left;
	background-color: #ffffff;
	background-clip: padding-box;
	position: relative;
	overflow: auto;
	height: auto;
}
.pc_view div.modal_content_inner{
	border-bottom: solid 50px transparent;
}
div.modal_close_sp1{
	display: inline-block;
	height: 50px;
	width: 50px;
	cursor: pointer;
	background-image: url(../img/modal_close.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 50px 50px;

	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);

	transition: all .2s;
}
.display_device div.modal_close_sp1:hover{
	/*background-size: 60px 60px;*/

	-moz-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
}
.sm_view div.modal_close_sp1{
	display: none;
}



/*
div.modal_close_sp2{
	width: 60%;
	height: 50px;
	margin: 0 auto;
	cursor: pointer;
	background-image: url(../img/modal_close_sm.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
.sm_view a.modal_next_sp{
	position: absolute;
	display: block;
	top: 0;
	right: -5%;
	width: 20%;
	height: 100%;
	cursor: pointer;
	background-image: url(../img/modal_next.png);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: contain;
}
.sm_view a.modal_prev_sp{
	position: absolute;
	display: block;
	top: 0;
	left: -5%;
	width: 20%;
	height: 100%;
	cursor: pointer;
	background-image: url(../img/modal_prev.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
}

*/






/*スマホ　close*/
div.modal_close_sp2{
position: relative;
top: 10px;
width: 50%;
height: 30px;
margin: 7px auto 0 auto;
cursor: pointer;
background-image: url(../img/modal_close_sm.png);
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
}


.sm_view a.modal_next_sp{
position: absolute;
display: block;
top: 10px;
right: -4%;
width: 20%;
height: 25px;
cursor: pointer;
background-image: url(../img/modal_next.png);
background-position: right center;
background-repeat: no-repeat;
background-size: contain;
}


.sm_view a.modal_prev_sp{
position: absolute;
display: block;
top: 10px;
left: -4%;
width: 20%;
height: 25px;
cursor: pointer;
background-image: url(../img/modal_prev.png);
background-position: left center;
background-repeat: no-repeat;
background-size: contain;
}





/**/
