@charset "UTF-8";

/*******************************
 
CorporateCss
一覧で利用するCSS
 
*******************************/
.works #main-img{
    background: #c6e8ed url(../img/main_img.jpg) no-repeat center top;
    background-position: center top;
    background-size: contain;
    padding: 8% 0;
}

@media screen and (max-width: 767px){
    .works p{
        text-align: left;
        font-size: 1.4rem;
        font-weight: normal;
        line-height: 2;
        margin: 40px auto 10px;
    }
}


/*******************************
 
WORKSCss
新着情報 一覧で利用するCSS
 
*******************************/

/*------一覧------*/
.works-nav{
	margin-bottom: 60px;
}
.works-nav li{
    display: inline-block;
    padding: 4px 20px 0;
    border-right: solid 1px #ababab;
    font-weight: bold;
	font-size: 16px;
}
.nav-active{
	background-color: #00479d;
}
.nav-active a{
	color: #fff;
}
.works-list{
    margin-bottom: 60px;
}
.flex-box {
	display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    justify-content: space-between;
    margin: 0 auto 20px;
}
.works-content figcaption{
	font-size: 16px;
	font-weight: bold;
	padding-top: 10px;
	margin-bottom: 40px;
}
.works-content figcaption span{
    font-size: 1.2rem;
    padding: 2px 5px;
	font-weight: normal;
	color: #fff;
}
.cate01{background: #0068b7;}
.cate02{background: #00A7B7;}
.cate03{background: #C5005F;}
.cate04{background: #33963E;}
.cate05{background: #EA6709;}

.pager{
	margin-bottom: 80px;
}
.pager ul{
    border-top: solid 1px;
    border-bottom: solid 1px;
    padding: 16px 0;
	font-size: 16px;
}
.pager li{
    display: inline-block;
    padding: 0 14px 0 10px;
    border-right: solid 1px #ababab;
}
.pager li:last-of-type{
    border-right: none;
}
.active{
	font-weight: bold;
	color: #00479d;
}

@media screen and (max-width: 767px){
	.works-content{
        width: 45%;
	    margin: 0 auto;
	}
	.works-content figcaption{
	    font-size: 14px;
		margin-bottom: 10px;
		padding-top: 5px;
	}
	.works-content figcaption span{
        font-size: 0.8rem;
	}
}

/*------詳細------*/
.flex-box.aline-c{
	align-items: center;
}
.mb60{
	margin-bottom: 60px;
}
.flex-box.aline-c .prev, .flex-box.aline-c .next{
	font-size: 16px;
	font-weight: bold;
	color: #0068b7;
}
.flex-box.aline-c .prev:before{
	content: "<";
    margin-right: 10px;
    background: #0068b7;
    color: #fff;
    padding: 5px 8px 3px 6px;
    border-radius: 4px;
}
.flex-box.aline-c .next:after{
	content: ">";
    margin-left: 10px;
    background: #0068b7;
    color: #fff;
    padding: 5px 8px 3px 6px;
    border-radius: 4px;
}
.works-ttl{
    width: 70%;
    margin: 0 auto;
}
.works-ttl h2{
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: bold;
}
.works-ttl .place{
    border-bottom: solid 1px #a1a1a1;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.works-ttl .category{
    padding: 5px 15px;
    border-radius: 6px;
    color: #fff;
    margin: 0;
}

.works-case{
	margin-bottom: 60px;
}
.works-details p{
    margin-top: 20px;
    line-height: 2.2;
}
.works-details img{
    margin: 0 auto;
    display: block;
}

.pager .prev:before{
    content: "<";
    margin-right: 10px;
}
.pager .next:after{
    content: ">";
    margin-left: 10px;
}
@media screen and (max-width: 767px){
	.flex-box.aline-c .prev, .next {
		font-size: 12px;
		flex-basis: 10%;
	}
	.works-ttl {
    	width: 60%;
	}
	.works-ttl h2 {
		font-size: 16px;
	}
	.works-ttl .place{
		font-size: 12px;
		text-align: center;
		margin: 0 0 14px;
		padding: 0;
	}
	.mb60{
		margin-bottom: 40px;
	}
}