﻿




/* 스크롤바 숨기기 */
::-webkit-scrollbar {
    display: none;
}

/* .scroll-container는 래퍼 역할만 */
.scroll-container {
    height: auto;
    overflow: visible;
}


/* 각 섹션은 뷰포트 전체 높이 + snap */
.scroll-area {
    width: 100%;
    font-size: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    overflow: hidden;
}


.scroll-area {
    height: 100vh;
    scroll-snap-align: none; /* 혹시 기존 snap이 있다면 제거 */
}

html, body {
    scroll-behavior: auto; /* 브라우저 기본 스무스 제거 (JS로만 제어) */
    overflow: hidden; /* 필요 시 추가 */
}



/* 사이드 메뉴 */


.sidemenu {
    position: fixed;
    top: 50%;
    right: -55px;
    transform: translate(0, -50%);
    z-index: 99;
    display: none;
}

.sidemenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidemenu ul li {
    margin: 10px 0;
    width: 280px;
    height: 50px;
}

.sidemenu ul li a {
    display: block;
    padding-left: 25px;
    background-color: rgba(255,255,255,0.5);
    color: #fff;
    border-radius: 50px;
    font-size: 1.25rem;
    letter-spacing: 1.2px;
    line-height: 50px;
    transition: all 0.3s;
}

    .sidemenu ul li a:hover,
    .sidemenu ul li a.active {
        background-color: #F15A40;
        margin-left: -40px;
        transition: all 0.3s;
    }







/* 메인배너(섹션1) */

.s1 {
    background: url(/common/image/new/mainbg.jpg) no-repeat center;
    background-size: cover;
}

.s1 > .maintxt{
    width: 1200px;
    height: auto;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.maintxt > p {
    color: #fff;
    text-align: center;
}

.moeun{
    font-weight: 700;
    font-size: 11.25rem;
    letter-spacing: -5px;
    line-height: 1.3;
    margin-top: -50px;
    animation: reveal 0.6s ease-in-out;
}

.moeun-sub{
    font-size: 2.19rem;
    animation: reveal 0.8s ease-in-out;
}


@keyframes reveal {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}


.s1{
    position: relative;
}

.s1 > .scroll{
    position: absolute;
    bottom: 50px;
    left: 48%;
    text-align: center;
    animation: bounce 0.8s linear infinite alternate;
    background: none;
}

.scroll img{
    width: 25px;
}

.scroll p{
    color: #fff;
    font-weight: 300;
    font-size: 0.87rem;
    letter-spacing: 1px;
    margin-top: -60px;
}


@keyframes bounce {

0% {
    transform:translateY(20px);
}
100%{
       transform:translateY(0px);
}
    }


/* 섹션2-5 배경 */

.s2{
    background: url(/common/image/new/s2bg1.jpg) no-repeat center;
    background-size: cover;
}

.s3{
    background: url(/common/image/new/s2bg2.jpg) no-repeat center;
    background-size: cover;
}

.s4{
    background: url(/common/image/new/s2bg3.jpg) no-repeat center;
    background-size: cover;
}

.s5{
    background: url(/common/image/new/s2bg4.jpg) no-repeat center;
    background-size: cover;
}


/* 섹션 공통 설정 */

.s2-1,
.s2-2,
.s2-3,
.s2-4,
.s2-5{
    width: 1200px;
}

.s25-main{
    font-size: 8.125rem;
    font-weight: 800;
    margin-left: -5px;
}

.s25-sub {
    font-size: 1.65rem;
    margin-top: -15px;
}

.s25-ex {
    font-size: 1.45rem;
    font-weight: 200;
    margin-top: 30px;
    width: 600px;
    margin-bottom: 20px;
    word-break: keep-all;
}

/* 자세히 보기 */

.more{
    width: 220px;
    height: 60px;
    border-radius: 50px;
    background-color: #fff;
    display: flex;
    line-height: 60px;
    justify-content: center;
    margin-top: 50px;
    transition: 0.3s;
}

.more > a{
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
    color: #F15A40;
}

.more:hover{
    background-color: #F15A40;
    transform: scale(1.1);
}

.more:hover > a{
    color: #fff;
}



/* 섹션6 */
.s6{
    display: block;
    padding-top: 90px;
}

.s6-wrap{
    width: 1200px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 30px;
}

.partners-main,
.partners-sub{
    color: #3A3A3C;
    text-align: center;
}

.partners-main{
    font-size: 3.75rem;
    font-weight: 500;
}

.partners-sub {
    font-size: 1.38rem;
    font-weight: 400;
    line-height: 147%;
    word-break: keep-all;
    margin-top: .5rem;
}
    .pt-wrap{
    width: 100%;
    height: 60vh;
    float: left;
}

.part {
    height: 35%;
    width: 100%;
    background-repeat: repeat-x;
    background-position-y: center;
    background-size: cover 100%;
    position: relative;
}

.partners1 {
    background-image: url(/common/image/new/partners1.png);
    margin-left: 20px;
    left: -20px;
    animation: ani-part 40s linear infinite;
}

.partners2 {
    background-image: url(/common/image/new/partners2.png);
    animation: ani-part2 40s linear infinite;
}

.partners3 {
    background-image: url(/common/image/new/partners3.png);
    left: 0;
    animation: ani-part 40s linear infinite;
}

@keyframes ani-part {
    0% {
        background-position-x: -2000px;
    }

    100% {
        background-position-x: 0;
    }
}

@keyframes ani-part2 {
    0% {
        background-position-x: 2000px;
    }

    100% {
        background-position-x: 0;
    }
}



/* 섹션7 */
.scroll-area.s7 {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100vh - 300px);
    justify-content: flex-end;
}

