/* --------------------------------------------------- */
/* common */
/* --------------------------------------------------- */
.layout_split {
    margin-bottom: 7.5rem;
    gap: 6.25rem;
}
.layout_split__wrapper {
    width: auto;
    flex: 1;
}
.layout_single--small {
    margin-bottom: 6.25rem;
}
@media screen and (max-width: 1279px) {
    .layout_split {
        margin-bottom: 6.25rem;
        gap: 4rem;
    }
}
@media screen and (max-width: 959px) {
    .layout_split {
        margin-bottom: 5rem;
        gap: 3rem;
    }
    .layout_single--small {
        margin-bottom: 5rem;
    }
}
@media screen and (max-width: 767px) {
    .layout_split {
        margin-bottom: 3.5rem;
    }
    .lower_top__title-text {
        font-size: 2.5rem;
    }
    .lower_top__title-caption {
        font-size: 1.125rem;
        margin-top: 0.625rem;
    }
    .layout_single--small {
        margin-bottom: 3.5rem;
    }
}

/* --------------------------------------------------- */
/* news */
/* --------------------------------------------------- */
.news__list {
    border-top: 1px solid var(--line);
}
.news__list-item {
    position: relative;
    z-index: 0;
}
.news__list-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    border-radius: 0.5rem;
}
.news__list-item:hover::after {
    opacity: 1;
}
.news__list-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 5.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
    transition: padding 0.3s, gap 0.3s;
}
.news__list-link .news__list-desc {
    display: flex;
    align-items: flex-start;
    flex: 1;
    gap: 1.5rem;
}
.news__list-date {
    color: var(--dark_gray);
    font-weight: 400;
    transform: translateY(0.1rem);
    transition: color 0.3s;
}
.news__list-title {
    font-weight: 500;
    transition: color 0.3s;
}
.news__list-arrow {
    width: 1.5rem;
    height: 1.5rem;
}
.news__list-arrow .news__list-path {
    transition: stroke 0.3s, fill 0.3s;
}
.news__list-item:hover .news__list-link {
    padding: 1.75rem;
    gap: 1.75rem;
}
.news__list-item:hover .news__list-date {
    color: var(--white);
}
.news__list-item:hover .news__list-title {
    color: var(--white);
}
.news__list-item:hover .news__list-arrow .news__list-path:first-of-type {
    fill: var(--white);
}
.news__list-item:hover .news__list-arrow .news__list-path:last-of-type {
    stroke: var(--white);
}
.news__empty {
    text-align: center;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.pagination {
    margin-top: 3.5rem;
}
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
}
.page-numbers li {
    display: flex;
    width: 2rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    background-color: var(--black);
    transition: opacity 0.3s;
}
.page-numbers li:has(a:not(.next):not(.prev)) {
    position: relative;
    z-index: 0;
    transition: background-color 0.3s;
}
.page-numbers li:has(a:not(.next):not(.prev))::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    border-radius: 0.25rem;
}
.page-numbers li:has(a:not(.next):not(.prev)):hover::after {
    opacity: 1;
}
.page-numbers li:has(a:not(.next):not(.prev)):hover {
    background-color: transparent;
}
.page-numbers li:has(a.next):hover {
    opacity: 0.5;
}
.page-numbers li:has(a.prev):hover {
    opacity: 0.5;
}
.page-numbers li a {
    color: var(--white);
    text-align: center;
    font-family: Figtree;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 1rem */
}
.page-numbers li:has(.current) {
    background: var(--base-on_color);
}
.page-numbers li .current {
    color: var(--black);
    text-align: center;
    font-family: Figtree;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 1rem */
}
.page-numbers li:has(.next),
.page-numbers li:has(.prev) {
    background: unset;
}
.pagination__pagelink-arrow {
    width: 1.25rem;
    height: auto;
}
@media screen and (max-width: 959px) {
    .news__list-link {
        padding: 1.25rem 0;
        gap: 4.5rem;
    }
    .news__list-link .news__list-desc {
        gap: 1.25rem;
    }
    .pagination {
        margin-top: 3rem;
    }
    .news__list-item::after {
        border-radius: 0.25rem;
    }
    .news__list-item:hover .news__list-link {
        padding: 1.25rem;
        gap: 1.25rem;
    }
}
@media screen and (max-width: 767px) {
    .news__list-link {
        padding: 1rem 0;
        gap: 3.75rem;
    }
    .news__list-link .news__list-desc {
        gap: 1rem;
    }
    .pagination {
        margin-top: 2.5rem;
    }
    .news__list-item:hover .news__list-link {
        padding: 1rem 1.25rem;
        gap: 1.25rem;
    }
}

/* --------------------------------------------------- */
/* article */
/* --------------------------------------------------- */
.article__top {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.75rem;
    margin-bottom: 2rem;
}
.article__date {
    color: var(--dark_gray);
    font-size: 1rem;
    font-weight: 400;
    line-height: 100%; /* 1rem */
    margin-bottom: 0.75rem;
}
.article__title {
    color: var(--black);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 160%;
}
.article__content p {
    color: var(--black);
    font-size: 1rem;
    font-weight: 400;
    line-height: 200%; /* 2rem */
    margin: 1rem 0;
}
.article__content h2 {
    border-radius: 0.25rem;
    background: var(--base-on_color);
    padding: 1rem 1.5rem;
    margin: 5rem 0 1.5rem;
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 160%; /* 2.4rem */
}
.article__content figure {
    margin: 3rem 0;
}
.article__content h3 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.125rem;
    margin: 4rem 0 1.5rem;
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 160%; /* 2.4rem */
}
.article__content h4 {
    color: var(--black);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 180%; /* 2.25rem */
    margin: 2.5rem 0 1rem;
}
.article__content p a {
    font-weight: 500;
    line-height: 200%;
    text-decoration: underline;
    text-align: center;
    margin: 1.75rem 0;
}
#article .pagelink {
    margin: 4rem auto 0 auto;
}
@media screen and (max-width: 767px) {
    .article__top {
        padding-bottom: 1.25rem;
        margin-bottom: 1.75rem;
    }
    .article__date {
        font-size: 0.9375rem;
        margin-bottom: 0.625rem;
    }
    .article__title {
        font-size: 1.5rem;
    }
    .article__content p {
        font-size: 0.9375rem;
    }
    .article__content h2 {
        font-size: 1.25rem;
        padding: 0.625rem 1rem;
        margin: 4rem 0rem 1.25rem;
    }
    .article__content figure {
        margin: 2rem 0;
    }
    .article__content h3 {
        font-size: 1.25rem;
        padding-bottom: 1rem;
        margin: 3rem 0 1.25rem;
    }
    .article__content h4 {
        font-size: 1.125rem;
    }
    #article .pagelink {
        margin: 2rem auto 0 auto;
    }
}
