.wrap {
    width: 1400px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.topbx {
    margin: 40px 0;
    width: 100%;
    display: block;
}

.topbx>p:nth-child(2) {
    font-weight: 600;
    font-size: 4.5rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

.topbx>p:nth-child(3) {
    font-weight: 400;
    font-size: 1.5rem;
    color: #555;
    line-height: 160%;
    letter-spacing: -0.8px;
}

.smalltit {
    color: #00aeef;
    font-family: 'Pretendard';
    font-weight: 800;
}




/**/
#main-visual {
    margin-top: 0;
    height: 880px;
    position: relative;
}

#main-visual .swiper {
    overflow: hidden;
    height: 100%;
    position: relative;
}

#main-visual .swiper .swiper-pagination {
    position: absolute;
    top: 20rem;
    left: 50%;
    transform: translate(-50%);
}

#main-visual .swiper .swiper-pagination-bullet {
    background: transparent;
    width: 100px;
    height: 8px;
    border-radius: 0;
    transition: background var(--transition-time), border var(--transition-time);
    background-color: rgba(255, 255, 255, 0.9);

}

#main-visual .swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff;
}

#main-visual .swiper .swiper-slide {
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

#main-visual .swiper .swiper-slide-1 {
    background-image: url(/images/content/main/mainvis1.jpg);
}

#main-visual .swiper .swiper-slide-2 {
    background-image: url(/images/content/main/mainvis2.jpg);
}

#main-visual .swiper .swiper-slide-3 {
    background-image: url(/images/content/main/mainvis3.jpg);
}

#main-visual .swiper .swiper-slide div {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1010px;
    height: 260px;
}

#main-visual .swiper .swiper-slide .maintit {
    background-image: url(/images/content/main/maintitle.svg);
    width: 1000px;
    height: 155px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 90px;
    transform: translate(-50%, -50%);
}


#main-visual .swiper .swiper-slide p {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.40);
    font-family: 'Pretendard', sans-serif;
    font-size: 2rem;
    line-height: 100%;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
}

#main-visual .downbtn {
    background-image: url("/images/content/main/scrolldown.png");
    width: 90px;
    height: 55px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {

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

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}


/* section1 */
#who {
    margin-top: 160px;
}

.sec1_icnbx {
    background-image: url("/images/content/main/sec1.png");
    background-repeat: no-repeat;
    background-size: cover;
    flex-basis: 1;
    height: 300px;
}

.sec1_icnbx a {
    flex-grow: 1;
    border-right: 1px solid #e0e0e0;
    position: relative;
}

.sec1_icnbx a div {
    text-align: center;
    width: 100px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sec1_icnbx a div img {
    width: 80px;
    height: 100px;
}

.sec1_icnbx a div p {
    margin-top: 10px;
    color: #fff;
    font-size: 2rem;
}



/* section2 */
section#what {
    margin-top: 200px;
    padding: 50px 0;
    background-color: #f0f0f0;
    border-top: none;
    height: 80rem;
}

#what .wrap {
    position: relative;
}

#what .wrap .topbx {
    position: absolute;
    top: 0;
    left: 0;
}

#what .wrap .swiper {
    width: 920px;
    height: auto;
    margin-top: 20px;
    box-sizing: border-box;
    text-align: right;
    position: absolute;
    right: 0;
}

#what .wrap .swiper .swiper-wrapper {
    margin-top: 100px;
}

.clearbx {
    display: none;
}

/* 각 슬라이드 이미지 */
#what .wrap .swiper .swiper-wrapper .swiper-slide {
    width: 920px;
    display: flex;
    align-items: right;
    justify-content: right;
    background: transparent;
}

#what .wrap .swiper .swiper-slide img {
    width: 920px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

#what .wrap .swiper-pagination {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 290px;
    left: 0;
}

#what .wrap .swiper-pagination .swiper-pagination-bullet {
    position: relative;
    background-image: url("/images/content/main/sec2-btnlg.png");
    background-position: right 0px bottom 0px;
    background-repeat: no-repeat;
    background-size: 100px;
    display: block;
    width: 280px;
    height: 80px;
    padding: 22px 26px;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.28s ease;
}

#what .wrap .swiper-pagination .swiper-pagination-bullet:hover {
    transform: translateX(4px);
}


#what .wrap .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #00aeef;
    color: #fff;
    border-color: #00aeef;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.15);
}

#what .wrap .swiper-pagination .swiper-pagination-bullet {
    position: relative;
    /* ::after 기준 */
    overflow: visible;
}

