@charset "UTF-8";
/*====================================
	for sample_list.html
	Date of 2016.5.19
====================================*/

.caseList {
	margin-bottom: 5px;
}
.caseList li {
	float: left;
	width: 50%;
	text-align: center;
	margin-bottom: 8px;
}
.caseList li a {
	width: 100%;
	display: block;
	color: #231815;
	text-decoration: none;
}
.caseList .caseOn {
	background: #595757;
	color: #FFF;
}
.categoryTitle {
	font-size: 125%;
	margin-bottom: 5x;
}
.pagination li {
	float: left;
	font-size: 80%;
	line-height: 1.5em;
	border-left: 1px solid #221814;
}
.pagination li:last-child {
	border-right: 1px solid #221814;
}
.pagination li a,
.pagination li span {
	color: #221814;
	text-decoration: none;
	display: block;
	overflow: hidden;
	padding: 1px 10px;
	margin: 0 3px;
}
.pagination li span.current {
	background-color: #04548C;
	color: #fff;
}
.pagination li a:hover {
	color: #fff;
	background-color: #04548C;
}
.pagination li:active {
	color: #fff !important;
	text-decoration: underline !important;
	background-color: #04548C !important;
}
.sampleList > li {
	width: 47.5%;
	float: left;
	margin-left: 5%;
	margin-bottom: 30px;
}
.sampleList > li:nth-child(odd){
	margin-left: 0;
}
.sampleList a {
	text-decoration: none;
	color: #333;
	display: block;
}
.sampleSummary li {
	font-size: 85%;
	line-height: 1.8em;
}
.sampleSummary li:first-child {
	background-position: center center;
	background-size: cover;
}
.sampleSummary img {
	height: auto;
	margin-bottom: 5px;
	display: block;
}
.moreDetail {
	color: #A40B5D;
}
.sampleSummary li:first-child {
	display: block;
	overflow: hidden;
	height: 150px;
	margin-bottom: 5px;
}
.sampleSummary li:first-child img {
	margin: 0 auto;
	max-width: none;
}

/* 480px～ */
@media screen and (min-width: 480px){
.caseList li {
	width: 23%;
	margin-left: 5px;
}
.caseList li:firsr-child {
	margin-left: 0;
}
.caseList li a:hover {
	background: #595757;
	color: #FFF;
}
.sampleSummary img {
	/*max-width: 250px;*/
	
}
.sampleSummary li:first-child {
	height: 180px;
}

}

/* 768px～ */
@media screen and (min-width: 768px){
.caseList {
	text-align: center;
}
.caseList li {
	width: 138px;
	display: inline-block;
	float: none;
}
.pagination ul {
	float: right;
}
.sampleList > li {
	width: 22.619047619048%;
	margin-left: 3.174603174603%;
}
.sampleList > li:nth-child(odd){
	margin-left: 3.174603174603%;
}
.sampleList > li:nth-child(4n+1){
	margin-left: 0;
}
.sampleSummary li:first-child {
	height: 150px;
}
.moreDetail:hover {
	text-decoration: underline;
}

}