/*==============================================================
HOME
==============================================================*/
/*共通*/
.common-txt {
    text-align: center;
    margin-bottom: 24px;
}

.common-main-ttl {
    font-size: clamp(2.5rem, 1.5rem + 2.0833vw, 4rem);
    color: #072F4A;
    font-weight: 600;
    line-height: 1.2;
}


.common-sub-ttl {
    font-size: clamp(1rem, 0.125rem + 1.5625vw, 2rem);
    color: #333;
    font-weight: 600;
    line-height: 1.2;
}

/*内容*/

.fv {
    position: relative;
}

.fv .swiper {
    width: 100%;
    height: 100%;
}

.fv .swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

.fv .swiper-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.fv .swiper-slide img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fv-txt-area {
    position: absolute;
    top: 78%;
    left: 74%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 50%;
    color: #fff;
    text-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);

    @media (max-width: 768px) {
        width: 90%;
        top: 74%;
        left: 50%;
    }
}

.fv-txt-area h1 {
    font-size: clamp(3.5rem, 0.8333rem + 5.5556vw, 7.5rem);
    font-weight: bold;
    display: flex;
    align-items: center;
    line-height: 1;
}

.fv-jpn-txt {
    font-size: clamp(1.125rem, 0.375rem + 1.5625vw, 2.25rem);
    line-height: 1;
    margin-top: 4px;
    margin-left: 40px;

    @media (max-width: 768px) {
        margin-left: 0px;
        font-weight: bold;
    }
}

.right-text {
    margin-left: 20%;

    @media (max-width: 768px) {
        margin-left: 0%;
    }
}

.home-message {
    padding: 160px 16px;

    @media (max-width: 768px) {
        padding: 40px 16px;
    }
}

.home-message-cont {
    max-width: 1200px;
    margin: 0 auto;
}

