@charset "utf-8";
/* CSS Document */

div#case_area{
	width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
div#case_area h2{
	margin: 0;
	padding: 0;
	width: 135px;
	padding-top: 140px;
	padding-bottom: 50px;
	float: left;
}

div#case_area div#case_boxes{
	width: 1100px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
div#case_area div#case_boxes div.case_box{
	width: 330px;
	min-height: 380px;
	cursor: pointer;
}
div#case_area div#case_boxes div.case_box div.case_image_box{
	width: 330px;
	height: 230px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
div#case_area div#case_boxes div.case_box h4{
	font-size: 1.1875rem;
	font-weight: 400;
	margin: 0;
	padding: 0;
	line-height: 50px;
}
div#case_area div#case_boxes div.case_box p{
	font-size: 0.9375rem;
	margin: 0;
	padding: 0;
	line-height: 1.8em;
}

/* カテゴリー選択 */
div#category_select{
	display: inline-block;
	width: 300px;
	position: relative;
	float: right;
	padding-top: 140px;
}
div#selected_box{
	padding: 17px 30px 17px 20px;
	font-size: 1.125rem;
	line-height: 1.1em;
	
	border-color: #000;
	border-style: solid;
	border-width: 2px;
	
	display: inline-block;
	background-color: #FFF;
	width: 300px;
	box-sizing: border-box;
	cursor: pointer;
	
	background-image: url("../images/case_select.png");
	background-repeat: no-repeat;
	background-position: right 10px center;
}
div#select_list{
	width: 300px;
	background-color: #FFF;
	position: absolute;
	z-index: 10;
	display: none;
}
div#select_list label{
	position: relative;
	display: block;
	border-color: #000;
	border-style: solid;
	border-width: 1px;
	border-top-style: none;
	font-size: 1.125rem;
	padding: 17px 30px 17px 20px;
	cursor: pointer;
}
div#select_list label input{
	display: none;
}
div#select_list label:hover{
	background-color: #000;
	color:#FFF;
}

div#button_area{
	text-align: center;
	padding-bottom: 50px;
}
a.btn_viewmore{
	display: inline-block;
	border-style: solid;
	border-width: 2px;
	border-color: #000;
	width: 260px;
	height: 82px;
	padding: 15px;
	padding-top: 30px;
	padding-left: 30px;
	box-sizing: border-box;
	background-image: url("../images/arrow.png");
	background-position: right 20px center;
	background-repeat: no-repeat;
	font-family: 'Lato', sans-serif;
	text-align: left;
}
a.btn_viewmore:hover{
	background-image: url("../images/arrow2.png");
	background-color: #000;
}
a.btn_viewmore:hover img{
	filter: invert(100%);
}

@media screen and (max-width:640px) {
	div#case_area{
		width: 640px;
		margin-left: auto;
		margin-right: auto;
	}
	
	div#case_area h2{
		margin: 0;
		padding: 0;
		width: 135px;
		margin-left: auto;
		margin-right: auto;
		padding-top: 60px;
		padding-bottom: 20px;
		padding-left: 40px;
	}
	div#category_select{
		margin-right: 40px;
		padding-top: 60px;
	}

	div#case_area div#case_boxes{
		width: 560px;
		margin-left: auto;
		margin-right: auto;
		display: block;
		padding-top: 50px;
	}
	
	div#case_area div#case_boxes div.case_box{
		width: 560px;
		min-height: 162px;
		position: relative;
		margin-bottom: 20px;
	}
	div#case_area div#case_boxes div.case_box div.case_image_box{
		width: 265px;
		height: 162px;
		position: absolute;
		left: 0;
		top:0;
	}
	
	div#case_area div#case_boxes div.case_box h4{
		padding-left: 280px;
		line-height: 30px;
	}
	div#case_area div#case_boxes div.case_box p{
		padding-left: 280px;
	}
	
	/* カテゴリー選択 */
	div#category_select{
		display: inline-block;
		width: 330px;
		position: relative;
		float: right;
		padding-top: 140px;
	}
	div#selected_box{
		padding: 17px 30px 17px 20px;
		font-size: 1.375rem;
		line-height: 1.1em;

		border-color: #000;
		border-style: solid;
		border-width: 2px;

		display: inline-block;
		background-color: #FFF;
		width: 330px;
		box-sizing: border-box;
		cursor: pointer;

		background-image: url("../images/case_select.png");
		background-repeat: no-repeat;
		background-position: right 10px center;
	}
	div#select_list{
		width: 330px;
		background-color: #FFF;
		position: absolute;
		z-index: 10;
		display: none;
	}
	div#select_list label{
		position: relative;
		display: block;
		border-color: #000;
		border-style: solid;
		border-width: 1px;
		border-top-style: none;
		font-size: 1.375rem;
		padding: 17px 30px 17px 20px;
		cursor: pointer;
	}
	
	div#case_area div#case_boxes div.case_box p{
		font-size: 1rem;
	}
}