@charset "utf-8";


section {
    margin-bottom: 50px;
}
@media screen and (max-width: 700px) {
    section {
        margin-bottom: 30px;
    }
}


/* ---------- 
tab-nav
----------*/
.newslist-block .tab-nav {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 40px;
    width: 100%;
    border-bottom: 1px solid var(--color-text);
}
.newslist-block .tab-nav .tab {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc((100% - 15px) / 4);
    height: 60px;
    font-size: clamp(14px, 1vw, calc(14px * var(--ratio)));
    font-weight: 500;
    background-color: var(--color-sub);
    color: var(--color-line);
    line-height: 1.78;
    text-align: center;
}
.newslist-block .tab-nav .tab.is-active {
    height: 70px;
    background-color: var(--color-text);
    color: var(--color-text-sub);
}
@media screen and (min-width: 701px) and (max-width: 1100px) {
    .newslist-block .tab-nav .tab {
        flex-direction: column;
        height: 72px;
    }
    .newslist-block .tab-nav .tab.is-active {
        height: 82px;
    }
}
@media screen and (max-width: 700px) {
    .newslist-block .tab-nav {
        margin-bottom: 30px;
    }
    .newslist-block .tab-nav .tab {
        flex-direction: column;
        height: 67px;
        font-size: calc(10px / var(--fs-base) * 1rem);
        line-height: 1.6;
    }
    .newslist-block .tab-nav .tab.is-active {
        height:77px;
    }
}

/* ---------- 
tab-search
----------*/
.tab-search {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}
@media screen and (min-width: 701px) and (max-width: 1100px) {
    .tab-search {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-left: 30px;
    }
}
@media screen and (max-width: 700px) {
    .tab-search {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }
}

/* tab-search-filter */
.tab-search-filter .filter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tab-search-filter .filter-label {
    font-size: clamp(14px, 1vw, calc(14px * var(--ratio)));
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text);
    white-space: nowrap;
}
.tab-search-filter .filter-select-wrapper {
    position: relative;
    width: clamp(150px, 10.7vw, 200px);
}
.tab-search-filter .filter-select {
    width: 100%;
    padding: 5px 0;
    text-align: center;
    font-size: clamp(12px, 0.85vw, calc(12px * var(--ratio)));
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text);
    background-color: var(--color-sub);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    border-left: none;
    border-right: none;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
}
.tab-search-filter .filter-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: var(--color-sub);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
}
.tab-search-filter .filter-select-wrapper.is-open .filter-select-dropdown {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}
.tab-search-filter .filter-select-dropdown li {
    padding: 8px 0;
    text-align: center;
    font-size: clamp(12px, 0.85vw, calc(12px * var(--ratio)));
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
}
.tab-search-filter .filter-select-dropdown li.selected {
    background-color: var(--color-line);
    color: var(--color-text-sub);
}
.tab-search-filter .filter-select-dropdown li:not(.selected) {
    margin: 0 10px;
}
.tab-search-filter .filter-select-dropdown li:not(.selected):not(:last-of-type) {
    border-bottom: 1px solid var(--color-line);
}
@media screen and (min-width: 701px) {
    .tab-search-filter .filter-select-dropdown li {
        transition: background-color 0.2s ease;
    }
    .tab-search-filter .filter-select-dropdown li:hover {
        background-color: #E0E0E0;
    }
}
.tab-search-filter .filter-select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid var(--color-text);
    border-right: 1px solid var(--color-text);
    transform: translateY(-75%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.3s ease;
}
.tab-search-filter .filter-select-wrapper.is-open::after {
    transform: translateY(-25%) rotate(-135deg);
}
@media screen and (max-width: 700px) {
    .tab-search-filter {
        width: 100%;
    }
    .tab-search-filter .filter-label {
        font-size: calc(14px / var(--fs-base) * 1rem);
    }
    .tab-search-filter .filter-select-wrapper {
        width: 100%;
    }
    .tab-search-filter .filter-select {
        font-size: calc(12px / var(--fs-base) * 1rem);
        padding: 8px 0;
    }
    .tab-search-filter .filter-select-wrapper::after {
        right: 15px;
        width: 7px;
        height: 7px;
        border-bottom: 1px solid var(--color-text);
        border-right: 1px solid var(--color-text);
        transform: translateY(-75%) rotate(45deg);
    }
    .tab-search-filter .filter-select-wrapper.is-open::after {
        transform: translateY(-25%) rotate(-135deg);
    }
    .tab-search-filter .filter-select-dropdown li {
        font-size: calc(12px / var(--fs-base) * 1rem);
        padding: 10px 0;
    }
}

/* tab-search-category */
.tab-search-category .category-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tab-search-category .category-label {
    font-size: clamp(14px, 1vw, calc(14px * var(--ratio)));
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text);
    white-space: nowrap;
}
.tab-search-category .category-select {
    display: flex;
    gap: 10px;
}
.tab-search-category .category-select .category {
    width: 100px;
    font-size: clamp(10px, 0.71vw, calc(10px * var(--ratio)));
    font-weight: 500;
    color: var(--color-link_009BDA);
    border: 1px solid var(--color-link_009BDA);
    border-radius: 12px;
    padding: 3px 0;
    text-align: center;
}
.tab-search-category .category-select .category.is-active {
    background-color: var(--color-link_009BDA);
    color: var(--color-text-sub);
}
@media screen and (max-width: 700px) {
    .tab-search-category .category-wrapper {
        align-items: flex-start;
    }
    .tab-search-category .category-label {
        font-size: calc(14px / var(--fs-base) * 1rem);
    }
    .tab-search-category .category-select {
        flex-wrap: wrap;
    }
    .tab-search-category .category-select .category {
        width: calc((100% - 10px) / 2);
        font-size: calc(11px / var(--fs-base) * 1rem);
    }
}


