@charset "utf-8";

#mainVisual {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100vh
}

#mainVisual .txt_cont {
    opacity: 0;
    filter: blur(10px)
}

#mainVisual h1 {
    font-size: 50px;
    font-weight: 700;
    word-break: keep-all;
    color:#fff;
}

#mainVisual h2 {
    font-size: 25px;
    font-weight: 700;
    word-break: keep-all
}

#mainVisual p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    word-break: keep-all;
    max-width: 59%;
}

#mainVisual a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 0;
    width: 270px;
    height: 65px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    transition: all .3s;
    color: var(--black);
    background-color: var(--white);
    border:1px solid #fff;
}

#mainVisual .txt_cont {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100vh
}

#mainVisual .main_tit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center
}

#mainVisual .sub_tit {
    position: absolute;
    bottom: 8%;
    left: 5%;
    color:#fff;
}

#mainVisual .scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 8%;
    right: 5%;
    font-size: 12px;
    font-weight: 700;
    color: rgb(255, 255, 255, 0.5)
}

#mainVisual .scroll .icon {
    position: relative;
    margin-bottom: 10px;
    width: 22px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 19px
}

#mainVisual .scroll .icon:after {
    content: "";
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    border-radius: 3px;
    background-color: #fff;
    animation: mouse_scroll 1.1s infinite linear
}

@keyframes mouse_scroll {
    0% {
        top: 10%
    }

    99% {
        top: 50%
    }

    100% {
        top: 10%
    }
}

#mainVisual .gsap_wrap {
    opacity: 0;
    filter: blur(10px);
    position: relative;
    z-index: 1;
    top: 18%;
    display: grid;
    grid-template-areas: "a  ." ". b" "c ." ". d" "e .";
    gap: 40px;
    width: 100%
}

#mainVisual .gsap_wrap .banner {
    overflow: hidden;
    position: relative;
    border-radius: 30px
}

#mainVisual .gsap_wrap .banner:nth-child(odd) {
    margin-left: auto
}

#mainVisual .gsap_wrap .banner:nth-child(1) {
    grid-area: a;
    top: 0%;
    right: 10%;
    width: 70%;
    height: 40vh
}

#mainVisual .gsap_wrap .banner:nth-child(2) {
    grid-area: b;
    top: 0%;
    left: 12%;
    width: 72%;
    height: 35vh
}

#mainVisual .gsap_wrap .banner:nth-child(3) {
    grid-area: c;
    top: 0%;
    right: 5%;
    width: 50%;
    height: 23vh
}

#mainVisual .gsap_wrap .banner:nth-child(4) {
    grid-area: d;
    top: 0%;
    left: 8%;
    width: 60%;
    height: 33vh
}

#mainVisual .gsap_wrap .banner:nth-child(5) {
    grid-area: e;
    top: 0%;
    right: 7%;
    width: 70%;
    height: 32vh
}

#mainVisual .gsap_wrap .banner img {
    position: absolute;
    top: 0%;
    left: 50%;
    width: 100%;
    height: 135%;
    object-fit: cover;
    transform: translateX(-50%);
    filter: brightness(0.7)
}

/* 반응형 [s] */
@media (hover:hover) {
    #mainVisual a:hover {
        color: #fff;
        background-color: transparent;
        border:1px solid #fff;
    }
}

@media (max-width:1380px) {
    #mainVisual h1 {
        font-size: 42px
    }

    #mainVisual h2 {
        font-size: 23px
    }

    #mainVisual p {
        font-size: 15px
    }

    #mainVisual a {
        width: 240px
    }

    #mainVisual .gsap_wrap .banner:nth-child(1) {
        width: 80%;
        height: 300px
    }

    #mainVisual .gsap_wrap .banner:nth-child(2) {
        width: 75%;
        height: 260px
    }

    #mainVisual .gsap_wrap .banner:nth-child(3) {
        width: 62%;
        height: 230px
    }

    #mainVisual .gsap_wrap .banner:nth-child(4) {
        width: 75%;
        height: 250px
    }

    #mainVisual .gsap_wrap .banner:nth-child(5) {
        width: 80%;
        height: 250px
    }
}

