@charset "UTF-8";

/*******************************
 
CorporateCss
一覧で利用するCSS
 
*******************************/
.news #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){
    .news p{
        text-align: left;
        font-size: 1.4rem;
        font-weight: normal;
        line-height: 2;
        margin: 40px auto 10px;
    }
}


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

/*------一覧------*/
.news-list{
    margin-bottom: 60px;
}
.news-content{
    border-bottom: dotted 1px #d2d2d2;
    padding: 15px 0;
}
.news-content time{
	color: #00479d;
	font-weight: bold;
    margin-right: 40px;
}
.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){
	.news-content{
	    padding: 15px 10px;
	}
	.news-content time{
		display: block;
    	margin: 0 0 5px;
	}
}

/*------詳細------*/
.news-ttl time{
	display: inline-block;
    font-weight: bold;
    margin-right: 10px;
}
.news-ttl .category{
	display: inline-block;
    padding: 0 10px;
    background-color: #909090;
    border-radius: 6px;
    color: #fff;
    margin: 0;
}
.news-ttl h2{
	font-size: 24px;
    margin: 15px 0 40px;
    padding-top: 15px;
    border-top: solid 1px;
}
.news-details p{
    margin-top: 20px;
    line-height: 2.2;
}
.news-details h3{
    font-size: 24px;
    margin-top: 60px;
}
.flex-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 auto 60px;
}
.pager .prev:before{
    content: "<";
    margin-right: 10px;
}
.pager .next:after{
    content: ">";
    margin-left: 10px;
}
@media screen and (max-width: 767px){
	.news-content{
	    padding: 15px 10px;
	}
	.news-content time{
		display: block;
    	margin: 0 0 5px;
	}
	.news-ttl h2{
	    margin-bottom: 20px;
	}
	.news-details h3 {
		margin-top: 40px;
	}
	.flex-box{
	    display: block;
	}
	.flex-box img{
		margin-bottom: 20px;
	}
	.flex-box img:last-of-type{
		margin-bottom: 0;
	}
}