/*
 * iweb52-style30
 *
 * Copyright 2017, TANK
 * 
 * 
 * 2017 / 4 / 27
 */


/* + bookList
*----------------------------------------------------------------------------*/
#bookList ul ,
#article ul {
	overflow: hidden;
}

#bookList ul li ,
#article ul li {
	position: relative;
	margin: 10px 0;
	margin-right: 1%;
	float: left;
	width: 32%;
}

#bookList ul li :nth-child(3n) ,
#article ul li :nth-child(3n) {
	margin-right: 0;
}

#bookList ul li a.photo ,
#article ul li a.photo {
	background-size: 100%;
	transition: all 0.4s ease;
}

#bookList ul li:hover a.photo ,
#article ul li:hover a.photo {
	background-size: 120%;
}

#bookList ul li .hoverBox {
	position: absolute;
	padding: 10px 0;
	width: 100%;
	background: rgba(0,0,0,0.5);
	text-align: center;
	bottom: 0;
}

#bookList ul li .hoverBox a {
	color: #fff;
}
.grid-item a{display:block;position:relative;}
.grid-item a p{position:absolute;bottom:0;left:0;width:calc(100% - 40px);padding:10px 20px;color:#fff;background:linear-gradient(to top, rgba(255, 255, 255, 0.65) 0%,rgba(0,0,0,0) 100%);text-shadow:0 0 2px #000, 0 0 2px #000;}

/* bookBox */
#bookBox .wall { position: relative; overflow: hidden; display: block; }
#bookBox .wall-column { position: relative; float: left; width: 50%; display: block; box-sizing: border-box; }
#bookBox .wall-column .article { position: relative; margin: 15px; }
#bookBox .wall-column .album_box { box-shadow: 0 0 10px #c0c0c0; }
#bookBox .wall-column .article a { display: block; }
#bookBox .wall-column .article h3 { position: absolute; width: 100%; bottom: 0; left: 0; }
#bookBox .wall-column .article h3 a { margin: 10px; padding: 10px; background: rgba(255, 255, 255, .7); text-align: center; font-size: 18px; color: #444; }

/* album-info */
#bookBox .wall-column { width: calc(100% / 3); }
#bookBox .wall-column .album_box img { width: 100%; }

@media screen and (max-width: 1280px) {
	#bookBox .wall-column { width: 50%; }
}


/************ = 適應性 = ************/
/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	#bookList ul li {
		width: 49%;
	}
	#bookList ul li :nth-child(3n) ,
	#article ul li :nth-child(3n) {
		margin-left: 1%;
	}
	#bookBox .wall-column { width: 100%; }
}

/* +width:450 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 450px) {
	#bookList ul li {
		margin: 10px 0;
		width: 100%;
	}
}
