@charset "utf-8";

.content h4 {
	margin-bottom: 0;
	padding-bottom: 0;
	padding-left: 1em;
    text-indent: -1em;
}

.content p{
	margin-top:0;
}
/**/
#sub_top_b {
	position: relative;
	background-color: #F6F6F6;
	background-repeat: no-repeat;
	background-position: center center;
	/*height: 340px;*/
	height:auto;
	line-height: 30px;
	padding-top: 140px;
    width: 100%;
	background-size: cover;
    text-align: center;
	font-family: 'Raleway', sans-serif;
	font-weight:bold;
	color: #0085B2;
	font-size: 20px;
	letter-spacing: 0.5em;
}

#sub_top_b .sub_top_img p {
    position: absolute;
    top: calc(40% - 10px);
    font-size: 20px;
    padding-left: 40px;
}


/*
#sub_top .sub_top_img p {
	top: calc(40% - 10px);
	font-weight:bold;
	color:#0085B2;
	text-shadow:initial;
	letter-spacing: 0.5em;
}
*/

.sub_top_img {
	background-image: url(../../common/img/pic_case10.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 28.5%;	/*画像縦横比を保つための値*/
	position: relative;	/*画像上テキストの位置指定用*/
}

.content .comment{
	margin-left:60px;
}

.content .normal_text {
    margin-bottom: 0px;
}

.content .small_text {
    font-size: 80%;
    margin-top: 0px;
}


ul.works_list {
	display: block;
	margin-left: auto;
	margin-right: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	/*max-width: 1400px;*/
	max-width: 1160px;
	/*padding: 30px;0730*/
	padding: 10px;
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flexbox;
	display: -moz-flexbox;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-box-lines: multiple;
	-moz-box-lines: multiple;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

ul.works_list li {
	/*width: 20%;0730*/
	width: 23%;
	position: relative;
	text-align: center;
	margin-bottom: 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
ul.works_list li a {
	display: block;
	/*padding: 20px;0730*/
	padding: 10px;
	background-color: #FFF;
	text-decoration: none;
	color: #333;
}
ul.works_list li a img {
	width: auto;
	width: 100%;
	/*height: 150px;*/
	height:120px;
	object-fit: cover;
}
ul.works_list li a:hover img {
	opacity: 1.0;
	filter: alpha(opacity=100);
	-ms-filter: "alpha( opacity=100 )";
	/*-webkit-filter:brightness(1.5);
    -moz-filter:brightness(1.5);
    -ms-filter:brightness(1.5);
	filter:brightness(1.5);*/
	-webkit-filter:brightness(0.8);
    -moz-filter:brightness(0.8);
    -ms-filter:brightness(0.8);
	filter:brightness(0.8);
}

ul.works_list li a span {
	display: block;
	padding-top: 10px;
	font-size: 14px;
	letter-spacing: 1px;
}

ul.works_list li a:hover {
	color: #000;
	background-color: #F6F6F6;
}



/*IE11では上記filterでの明暗調整が効かないのでこちらで画像を暗くしている*/
@media all and (-ms-high-contrast:none){
	ul.works_list li a .bg_img{
		background: #000;
		display: block;
	}
	ul.works_list li a .bg_img img {
		opacity:1;
		transition:0.3s;
	}
	ul.works_list li a:hover .bg_img img {
		opacity:0.8;
	}
}


@media screen and (min-width:961px){

	
}
/*(961～)*/

@media screen and (max-width:960px){

	#sub_top_b {
		/*height: 200px;*/
		height:auto;
		/*padding-top: 120px;*/
		padding-top:60px;
		letter-spacing: 0.5em;
		font-size: 18px;
	}

	.content h4 {
		margin-left:20px;
	}

	ul.works_list li {
		width: 33.3%;
	}
	/*項目が１行に３つ。最終行で２つになった際、左寄せにする処理*/
	ul.works_list::after{
		content: "";
		display: block;
		width: 33.3%;
		height: 0;
	}
	
}
/*(～960)*/


/*iPad対応*/

@media screen and (max-width:780px){



}

@media screen and (max-width:760px){
	
	

}
/*(～760)*/

@media screen and (max-width:640px){
	
	.content .comment {
		margin-left: 40px;
	}
	
	ul.works_list li {
		width: 80%;
		margin:0 auto;
	}
	
}
/*(～640)*/

@media screen and (max-width:460px){

	#sub_top_b {
		/*height: 80px;*/
		height:auto;
		padding-top: 60px;
		font-size: 12px;
	}
	#sub_top_b .sub_top_img p {
		top: calc(30% - 10px);
		padding-left: 20px;
	}
	.content .comment {
		margin-right: 20px;
		margin-left: 20px;
	}
}

@media screen and (max-width:375px){
	
	
}
/*(～375)*/

@media screen and (max-width:320px){
	.content h2 {
		font-size: 20px;
	}
}