@charset "UTF-8";




/*==============================
		titleimg
==============================*/

.titleimg{
	background: url(./img/titleimg.png) center / cover no-repeat;
}

#content{
	overflow: hidden;
}


h2{
	margin: 50px auto;
    text-align: center;
	font-weight: bold;
    font-size: 30px;
}

/*==============================
		タブ
==============================*/
#category_tab{
	font-size: 0;
	margin: 0 auto;
	max-width: 980px;
}

#category_tab li{
	display: inline-block;
	width: 20%;
	height: 60px;
	line-height: 60px;
	text-align: center;
	font-size: 14px;
}

#category_tab li a{
	display: block;
	width: 100%;
	height: 100%;
	background-color: #c7c7c7;
}

#category_tab li.active a{
	color: #ffff00;
	background-color: #0075bf;
}

#sp_category{
	display: none;
}

/*==============================
		事例一覧
==============================*/
#case_list{
	max-width: 980px;
	margin: 0 auto 30px;
}

#case_list li{
	padding: 50px 0;
	border-bottom: 1px solid #ccc;
}

#case_list li:first-child{
	border-top: 1px solid #ccc;
}

#case_list li h3{
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	color: #0075bf;
}

#case_list li h3 span{
	display: block;
	font-size: 12px;
	color: #9c9c9c;
}

#case_list li div{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-flow: row wrap;
	    -ms-flex-flow: row wrap;
	        flex-flow: row wrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	margin-bottom: 20px;
}

#case_list li div span{
	position: relative;
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 48%;
	    -ms-flex: 1 1 48%;
	        flex: 1 1 48%;
	max-width: 48%;
	overflow: hidden;
}

#case_list li div span img{
	width: 100%;
}

#case_list li div .before:before,
#case_list li div .after:before{
	content: '';
	display: block;
	width: 150px;
	height: 100px;
	line-height: 150px;
	text-align: center;
	position: absolute;
	top: -54px;
	left: -36px;
	z-index: 1;
	background-color: #c7c7c7;
	transform: rotate(-30deg);
	text-indent: -30px;
}

#case_list li div .before:before{
	content: 'Before';
}

#case_list li div .after:before{
	content: 'After';
	color: #ffff00;
	background-color: #0075bf;
}

/*==============================
		ページャー
==============================*/
.pager{
	margin: 30px auto 80px;
	text-align: center;
}

.pager li{
	display: inline-block;
	vertical-align: middle;
	width: 28px;
	height: 28px;
	line-height: 28px;
	color: #0075bf;
	border: 1px solid #0075bf;
}

.pager li.active,
.pager li a:hover{
	color: #fff;
	background-color: #0075bf;
}

.pager li +li{
	margin-left: 6px;
}

.pager li a{
	display: block;
	vertical-align: middle;
	width: 100%;
	height: 100%;
}

/*==============================
		小ブラウザ設定
==============================*/


@media (max-width: 1280px){

}

/*==============================
		tab設定
==============================*/


@media (max-width: 980px){
	
	/*==============================
			タブ
	==============================*/
	#category_tab{
		max-width: 100%;
	}

	#category_tab li{
		height: 40px;
		line-height: 40px;
		font-size: 12px;
	}

}

/*==============================
		SP設定
==============================*/


@media (max-width: 768px){
	h2{
		margin: 20px auto;
	}
	
	/*==============================
			タブ


	==============================*/
	#category_tab{
		display: none;
	}

	#sp_category{
		display: block;
		margin: 20px auto;
	}
	
	

	#sp_category select {
		display: inline-block;
		height: 30px;
		vertical-align: middle;
		margin-bottom: 0;
		background-color: #fff;
		border: 1px solid #ccc;
	}

	/*==============================
			事例一覧
	==============================*/
	#case_list{
		max-width: 100%;
		margin: 0 auto 50px;
	}

	#case_list li{
		padding: 20px 0;
	}

	#case_list li h3{
		margin-bottom: 10px;
		font-size: 16px;
	}
	
	#case_list li div span{
		position: relative;
		-webkit-box-flex: 1;
		-webkit-flex: 1 1 100%;
			-ms-flex: 1 1 100%;
				flex: 1 1 100%;
		max-width: 100%;
	}
	
	#case_list li div .after{
		margin-top: 20px;
	}

	#case_list li div .before:before,
	#case_list li div .after:before{
		content: '';
		display: block;
		width: 36vw;
		height: 24vw;
		line-height: 40vw;
		top: -14vw;
		left: -10vw;
		text-indent: -6vw;
		font-size: 3.6vw;
	}

	#case_list li div .before:before{
		content: 'Before';
	}

	#case_list li div .after:before{
		content: 'After';
		color: #ffff00;
		background-color: #0075bf;
	}
	
}