.s7 p {
    color: #F15A40;
}

.req-main {
    line-height: 0.9;
    font-weight: 600;
    font-size: 5rem;
    margin-bottom: 10px;
}

.req-sub {
    display: block;
    font-size: 1.88rem;
    font-weight: 500;
    line-height: 1.8;
}


/* s-req 기본 구조 유지 + 배경 애니메이션용 */
.s-req {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 40%;
    padding: 0 45px;
    position: relative;
    cursor: pointer;
    background-color: transparent;
    overflow: hidden;
}

/* p-req 기본 구조 유지 + 배경 애니메이션용 */
.p-req {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 40%;
    padding: 0 45px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-align: right;
}

/* 가상요소 배경 (좌우 반대 방향 설정) */
.s-req::before,
.p-req::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0%;
    background-color: #F15A40;
    z-index: 0;
    transition: width 0.5s ease;
}

/* 방향 지정 */
.s-req::before {
    left: 0;
}

.p-req::before {
    right: 0;
}

/* hover 시 배경 확장 */
.s-req:hover::before,
.p-req:hover::before {
    width: 100%;
}

/* 내부 요소 위로 올리기 */
.s-req > *,
.p-req > * {
    position: relative;
    z-index: 1;
}

/* 텍스트 컬러 전환 */
.s-req .req-main,
.s-req .req-sub,
.p-req .req-main,
.p-req .req-sub {
    transition: color 0.3s ease;
    color: #F15A40;
}


.s-req:hover .req-main,
.s-req:hover .req-sub,
.p-req:hover .req-main,
.p-req:hover .req-sub {
    color: white;
}


.text-wrap{
    width: 100%;
    justify-content: center;
}

