@charset "UTF-8";
.main_visual {
    height: 100vh;
    position: relative;
    z-index: 1;
}

.main_visual .bg img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.main_visual_text {
    display: flex;
    flex-direction: column;
    padding: 20rem 2rem 0;
    z-index: 3;
    position: absolute;
    left: 9vw;
    bottom: 24vh;
    width: 22vw;
    min-width: 350px;
}

.main_visual_text div:nth-of-type(1) {
    margin-bottom: 1.5rem;
}

.main_visual_text div:nth-of-type(2) {
    margin-bottom: 2.5rem;
}

.main_visual_text img {
    width: 100%;
    filter: drop-shadow(1px 1px 3px rgba(255, 255, 255, 1));
}

.gradient {
    background-repeat: no-repeat;
    background-image: linear-gradient(
            to right,
            rgb(64 102 143 / 0.85) 0%,
            rgba(81, 119, 163, 0.75) 25%,
            rgba(81, 119, 163, 0.5) 50%,
            rgba(81, 119, 163, 0.2) 75%,
            rgba(81, 119, 163, 0) 100%
    );
    opacity: 0.9;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* animate base */
.swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.load_block {
    display: none;
}

.swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -2;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fadeAnimation 45s infinite;
}

.swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    padding: 0;
}

/* 1枚目を-2sに設定 */
.swiper .swiper-slide:nth-child(1) {
    animation-delay: -2s;
    opacity: 1;
}

.swiper .swiper-slide:nth-child(2) {
    animation-delay: 3s;
}

.swiper .swiper-slide:nth-child(3) {
    animation-delay: 8s;
}

.swiper .swiper-slide:nth-child(4) {
    animation-delay: 13s;
}

.swiper .swiper-slide:nth-child(5) {
    animation-delay: 18s;
}

.swiper .swiper-slide:nth-child(6) {
    animation-delay: 23s;
}

.swiper .swiper-slide:nth-child(7) {
    animation-delay: 28s;
}

.swiper .swiper-slide:nth-child(8) {
    animation-delay: 33s;
}

.swiper .swiper-slide:nth-child(9) {
    animation-delay: 38s;
}

@keyframes fadeAnimation {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    /* フェードイン */
    15% {
        opacity: 1;
    }
    /* 表示維持 */
    20% {
        opacity: 0;
    }
    /* フェードアウト */
    100% {
        opacity: 0;
    }
}


#companyOverview {
    background-image: url(../images/company_overview_bg.jpg);
    position: relative;
    background-size: cover;
    padding: 6rem 3rem;
    color: #fff;
    z-index: 10
}

#companyOverview::before {
    content: "";
    background-color: rgba(42, 74, 121, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 11;
}

#companyOverview h2::before {
    background: var(--i4-accent-color);
}

#companyOverview .show_more_btn {
    margin-top: 4rem;
    margin-left: auto;
}

.company_wrapper {
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 87rem;
    margin: 0 auto;
}

.company_text {
    width: 35rem;
    margin-left: auto;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.company_text span {
    font-size: 2.2rem;
}

#business {
    padding: 6rem 3rem;
    position: relative;
    z-index: 10;
}

#business::before {
    content: "";
    position: absolute;
    background-image: url(../svg/business02.svg);
    background-size: cover;
    max-width: 1136px;
    width: 30vh;
    left: -20rem;
    z-index: -9999;
    height: 820px;
}

#business .wrapper {
    width: 100%;
    max-width: 87rem;
    margin: 0 auto;
}


.bg_img {
    position: absolute;
    z-index: -9999;
}

.bg_img img {
    width: 100%;
}

.bg_img.first {
    left: -20rem;
    top: 98px;
}

.bg_img.second {
    right: -1rem;
    bottom: 20vh;
}

.bg_img.first img {
    max-width: 1136px;
}

.bg_img.second img {
    max-width: 714px;
}

#business h2::before {
    background: var(--i4-point-color);
}

#business .section_title_eng {
    color: var(--i4-base-color);
}


.section_title_eng_reverse {
    position: absolute;
    right: 0;
    top: 2rem;
    z-index: -9999;
}

.business_wrapper {
    max-width: 86.75rem;
    width: 100%;
    margin: 7.5rem auto 0;
    display: grid;
    gap: 5rem;
    grid-template-columns: 1fr 1fr 1fr;
}

#business h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 2.5rem;
    position: relative;
}

#business h3::before {
    content: "";
    width: 3.75rem;
    height: 3.75rem;
    border: 1px solid var(--i4-point-color);
    border-radius: 100%;
    position: absolute;
    right: 0;
    top: -1rem;
}

#business h3::after {
    content: "";
    width: 20px;
    height: 21px;
    background-image: url(../svg/link_arrow.svg);
    background-size: cover;
    position: absolute;
    right: 1.2rem;
    top: 0.2rem;
    transition: .3s;
}

#business .business_box:hover h3::after {
    right: 0;
    transition: .3s;
}


.business_box {
    position: relative;
    transition: .8s;
}

.business_box img {
    width: 100%;
}

.business_box::before {
    content: "";
    width: 6.25rem;
    height: 5px;
    background: var(--i4-point-color);
    position: absolute;
    top: -5px;
}


.img_wrapper {
    max-width: 420px;
    overflow: hidden;
    transition: .6s;
}

.img_wrapper img {
    filter: brightness(80%);
}

.business_box:hover img {
    transform: scale(1.1);
    transition: .6s;
}

@media screen and (max-width: 1400px) {
    .section_title_eng_reverse img {
        width: 60vw;
        max-width: 815px;
    }

    .bg_img.second {
        display: none;
    }

    .bg_img.first {
        width: 80%;
    }
}

@media screen and (max-width: 1200px) {
    .business_wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .img_wrapper {
        max-width: 500px;
    }
}

@media screen and (max-width: 780px) {
    .main_visual_text {
        left: 0;
    }

    .swiper .swiper-slide:nth-child(1) img {
        object-position: right -735px top 0;
    }

    .swiper .swiper-slide:nth-child(2) img {
        object-position: right -185px top 0;
    }

    .swiper .swiper-slide:nth-child(3) img {
        object-position: left -260px top 0;
    }

    .swiper .swiper-slide:nth-child(4) img {
        object-position: right -240px top 0;
    }

    .swiper .swiper-slide:nth-child(5) img {
        object-position: right -230px top 0;
    }

    .swiper .swiper-slide:nth-child(6) img {
        object-position: right -113px top 0;
    }

    .swiper .swiper-slide:nth-child(7) img {
        object-position: right -75px top 0;
    }

    .swiper .swiper-slide:nth-child(8) img {
        object-position: right -298px top 0;
    }

    .swiper .swiper-slide:nth-child(9) img {
        object-position: right -414px top 0;
    }

    #companyOverview {
        padding: 6rem 2rem;
    }

    #companyOverview .show_more_btn {
        margin: 4rem auto 0;
        width: 100%;
    }

    #business {
        padding: 6rem 2rem;
    }

    .company_text {
        width: 100%;
        margin: 2rem 0 0;
        font-weight: normal;
        font-size: 1.1rem;
    }

    .company_text span {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .bg_img.first {
        display: none;
    }

    .section_title_eng_reverse {
        display: none;
    }
}