/* header start */
header{
    position: fixed;
    width:100%;
    height:100px;
    min-width:1400px;
    z-index: 999;
    top:0;
    left:0;
    transition: all .3s ease-in-out;
}
header.on{
    position: fixed;
    width:100%;
    min-width:1440px;
    top:0;
    left:0;
    background-color: #fff;
    border-bottom:1px solid #ccc;
}
header .logo h1{
    position: absolute;
    width:190px;
    height:60px;
    top:20px;
    left:0;
    transition:all .3s ease-in-out;
    background: url(../img/logo_w.png) 50% 50% no-repeat;
    background-size: 190px;
    z-index: 999;
}
header .logo h1.on{
    background: url(../img/logo.png) 50% 50% no-repeat;
    background-size: 190px;
}
header .logo h1 a{
    display: block;
    width:190px;
    height:60px;
}

header:hover{background-color: #fff; transition: all .3s ease-in-out;}
header:hover .logo h1{background: url(../img/logo.png) 50% 50% no-repeat; background-size:190px; transition:all .3s ease-in-out;}
header:hover .gnb li a{color:#333;  transition:all .3s ease-in-out;}
header:hover .menubtn_wrap ul li{background-color: #333;}


.pos{position: relative;}
.bar{
    width:0;
    height: 3px;
    background-color: #ffd204;
    position: absolute;
    left: 0;
    bottom: 0;
}
nav{
    width:100%;
    max-width:1400px;
    min-width:1400px;
    margin:0 auto;
    z-index: 999;
    position: relative;
}
.gnb{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:40px;
}
.gnb > li{text-align: center;}
.gnb > li > .gnb_wrap > a{
    color:#fff;
    font-size:20px;
    height:100px;
    line-height: 100px;
    position: relative;
    font-weight: 600;
}
.gnb > li > .gnb_wrap > a.on{color:#333;}
.gnb > li > .gnb_wrap > a::after{content:'';
    display:block;
    width:0;
    height:2px;
    position: absolute;
    bottom:-10px;
    left:50%;
    background-color: #ffd204;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}

.menu_bg{
    position: absolute;
    left: 0;
    top: 99px;
    width: 100%;
    height: 220px;
    display: none;
    z-index: 9;
    background-color: #fff;
    border-top:1px solid #ccc;
    border-bottom:3px solid #ed1c24;
}

.gnb > li > .gnb_wrap{position: relative;}
.sub_menu{
    font-size:0;
    display:none;
    position: absolute;
    z-index:99;
    left:50%;
    transform: translateX(-50%);
    width:100%;
    width:200px;
    background-color: #fff;
    border-bottom:3px solid #ffd204;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}
.sub_menu li{transition: all .2s ease-in-out;}
.sub_menu a{
    font-size:16px;
    font-weight: 600;
    color: #464243 !important;
    line-height: 36px;
    display: block;
    position: relative;
    transition: all .2s ease-in-out;
    overflow: hidden;
}
.sub_menu a::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 200%;
    border-radius: 50%;
    transform: translate3d(-50%,-50%,0) scale3d(0,0,0);
    transition: opacity .4s cubic-bezier(.19,1,.22,1),transform .75s cubic-bezier(.19,1,.22,1);
    /* background-color: #bf0b2c; */
    background-color: #ffd204;
    opacity: 0;
    z-index: -1;
    transition: all .2s ease-in-out;
}
.sub_menu a:hover::before{
    opacity: 1;
    transition-duration: .85s;
    transition: all .2s ease-in-out;
    transform: translate3d(-50%,-50%,0) scale3d(1,1,1);
}
.sub_menu a:hover{color: #fff !important; transition: all .2s ease-in-out;}

.consulting{
    position: absolute;
    top:25px;
    right:0;
    z-index: 9999;
}
.consulting a{
    display:block;
    width:220px;
    font-size:18px;
    color: #333 !important;
    font-weight: 600;
    height:50px;
    line-height: 50px;
    text-align: left;
    padding-left:50px;
    border-radius: 10px;
    transition: all .3s ease-in-out;
    position: relative;
    background-color: #ffd204;
    background-image:url(../img/phone.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 5% 50%;
}
.consulting a:hover{
    background-color: #fff;
    background-image:url(../img/phone_h.png);
    background-size: 30px;
    color: #ffd204 !important;
}
.consulting a:hover .consulting_box{width:85%; transition: all .3s ease-in-out;}
.consulting_box{
    width:0;
    height:2px;
    background-color: #ffd204;
    position: absolute;
    left:15px;
    bottom:0px;
    transition:all 0.3s ease-out;
}


/* header menu active */
header.active1 .gnb > li:nth-child(1) .gnb_wrap > a,
header.active2 .gnb > li:nth-child(2) .gnb_wrap > a,
header.active3 .gnb > li:nth-child(3) .gnb_wrap > a,
header.active4 .gnb > li:nth-child(4) .gnb_wrap > a,
header.active5 .gnb > li:nth-child(5) .gnb_wrap > a,
header.active6 .gnb > li:nth-child(6) .gnb_wrap > a,
header.active7 .gnb > li:nth-child(7) .gnb_wrap > a{color: #ffd204;}

header.active1 .gnb > li:nth-child(1) > .gnb_wrap a::after,
header.active2 .gnb > li:nth-child(2) > .gnb_wrap a::after,
header.active3 .gnb > li:nth-child(3) > .gnb_wrap a::after,
header.active4 .gnb > li:nth-child(4) > .gnb_wrap a::after,
header.active5 .gnb > li:nth-child(5) > .gnb_wrap a::after,
header.active6 .gnb > li:nth-child(6) > .gnb_wrap a::after,
header.active7 .gnb > li:nth-child(7) > .gnb_wrap a::after{width:100%;}
/* header end */

/* header end */

/* visual swiper start */
@keyframes slideProgress {to{width: 100%;}}
@keyframes mainScroll {to{left: 100%;}}
.visual{position:relative;}
.visual .visual_slide{height: 100vh;min-height: 700px;position:relative;max-height: 1080px;}
.visual .visual_slide .textbox{position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index:10;display: flex;justify-content: center;flex-direction: column;align-items:flex-start;color: white;/*padding-left: calc(50% - 600px);*/text-align: center;pointer-events: none;}
.visual .visual_slide .textbox .holding{margin-bottom: 30px;font-size: 0;width: 100%;height: 80px;position:relative;}
.visual .visual_slide .textbox .holding .change{font-size: 72px; font-weight:800; width: 100%; opacity:0; transition: 1000ms ease-in-out; transition-property: visibility, opacity, filter; position:absolute; top: 0; left: 0; visibility: hidden; filter: blur(50px);}
.visual .visual_slide .textbox .holding .change.on{opacity:1;visibility: visible;filter: blur(0);}
.visual .visual_slide .slide_item{overflow: hidden;}
.visual .visual_slide .slide_item .slide_bg{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.visual .visual_slide .slide_item .slide_bg:after{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.visual .visual_slide .slide_item img{width: 100%;height: 100%;object-fit: cover;object-position: center bottom;}
.visual .visual_slide .slide_item video{width: 100%;height: 100%;object-fit: cover;object-position: center;}
.visual .scrolling{position: absolute;bottom: 0;right: 100px;z-index:10;color: white;transform-origin: right bottom;transform: rotate(90deg);line-height: 1;display: flex;align-items: center;font-size: 14px;}
.visual .scrolling .gage{width: 80px;height: 2px;position:relative;background-color: rgba(255, 255, 255, 0.7);margin-left: 10px;overflow: hidden;}
.visual .scrolling .gage .gage_bar{position: absolute;top: 0;left: -50%;width: 50%;height: 100%;background-color: white;animation:mainScroll 1s infinite linear;}
/* visual swiper end */

/*****************  버튼 공통 *****************/

/*****************  버튼 공통 *****************/

/* image_show_wrap 공통 */
section .image_show_wrap,
section .image_show_wrap2{
    position: relative;
    top: 0px;
    left: 0%;
    width: 100%;
}
section .image_show_wrap{overflow: hidden; animation-duration: 1.4s;}
section .image_show_wrap2{animation-duration: 1.4s;}

section .show_img01{animation-name: show_img01;}
@keyframes show_img01{
    0%{opacity: 0; transform: translate3d(-100%, 0, 0);}
}
section .show_img02{animation-name: show_img02;}
@keyframes show_img02{
    0%{opacity: 0; transform: translate3d(100%, 0, 0);}
}
section .show_img03{animation-name: show_img03;}
@keyframes show_img03{
    0%{opacity: 0; transform: translate3d(100%, 0, 0);}
}
section .show_img04{animation-name: show_img04;}
@keyframes show_img04{
    0%{opacity: 0; transform: translate3d(-100%, 0, 0);}
}
section .show_img05{animation-name: show_img05;}
@keyframes show_img05{
    0%{opacity: 0; transform: translate3d(0, 100%, 0);}
}
section .show_img06{animation-name: show_img06;}
@keyframes show_img06{
    0%{opacity: 0; transform: translate3d(0, -100%, 0);}
}
section .show_img07{animation-name: show_img07;}
@keyframes show_img07{
    0%{opacity: 0; transform: translate3d(0, -100%, 0);}
}
section .show_img08{animation-name: show_img08;}
@keyframes show_img08{
    0%{opacity: 0; transform: translate3d(0, 100%, 0);}
}
/* image_show_wrap 공통 */

/* image 확대 공통 */
.clip-animation {
    clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
    animation: clipExpand 1s cubic-bezier(0.770, 0.000, 0.175, 1.000) forwards;
}
@keyframes clipExpand {
    from {
        clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
/* image 확대 공통 */

/* ------------------------------------- section ------------------------------------- */
/* sec1 */
.sec1{
    padding:120px 0;
    background: url(../img/section1/section1_bg.jpg) no-repeat 50% 50%;
    background-size: cover;
    width:100%;
    height:100vh;
}

.sec1 .cont ul{
    display: flex;
    flex-wrap: nowrap;
    align-items: top;
    justify-content: end;
    gap:80px;
}
.sec1 .cont .img{width:450px;}
.sec1 .cont .tit{margin-bottom:30px;}
.sec1 .cont .tit p{
    font-size:48px;
    color:#000;
    text-align: center;
    font-weight: 600;
}
/* .sec1 .cont .tit:nth-of-type(2) p{
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
} */
/* sec1 */



/* sec2 */
.sec2 .cont ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.sec2 .cont ul li {
    position: relative;
    width: 33.333%;
    overflow: hidden;
    transition: all .3s ease-in-out;
    background-color: #000;
}

.sec2 .cont ul li .img {
    position: relative;
    overflow: hidden;
}

.sec2 .cont ul li .img::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.28) 42%,
        rgba(0, 0, 0, 0.14) 72%,
        rgba(0, 0, 0, 0.04) 100%
    );
    transition: all .3s ease-in-out;
}

.sec2 .cont ul li .img img {
    display: block;
    width: 100%;
    filter: grayscale(0%) brightness(1.02) contrast(1.04);
    transition: all .3s ease-in-out;
}

/* hover 시 흑백 */
.sec2 .cont ul li:hover .img img {
    filter: grayscale(100%) brightness(0.96) contrast(1.08);
    transform: scale(1.04);
}

/* hover 시 오버레이 - 너무 어둡지 않게 조정 */
.sec2 .cont ul li:hover .img::before {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.42) 42%,
        rgba(0, 0, 0, 0.24) 72%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

/* 두 번째 이미지는 원본이 밝아서 기본 상태만 살짝 눌림 */
.sec2 .cont ul li:nth-child(2) .img img {
    filter: grayscale(0%) brightness(0.96) contrast(1.05);
}

.sec2 .cont ul li:nth-child(2) .img::before {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.46) 0%,
        rgba(0, 0, 0, 0.32) 42%,
        rgba(0, 0, 0, 0.16) 72%,
        rgba(0, 0, 0, 0.06) 100%
    );
}

/* 두 번째 이미지 hover 시 흑백 */
.sec2 .cont ul li:nth-child(2):hover .img img {
    filter: grayscale(100%) brightness(0.96) contrast(1.1);
}

/* 두 번째 이미지 hover 오버레이 - 기존보다 덜 어둡게 */
.sec2 .cont ul li:nth-child(2):hover .img::before {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.64) 0%,
        rgba(0, 0, 0, 0.48) 42%,
        rgba(0, 0, 0, 0.28) 72%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

.sec2 .cont ul li .tit {
    position: absolute;
    top: 10%;
    left: 10%;
    z-index: 2;
}

.sec2 .cont ul li .tit .top span {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #ffd204;
    text-align: left;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}

.sec2 .cont ul li .tit .top h3 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-align: left;
    padding: 10px 0;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.sec2 .cont ul li .tit .bottom {
    margin-top: 30px;
}

.sec2 .cont ul li .tit .bottom p {
    font-size: 20px;
    color: #fff;
    text-align: left;
    line-height: 1.5;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.8);
}

.sec2 .cont ul li .tit .bottom a {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 40px;
    text-align: center;
    border: 1px solid #fff;
    color: #fff;
    font-size: 18px;
    transition: all .3s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.sec2 .cont ul li .tit .bottom a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ffd204;
    transition: all .3s ease-in-out;
    z-index: -1;
}

.sec2 .cont ul li .tit .bottom a:hover {
    color: #111;
    border-color: #ffd204;
    text-shadow: none;
}

.sec2 .cont ul li .tit .bottom a:hover::before {
    width: 100%;
}
/* sec2 */




/* sec3 */
.sec3{
    padding:120px 0;
    background-color: #e6e6e6;
}
.sec3 .title_box ul{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
.sec3 .title_box ul li{
    position: relative;
    width:50%;
    background-color: #000;
    height:466.67px;
}
.sec3 .title_box ul li .tit{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    left:20%;
}
.sec3 .title_box ul li .tit h3{
    font-size:32px;
    color:#ffd204;
    text-align: left;
    font-family: 'Noto Serif KR', serif; 
}
.sec3 .title_box ul li .tit h2{
    font-size:48px;
    color:#fff;
    text-align: left;
    padding:10px 0;
    /* font-family: 'Noto Serif KR', serif;  */
}
.sec3 .title_box ul li .tit p{
    font-size:24px;
    color:#ccc;
    text-align: left;
}


.sec3 .list_box{margin-top:120px;}
.sec3 .list_box ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap:20px;
}
.sec3 .list_box ul li{width:25%;}
.sec3 .list_box ul li .img{
    position: relative;
    transition: all .3s ease-in-out;
    overflow: hidden;
}
.sec3 .list_box ul li .img img{transition: all .3s ease-in-out;}
.sec3 .list_box ul li .txt{
    background-color: #fff;
    padding:20px;
}
.sec3 .list_box ul li .txt h3{
    font-size:32px;
    font-weight: 800;
    color:#000;
    text-align: left;
    padding:10px 0;
}
.sec3 .list_box ul li .txt p{
    font-size:16px;
    color:#333;
    text-align: left;
    line-height: 32px;
}

.sec3 .list_box ul li a:hover .img img{transform: scale(1.1); filter: grayscale(100%);}
/* sec3 */




/* sec4 */
.sec4{padding:120px 0;}
.sec4 .inner ul {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 60px;
    position: relative;
}
.sec4 .inner ul::before{
    content: '';
    position: absolute;
    bottom:0;
    right:0;
    width:80px;
    height:3px;
    background-color: #eab308;
}
.sec4 .inner ul::after{
    content: '';
    position: absolute;
    bottom:0;
    right:0;
    width:3px;
    height:80px;
    background-color: #eab308;
}

.sec4 .inner ul li{position: relative;}
.sec4 .inner ul li:nth-of-type(1){width: 40%;}
.sec4 .inner ul li:nth-of-type(2){width: 60%;}

.sec4 ul li .video{
    position: relative;
    width:100%;
    height:0;
    padding-top:165%;
    overflow: hidden;
}
.sec4 ul li .video iframe{
    position: absolute;
    top:-60px;
    left:0;
    width:100%;
    height:calc(100% + 120px);
    pointer-events: none;
}


/* 텍스트 영역 래퍼 */
.sec4 .tit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* 상단 라벨 */
.sec4 .tit .label {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #eab308;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.sec4 .tit h3 {
    font-size: 60px;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    word-break: keep-all;
}

.sec4 .tit .desc {
    font-size: 24px;
    color: #555;
    margin-bottom: 50px;
    font-weight: 400;
    word-break: keep-all;
}


.sec4 .tit .btn_counsel {
    display: inline-block;
    padding: 18px 50px;
    background: #111;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.sec4 .tit .btn_counsel span{
    display: inline-block;
    transition: all .3s ease-in-out;
}
.sec4 .tit .btn_counsel::before{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:0;
    height:100%;
    transition: all 0.3s ease-in-out;
    background-color: #eab308;
    z-index: -1;
}

/* 버튼 마우스 오버 효과 */
.sec4 .tit .btn_counsel:hover span{transform: translateX(10px);}
.sec4 .tit .btn_counsel:hover::before{width:100%;}


/* 나비 로고 기본 설정 및 애니메이션 적용 */
.sec4 ul li .sec4_logo {
    position: absolute;
    top: -200px;
    right: 0;
    width: 200px;
    /* transform: rotate(15deg); 대신 아래 애니메이션을 적용합니다 */
    animation: floatingButterfly 3s ease-in-out infinite;
} 

/* 둥둥 떠다니는 나비 애니메이션 */
@keyframes floatingButterfly {
    0% {
        transform: translateY(0) rotate(15deg);
    }
    50% {
        /* 살짝 위로(-15px) 올라가면서 각도(20deg)를 살짝 틀어줍니다 */
        transform: translateY(-15px) rotate(20deg); 
    }
    100% {
        transform: translateY(0) rotate(15deg);
    }
}
/* sec4 */




/* footer */
.footer{background-color: #0D0D0D;}
.footer .top_info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:20px 0;
    border-bottom:1px solid #ccc;
}
.footer .top_info .right{
    display: flex;
}
.footer .top_info a{
    display: block;
    font-size:14px;
    color:#fff;
    text-align: left;
    margin-right:30px;
    transition: all .3s ease-in-out;
}
.footer .top_info a img{width:245px; margin-right:120px;}

.footer .top_info a:hover{color:red;}
.footer .bottom_info{padding:30px 0;}
.footer .bottom_info p{
    font-size:13px;
    color:#fff;
    text-align: left;
    line-height: 26px;
}
.footer .bottom_info span{
    display: block;
    font-size:13px;
    margin-top:10px;
    color:#ccc;
    text-align: left
}
/* footer */
/* ------------------------------------- section ------------------------------------- */


/* top_btn */
.topbtn{
    position: fixed;
    bottom:60px;
    right:60px;
    z-index:9999999999999;
    width:50px;
    height:50px;
    border-radius: 40px;
    background-color:  #ffd204;
    transition: all 0.5s ease;
    opacity: 0;
}
.topbtn.on{opacity: 1;}

.topbtn img{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width:30px;
}

.topbtn:hover{
    transition: all 0.5s ease;
    background-color: #151515;
}
/* top_btn */
