@charset "utf-8";

/* news.php
-------------------------------*/
.page_name.bg_news{
    background-image: none;
    height: 150px;
    background-color: #e7eef7;
}
.news_head{
    margin-top: 1px;
    padding-bottom: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.news_head .en{
    font-size: 80px;
    line-height: 1.2em;
    font-weight: 700;
    margin-right: 15px;
}
.news_head .ja{
    font-size: 25px;
    line-height: 1.2em;
    font-weight: 700;
    padding-left: 75px;
    padding-top: 20px;
}
.news_head .ja span{
    position: relative;
}
.news_head .ja span:before{
    position: absolute;
    left: -75px;
    top: 50%;
    width: 55px;
    height: 1px;
    background-color: #000;
    content: "";
}
@media screen and (max-width:1300px){
    .news_head .en{
        font-size: 70px;
        line-height: 1.2em;
    }
}
@media screen and (max-width:910px){
    .page_name.bg_news{
        height: 50px;
    }
}
@media screen and (max-width:640px){
    .page_name.bg_news{
        padding-top: 0;
        height: 10px;
    }
    .news_head{
        padding-bottom: 30px;
    }
    .news_head .en{
        font-size: 50px;
        line-height: 1.2em;
    }
    .news_head .ja{
        font-size: 20px;
        line-height: 1.2em;
        padding-left: 45px;
        padding-top: 10px;
    }
    .news_head .ja span:before{
        left: -45px;
        width: 35px;
    }
}






.cat-list{
    padding: 20px 5% 50px;
    text-align: center;
}
.cat-list li{
    display: inline-block;
    width: 6em;
    margin-left: 5px;
    margin-right: 5px;
}
.cat-list li a{
    display: block;
    color: #fff;
    padding: 3px 5px;
    background-color: #16181d;
}
.cat-list li.cat-0 a{
    background-color: #d58861;
}
.cat-list li.cat-1 a{
    background-color: #1f4a9b;
}
.cat-list li.cat-2 a{
    background-color: #7992c3;
}


#newsWrap{
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 120px;
}



#newsList{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
#newsList li{
    width: 23%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 50px;
}
#newsList li .img{
    width: 100%;
}
#newsList li .img img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}
#newsList li .txt{
    margin-top: 10px;
}

#newsList li .txt .catName{
    font-size: 14px;
    line-height: 1.2em;
    color: #fff;
    padding: 2px 5px;
    background-color: #d58861;
    margin-right: 10px;
}
#newsList li.cat-1 .txt .catName{
    background-color: #1f4a9b;
}
#newsList li.cat-2 .txt .catName{
    background-color: #7992c3;
}
#newsList li .txt .catName.ao{
    background-color: #7992c3;
}



#newsList li .txt .up_ymd{
    font-size: 14px;
    line-height: 1.2em;
}
#newsList li .txt .title{
    font-size: 18px;
    line-height: 1.3em;
}
.empty-txt{
    width: 100%;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

@media screen and (max-width:1300px){
    #newsList li .img img{
        height: 19vw;
    }
}

@media screen and (max-width:910px){
    #newsWrap {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    #newsList li{
        width: 31%;
        margin-bottom: 40px;
    }
    #newsList li .img img{
        height: 25vw;
    }
    #newsList li .txt .title{
        font-size: 16px;
        line-height: 1.3em;
    }
}
@media screen and (max-width:640px){

    #newsList li{
        width: 48%;
        margin-bottom: 20px;
    }
    #newsList li .img img{
        height: 39vw;
    }
}
@media screen and (max-width:480px){
    .cat-list{
        padding-left: 3%;
        padding-right: 3%;
    }
    .cat-list li{
        margin-left: 1px;
        margin-right: 1px;
        font-size: 90%;
    }

}

@media screen and (max-width:380px){
    .cat-list {
        padding-top: 0;
        padding-bottom: 20px;
    }
    #newsList li{
        width: 98%;
    }
    #newsList li .img img{
        height: 48vw;
    }

}






/* Pager style */
.pager{
    text-align:center;
    padding:50px 5%;
    clear:both;
}
/*ページャーボタン*/
.pager a{
    border: 1px solid #bcc5ce;
    color: #bcc5ce;
    font-size: 16px;
    padding: 3px 9px 2px;
    text-decoration: none;
    margin:0 1px;
}
/*現在のページのボタン*/
.pager a.current{
    background: #16181d;
    color: #fff;
}
.pager a:hover{
    background:#999;
    color: #fff;
}
.overPagerPattern{
    padding:0 2px ;	
}



/* news 詳細ページ
-------------------------------*/