.req-wrap {
    width: 1200px;
    margin: 0 auto;
    position: relative; /* 화살표 위치 기준 */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* rarrow */
.rarrow {
    position: absolute;
    left: calc(100% - 68%); /* 텍스트 옆 (적절히 조정) */
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.7s ease;
    width: 100px;
    height: 85px;
}

.s-req:hover .rarrow {
    left: 90%; /* 1200px 내에서 우측 끝 여백 포함 */
}


/* 화살표 초기 위치: 텍스트 옆 */
.larrow {
    position: absolute;
    right: calc(100% - 55%); /* 텍스트 옆에 붙는 초기 위치 */
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.7s ease;
    width: 100px;
    height: 85px;
}

/* hover 시 왼쪽 끝으로 이동 */
.p-req:hover .larrow {
    right: calc(1200px - 120px); /* 왼쪽 끝에서 약간 여백 두고 이동 */
}





/* media */
@media (max-width:1280px) {

    /* s1 */
    .moeun {
        font-size: 10rem;
    }

    .moeun-sub {
        font-size: 1.88rem;
    }

    .s1 > .scroll{
    left: 46%;
}

    /* s2 */
    /* 섹션 공통 설정 */

    .s2-1,
    .s2-2,
    .s2-3,
    .s2-4 {
        width: 1100px;
        padding: 15px;
    }

    .s25-main {
        font-size: 7.5rem;
    }

    .s25-sub {
        font-size: 1.31rem;
        margin-top: -25px;
    }

    .s25-ex {
        font-size: 1.25rem;
        margin-top: 25px;
    }

    /* s6 */

    .s6-wrap {
        width: 70%;
    }


    /* s7 */
    .s-req,
    .p-req {
        padding: 0px 45px;
        pointer-events: auto;
}

    .req-main {
        font-size: 4.6875rem;
        margin-bottom: 12px;
    }

    .req-sub {
        font-size: 1.56rem;
    }

    .rarrow {
        width: 95px;
        height: 80px;
        left: 33%;
    }

    .s-req:hover .rarrow {
        left: 90%;
    }

    .larrow {
        width: 95px;
        height: 80px;
        left: 45%;
        transition: left 0.7s ease;
    }

    .p-req:hover .larrow {
        left: 0%;
    }

}


@media (max-width:1200px) {

    /* s1 */
    .s1 > .maintxt{
    width: 1000px;
}

    .moeun {
        font-size: 10rem;
    }

    .moeun-sub {
        font-size: 1.88rem;
    }
    
    /* s2 */
    .s2s5>div:not(:first-child) > div{
        width: 1000px;
    }

    .s25-main {
        font-size: 7.5rem;
    }

    .s25-sub {
        margin-top: -25px;
    }

    .s25-ex {
        margin-top: 25px;
    }


    /* s7 */
    .rarrow {
        left: 38%;
    }

    .larrow {
        left: 38%;
    }


}



@media (max-width:1080px) {

    /* s1 */
    .s1 > .maintxt{
        width: 900px;
    }

    .moeun {
        font-size: 8.75rem;
        margin-top: 0px;
    }

    .moeun-sub {
        font-size: 1.56rem;
    }

    .s1 > .scroll{
    left: 45%;
}

    .scroll img{
    width: 20px;
}

.scroll p{
    font-size: 0.75rem;
    margin-top: -65px;
}


/* s2 */

    /* s2 */
    .s2s5 > div:not(:first-child) > div {
        width: 930px;
    }

    .s25-main {
        font-size: 6.875rem;
        letter-spacing: 3px;
    }

    .s25-sub {
        margin-top: -22px;
    }

    .s25-ex {
        margin-top: 22px;
    }

    .more {
        width: 200px;
        height: 55px;
        line-height: 55px;
    }

    .more > a{
    font-size: 1.13rem;
}


    /* s6 */

    .partners-main{
        font-size: 3.25rem;
    }
    
    .partners-sub{
        font-size: 1.13rem;
    }

    /* s7 */


    .req-main {
        font-size: 4.375rem;
        margin-bottom: 20px;
    }

    .req-sub {
        font-size: 1.25rem;
    }

    /* s7 */
    .rarrow {
        left: 39%;
    }

    .larrow {
        left: 34%;
    }



}


@media (max-width:984px) {

    /* sidemenu */
    .sidemenu ul li {
        width: 200px;
    }

    .sidemenu ul li a {
        font-size: 1rem;
    }


    /* s1 */
    .s1 > .maintxt{
        width: 700px;
    }

    .moeun {
        font-size: 7.5rem;
        margin-top: -20px;
    }

    /* s2 */
    .s2s5>div:not(:first-child) > div{
        width: 90%;
    }

    .s25-main {
        font-size: 6.25rem;
        letter-spacing: 1px;
    }

    .s25-sub{
        font-size: 1.19rem;
    }

    .s25-ex {
        font-size: 1.13rem;
        width: 70%;
    }



    /* s6 */
    .s6 {
        height: 100vh;
    }

    .partners-main{
        font-size: 3.25rem;
    }


    /* s7 */


    .req-main {
        font-size: 3.75rem;
        margin-bottom: 15px;
    }

    .req-sub {
        font-size: 1.13rem;
    }

    .rarrow {
        width: 80px;
        height: 65px;
        left: 42%;
    }

    .larrow {
        width: 80px;
        height: 65px;
        left: 28%;
    }


}


@media (max-width:768px) {

     /* sidemenu */
    .sidemenu ul li {
        width: 180px;
    }

    .sidemenu ul li a {
        font-size: 0.94rem;
    }

    /* s1 */
    .moeun {
        font-size: 5rem;
        margin-top: -20px;
        letter-spacing: -2px;
    }

    .moeun-sub {
        font-size: 1.25rem;
    }

    .s1 > .scroll{
    left: 43%;
}

    /* s2 */
    .s25-main {
        font-size: 4.6875rem;
    }

    .s25-sub{
        font-size: 1.06rem;
        margin-top: -15px;
    }

    .s25-ex {
        font-size: 1rem;
    }

    .more {
        width: 180px;
        height: 55px;
        line-height: 55px;
    }


    /* s6 */

    .partners-main{
        font-size: 3rem;
    }
    
    .partners-sub{
        font-size: 1rem;
    }



    /* s7 */


    .req-main {
        font-size: 3.13rem;
    }

    .req-sub {
        font-size: 1rem;
    }

    .rarrow {
        width: 60px;
        height: 50px;
        left: 48%;
    }

    .larrow {
        width: 60px;
        height: 50px;
        left: 18%;
    }



}

@media (max-width:580px) {


    /* sidemenu */
    .sidemenu {
    bottom: 0;
    top: 95%;
    right: 0;
    left: 0;
    width: 100%;
    transform: translate(0,0);
}

        .sidemenu ul{
            display: flex;
            justify-content: center;
            align-items: center;
        }

            .sidemenu ul li {
                width: 18%;
                height: 130px;
                margin: 0;
                margin-right: 5px;
            }

                .sidemenu ul li:last-child{
                    margin-right: 0;
                }

                .sidemenu ul li a {
                    height: 130px;
                    font-size: 0.81rem;
                    letter-spacing: 0.5px;
                    border-radius: 20px 20px 0 0;
                    /* 처음 상태는 아래 */
                    transform: translateY(0);
                    margin-bottom: 0;
                    padding: 0;
                    text-align: center;
                    box-sizing: border-box;
                    overflow: hidden;
                }

                /* hover와 active 동일하게: 세로로 커지고 위로 뜸 */
                .sidemenu ul li a:hover,
                .sidemenu ul li a.active {
                    transform: translateY(-25px);
                    background-color: #F15A40;
                    border-radius: 20px 20px 0 0;
                    margin-left: 0;
                }

                    /* s1 */
                    .s1 > .scroll {
                        left: 41%;
                    }


    /* s2 */

    .s2s5 > div:not(:first-child) > div {
        width: 80%;
    }

    .s25-main {
        font-size: 4.0625rem;
        text-align: center;
        margin: 0 auto;
    }

    .s25-sub{
        margin: 0 auto;
        margin-top: -5px;
        text-align: center;
        margin-bottom: 20px;
    }

    .s25-ex {
        margin: 0 auto;
        text-align: center;
        width: 100%;
        padding-bottom: 60px;
        border-bottom: 1px solid #fff;
    }

    .more {
        margin: 0 auto;
        margin-top: 60px;
        width: 100%;
        height: 55px;
        line-height: 55px;
    }


    /* s6 */
    
    .partners-main{
        font-size: 3rem;
    }
    
    .partners-sub{
        font-size: 1rem;
    }


    /* s7 */
    .s7 {
        height: calc(100vh - 220px);
    }

    .req-main {
        font-size: 2.88rem;
        margin-bottom: 10px;
    }

    .req-sub {
        font-size: 1rem;
    }

    .rarrow {
        width: 55px;
        height: 45px;
        left: 55%;
    }

    .larrow {
        width: 55px;
        height: 45px;
        left: 9%;
    }


}

@media (max-width:480px) {

    /* sidemenu */
    .sidemenu ul li a {
        font-size: 0.6875rem;
    }


    /* s1 */
    .moeun {
        font-size: 3.13rem;
        margin-top: 0px;
    }

    .moeun-sub {
        font-size: 0.94rem;
    }

    .s1 > .scroll{
    left: 39%;
}


    /* s2 */
    .s25-main {
        font-size: 3.13rem;
    }

    .s25-sub {
        font-size: 0.94rem;
    }

    .s25-ex {
        font-size: 0.87rem;
    }

    .more {
        height: 50px;
        line-height: 50px;
    }

    .more > a{
        font-size: 1.06rem;
    }


    /* s6 */
    
    .partners-main{
        font-size: 2.38rem;
    }
    
    .partners-sub{
        margin-top: 5px;
        font-size: 0.87rem;
    }

    /* s7 */
    .s-req,
    .p-req {
        padding-right: 30px;
}

    .p-req {
        padding-right: 25px;
    }

    .req-main {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .req-sub {
        font-size: 0.87rem;
    }

    .rarrow {
        width: 40px;
        height: 35px;
        left: 62%;
    }

    .larrow {
        width: 40px;
        height: 35px;
        left: 1%;
    }



}


@media (max-width:360px) {

    /* sidemenu */
    .sidemenu ul li a {
        font-size: 0.5625rem;
    }

    /* s1 */
    .moeun {
        font-size: 2.5rem;
    }

    .moeun-sub {
        font-size: 0.87rem;
    }

    .s1 > .scroll{
    left: 37%;
    }

    .scroll img {
        width: 15px;
    }

    .scroll p {
        font-size: 0.625rem;
        letter-spacing: 1px;
        margin-top: -70px;
    }

    /* s2 */
    .s25-main {
        font-size: 2.5rem;
    }

    .s25-sub {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .s25-ex {
        padding-bottom: 40px;
        font-size: 0.75rem;
    }

    .more {
        margin-top: 40px;
        height: 45px;
        line-height: 45px;
    }

        .more > a {
            font-size: 0.94rem;
        }


    /* s6 */

    .partners-main {
        font-size: 1.88rem;
    }

    .partners-sub {
        margin-top: 5px;
        font-size: 0.75rem;
    }

    .partners1,
    .partners2,
    .partners3{
        background-size: 900px;
    }

    /* s7 */
    .s-req,
    .p-req {
        padding-right: 30px;
    }

    .req-main {
        font-size: 1.88rem;
        margin-bottom: 3px;
    }

    .req-sub {
        font-size: 0.75rem;
    }

    .rarrow {
        width: 30px;
        height: 25px;
        left: 65%;
    }

    .larrow {
        width: 30px;
        height: 25px;
        left: 6%;
    }


}