@media (max-width:1024px) {
    #mainVisual h1 {
        font-size: 36px
    }

    #mainVisual h2 {
        font-size: 21px
    }

    #mainVisual p {
        font-size: 14px
    }

    #mainVisual a {
        width: 220px;
        height: 60px;
        font-size: 15px
    }

    #mainVisual .sub_tit {
        left: 2.5%
    }

    #mainVisual .scroll {
        right: 2.5%
    }

    #mainVisual .scroll .icon {
        width: 20px;
        height: 33px
    }

    #mainVisual .gsap_wrap {
        gap: 20px
    }

    #mainVisual .gsap_wrap .banner {
        border-radius: 20px
    }

    #mainVisual .gsap_wrap .banner:nth-child(1) {
        right: 5%;
        width: 90%;
        height: 260px
    }

    #mainVisual .gsap_wrap .banner:nth-child(2) {
        left: 5%;
        width: 85%;
        height: 250px
    }

    #mainVisual .gsap_wrap .banner:nth-child(3) {
        right: 10%;
        width: 70%;
        height: 210px
    }

    #mainVisual .gsap_wrap .banner:nth-child(4) {
        left: 5%;
        width: 85%;
        height: 250px
    }

    #mainVisual .gsap_wrap .banner:nth-child(5) {
        right: 0%;
        width: 85%;
        height: 250px
    }
}

@media (max-width:768px) {
    #mainVisual {
        height: 550px
    }

    #mainVisual h1 {
        font-size: 32px
    }

    #mainVisual h2 {
        font-size: 20px
    }

    #mainVisual a {
        margin-top: 15px;
        width: 190px;
        height: 55px;
        font-size: 14px
    }

    #mainVisual .txt_cont {
        opacity: 1;
        filter: blur(0px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100%
    }

    #mainVisual .sub_tit {
        bottom: 5%;
        left: 2.5%;
        width: 70%
    }

    #mainVisual .scroll {
        bottom: 5%;
        right: 2.5%
    }

    #mainVisual .gsap_wrap {
        opacity: 1;
        filter: blur(0px);
        display: block;
        top: 0px;
        height: 100%
    }

    #mainVisual .gsap_wrap .banner:nth-child(1) {
        right: 0px;
        width: 100%;
        height: 100%;
        border-radius: 0px;
        filter: brightness(0.6)
    }

    #mainVisual .gsap_wrap .banner:nth-child(2) {
        display: none
    }

    #mainVisual .gsap_wrap .banner:nth-child(3) {
        display: none
    }

    #mainVisual .gsap_wrap .banner:nth-child(4) {
        display: none
    }

    #mainVisual .gsap_wrap .banner:nth-child(5) {
        display: none
    }
}

@media (max-width:480px) {
    #mainVisual {
        height: 390px
    }

    #mainVisual h1 {
        font-size: 25px
    }

    #mainVisual h2 {
        font-size: 19px
    }

    #mainVisual p {
        margin-top: 6px;
        font-size: 13px;
        max-width: 100%;
    }

    #mainVisual a {
        width: 175px;
        height: 50px
    }

    #mainVisual .txt_cont {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 30px;
        margin: auto;
        width: 95%
    }

    #mainVisual .main_tit {
        position: static;
        transform: none
    }

    #mainVisual .sub_tit {
        position: static;
        width: 100%
    }

    #mainVisual .scroll {
        display: none
    }
}

@media (max-width:390px) {
    #mainVisual {
        height: 360px
    }

    #mainVisual h1 {
        font-size: 21px
    }

    #mainVisual h2 {
        font-size: 18px
    }

    #mainVisual a {
        margin-top: 10px;
        width: 165px;
        height: 48px;
        font-size: 13px
    }

    #mainVisual .txt_cont {
        gap: 20px
    }
}

/* 반응형 [e] */