#what .wrap .swiper-pagination .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, #b4b4b4, rgba(0, 122, 255, 0));
    transition: width 0.7s ease-out;
    opacity: 0;
    z-index: -2;
    pointer-events: none;
}

#what .wrap .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::after {
    width: var(--line-width, 250px);
    opacity: 1;
}



/* sectionbottom */
#bottom-sec {
    margin: 0 !important;
    padding: 80px 0;
    background-image: url("/images/content/main/btm-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#bottom-sec section .wrap .topbx {
    text-align: center;
}

#bottom-sec section .wrap .topbx p {
    color: #fff;
}

#bottom-sec #contact .wrap .topbx p span {
    font-size: 6rem;
}

/* why */
#whysdt {
    margin-bottom: 80px;
}

#whysdt .content {
    justify-content: space-evenly;
}

#whysdt .content .item {
    width: 440px;
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(3px);
    border-radius: 10px;
}

#whysdt .content .item .cir {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 10px auto;
    background-color: #f2fbfe;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
}

#whysdt .content .item:nth-child(1) .cir {
    background-image: url("/images/content/main/sec3-1.svg");
    background-size: 80%;
}

#whysdt .content .item:nth-child(2) .cir {
    background-image: url("/images/content/main/sec3-2.svg");
    background-size: 70%;
}

#whysdt .content .item:nth-child(3) .cir {
    background-image: url("/images/content/main/sec3-3.svg");
    background-size: 70%;
}

#whysdt .content .item .cont-t {}

#whysdt .content .item .cont-t p:nth-child(1) {
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 600;
}

#whysdt .content .item .cont-t p:nth-child(2) {
    font-size: 1.6rem;
}

/* contact */
#contact {
    margin-bottom: 120px;
}

#contact .content {
    background-image: url("/images/content/main/sec4-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 290px;
    border-radius: 20px;
    padding: 60px 80px;
}

#contact .content a {}

#contact .content a p:nth-child(1) {
    font-weight: 600;
    font-size: 4.8rem;
    color: #fff;
    width: 21rem;
    background-image: url("/images/content/main/sec4-icn.svg");
    background-repeat: no-repeat;
    background-position: right 0px bottom 10px;
    background-size: 30px;
    margin-bottom: 20px;
}

#contact .content a p:nth-child(2) {
    font-weight: 400;
    font-size: 1.9rem;
    color: #fff;
    letter-spacing: -0.8px;
    line-height: 160%;
}



/* 6 */
@media (max-width: 1424px) {
    .wrap {
        width: 96%;
    }
}



/* ===========================
Tablet (max-width: 1023px)
=========================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .wrap {
        width: 90%;
    }

    .topbx>p:nth-child(3) {
        font-size: 1.8rem;
    }


    /* mainvis */

    #main-visual .swiper .swiper-slide div {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1010px;
        height: 200px;
    }

    #main-visual .swiper .swiper-slide .maintit {
        width: 85vw;
    }

    /* section1 */
    #who {
        margin-top: 100px;
    }

    .sec1_icnbx {
        background-size: cover;
        background-position: center;
        width: 100%;
        border-radius: 10px;
    }

    /* section2 */
    section#what {
        margin-top: 100px;
        padding: 50px 0;
        background-color: #f0f0f0;
        border-top: none;
        height: 100vh;
    }

    #what .wrap .topbx {
        position: relative;
    }

    #what .wrap .swiper {
        width: 100%;
        margin: 20px;
        box-sizing: border-box;
        text-align: right;
        position: absolute;
        right: 0;
    }

    #what .wrap .swiper .swiper-wrapper {
        margin-top: 90px;
    }

    /* 각 슬라이드 이미지 */
    #what .wrap .swiper .swiper-wrapper .swiper-slide {
        width: 100%;
    }

    #what .wrap .swiper .swiper-slide img {
        width: 100%;
    }

    #what .wrap .swiper-pagination {
        display: flex;
        flex-direction: row;
        gap: 10px;
        top: 200px;
    }

    #what .wrap .swiper-pagination .swiper-pagination-bullet {
        padding: 15px;
    }

    #what .wrap .swiper-pagination .swiper-pagination-bullet::after {
        display: none;
    }



    /* why */

    #whysdt .content .item {
        width: 300px;
    }


    /* contact */
    #contact {
        margin-bottom: 100px;
    }

    #contact .content {
        background-image: url("/images/content/main/sec4-bg.png");
        background-repeat: no-repeat;
        background-position: right;
        background-size: cover;
        height: 290px;
        border-radius: 20px;
        padding: 60px 80px;
    }

}

    /* ===========================
    mobile (max-width: 767px)
   =========================== */
