.gallery{
}
.gallery > .row{
	margin-left: -29px;
	margin-right: -29px;
}

.gallery > .row > div{
	padding:29px;
}


.gallery > .row > div > a{
	display: block;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.gallery img{
	max-width:100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    object-fit: cover;
    height: 100%;
    width: 100%;
	pointer-events: none;
}

.gallery .shadow {
    box-shadow: 2px 2px 6px rgba(0,0,0,.3)!important;
}

#fancybox-content{
	position:relative;
}


#fancybox-content:before{
	content: url(../images/transparent.gif);
    position: absolute;
    width:100%;
    height:100%;
    
}

#fancybox-content:after{
	content:"\00a9Taketoshi Yamazaki";
    position: absolute;
	right:0.5em;
	bottom:0.5em;
	color:white;
	font-size:12px;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.6));
}