/**
 * お知らせ カスタム投稿タイプ用 CSS
 *
 * ----------------------------------------------------------------
 */


/* ================================================================
   フロントページ用パーツ（front-news.php）
   ================================================================ */
.front-news {
    margin-bottom: 3rem;
    box-shadow: 0px 1px 1px 1px rgba(58,47,12,0.2);
    background-color: #fff;
}
.front-news__wrap {
    display: flex;
}
.front-news__titleWrap {
    padding: 1.5rem;
}
.front-news__icon {
    font-size: 0.8em;
    font-weight: 600;
    color: #fff;
    background-color: #0062C1;
    border-radius: 100vh;
    padding: 0.2em 1em;
}
.front-news__title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.front-news__more {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.25em;
    border-bottom: 1px solid #0062C1;
}
.front-news__more::before {
    display: block;
    content: "\e901";
    font-family: "icomoon";
    font-size: 1rem;
    left: 0;
    color: #0062C1;
}
.front-news__more a {
    font-size: 0.8rem;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}
.front-news__more a:hover {
    color: #0062C1
}

.front-news__listWrap {
    position: relative;
    padding: 1.5em;
    flex: 1;
}
.front-news__listWrap::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 0;
    display: inline-block;
    width: 1px;
    height: calc(100% - 3rem);
    background-color: #c6c6c6;
}

.front-news__list {
    list-style: none;
}

.front-news__item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #c6c6c6;
}

.front-news__item:last-child {
    border-bottom: none;
}

.front-news__date {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.front-news__link {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.front-news__link:hover {
    color: #0073aa;
    text-decoration: underline;
}
@media screen and (max-width:720px){
    .front-news__wrap {
        flex-flow: column;
    }
    .front-news__titleWrap {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: 0;
    }
    .front-news__item {
        flex-flow: column;
        gap: 0.5rem;
        border-top: 1px solid #c6c6c6;
        border-bottom: none;
    }
    .front-news__item:last-child {
        border-bottom: 1px solid #c6c6c6;
    }
}


/* ================================================================
   一覧ページ（archive-news.php）
   ================================================================ */
.mainContents.news .pageInner {
    padding-bottom: 50px;
}
.mainContents.news .front-news__listWrap {
    background-color: #fff;
    padding: 3rem;
}
.mainContents.news .front-news__listWrap::before {
    content: none;
}
.mainContents.news .front-news__item {
    padding: 1.3rem 0;
}
.mainContents.news .front-news__item:first-child {
    border-top: 1px solid #c6c6c6;
}

.mainContents.news .front-news__item:last-child {
    border-bottom: 1px solid #c6c6c6;
}

.mainContents.news .pageArticlePager {
    background-color: #fff;
}

/* ================================================================
   個別記事ページ（single-news.php）
   ================================================================ */
.news-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ヘッダー */
.news-single__date {
    font-size: 0.875rem;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}
.shingle-news__date {
    font-weight: 500;
    color: #666;
}
.news-single__title {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #333;
    line-height: 1.5;
}

/* 本文 */
.news-single__content {
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* リンクコーナー共通 */
.news-single__links-box {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 25px;
    border: 2px solid #a6d1ee;
}
.news-single__links-box:nth-child(n+2) {
    margin-top: 30px;
}

.news-single__links-box-title img {
    width: 50px;
}

.news-single__links-box--url {

}

.news-single__links-box--pdf {

}


.pagePostArea .pagePostInner .news-single__links-list {
    list-style: none;
    padding: 0;
}
.news-single__links-anchor {
    color: #0062C1;
    text-decoration: underline;
}
.news-single__links-anchor::before {
    content: '▶';
    display: inline-block;
    transform: scaleX(70%);
    color: #0062C1;
    transition: 0.2s;
}
.news-single__links-anchor:hover::before {
    color: #b2d0ec;
}

@media screen and (max-width:720px){
    .news-single__links-box {
        padding: 1rem;
        flex-flow: column;
    }
    .news-single__links-item {
        line-height: 1.3;
    }
    .news-single__links-item + .news-single__links-item {
        margin-top: 0.75rem;
    }
}
