/*--------------------------
Gallery
--------------------------*/
.ga_loader{
    position: relative;
    background: url(../img/loader.gif) no-repeat;
    background-position: center;
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}
#gallery_fade{
	background: rgba(0,0,0,0.9);
	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: 30px;
	top: 33%;
	height: inherit;
	cursor: pointer;
	z-index: 2;
}
.bt_right{
	position: absolute;
	right: 30px;
	top: 33%;
	height: inherit;
	cursor: pointer;
	z-index: 2;
}
.bt_right img,
.bt_left img{
	margin-top:inherit;
}



/*ナビアイコン*/
.icon_frame{
	position: absolute;
	left: 50%;
	bottom: 72px;
	top:auto;
	margin-top:inherit;
	display: inherit;
	height: auto;
	z-index: 2;
	transform: translateX(-50%);
}


.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;
}


@media screen and (min-width: 0px) and (max-width: 800px) {
/*----------------------------------------------------------------------------------------
gallery
------------------------------------------------------------------------------------------*/

#gallery_fade{
	background: rgba(0,0,0,0.9);
	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: 90%;
	height: auto;
    margin: 12% 5%;
}
.bt_gallery_close{
	position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    margin: 4.5%;
	z-index: 2;
}
.bt_left{
	position: absolute;
    left: 5%;
    top: 0;
    cursor: pointer;
    width: 15px;
    margin: 75% 0 10%;
	height: 50px;
	overflow: hidden;
	z-index: 2;
}
.bt_right{
	position: absolute;
    right: 5%;
    top: 0;
    cursor: pointer;
    width: 15px;
    margin-top: 75%;
    height: 50px;
    overflow: hidden;
	z-index: 2;
}
.bt_right img,
.bt_left img{
	margin-top:-64px;
}

/*ナビアイコン*/
.icon_frame{
    display: inline-block;
    bottom: inherit;
    margin-top: 75%;
    top: 2.2%;
    height: 50px;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: 2;
}
.icon_frame ul{
	display: flex;
}
.icon_frame li{
	width: 6px;
	height:6px;
	margin-right: 10px;
}
.icon_frame li:last-child{
	margin-right: 0px;
}
.icon{
	background: url(../../img/gallery/ic.png) no-repeat;
	background-position:center;
	background-size: 6px;
}
.icon img{
	display: block;
	width:100%;
	height:auto;
}
.icon img{
	opacity: 0;
}
.target img{
	opacity:1;
}
	
.gallery_pic img{
	height: auto!important;
	width: 100%!important;
}

.displaynone{
	display: none;
}

.ga_loader{
    position: relative;
    background: url(../img/loader.gif) no-repeat;
    width: 32px;
    height: 32px;
    top: 0;
    left: 50%;
    margin-top: 40%;
    transform: translateX(-50%);
}
	
#loaderWrapper{
	transform:scale(0.6) translate3d(-80%,-80%,0) !important;transform-origin:center center !important;
}

}