.home-message-ttl {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-message-main-ttl {
    font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
    color: #072F4A;
    font-weight: 600;
}

.home-message-sub-ttl {
    text-align: left;
}

.service {
    padding: 80px 16px 80px 0px;
    background-color: #3a6e9127;
    position: relative;

    @media (max-width:1020px) {
        padding: 80px 0 80px 0px;
    }

    @media (max-width: 768px) {
        padding: 40px 0px 40px;
    }
}

.service-cont {
    max-width: 1760px;
    margin: 0 auto 0 0;

    @media (max-width:768px) {
        max-width: 100%;
        margin: 0;
    }
}

.service .common-txt {
    position: absolute;
    top: -0.1%;
    left: 50%;
    transform: translate(-50%, -50%);

    @media (max-width:768px) {
        position: unset;
        top: unset;
        left: unset;
        transform: unset;
    }
}

.service-box {
    gap: 80px;

    @media (max-width:1020px) {
        flex-direction: column;
        height: 940px;
        gap: 24px;
    }

    @media (max-width:768px) {
        height: 1220px;
    }
}

.service-main-img {
    flex: 1;
    position: relative;
}

.service-img {
    @media (max-width:1020px) {
        width: 100%;
        height: 320px;
        overflow: hidden;
    }
}

.service-img img {
    @media (max-width:1020px) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.service-main-img-box {
    position: absolute;
    top: 70%;
    left: 55%;
    gap: 16px;

    @media (min-width:1300px) and (max-width:1600px) {
        left: 45%;
    }

    @media (min-width:1021px) and (max-width:1299px) {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
    }

    @media (max-width:1020px) {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        gap: 8px;
        width: 80%;
        flex-direction: column;
        align-items: center;
    }
}

.service-main-img-box img {
    width: 100%;
    max-width: 120px;

}

.service-txt-box {
    width: 35%;
}

.service-main-img-txt {
    width: 100%;
    max-width: 360px;
    gap: 8px;
}

.service-ttl {
    font-size: clamp(1.125rem, 0.7083rem + 0.8681vw, 1.75rem);
    font-weight: 600;

    @media (max-width:768px) {
        text-align: center;
    }
}

.service-content-box {
    @media (max-width:768px) {
        padding: 0 16px;
    }
}

.service-content-box a {}

.service-content-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 常に横2列 */
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;

    @media (max-width:768px) {
        display: flex;
        flex-direction: column;
    }
}

.service-button {
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    border-bottom: 2px solid #ccc;
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
    padding: 2px 8px;
}

.service-button:hover {
    color: #007acc;
    border-bottom-color: #007acc;
}

.service-view {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-view.active {
    opacity: 1;
    pointer-events: auto;
}

.service-main-img {
    position: relative;
    height: auto;
}

.more-link {
    text-align: center;
    margin-top: 40px;
}


.service-img {
    @media (min-width:1020px) and (max-width:1920px) {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}

.service-img img {
    @media (min-width:1020px) and (max-width:1920px) {
        width: auto;
        height: 100%;
        object-fit: cover;
        object-position: 5% center;
    }
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    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);
}

.about-us {
    padding: 80px 0px;

    @media (max-width:768px) {
        padding: 40px 0px;
    }
}

.about-us-cont {
    padding: 0px 16px;

    @media (max-width:768px) {
        padding: 40px 16px 0px;
    }
}

.about-us-box {
    max-width: 1520px;
    margin: 0 auto;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.about-us-box-02 {
    gap: 24px;
    max-width: 1520px;
    margin: 0 auto;

    @media (max-width:768px) {
        padding: 0px 16px;
    }
}

.about-us-txt {
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.about-us-ttl {
    font-weight: 600;
    font-size: 18px;
}

.about-us-item-img {
    overflow: hidden;
}

.about-us-item-img img {
    transition: transform 0.3s;
    will-change: transform;
}

a.swiper-slide.about-us-item:hover .about-us-item-img img {
    transform: scale(1.07);
}

.swiper-slide img {
    height: auto;
    width: 100%;
}

.swiper-slide .about-us-btn img {
    width: 32px;
    height: 32px !important;
    object-fit: contain;
    display: block;
}

.about-us {

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 24px;
    }

    .swiper-button-prev {
        left: -1%;
    }

    .swiper-button-next {
        right: -1%;
    }


}

.news {
    padding: 80px 16px;

    @media (max-width:768px) {
        padding: 40px 16px;
    }
}

.news-cont {
    max-width: 1200px;
    margin: 0 auto;
}

.news-box {
    flex-direction: column;
    gap: 16px;
}

.news-item {
    border-bottom: 1px solid #33333346;
    padding: 24px 32px;
    align-items: center;
    justify-content: center;
    gap: 24px;

    @media (max-width:768px) {
        padding: 8px;
        gap: 16px;
    }
}

.news-items {
    width: 22%;
    align-items: center;

    @media (max-width:768px) {
        flex-direction: column;
        width: 32%;
    }
}

.news-date {
    flex: 1;

    @media (max-width:768px) {
        width: 100%;
    }
}

.news-cate {
    width: 55%;

    @media (max-width:768px) {
        width: 100%;
    }
}

.news-content-ttl {
    flex: 1;
}

.date-txt {
    font-weight: 600;
    font-size: 14px;
}

.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;
    }
}

.content-ttl-txt {
    font-weight: 600;
    font-size: clamp(1rem, 0.9167rem + 0.1736vw, 1.125rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sdgs {
    padding: 80px 16px;
    display: flex;
    flex-direction: column;

    @media (max-width:768px) {
        padding: 0px 16px;
    }
}

.sdgs-cont {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #BF9000;
    padding: 8px;

    @media (max-width:768px) {
        padding: 8px;
    }
}

.sdgs-box {
    gap: 40px;
    background-color: #fff;
    padding: 32px;
    justify-content: center;

    @media (max-width:768px) {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }
}

.sdgs-img-box {
    display: flex;
    align-items: center;
    gap: 32px;
}

.sdgs-img-02 {
    padding-left: 32px;
    border-left: 2px solid #858585;
}

.sdgs-txt-box {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sdgs-main-txt {
    font-size: clamp(1.5rem, 0.8333rem + 1.3889vw, 2.5rem);
    font-weight: 600;
}

.sdgs-sub-txt {
    font-size: clamp(1rem, 0.8333rem + 0.3472vw, 1.25rem);
    color: #BF9000;
    font-weight: 600;

    @media (max-width:768px) {
        width: 101%;
    }
}

.sdgs-cont {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #BF9000;
    padding: 8px;
    transition: transform 0.3s ease;

    @media (max-width:768px) {
        padding: 8px;
    }
}

.sdgs-cont:hover {
    transform: scale(1.01);
}

.sdgs a {
    display: inline-block;
}



.news-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.news-item-link:hover {
    transform: translateY(-4px);
}

#news {
    .more-link {
        max-width: 300px;
        margin: 0 auto;
    }
}