/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body,
html {
    font-family: Pretendard;
    font-size: 15px;
    line-height: 1.2;
    color: #000;
}

.wrap {
    min-width: 1440px;
    overflow: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 100;
}

h4 span,
h5 span,
h3 span {
    display: inline-block;
}

.inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .inner {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
}

.header .logo {
    padding: 17px 0;
}

.header .logo img {
    width: 117.431px;
    height: 25.11px;
}

.gnb {
    padding: 20px 0;
    color: #A4A4A4;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
}

.gnb ul {
    display: flex;
    gap: 68px;
}

/* Video Styles */
.section_visual {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 100vh;
}

.section_visual video {
    width: 100%;
    height: auto;
    display: block;
}

.section_visual::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background: rgba(22, 22, 22, 0.50);
}

.section_visual .text-written {
    position: absolute;
    width: 1200px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, 0);
    color: #fff;
    z-index: 1;
    padding: 20px;
}

.text-written h2 {
    color: #FFF;
    font-family: Poppins;
    font-size: 100px;
    font-weight: 500;
    line-height: 100%;
    /* 100px */
    letter-spacing: -4px;
    margin-bottom: 51px;
}

.text-written h2 b {
    color: #D7E3FE;
}

.text-written p {
    color: var(--Color-White, #FFF);
    font-size: 60px;
    font-weight: 300;
    line-height: 130%;
    /* 78px */
    letter-spacing: -2.4px;
}

/* Plan Section */
.section_plan {
    background: url(../images/bg_plan.png) no-repeat center top;
    background-size: cover;
    max-height: 782px;
    color: #000;
    text-align: center;
    padding-top: 30.547%;
    position: relative;
}

.section_plan .inner {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section_plan h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 52px;
}

.section_plan p {
    font-size: 40px;
    line-height: 70px;
    /* 175% */
}

/* Swiper Carousel Styles */
.section_watch {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section_watch .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section_watch h3 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.slide-content {
    text-align: center;
    padding: 332px 40px 182px;
}

.slide-content img {
    width: 423.233px;
    height: 602.274px;
    flex-shrink: 0;
    margin-bottom: 78px;
}

.slide-content h4 {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 20px;
}

.slide-content p {
    color: #939393;
    font-size: 40px;
    font-weight: 500;
    line-height: 150%;
    /* 60px */
}

/* Service Section */
.section_service {
    background: conic-gradient(from 167deg at 39.12% 60.88%, #DDD6FD 0deg, #C5D6FE 91.73076510429382deg, #DFE9FF 154.0384590625763deg, #E4CAF7 223.26922416687012deg, #9FBAFA 287.30769395828247deg, #CDCBFE 330.5769181251526deg, #DDD6FD 358.2692241668701deg);
    height: 100vh;
    max-height: 1080px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #FFF;
}

.section_service p {
    font-size: 40px;
    font-weight: 600;
    line-height: 150%;
    /* 60px */
    letter-spacing: -2px;
    margin-bottom: 37px;
}

.section_service h4 {
    font-size: 72px;
    font-weight: 600;
    line-height: 150%;
    /* 108px */
    letter-spacing: -3.6px;
}

/* Animation Box Section */
.section_ani-box {
    margin-top: 480px;
}

.section_ani-box .inner {
    max-width: 1720px;
}

.ani-box {
    display: flex;
    gap: 66px;
    justify-content: center;
}

.ani-box .video {
    position: relative;
    width: 1196px;
    height: 877px;
    border-radius: 65px;
    border: 1px solid #FFF;
    box-shadow: 4px 4px 25px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.ani-box .video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ani-box .video-overlay-anim.for-right {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    bottom: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.ani-box .video-overlay-anim.for-left {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    bottom: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.ani-box .video-overlay {
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.50);
    background: rgba(217, 217, 217, 0.20);
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    width: 1076px;
    height: 757px;
    color: #FFF;
    padding: 100px 92px;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
}

.ani-box .video-overlay.for-left {
    transform: scale(0.4);
    transform-origin: top left;
}

.ani-box .video-overlay.for-right {
    transform: scale(0.4);
    transform-origin: top right;
}

.ani-box .video-overlay img {
    width: 542.564px;
    height: 205.862px;
    flex-shrink: 0;
}

.ani-box .video-overlay h4 {
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 60px;
    font-weight: 700;
    line-height: 150%;
    /* 90px */
    letter-spacing: -3px;
    margin-top: 66px;
}

.ani-box .video-overlay p {
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 30px;
    font-weight: 600;
    line-height: 150%;
    /* 45px */
}

.ani-box .text-box {
    width: 422px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 21px 0;
}

.ani-box .text-box .text-item {
    display: flex;
    gap: 25px;
    flex-direction: column;
}

.ani-box .text-box .text-item h5 {
    color: #000;
    font-size: 48px;
    font-weight: 600;
    line-height: 62px;
    /* 129.167% */
    letter-spacing: -2.4px;
}

.ani-box .text-box .text-item p {
    color: #A9A9A9;
    font-size: 28px;
    font-weight: 600;
    line-height: 40px;
    /* 142.857% */
    letter-spacing: -0.56px;
}

.ani-text-left .ani-box .text-box .text-item h5,
.ani-text-left .ani-box .text-box .text-item p {
    text-align: right;
}

.ani-text-left .ani-box .video {
    order: 2
}

.ani-text-left .ani-box .text-box {
    order: 1
}

.ani-text-left .ani-box .video-overlay {
    text-align: left;
    align-items: flex-start;
}

.section_lifepartner {
    margin-top: 320px;
}

@media (max-width: 1720px) {
    .section_ani-box .ani-box {
        padding: 0 60px;
    }

    .ani-box {
        flex-direction: column;
    }

    .ani-box .video,
    .ani-box .text-box {
        width: 100%;
    }

    .ani-box .video {
        width: 100%;
        height: auto;
    }

    .ani-box .video-overlay {
        /* width: calc(100% - 120px);
        height: calc(100% - 120px); */
    }

    /* .ani-box .video-overlay img {width: 300px; height: auto; flex-shrink: 0;} */
    .ani-box .text-box {
        gap: 0px;
        flex-direction: row;
        justify-content: space-around;
    }

    .ani-text-left .ani-box .text-box .text-item {
        width: 33.3333333%;
    }

    .ani-box .text-box .text-item h5 {
        font-size: 32px;
        line-height: 42px;
        letter-spacing: -1.6px;
    }

    .ani-box .text-box .text-item p {
        font-size: 20px;
        line-height: 28px;
        letter-spacing: -0.4px;
    }

    .ani-text-left .ani-box .text-box .text-item h5,
    .ani-text-left .ani-box .text-box .text-item p {
        text-align: center;
    }

    .ani-text-left .ani-box .video {
        order: 1
    }

    .ani-text-left .ani-box .text-box {
        order: 2
    }
}

/* Flowimg Marquee Styles */
.section_flowimg {
    margin-top: 535px;
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.flowimg {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.flowimg img {
    height: auto;
}

/* 첫 번째 이미지는 왼쪽으로 */
.flowimg:first-child {
    animation: marquee-right 30s linear infinite;
}

/* 두 번째 이미지는 오른쪽으로 */
.flowimg:last-child {
    animation: marquee-left 30s linear infinite;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* 호버시 일시정지 */
.section_flowimg:hover .flowimg {
    /* animation-play-state: paused; */
}

/* Connect Lab Section */
.section_connectlab {
    background: #EBEBEB;
    padding: 218px 100px 283px 100px;
}

.section_connectlab h4 {
    color: #696969;
    text-align: center;
    font-family: Poppins;
    font-size: 100px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 149px;
}

.section_connectlab .inner {
    max-width: 1942px;
    margin: 0 auto;
    padding: 0;
}

.connectlab-item-wrap {
    display: flex;
    gap: 283px;
    justify-content: center;
    flex-direction: column;
    padding: 0;
}

.connectlab-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.connectlab-item .video {
    max-width: 1902px;
    flex-shrink: 0;
    aspect-ratio: 1902.00/802.67;
    border-radius: 65px;
    box-shadow: 4px 4px 25px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.connectlab-item .video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.connectlab-item .text-box {
    padding: 0;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.50);
    background: rgba(217, 217, 217, 0.20);
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    text-align: center;
    position: absolute;
    bottom: -93px;
    width: 45.078125vw;
    height: 16.1328125vw;
    /*     height: 413px;
    width: 1154px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cl_txt_img_1 {
    /*   width: 911px;
  height: 248px; */
    width: 35.5859375vw;
    height: 9.6875vw;
}

.cl_txt_img_2 {
    /*   width: 650px;
  height: 248px; */
    width: 25.390625vw;
    height: 9.6875vw;
}

.connectlab-item .text-box.left {
    left: -100px;
}

.connectlab-item .text-box.right {
    right: -100px;
}

.connectlab-item .text-box p {}

.connectlab-item .text-box h5 img {
    /*     width: 904px;
    height: 234px; */
}

/* Subscription Section */
.section_subscription {
    height: 788px;
    background: url(../images/bg_subscription.png) no-repeat center top;
    background-size: cover;
}

.section_subscription .inner {
    max-width: 1024px;
    height: 788px;
    position: relative;
}

.subscription-form {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    flex-direction: column;
    text-align: left;
}

.subscription-form h4 {
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    /* 133.333% */
    margin-bottom: 18px;
}

.subscription-form input {
    color: var(--gray-400, #B7B8B9);
    font-size: var(--font-size-label-medium, 17px);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 25.5px */
    color: #000;
    height: var(--size-height-7, 48px);
    padding: 11px 16px;
    width: 320px;
    margin-bottom: 169px;
    border: 0;
}

.subscription-form button {
    width: 166px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50px;
    background: #000;
    color: #FFF;
    font-family: Pretendard;
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    /* 133.333% */
    text-align: center;
}

.footer {
    background: #FAFAFA;
    padding: 95px 0;
}

.footer .inner {
    max-width: 1172px;
    display: flex;
    gap: 40px;
}

.footer .footer_left {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    /* 120% */

}

.footer .footer_right {
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    /* 186.667% */
}

@media all and (max-width: 1440px) {

    .connectlab-item .text-box {
        width: 649.125px;
        height: 232.3125px;
    }

    .cl_txt_img_1 {
        /*   width: 911px;
    height: 248px; */
        width: 512.4375px;
        height: 139.5px;
    }

    .cl_txt_img_2 {
        /*   width: 650px;
    height: 248px; */
        width: 365.625px;
        height: 139.5px;
    }

}