@media (max-width: 767px) {

    .wrap {
        width: 90%;
    }

    .topbx>p:nth-child(3) {
        font-size: 2.2rem;
    }


    /* mainvis */

    #main-visual {
        height: 40vh;
    }

    #main-visual .swiper .swiper-slide div {
        height: 200px;
    }

    #main-visual .swiper .swiper-slide .maintit {
        width: 90vw;
        height: 50px;
    }

    #main-visual .swiper .swiper-slide p {
        bottom: 30px;
        font-size: 2rem;
    }

    #main-visual .swiper .swiper-pagination {
        position: absolute;
        top: 6rem;
    }

    #main-visual .swiper .swiper-pagination-bullet {
        width: 60px;
        height: 5px;
    }

    #main-visual .downbtn  {
        display: none;
    }

    /* section1 */
    #who {
        margin-top: 20%;
    }
    #who .topbx {
        margin: 0;
    }
    #who .topbx>p:nth-child(2) {
        margin: 1rem 0 2rem;
        font-size: 3.6rem;
        line-height: 1.2;
    }
    .topbx>p:nth-child(3) {
        margin-bottom: 2rem;
    }

    .sec1_icnbx {
        background-size: cover;
        background-position: center;
        width: 100%;
        height: auto;
        border-radius: 10px;
        flex-wrap: wrap;
    }

    .sec1_icnbx a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1 1 40%;
        height: 140px;
        border-right: 1px solid rgba(224, 224, 224, 0.3);
        border-bottom: 1px solid rgba(224, 224, 224, 0.3);
        position: relative;
    }

    .sec1_icnbx a div {
        height: auto;
        text-align: center;
    }

    .sec1_icnbx a div img {
        width: 40px;
        height: 40px;
    }

    .sec1_icnbx a div p {
        margin-top: 10px;
        color: #fff;
        font-size: 2rem;
    }

    /* section2 */
    section#what {
        margin-top: 12%;
        height: auto;
    }

    #what .wrap .topbx {
        position: relative;
        margin: 0px 0;
    }
    #what .topbx>p:nth-child(2) {
        margin: 1rem 0 2rem;
        font-size: 3.6rem;
        line-height: 1.2;
    }

    #what .wrap .swiper {
        width: 100%;
        height: auto;
        margin-top: 20px;
        box-sizing: border-box;
        text-align: right;
        position: relative;
    }

    #what .wrap .swiper .swiper-wrapper {
        margin-top: 230px;
    }

    /* 각 슬라이드 이미지 */
    #what .wrap .swiper .swiper-wrapper .swiper-slide {
        width: 100%;
    }

    #what .wrap .swiper .swiper-slide img {
        width: 100%;
    }

    #what .wrap .swiper-pagination {
        display: flex;
        flex-wrap: wrap;
        flex-direction: inherit;
        gap: 10px;
        top: 120px;
        height: 80px;
    }

    #what .wrap .swiper-pagination .swiper-pagination-bullet {
        padding: 15px;
        flex-basis: 45%;
        height: auto;
        flex-shrink: 2;
        background-size: 40%;
        color: #000;
        font-size: 1.8rem;
    }
    
    #what .wrap .swiper-pagination .swiper-pagination-bullet::after {
        display: none;
    }


    /* sectionbottom */
    #bottom-sec {
        padding: 6rem 0 4rem;
    }

    #bottom-sec section .wrap .topbx {
        text-align: center;
    }

    #bottom-sec section .wrap .topbx p {
        margin: 1rem 0 2rem;
        color: #fff;
        font-size: 3.6rem;
        line-height: 1.2;
    }
    #bottom-sec section .wrap .topbx .text {
        margin-bottom: 2rem;
        font-size: 2.2rem
    }
    #bottom-sec #contact .wrap .topbx p span {
        font-size: 6rem;
    }

    /* why */
    #whysdt {
        margin-bottom: 50px;
    }

    #whysdt .content {
        justify-content: space-evenly;
    }

    #whysdt .content .item {
        margin-bottom: 20px;
        width: 100%;
    }

    #whysdt .content .item .cir {
        width: 80px;
        height: 80px;
    }
    #whysdt .content .item .cont-t p:nth-child(1) {
        font-size: 2.4rem;
    }
    #whysdt .content .item .cont-t p:nth-child(2) {
        font-size: 2rem;
    }
    /* contact */
    #contact {
        margin-bottom: 4rem;
    }

    #contact .content {
        padding: 7rem 5rem;
        background-position: right center;
    }

    #bottom-sec #contact .wrap .topbx p {
        font-size: 3rem;
    }

    #bottom-sec #contact .wrap .topbx p span {
        font-size: 3.6rem;
    }

}