@charset "utf-8";

/*-------------------------------------------------------------
    news page
-------------------------------------------------------------*/
.news_page {
    position: relative;
    color: #133A78;
}

.news_page .content_area {
    padding: 50px 0 120px;
}

.news_page .inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/*-------------------------------------------------------------
    news - filter buttons
-------------------------------------------------------------*/
.news_btn_wrap {
    margin-bottom: 50px;
}

.news_btn_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.news_btn_item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 58px;
    padding: 12px 28px;
    background: #f0f0f0;
    color: #133A78 !important;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .3s ease, color .3s ease;
}

.news_btn_item a:hover {
    background: #2C84BD;
    color: #fff !important;
}

.news_btn_item a.active {
    background: #2C84BD;
    color: #fff !important;
}

.news_btn_item a.active:hover {
    background: #2C84BD;
}

/*-------------------------------------------------------------
    news - list
-------------------------------------------------------------*/
.news_list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e5e5e5;
}

.news_list > li {
    border-bottom: 1px solid #e5e5e5;
}

.news_list > p {
    padding: 60px 20px;
    text-align: center;
    color: #133A78;
    font-size: 1.5rem;
    font-weight: 300;
}

.news_link {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 45px 50px;
    color: #133A78 !important;
    text-decoration: none !important;
    transition: background-color .3s ease;
}

.news_link:hover {
    background-color: #f8f8f8;
}

.news_date {
    font-family: 'Bebas Neue', sans-serif;
    flex-shrink: 0;
    width: 85px;
    margin-right: 20px;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.news_cate {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 28px;
    margin-right: 28px;
    padding: 4px 14px;
    border-radius: 21px;
    background: #2C84BD;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.05em;
    box-sizing: border-box;
}

.news_title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.05em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*-------------------------------------------------------------
    news - pager / wp-pagenavi
-------------------------------------------------------------*/
.news_pager,
.wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.news_pager .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.news_pager .page-numbers,
.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f0f0f0;
    color: #133A78 !important;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .3s ease, color .3s ease;
}

.news_pager .page-numbers:hover,
.wp-pagenavi a:hover {
    background: #e5e5e5;
}

.news_pager .page-numbers.current,
.wp-pagenavi span.current {
    background: #2C84BD;
    color: #fff !important;
}

.news_pager .prev,
.news_pager .next,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    display: none;
}

/*-------------------------------------------------------------
    news - single
-------------------------------------------------------------*/
.news_single {
    padding: 40px 0 120px;
}

.news_single_in {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.news_single_head {
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.news_single_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.news_single_meta .news_date {
    width: auto;
    margin-right: 0;
}

.news_single_meta .news_cate {
    margin-right: 0;
}

.news_single_ttl {
    margin-top: 20px;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #133A78;
}

.news_single_body {
    padding: 40px 0 0;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 2.0;
    letter-spacing: 0.04em;
}

.news_single_body > *:first-child {
    margin-top: 0;
}

.news_single_body p {
    margin-bottom: 1.5em;
}

.news_single_body h1,
.news_single_body h2,
.news_single_body h3,
.news_single_body h4 {
    margin: 2em 0 0.8em;
    font-weight: 500;
    line-height: 1.5;
    color: #133A78;
}

.news_single_body h1 {
    font-size: 2.4rem;
}

.news_single_body h2 {
    font-size: 2.2rem;
}

.news_single_body h3 {
    font-size: 1.9rem;
}

.news_single_body h4 {
    font-size: 1.7rem;
}

.news_single_body ul {
    list-style-type: disc;
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

.news_single_body ol {
    list-style-type: decimal;
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

.news_single_body li + li {
    margin-top: 0.4em;
}

.news_single_body a {
    color: #1A96EA;
    text-decoration: underline;
    transition: opacity .3s ease, color .3s ease;
}

.news_single_body a:hover {
    opacity: 0.55;
    text-decoration: none;
}

.news_single_body img {
    max-width: 100%;
    height: auto;
}

.news_single_body figure {
    margin: 2em 0;
}

/* WordPress 画像配置（ビジュアル編集の左寄せ／右寄せ／中央）※回り込みなし */
.news_single_body .alignleft,
.news_single_body img.alignleft,
.news_single_body figure.alignleft {
    display: block;
    float: none;
    margin: 1.5em auto 1.5em 0;
}

.news_single_body .alignright,
.news_single_body img.alignright,
.news_single_body figure.alignright {
    display: block;
    float: none;
    margin: 1.5em 0 1.5em auto;
}

.news_single_body .aligncenter,
.news_single_body img.aligncenter,
.news_single_body figure.aligncenter {
    display: block;
    float: none;
    margin: 1.5em auto;
}

.news_single_body .alignnone,
.news_single_body img.alignnone,
.news_single_body figure.alignnone {
    display: block;
    float: none;
    margin: 1.5em 0;
}

.news_single_back {
    margin-top: 60px;
    text-align: center;
}

.news_single_back_btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 60px;
    padding: 18px 48px 18px 36px;
    background: #2C84BD;
    color: #fff !important;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .3s ease;
}

.news_single_back_btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.news_single_back_btn:hover {
    background: #1A96EA;
}

/*-------------------------------------------------------------
    news - responsive
-------------------------------------------------------------*/


@media screen and (max-width: 767px) {
    .news_page .content_area {
        padding: 30px 0 80px;
    }

    .news_btn_wrap {
        margin-bottom: 30px;
    }

    .news_btn_list {
        gap: 10px;
    }

    .news_btn_item {
        flex: 1 1 calc(33.333% - 10px);
    }

    .news_btn_item a {
        min-width: 0;
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 1.3rem;
    }

    .news_link {
        flex-wrap: wrap;
        align-items: center;
        padding: 20px 0;
        gap: 10px 0;
    }

    .news_date {
        width: auto;
        margin-right: 14px;
        font-size: 1.6rem;
    }

    .news_cate {
        width: auto;
        min-width: 100px;
        margin-right: 0;
        font-size: 1.2rem;
    }

    .news_title {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 0;
        white-space: normal;
        font-size: 1.5rem;
    }

    .news_pager,
    .wp-pagenavi {
        margin-top: 36px;
    }

    .news_pager .page-numbers,
    .wp-pagenavi a,
    .wp-pagenavi span {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .news_single {
        padding: 24px 0 80px;
    }

    .news_single_ttl {
        margin-top: 16px;
        font-size: 2.0rem;
    }

    .news_single_body {
        padding-top: 28px;
        font-size: 1.4rem;
    }

    .news_single_body h1 {
        font-size: 2.0rem;
    }

    .news_single_body h2 {
        font-size: 1.8rem;
    }

    .news_single_body h3 {
        font-size: 1.6rem;
    }

    .news_single_body h4 {
        font-size: 1.5rem;
    }

    .news_single_back_btn {
        min-width: 0;
        width: 100%;
        max-width: 320px;
        font-size: 1.5rem;
    }
}
