@charset "utf-8";

/* ============================================================
   news.css — 新着情報ページ専用スタイル
   ============================================================ */

:root {
    --color-school-teal: #00A7A1;
    --color-school-teal-d: #008c87;
    --color-school-orange: #F2A900;
    --color-school-footer: #0E4044;
    --color-breadcrumb: #5c8a9e;
}

/*一覧ページ*/
.page_container ul.news__filter {
    margin: 0 0 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.page_container ul.news__filter li {
    margin: 0;
    padding: 0 0 0.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page_container ul.news__filter li::before {
    display: none;
}

.page_container ul.news__filter li a {
    display: block;
    padding: 0.6em 3em 0.6em 1em;
    position: relative;
    transition: .3s all ease;
    text-decoration: none;
}

.page_container ul.news__filter li a:hover {
    color: var(--color-teal);
    background-color: rgba(0, 102, 102, 0.08);
}

.page_container ul.news__filter li a::after {
    content: "";
    display: inline-block;
    width: 1.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    position: absolute;
    right: 0.5rem;
    top: 0.6em;
    background-image: url(../assets/images/icon_arrow_green_r.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.5rem auto;
}

.page_container ul.news__filter li.news__filter-item--active a::after {
    background-color: var(--color-teal);
    background-image: url(../assets/images/icon_arrow_white_down.png);
}

.news__list {
    display: flex;
    flex-direction: column;
}

.page_container ul.news__list li {
    margin-bottom: 0;
    padding-left: 0;
}

.page_container ul.news__list li::before {
    display: none;
}

.page_container ul.news__list li a {
    padding: 0.8rem;
    display: block;
    text-decoration: none;
    transition: .3s all ease;
}

.page_container ul.news__list li a:hover {
    background-color: #f6f6ff;
}

.news__item {
    border-bottom: 1px solid var(--color-border);
}

.news__date_cat {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.news__date {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.news__cat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--font-size-base);
    color: var(--color-navy);
    white-space: nowrap;
}

.news__cat-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-navy);
    flex-shrink: 0;
}

.news__title {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.6;
    transition: .3s all ease;
}

.page_container ul.news__list li a:hover .news__title {
    color: var(--color-navy);
}


/*ページング*/
/*pagenate_pager*/

.pagenate {
    clear: both;
    text-align: center;
    overflow: hidden;
    line-height: 24px;
    margin: 3rem 0 0 0;
}

.page_container .pagenate ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

.page_container .pagenate ul li {
    margin: 0;
    padding: 0;
}

.page_container .pagenate ul li::before {
    display: none;
}

.pagenate ul li span {
    font-weight: bold;
    background: #ffe8ea;
}


.pagenate ul li span,
.page_container .page_container_inner .pagenate ul li a {
    padding: 0 0.8em;
    text-decoration: none;
}

/*詳細ページ*/
.entry_metas {
    text-align: right;
    font-weight: 600;
    margin-bottom: 1rem;
}

.old_link_btn{
    display: flex;
    justify-content: flex-end;
}

.page_container .page_container_inner .old_link_btn a{
    display: block;
    text-align: center;
    padding: 0.25rem 1.5rem 0.3rem 0.5rem;
    background: #fff;
    font-size: 0.94rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    color: #222;
    transition: .3s all ease;
}

.page_container .page_container_inner .old_link_btn a:hover{
    background: #f2f4ff;
    color: var(--color-navy);
    border-bottom: 1px solid var(--color-navy);
}

.page_container .page_container_inner .old_link_btn a::after{
    content:"";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background: url(../assets/images/icon_arrow_black.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.25rem);
    right: 0.5rem;
    transition: .3s all ease;
}

.page_container .page_container_inner .old_link_btn a:hover::after{
    background: url(../assets/images/icon_arrow_blue.png) no-repeat;
    background-size: contain;
}


/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
    .page_container ul.news__filter {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }

    .page_container ul.news__filter li {
        width: calc((100% - 1rem) / 2);
    }
}