/*
 * iweb51-style012
 *
 * Copyright 2015, TANK
 * 
 * 
 * 2016 / 01 / 05
 */


/* + a.photo
*----------------------------------------------------------------------------*/
a.photo {
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: auto 100%;
	display: block;
	transition: all 0.4s ease;
}

a.photo img {
	width: 100%;
	max-width: inherit;
}

/* + album
*----------------------------------------------------------------------------*/
#album {
	overflow: hidden;
	margin-bottom: 60px;
}

#album .photoList ,
#album ul li {
	margin: 10px 1%;
	float: left;
	width: 23%;
}

#album .photoList .bookPhoto {
	margin-bottom: 10px;
	border: 1px #ccc solid;
}

#album .photoList:hover .bookPhoto a.photo ,
#album ul li:hover a.photo {
	background-size: auto 120%;
}

#album .photoList h4 {
	overflow: hidden;
	height: 30px;
	text-align: center;
	font-size: 18px;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

#album ul {
	overflow: hidden;
	margin: 10px 0;
}

#album ul li {
	width: 18%;
}

#content section .content-main h3 {
	margin-bottom: 20px;
	font-size: 16px;
	color: #65910d;
}


/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	#album ul li {
		width: 48%;
	}
}

/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	#album .photoList {
		width: 48%;
	}
}


/* +width:450 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 450px) {
	#album .photoList ,
	#album ul li {
		width: 98%;
	}
}