
.sp-slide p { font-size:12px;}
.sp-slide p span { display:block; font-size:14px;}
.sp-arrow {
	text-indent:-9999;
	width:30px;
	height:30px;
}
.sp-previous-arrow {
	background: url(../img/btn_l.png) no-repeat 50% 50%;
	background-size:30px;
}
.sp-next-arrow {
	background: url(../img/btn_l.png) no-repeat 50% 50%;
	background-size:30px;
}
.sp-buttons { display: none;}

@media screen and (min-width: 1024px) {
	.sp-arrow { background-size:40px; width: 40px; height:40px;}
}


/* #case */
#case,
#case_detail {
	width: 100%;
	max-width: 980px;
	border-radius: 6px;
	background: #fff;
	margin: auto;
	padding-bottom: 10px;
}
#case h2 {
	padding: 30px 0;
	text-align:center;
}
#case h2 img { width:100%; height:auto; max-width: 600px;}

#case .caselist {
	margin:0 10px;
}
#case .caselist dl .title { text-align: left;}
#case .caselist dl.shingle .title { background: url(../img/icon_s.png) no-repeat 100% 50%; background-size: 70px auto;}
#case .caselist dl.double .title { background: url(../img/icon_d.png) no-repeat 100% 50%; background-size: 70px auto;}
#case .caselist dl.family .title { background: url(../img/icon_f.png) no-repeat 100% 50%; background-size: 70px auto;}

#case .caselist dt img { max-width:100%; max-height: 200px;}
#case .caselist dt .title {
	display: block;
	font-size: 20px;
	color:#22358e;
}
#case .caselist dt .title span {
	display:inline-block;
	margin-left: 10px;
	font-size: 14px;
}
#case .caselist dd { margin:0;}

#case .caselist dl dt { text-align: center;}

@media screen and (min-width: 1024px) {
	#caseslider .sp-slide p {
		font-size:26px;
	}
	#caseslider .sp-slide p span {
		font-size: 40px;
	}

	#case .caselist {
		overflow:hidden;
		margin:0 20px;
	}
	#case .caselist dl {
		float:left;
		width: 300px;
		margin-left: 15px;
	}
	#case .caselist dl.reset,
	#case .caselist dl:nth-child(3n+1) { margin-left:0; clear:both;}
}


/* #case_detail */
#case_detail #caseslider { margin-bottom: 30px;}
#case_detail section,
#case_detail .box2{ margin:0 10px 30px; }
#case_detail .box1 div,
#case_detail .box1 dl { border-bottom:1px solid #c4c4c4; padding-bottom:10px;}
#case_detail .box1 dl {	overflow:hidden;}
#case_detail .box1 dt {
	clear:left;
	float:left;
	font-weight:bold;
	width: 5em;
}
#case_detail .box1 dd {	margin-left:5em;}


#case_detail .box2 h2,
#case_detail .box3 h2 {
	padding-left: 5px;
	color: #22358e;
	border-left: 5px solid #22358e;
}


#case_detail .box2 ul {
	overflow:hidden;
	margin:0;
	padding:0;
}
#case_detail .box2 ul li {
	box-sizing: border-box;
	float:left;
	width: 33%;
	list-style:none;
	margin: 0 0 10px .3%;
	border: 1px solid #22358e;
	border-bottom: none;
}
#case_detail .box2 ul li.l2 { clear:left; margin-left: 16.7%;}
#case_detail .box2 ul li:first-child { margin: 0;}

#case_detail .box2 ul li a {
	display:block;
	background: #22358e;
	padding: 10px 0;
	color: #fff;
	text-align:center;
}
#case_detail .box2 ul li.current a{
	background-color: #fff;
	color: #22358e;
}


#case_detail .bforafter dl {
	position: relative;
	text-align:center;
}
#case_detail .bforafter dl dt { height: 26px; text-align: left;}
#case_detail .bforafter dl dt img {
	width: 120px;
}
#case_detail .bforafter dd {
	background-color: #ededed;
	padding: 10px;
	margin:0;
}
#case_detail .bforafter dl dd img { max-width:100%; width:auto; height:auto;}
#case_detail .bforafter dl.fL { margin-bottom: 35px;}
#case_detail .bforafter dl.fL .arw {
	position: absolute;
	bottom: -30px;
	left: 50%;
	background: url(../img/arw01_sp.png) no-repeat 50% 50%;
	background-size: 25px;
	width: 25px;
	height: 25px;
	margin-left: -12px;
	text-indent: -9999px;
}
#case_detail .bforafter dl.fR dd { background: #fff6e9;}


.case_link { text-align:center;}
.case_link a {
	background-color: #fff;
	display:inline-block;
	min-width: 280px;
	padding: 10px;
	margin-top: 1.5em;
	color: #22358e;
	border: 2px solid #22358e;
}

@media screen and (min-width: 1024px) {
	#case_detail section,
	#case_detail .box2 { overflow: hidden; margin: 0 25px 30px;}
	#case_detail .box1 div {
		float: left;
		width: 590px;
		padding-right: 20px;
		border-right: 1px solid #c4c4c4;
		border-bottom: none;
	}
	#case_detail .box1 dl {	margin-left:620px;}
	#case_detail .box1 div,
	#case_detail .box1 dl {border-bottom: none; padding-bottom:0;}
	
	
	#case_detail .box2 ul {
		clear:both;
		width: 804px;
		margin: 0 auto 20px;
	}
	#case_detail .box2 ul li { width: 160px; margin-left: 1px;}
	#case_detail .box2 ul li.l2 { clear:none; margin-left: 1px;}
	#case_detail .box2 ul li a { padding: 5px 0;}
	#case_detail .box2 ul li a:hover { background: #fff; color: #22358e;}
	
	
	#case_detail .bforafter dl{
		width: 450px;
	}
	#case_detail .bforafter dl.fL {
		margin: 0 30px 0 0;
	}
	#case_detail .bforafter dl.fR { margin: 0;}
	#case_detail .bforafter dl dd img {
		width: auto;
		height: auto;
		max-width: 430px;
		max-height: 290px;
	}
	#case_detail .bforafter dl dd {
		display: table-cell;
		box-sizing: border-box;
		vertical-align: middle;
		text-align: center;
		width: 450px;
		height: 310px;
	}
	#case_detail .bforafter dl.fL dd.arw {
		display: block;
		background: url(../img/arw01_pc.png) no-repeat 50% 50%;
		background-size: 25px;
		top: 156px;
		right: -27px;
		left: auto;
		margin: 0;
		height: 25px;
	}
	
	.fL { float:left;}
	.fR { float:right;}
}


