/*--------------------------
Gallery
--------------------------*/


.ga_loader{
    position: relative;
    background: url(../img/gallery/loader.gif) no-repeat;
	background-size: 32px 32px;
    background-position: center;
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}
#gallery_fade{
	/*background: #000;*/
	background: url(../art/img/news/dot.jpg) repeat center top;
	width: 100%;
	height: 100%;
	position:fixed;
	z-index: 9999;
	display: none;
	overflow: hidden;
	left:0;
	top:0;
}
.gallery_area{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 50%;
    margin: 0 auto;
    transform: translateY(-50%);
	text-align: center;
	
	z-index: 1;
}
.gallery_pic{
	width: 100%;
	height: 100%;
}
.bt_gallery_close{
	position: absolute;
	top: 20px;
	right: 30px;
	cursor: pointer;
	z-index: 2;
}
.bt_left{	
	position: absolute;
    left: 0%;
    top: 90%;
    height: inherit;
    cursor: pointer;
    z-index: 2;
	transform: translateY(-45%);
}
.bt_right{
	position: absolute;
    right: 0%;
    top: 90%;
    height: inherit;
    cursor: pointer;
    z-index: 2;
	transform: translateY(-45%);
}
.bt_right img,
.bt_left img{
	margin-top:inherit;
}



/*ナビアイコン*/
.icon_frame_wrap{
	background: url("../img/gallery/gallery_numbg.png") no-repeat right -95px top;
	width: 129px;
	height: 60px;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 2;
}
.icon_frame{
	position: absolute;
    left: 70px;
    bottom: 3px;
    margin-top: inherit;
    display: inherit;
    z-index: 2;
    transform: translateX(-50%);
    color: #4b0016;
    font-size: 27px;
	font-family: futura-pt, sans-serif;
	font-weight: 500;
	font-style: normal;
}
.no_big{
	font-size: 40px;
}
.slash{
	font-size: 22px;
    position: relative;
    bottom: 2px;
	left: 1px;
}

.icon_frame ul{
	display: flex;
}
.icon_frame li{
	width: 11px;
	margin-right: 25px;
}
.icon_frame li:last-child{
	margin-right: 0px;
}
.icon{
	background: url(../img/gallery/ic.png) no-repeat;
	background-size: 100% auto;
	background-position:center;
	cursor: pointer;
}
.icon img{
	opacity: 0;
	display: block;
}
.target img{
	opacity:1;
}
.bt_gallery{
	cursor: pointer;
}

/*----------------------------------------------------------------------------------------
SP gallery
------------------------------------------------------------------------------------------*/
@media screen and (min-width: 0px) and (max-width: 800px) {
	.bt_gallery_close{
			width: 5.6%;
		}
	#gallery_fade{
		/*background: rgba(0,0,0,1);*/
		background: url(../art/img/news/dot.jpg) repeat center top;
		width: 100%;
		height: 100%;
		position: fixed;
		z-index: 100;
		display: none;
		overflow: auto;
		top: 0;
		left: 0;
		z-index:9999;
	}
	.gallery_area{
		position: absolute;
		width: 100%;
		height: 100%;
		z-index: 1;
	}
	/*.gallery_pic{
		width: calc(100% - 30px);
		height: auto;
		margin: 15% 15px 0;
	}*/
	/*.gallery_pic{
		width: calc(100% - 26%);
		height: auto;
		margin: 0 13%;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}*/
	.gallery_pic{
		width: calc(100%);
		height: auto;
		margin: 0;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	
	.bt_gallery_close{
		position: fixed;
		top: 0;
		right: 0;
		cursor: pointer;
		margin: 4.5%;
		z-index: 2;
	}
	.bt_left{
		position: fixed;
		left: 0;
		top: 50%;
		cursor: pointer;
		width: 9.37%;
		height: auto;
		margin: 0 0;
		margin-top: 0;
		overflow: hidden;
		z-index: 2;
		transform: translateY(-50%);
	}
	.bt_right{
		position: fixed;
		right: 0;
		top: 50%;
		cursor: pointer;
		width: 9.37%;
		height: auto;
		overflow: hidden;
		z-index: 2;
		margin: 0 0;
		margin-top: 0;
		transform: translateY(-50%);
	}
	.bt_right img,
	.bt_left img{
		margin-top:10px;
	}

	/*ナビアイコン*/
	.icon_frame_wrap{
		right: 0;
		left: 0;
		margin: 0 auto;
		background: url(../img/gallery/gallery_numbg.png) no-repeat right top;
		background-size: 100% auto;
		position: fixed;
	}
	.icon_frame{
		display: inline-block;
		bottom: inherit;
		/* margin-top: 116%; */
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		z-index: 2;
		font-size: 17px;
		position: absolute;
		left: 50%;
		top: 0px;
		margin: 0;
	}
	.no_big {
    	font-size: 27px;
	}
	.slash {
		font-size: 14px;
		position: relative;
		bottom: 2px;
		left: 1px;
	}
	.gallery_pic img{
		height: auto!important;
		width: 100%!important;
	}

	.displaynone{
		display: none;
	}

	.ga_loader{
		position: relative;
		background: url(../img/gallery/loader.gif) no-repeat;
		background-size: 32px 32px;
		width: 32px;
		height: 32px;
		top: 49%;
		left: 50%;
		transform: translateX(-50%);
	}

	#loaderWrapper{
		transform:scale(0.6) translate3d(-80%,-80%,0) !important;transform-origin:center center !important;
	}

}