/*==============================================================
Service
==============================================================*/
.more-link {
    text-align: center;
    margin-top: 40px;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #07A8D9, #072F4A);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.link-button:hover {
    background: linear-gradient(135deg, #055f7a, #031a29);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.link-button .link-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.link-button:hover .link-icon img {
    transform: translateX(3px);
}

.more-link.back {
    text-align: center;
    margin-top: 40px;
}

.back .link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #07A8D9, #072F4A);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back .link-button:hover {
    background: linear-gradient(135deg, #055f7a, #031a29);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.back .link-button .link-icon img {
    width: 24px;
    transform: rotate(180deg);
    height: 24px;
    transition: transform 0.3s ease;
}

.back .link-button:hover .link-icon img {
    transform: rotate(180deg) translateX(3px);
}

/*－－－－－－－－－－共通－－－－－－－－－－*/
.news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item-link:hover {
    transform: translateY(-4px);
}

.news-main {
    padding: 80px 16px;
    max-width: 1800px;
    margin: 0 auto;

    @media (max-width:768px) {
        padding: 0px;
    }
}

.news-cont {
    background-color: #EBF0F4;
    padding: 80px 16px 80px 0;

    @media (max-width:768px) {
        padding: 0px;
    }
}

.news-box {
    gap: 100px;
    position: relative;

    @media screen and (min-width: 1201px) and (max-width: 1720px) {
        gap: 40px;
    }

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        gap: 24px;
    }

    @media (max-width:768px) {
        gap: 0px;
        flex-direction: column;
    }
}

.news-item-left {
    background-color: #fff;
    padding: 64px 96px;
    width: 78%;
    position: relative;
    z-index: 1;

    @media screen and (min-width: 1201px) and (max-width: 1720px) {
        padding: 64px;
    }

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        padding: 40px;
    }

    @media (max-width:768px) {
        padding: 40px 16px;
        width: 100%;
        order: 2;
    }
}

.news-item-right {
    flex: 1;
    flex-direction: column;
    max-width: 200px;
    gap: 40px;
    padding: 64px 0 0;

    @media (max-width:768px) {
        padding: 40px 16px;
        width: 100%;
        gap: 16px;
        max-width: unset;
        flex: unset;
        order: 1;
    }
}

.ttl p {
    font-size: clamp(1.5rem, 1.1667rem + 0.6944vw, 2rem);
    font-weight: 600;
    position: relative;
    padding-left: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #33333346;
}

.ttl p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 40%;
    transform: translateY(-50%);
    height: 32px;
    width: 4px;
    background-color: #072F4A;
}

.news-item {
    margin-top: 40px;
    gap: 24px;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
    opacity: 1;

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        gap: 6px;
    }

    @media (max-width:768px) {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}

.news-item.hidden {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}

.news-items {
    width: 23%;
    align-items: center;
    gap: 16px;

    @media screen and (min-width: 1201px) and (max-width: 1720px) {
        width: 30%;
    }

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        width: 100%;
    }

    @media (max-width:768px) {
        width: 100%;
        gap: 4px;
    }
}

.news-date {
    flex: 1;

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        width: unset;
        flex: unset;
    }

    @media (max-width:768px) {
        flex: unset;
    }
}

.news-cate {
    width: 55%;

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        width: unset;
    }

    @media (max-width:768px) {
        width: unset;
    }
}

.news-content-ttl {
    flex: 1;

    @media (max-width:768px) {
        width: 100%;
    }
}

.date-txt {
    font-weight: 600;
}

.cate-txt {
    display: inline-block;
    background-color: #072F4A;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 14px;

    @media (max-width:768px) {
        padding: 4px 8px;
        font-size: 12px;
    }
}

.category-item {
    width: 100%;
}

.archive-item {
    flex: 1;
}