.post-cont h2{
    font-size:35px;
    line-height: 1.3em;
    color:#16181d;
    padding-bottom: 10px;
    margin-bottom: 60px;
    border-bottom: solid 1px #bbc3cc;
}
#up_ymd{
    font-size:13px;
    margin-bottom: 10px;
}
#up_ymd .cat{
    font-size: 14px;
    line-height: 1.2em;
    color: #fff;
    padding: 2px 8px;
    background-color: #d58861;
    margin-right: 10px;
}
.cat-1 #up_ymd .cat{
    background-color: #1f4a9b;
}
.cat-2 #up_ymd .cat{
    background-color: #7992c3;
}
#up_ymd .cat.ao{
    background-color: #7992c3;
}


#up_ymd .ymd{
    font-size: 120%;
    line-height: 1.2em;
    color: #bcc5ce;
}

.detailText ul,
.detailText ol{
    margin-left: 2em;
    margin-top: 10px;
    margin-bottom: 10px;
}
.detailText ul li{
    list-style: disc;
}
.detailText ol li{
    list-style: decimal;
}

.detailUpfile{
    margin:20px 0 40px;
    text-align:center;
}

.detailUpfile img{
    max-width:100%;
    height:auto;
}

.detailUpfile.multiple-img{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.detailUpfile.multiple-img .up-img{
    width: 48%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 20px;
    text-align: center;
}

.backORcloseBtn{
    text-align:center;
    margin-top:100px;
    border-top: solid 1px #bbc3cc;
    border-bottom: solid 1px #bbc3cc;
    position: relative;
}
.backORcloseBtn .item{
    width: 25%;
}
.backORcloseBtn .item a{
    width: 100%;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
/*    border: solid 1px #1f4a9b;*/
    position: relative;
}

.post-cont.cat-0 .backORcloseBtn .item a.link-cat-1,
.post-cont.cat-0 .backORcloseBtn .item a.link-cat-2{
    display: none;
}
.post-cont.cat-1 .backORcloseBtn .item a.link-cat-0,
.post-cont.cat-1 .backORcloseBtn .item a.link-cat-2{
    display: none;
}
.post-cont.cat-2 .backORcloseBtn .item a.link-cat-0,
.post-cont.cat-2 .backORcloseBtn .item a.link-cat-1{
    display: none;
}






.backORcloseBtn .item{
    margin: auto;
}

.backORcloseBtn .prev{
    position: absolute;
    left: 0;
    top: 0;
}
.backORcloseBtn .next{
    position: absolute;
    right: 0;
    top: 0;
}
.backORcloseBtn .prev a:after{
    position: absolute;
    left: 10px;
    top: calc(50% - 10px);
    width: 11px;
    height: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../img/common/ya_prev.png);
    content: "";
}
.backORcloseBtn .next a:after{
    position: absolute;
    right: 10px;
    top: calc(50% - 10px);
    width: 11px;
    height: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../img/common/ya_next.png);
    content: "";
}



/*
.backORcloseBtn a{
    width: 90%;
    max-width: 330px;
    margin: auto;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    border: solid 1px #1f4a9b;
    position: relative;

}
.backORcloseBtn a:after{
    position: absolute;
    right: 35px;
    top: calc(50% - 10px);
    width: 11px;
    height: 20px;
    background: url(../img/recruit/ya-more.png) left center no-repeat;
    z-index: 2;
    content: "";
}
*/
/*
.backORcloseBtn a{
    width: 90%;
    max-width: 330px;
    margin: auto;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: -moz-linear-gradient(left, #d58861, #277299);
    background: -webkit-linear-gradient(left, #d58861, #277299);
    background: linear-gradient(to right, #d58861, #277299);
    position: relative;
}
.backORcloseBtn a:after{
    position: absolute;
    right: 35px;
    top: calc(50% - 10px);
    width: 11px;
    height: 20px;
    background: url(../img/recruit/ya-more-w.png) left center no-repeat;
    z-index: 2;
    content: "";
}
*/

@media screen and (max-width:910px){
    .post-cont h2{
        font-size:28px;
        line-height: 1.3em;
        margin-bottom: 40px;
    }
}

@media screen and (max-width:640px){
    .post-cont h2{
        font-size:22px;
        line-height: 1.3em;
    }
    
    .detailUpfile.multiple-img .up-img{
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .backORcloseBtn a{
        height: 50px;
    }
    .backORcloseBtn .prev a:after{
        left: 0;
    }
    .backORcloseBtn .next a:after{
        right: 0;
    }

}





.icon_pdf{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
    background: url(../img/common/icon_pdf.png) right center no-repeat;
    background-size: auto 27px;
}












