@charset "UTF-8";
/* 共通設定 ---------------------------------- */
section{
    scroll-margin-top: 170px;
}

/* タグの色 */
.tag-important{
    background-color: #154783;
}
.tag-info{
    background-color: #3364A0;
}
.tag-business{
    background-color: #33A081;
}
.tag-group{
    background-color: #06835F;
}
.tag-community{
    background-color: #52A033;
}
.tag-recruitment{
    background-color: #835F06;
}

/* ボタン */
.btn{
    display: block;
    width: 300px;
    height: 50px;
    background-color: #154783;
    border-radius: 3px;
    border: 1px solid #154783;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}
.btn::after{
    content: "";
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    position: absolute;
    top: 52%;
    left: 30px;
    transform: translateY(-50%) rotate(-45deg);
}
.btn:hover{
    background-color: #fff;
    color: #154783;
}
.btn:hover::after{
    border-top: 1px solid #154783;
    border-left: 1px solid #154783;
    left: 15px;
}

/* page-title ------------------------------ */
.news #page-title::after{
    background-image: url(../img/news/title.webp);
}

.news #page-title .text-wrap > .title{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 600;
    color: #154783;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
}

/* breadcrumb ------------------------------ */
.breadcrumb{
    width: 100%;
    font-size: 14px;
    padding: 0 5%;
    margin-bottom: 70px;
}
.breadcrumb > span{
    margin-right: 5px;
}
.breadcrumb >span a{
    text-decoration: underline;
}
.breadcrumb >span a:hover{
    opacity: .6;
}

/* tag-area -------------------------------- */
.tag-area{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 70px;
}

.tag-area > .tag-list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px 30px;
}
.tag-area > .tag-list > li a{
    display: block;
    height: 50px;
    background-color: #fff;
    border: 1px solid #154783;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
}
.tag-area > .tag-list > li a:hover{
    background-color: #154783;
    color: #fff;
}

/* main-area ------------------------------- */
.main-area{
    width: 100%;
    padding: 0 10%;
    margin-bottom: 70px;
}

.main-area > .news-list{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
.main-area > .news-list li{
    width: 100%;
    margin-bottom: 20px;
}
.main-area > .news-list li:last-of-type{
    margin-bottom: 0;
}
.main-area > .news-list li > a{
    width: 100%;
    min-height: 50px;
    background-color: #fff;
    border: 1px solid #D2B07B;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 25px 35px;
    position: relative;
}
.main-area > .news-list li > a::after{
    content: "";
    width: 10px;
    height: 10px;
    border-top: 1px solid #D2B07B;
    border-right: 1px solid #D2B07B;
    position: absolute;
    top: 50%;
    right: 35px;
    transform: translateY(-50%) rotate(45deg);
}

.main-area > .news-list li > a:hover{
    transform: translateX(10px);
    box-shadow: 0 4px 10px 5px #F2ECE0;
}

.main-area > .news-list li > a .date{
    font-size: 14px;
}
.main-area > .news-list li > a .tag{
    width: 150px;
    height: 30px;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.main-area > .news-list li > a .news-title{
    padding-right: 20px;
}

.main-area > .news-list li.no-post{
    width: 100%;
    text-align: center;
}

/* page-nation ----------------------------- */
.page-nation{
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin: 0 auto 70px auto;
}
.page-nation > a{
    display: block;
}

/* single-news-wrap ------------------------ */
.single-news-wrap{
    width: 100%;
    display: flex;
    gap: 60px;
    padding: 0 5%;
    margin-bottom: 70px;
}

/* 記事メイン */
.single-news-wrap .card-wrap{
    width: calc(100% - 280px - 60px);
    padding: 45px;
}
.single-news-wrap .card-wrap article{
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.single-news-wrap .card-wrap article .date{
    font-size: 14px;
    color: #154783;
    margin-bottom: 20px;
}
.single-news-wrap .card-wrap article > h1{
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3em;
    margin-bottom: 10px;
}
.single-news-wrap .card-wrap article > .tag{
    width: 150px;
    height: 30px;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
}
.single-news-wrap .card-wrap article > .img-wrap{
    width: 450px;
    height: 300px;
    margin: 0 auto 70px auto;
}
.single-news-wrap .card-wrap article > .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-news-wrap .card-wrap article > .text{
    line-height: 1.8em;
    margin-bottom: 70px;
}
.single-news-wrap .card-wrap article > .text > p{
    margin-bottom: 20px;
}
.single-news-wrap .card-wrap article > .btn{
    margin: 0 auto 70px auto;
}

/* タグエリア */
.single-news-wrap .tag-wrap{
    width: 280px;
}
.single-news-wrap .tag-wrap .tag-title{
    width: 100%;
    color: #AC8241;
    font-weight: 600;
    line-height: 1.3em;
    padding-bottom: 10px;
    border-bottom: 1px solid #AC8241;
    margin-bottom: 30px;
}

.single-news-wrap .tag-wrap .tag-list{
    width: 100%;
}
.single-news-wrap .tag-wrap .tag-list > li{
    margin-bottom: 15px;
}
.single-news-wrap .tag-wrap .tag-list > li a{
    display: block;
    width: fit-content;
    height: 50px;
    background-color: #fff;
    border: 1px solid #154783;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
}
.single-news-wrap .tag-wrap .tag-list > li a:hover{
    background-color: #154783;
    color: #fff;
}


/*-------------------------------------------
メインメニュー調整用
-------------------------------------------*/
@media screen and (max-width: 1277px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(90px + 40px);
    }

}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* breadcrumb ------------------------------ */
    .breadcrumb{
        margin-bottom: 40px;
    }

    /* page-title ------------------------------ */
    .news #page-title .text-wrap > .title{
        font-size: 28px;
        letter-spacing: 0;
    }

    /* main-area ------------------------------- */
    .main-area{
        padding: 0 5%;
    }

    .main-area > .news-list li > a{
        flex-direction: column;
        gap: 5px;
    }

    /* single-news-wrap ------------------------ */
    .single-news-wrap{
        flex-direction: column;
        gap: 40px;
    }

    /* 記事メイン */
    .single-news-wrap .card-wrap{
        width: 100%;
    }

    /* タグエリア */
    .single-news-wrap .tag-wrap{
        width: 100%;
    }


}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(60px + 40px);
    }

    /* ボタン */
    .btn{
        width: 100%;
        max-width: 300px;
    }

    /* page-title ------------------------------ */
    .news #page-title{
        height: 380px;
    }
    
    .news #page-title::after{
        background-image: url(../img/news/titleSP.webp);
    }

    .news #page-title .text-wrap > .title{
        margin-bottom: 30px;
    }

    /* tag-area -------------------------------- */
    .tag-area{
        margin-bottom: 40px;
    }

    .tag-area > .tag-list{
        justify-content: flex-start;
        gap: 5px 15px;
    }
    .tag-area > .tag-list > li a{
        height: 48px;
    }

    /* main-area ------------------------------- */
    .main-area > .news-list li > a{
        padding: 25px 5vw;
    }
    .main-area > .news-list li > a::after{
        content: none;
    }

    .main-area > .news-list li > a .news-title{
        padding-right: 0;
    }

    /* page-nation ----------------------------- */
    .page-nation{
        gap: 30px;
    }

    /* single-news-wrap ------------------------ */
    /* 記事メイン */
    .single-news-wrap .card-wrap{
        padding: 45px 5vw;
    }
    .single-news-wrap .card-wrap article > .img-wrap{
        width: 100%;
        height: auto;
    }


}