.category-item-txt {
    flex-direction: column;
    gap: 12px;

    @media (max-width:768px) {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
}

.category-item-txt .filter-btn {
    font-weight: 600;
    color: #fff;
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
    padding: 2px 14px 2px 24px;

    @media (max-width:768px) {
        color: #fff;
        background-color: rgb(255, 255, 255);
        border-radius: 50px;
        padding: 4px 14px 4px 24px;
    }
}

.category-items-txt {
    flex-direction: column;
    gap: 12px;
    display: inline-block;

    @media (max-width:768px) {
        display: inline-block;
        gap: 12px;
    }
}

.category-items-txt p {
    font-weight: 600;
    display: inline-block;
    color: #fff;
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
    padding: 4px 14px 4px 24px;
    margin: 0;
    white-space: nowrap;

    @media (max-width:768px) {
        display: inline-block;
        color: #fff;
        background-color: rgb(255, 255, 255);
        border-radius: 50px;
        padding: 4px 14px 4px 24px;
        margin: 0;
        white-space: nowrap;
    }
}

.category-item-txt {
    .cat-all {
        color: #333;
    }
}


.item-right-ttl {
    font-size: clamp(1.125rem, 0.875rem + 0.5208vw, 1.5rem);
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

.category-item-txt p a,
.category-items-txt p {
    position: relative;
}

.category-item-txt p a.active::before,
.category-items-txt p.active::before {
    content: '●';
    color: #dbdbdb;
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
    width: 12px;
    text-align: center;

    @media (max-width:768px) {
        left: 8px;
        color: #dbdbdb;
    }
}

/*－－－－－－－－－－お知らせ－－－－－－－－－－*/

/*－－－－－－－－－－お知らせ―詳細－－－－－－－－－－*/

.s-ttl {
    gap: 16px;
    align-items: center;
}

.s-content-ttl-txt {
    font-size: 24px;
    margin-top: 8px;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding-bottom: 12px;
    margin-bottom: 12px;
}


.news-detail-img img {
    width: 100%;
    height: auto;
}

.news-detail-text {
    font-size: 16px;
    line-height: 1.8;
}

.news-single {

    .category-item-txt p a.active::before,
    .category-items-txt p.active::before {
        display: none;
    }

    .category-item-txt {

        .cat-all,
        .cat-news,
        .cat-recruit-news,
        .cat-blog,
        .cat-other {
            font-weight: 600;
            color: #fff;
            background-color: rgb(255, 255, 255);
            border-radius: 50px;
            padding: 2px 14px;

            @media (max-width:768px) {
                padding: 4px 14px 4px 24px;
            }
        }
    }

    .category-item-txt {
        .cat-all {
            color: #333;
        }
    }

    .category-items-txt p {
        font-weight: 600;
        display: inline-block;
        color: #fff;
        background-color: rgb(255, 255, 255);
        border-radius: 50px;
        padding: 2px 14px;
        margin: 0;
        white-space: nowrap;

        @media (max-width:768px) {
            display: inline-block;
            color: #fff;
            background-color: rgb(255, 255, 255);
            border-radius: 50px;
            padding: 4px 14p;
            margin: 0;
            white-space: nowrap;
        }
    }
}

.acf-img-full {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gradient-box {
    position: absolute;
    bottom: -2%;
    right: 20.5%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #072F4A, #07A8D9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 0;

    @media (max-width: 768px) {
        top: 91%;
        left: -2%;
        width: 80px;
        height: 80px;
    }
}

.other-news-item-02 h3 {
    position: relative;
    font-size: 1.5rem;
    font-weight: 600;
    padding-left: 12px;
    padding-bottom: 8px;
}

.other-news-item-02 h3::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 4px;
    height: 24px;
    background-color: #072F4A;
}

.other-news-item-02 h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8383833a;
}

.other-news {
    margin-top: 80px;
    position: relative;
    z-index: 0;
}

.other-news-cont {
    background-color: #fff;
    padding: 64px 96px;
    width: 78%;

    @media screen and (min-width: 1201px) and (max-width: 1720px) {
        padding: 64px;
    }

    @media screen and (min-width: 769px) and (max-width: 1200px) {

        padding: 40px 40px;
    }

    @media (max-width: 768px) {
        padding: 20px 16px;
        width: 100%;
    }
}

.gradient-box-02 {
    position: absolute;
    bottom: -5%;
    right: 21.2%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #072F4A, #07A8D9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: -1;

    @media (max-width: 768px) {
        top: 91%;
        left: -2%;
        width: 80px;
        height: 80px;
    }
}

.other-news-list {
    gap: 16px;
}

.other-news-list li {
    margin-top: 16px;
}

.other-news-box {
    flex-direction: column;
    margin-top: 40px;

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        margin-top: 0px;
    }

}

.other-news-item {
    margin-top: 16px;
    gap: 24px;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
    opacity: 1;

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    @media (max-width:768px) {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}

.other-news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.other-news-item-link:hover {
    transform: translateY(-4px);
}

.other-news-items {
    width: 30%;
    align-items: center;
    gap: 16px;

    @media screen and (min-width: 1201px) and (max-width: 1720px) {
        width: 28%;
    }

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        width: 100%;
    }

    @media (max-width:768px) {
        width: 100%;
        gap: 4px;
    }
}

.other-date-txt {
    font-weight: 600;
    padding-left: 16px;

    @media screen and (min-width: 769px) and (max-width: 1200px) {
        padding-left: 0px;
    }

    @media (max-width:768px) {
        padding-left: 0px;
    }
}

.other-news-cate {
    width: 52%;

    @media screen and (min-width: 1201px) and (max-width: 1720px) {
        width: 50%;
    }


    @media (max-width:768px) {
        width: unset;
    }
}

.content-ttl-txt {
    @media (max-width:768px) {
        width: 100%;
    }
}