/* ---------- 
news-list-wrap
----------*/
.tab-content .content-block {
    display: none;
}
.tab-content .content-block.is-active {
    display: block;
}
.news-list {
    margin-bottom: 30px;
}
.news-list li {
    position: relative;
    border-bottom: 1px solid #AFAFAF;
}
.news-list li a {
    display: flex;
    align-items: center;
    padding: 17px 30px;
    color: var(--color-text);
}

.news-list li:first-of-type {
    border-top: 1px solid #AFAFAF;
}
.news-list li .time {
    font-family: "Inter", sans-serif;
    font-size: clamp(14px, 1vw, calc(14px * var(--ratio)));
    font-weight: 400;
    margin-right: 19px;
}
.news-list li .category {
    width: 100px;
    border: 1px solid #009BDA;
    border-radius: 12px;
    margin-right: 20px;
    padding: 5px 0;
    text-align: center;
    font-size: clamp(10px, 0.71vw, calc(10px * var(--ratio)));
    font-weight: 500;
    color: #009BDA;
    letter-spacing: 0.05em;
}
.news-list li .news-title {
    position: relative;
    /*width: 100%;*/
    flex: 1;
    padding-right: 30px;
    font-size: clamp(16px, 1.14vw, calc(16px * var(--ratio)));
    line-height: 1.875;
}
.news-list li .news-title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 8.5px;
    height: 8.5px;
    border-top: 1px solid var(--color-text);
    border-right: 1px solid var(--color-text);
    transform: translateY(-50%) rotate(45deg);
}

/* 複数行下線アニメーション用 */
.news-list li .news-title .link-text{
    display: inline;
    font-size: clamp(16px, 1.14vw, calc(16px * var(--ratio)));
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.05em;
    line-height: 1.875;
 }
 .news-list li .news-title .link-text{
    background-image: linear-gradient(var(--color-text), var(--color-text));
 }

 @media screen and (min-width: 701px) {
    .news-list li:hover .news-title .link-text{
        background-size: 100% 1px;
    }

    .news-list li:hover .news-title::after {
        right: -10px;
        transition: 0.2s linear;
    }
}

@media screen and (max-width: 700px) {
    .news-list {
        margin-bottom: 20px;
    }
    .news-list li a {
        flex-wrap: wrap;
        padding: 20px 0;
    }
    .news-list li .time {
        font-size: calc(14px / var(--fs-base) * 1rem);
    }
    .news-list li .category {
        padding: 4px 0;
        font-size: calc(10px / var(--fs-base) * 1rem);
    }
    .news-list li .news-title {
        flex: auto;
        width: 100%;
        margin-top: 15px;
        padding-right: 0;
        font-size: calc(15px / var(--fs-base) * 1rem);
        line-height: 2;
    }
    .news-list li .news-title::after {
        top: -30px;
        right: auto;
        left: 14em;
        transform: rotate(45deg);
    }
    .news-list li .news-title .link-text {
        font-size: calc(12px / var(--fs-base) * 1rem);
    }
}

/* ナビゲーション */
.swiper-pagination {
    position: relative;
    margin: 30px 0;
    width: 100%;
    text-align: center;
    padding-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-pagination span {
    font-family: "Inter", sans-serif;
    font-size: clamp(14px, 1vw, calc(14px * var(--ratio)));
    font-weight: 400;
    color: var(--color-text);
}
.swiper-pagination span.current,
.swiper-pagination span.total {
    padding: 2px 10px;
}
.swiper-pagination span.separator {
    display: inline-block;
    height: 0.85em;
    width: 1px;
    background: var(--color-text);
}
.news-swiper-button-next,
.news-swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
}
.news-swiper-button-next {
    left: calc(50% + 66px)
}
.news-swiper-button-prev {
    left: calc(50% - 66px)
}

.news-swiper-button-next:before,
.news-swiper-button-prev:before {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    width: 8px;
    height: 8px;
    transform: rotate(45deg) translate(-50%);
}
.news-swiper-button-next:before {
    border-top: 1px solid var(--color-text);
    border-right: 1px solid var(--color-text);
    right: calc(50% - 4px);
}
.news-swiper-button-prev:before {
    border-bottom: 1px solid var(--color-text);
    border-left: 1px solid var(--color-text);
    left: 50%;
}
@media screen and (min-width: 701px) {
    .news-swiper-button-next:hover,
    .news-swiper-button-prev:hover {
        background: var(--color-text);
    }
    .news-swiper-button-next:hover:before {
        border-top: 1px solid var(--color-text-sub);
        border-right: 1px solid var(--color-text-sub);
    }
    .news-swiper-button-prev:hover:before {
        border-bottom: 1px solid var(--color-text-sub);
        border-left: 1px solid var(--color-text-sub);
    }
}

@media screen and (max-width: 700px) {
    .swiper-pagination span{
        font-size: calc(16px / var(--fs-base) * 1rem);
    }

    .swiper-pagination span.separator{
        height: 1em;
    }
}


/* ---------- 
btn-wrap
----------*/
.btn-wrap {
    margin-bottom: 80px;
}
@media screen and (max-width: 700px) {
    .btn-wrap {
        margin-bottom: 60px;
    }
}