@charset "utf-8";

.content h4 {
	margin-bottom: 0;
	padding-bottom: 0;
}

.content p{
	margin-top:0;
}

.sub_top_img {
	background-image: url(../../common/img/pic_main_postoffice.jpg);
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 28.5%;	/*画像縦横比を保つための値*/
	position: relative;	/*画像上テキストの位置指定用*/
}

.riyou_box{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width:90%;
}


.riyou{
	position: relative;
	padding-left: 3.2em;/*アイコン分のスペース*/
	line-height: 1.4;
	margin-bottom: 10px;
}

.riyou::before{
	font-family: "Font Awesome 5 Free";
	content: "\f00c";/*アイコンのユニコード*/
	font-weight: 900;
	position: absolute;/*絶対位置*/
	font-size: 1em;/*サイズ*/
	left: 27px;/*アイコンの位置*/
	top: 0;/*アイコンの位置*/
	color: #5ab9ff; /*アイコン色*/
	font-weight: 900;
}

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;
	}
}

#user ul {
    padding: 10px 0 10px 0;
	height: 43px;
	margin-left:40px;
}

#user ul li {
    float: left;
    text-align: center;
    line-height: 43px;
    width: 179px;
    height: 43px;
    background: url(../../common/img/bg_frame_w179.gif) no-repeat left top;
    font-weight: bold;
    /*margin: 0 11px 10px 0;*/
    color: rgb(29 44 90);
	letter-spacing: 2px;
	font-size:14px;
}

/*
こんな企業様にオススメ
-------------------------------------------*/

.user {
    padding: 10px;
    margin-bottom: 30px;
    margin-top: 20px;
    margin-right: 30px;
	margin-left: 30px;
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
}


.btn-flat-border {
  padding: 5px;
  margin: 5px 1% 5px 1%;
  text-decoration: none;
  color: #FFFFFF;
  background-color: #0085B2;
  border: solid 5px #0085B2;
  border-radius: 10px;
  transition: .4s;
  width: 28%;
  font-weight: bold;
  text-align: center;
}

.btn-flat-border:hover {
  background: #FFFFFF;
  color: #0085B2;
}

.box_contact .tel .west {
    padding-top: 16px;
}

/*
@media screen and (min-width:961px){
	header .h_tel {
		top: 20px !important;
		font-size: 16px !important;
	}
	
}*/
/*(961～)*/

@media screen and (max-width:960px){

	.riyou_box{
		width:60%;
	}
	ul.works_list li {
		width: 33.3%;
	}
	/*項目が１行に３つ。最終行で２つになった際、左寄せにする処理*/
	ul.works_list::after{
		content: "";
		display: block;
		width: 33.3%;
		height: 0;
	}
	#user ul {
		margin-left:20px;
	}
	
}
/*(～960)*/


/*iPad対応*/

@media screen and (max-width:780px){


.btn-flat-border {
  width: 40%;
  margin: 5px 2% 5px 3%;
}

}

@media screen and (max-width:760px){
	
	

}
/*(～760)*/

@media screen and (max-width:640px){
	
	.riyou_box{
		width:95%;
	}
	ul.works_list li {
		width: 80%;
		margin:0 auto;
	}
	#user{
		height:200px;
	}
	#user ul {
		margin:0;
	}
	#user ul li {
		float: none;
		margin:0 auto;
	}

	
}
/*(～640)*/

@media screen and (max-width:460px){

.btn-flat-border {
  width: 93%;
}
#sub_top .sub_top_img p {
    font-size:16px;
}

}

@media screen and (max-width:375px){
	
	
}
/*(～375)*/

@media screen and (max-width:320px){
}