/* 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);}
}
/* 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 ------------------------------------- */
/* Centered texts in each section
* --------------------------------------- */
.section{text-align:center;}
/* Backgrounds will cover all the section
* --------------------------------------- */
#section1,
#section2,
#section3,
#section4,
#section5{background-size: cover; background-attachment: fixed; position: relative;}

#section1::before{content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(0, 0, 0, 0.4);}
#section2::before{content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(0, 0, 0, 0.4);}
#section3::before{content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(0, 0, 0, 0.4);}
#section4::before{content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(0, 0, 0, 0.4);}
#section5::before{content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(0, 0, 0, 0.4);}


/* Defining each sectino background and styles
* --------------------------------------- */
#section1{background-image: url(../img/section1/section1_bg.jpg);}
#section2{background-image: url(../img/section2/section2_bg.jpg);}
#section3{background-image: url(../img/section3/section3_bg.jpg);}
#section4{background-image: url(../img/section4/section4_bg.jpg);}


/* * --------------------------------------- * */
/* 1. 기본 상태: 모든 툴팁 항상 노출, 글씨와 점은 흰색 */
#fp-nav ul li .fp-tooltip {
    color: #fff;
    opacity: 1 !important;
    width: auto !important;
    overflow: visible !important;
    font-weight: 400;
    cursor: pointer;
    pointer-events: auto;
}
#fp-nav ul li a span, 
.fp-slidesNav ul li a span {
    background-color: #fff !important; 
}

/* 2. 활성화 상태: 글씨와 점을 포인트 컬러(주황색)로 변경 */
#fp-nav ul li a.active + .fp-tooltip {
    color: #6f2f05 !important;
    font-weight: bold; /* 활성화 시 글씨 굵게 */
}
#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span {
    background-color: #6f2f05 !important;
    width: 8px !important;
    height: 8px !important;
    margin: -4px 0 0 -4px !important; 
}

/* 3. 활성화된 점 바깥 테두리 링 */
#fp-nav ul li a.active::after,
.fp-slidesNav ul li a.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 1px solid #6f2f05;
    border-radius: 50%;
    box-sizing: border-box;
}

/* ------------------------------------------------ */
/* 4. 푸터 영역 도달 시 스타일 초기화 (JS와 연동) */
/* ------------------------------------------------ */
#fp-nav.is-footer ul li a.active + .fp-tooltip {
    color: #fff !important; /* 글씨 다시 흰색 */
    font-weight: 400;       /* 굵기도 원상복구 */
}
#fp-nav.is-footer ul li a.active span {
    background-color: #fff !important; /* 점 다시 흰색 */
}
#fp-nav.is-footer ul li a.active::after {
    display: none !important; /* 테두리 링 숨기기 */
}
#fp-nav ul li .fp-tooltip.fp-right{right:35px;}
#fp-nav ul li:last-child {
    display: none !important;
}
#fp-nav ul li, .fp-slidesNav ul li{margin:30px 10px;}

/* * --------------------------------------- * */
/* 커스텀 커서 (딥그린) */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;  /* 기본 동그라미 크기 */
    height: 32px;
    background-color: #0A5C36;
    border: 2px solid #0A5C36; /* 고급스러운 딥그린 색상 */
    border-radius: 50%;
    pointer-events: none; /* 클릭 방해 방지 */
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

/* 링크나 버튼에 마우스가 올라갔을 때만 살짝 반응 (원치 않으시면 이 부분도 삭제 가능) */
.custom-cursor.hover {
    width: 48px;
    height: 48px;
    background-color: rgba(10, 92, 54, 0.1); /* 딥그린 컬러를 연하게 채움 */
}


/* header start */
header{position: fixed; width:100%; height:100px; min-width:1400px; z-index: 9999; top:0; left:0; transition: all .3s ease-in-out;}
header.on{background-color: rgba(0, 0, 0, 0.6)}
.fp-viewing-1 header,
.fp-viewing-2 header,
.fp-viewing-3 header,
.fp-viewing-4 header,
.fp-viewing-5 header,
.fp-viewing-6 header,
.fp-viewing-7 header{background-color: rgba(0, 0, 0, 0.6);}

/* header start */
header .logo h1{
    position: absolute;
    width:333px;
    height:46px;
    top:30px;
    left:0;
    transition:all .3s ease-in-out;
    background: url(../img/logo.png) 50% 50% no-repeat;
    background-size: 333px;
    z-index: 9999;
}
header .logo h1.on{
    position: absolute;
    width:333px;
    height:46px;
    top:30px;
    left:0;
    transition:all .3s ease-in-out;
    background: url(../img/logo.png) 50% 50% no-repeat;
    background-size: 333px;
    z-index: 9999;
}
.fp-viewing-1 header .logo h1,
.fp-viewing-2 header .logo h1,
.fp-viewing-3 header .logo h1,
.fp-viewing-4 header .logo h1,
.fp-viewing-5 header .logo h1,
.fp-viewing-6 header .logo h1,
.fp-viewing-7 header .logo h1{
    background: url(../img/logo.png) 50% 50% no-repeat;
    background-size: 333px;
}
header .logo h1 a{
    display: block;
    width:333px;
    height:46px;
}

header:hover{background-color: rgba(0, 0, 0, 0.6); 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: #fff;
    position: absolute;
    left: 0;
    bottom: 10px;
}
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: end;
    gap:80px;
}
.gnb > li{transition: all .2s ease-in-out;}
.gnb > li > .gnb_wrap > a.on{color:#ffcc00!important;}

.gnb > li > .gnb_wrap > a{
    color:#fff;
    font-size:18px;
    font-weight: 600;
    height:100px;
    line-height: 100px;
    position: relative;
}
.gnb > li > .gnb_wrap > a::after{content:'';
    display:block;
    width:0;
    height:2px;
    position: absolute;
    bottom:-10px;
    left:50%;
    background-color: #ffcc00;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}

.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:160px;
}
.sub_menu li{transition: all .2s ease-in-out;}
.sub_menu a{
    font-size:16px;
    font-weight: 400;
    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: #6f2f05;
    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;}

/* 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{color: #ffcc00;}

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{width:100%;}
/* header end */





/* visual swiper start */
.main_visual{
    width:100%;
    min-width:1400px;
    height:100vh;
    position: relative;
}
.typo{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width:1400px;
    z-index: 99;
    text-align: left;
}
.typo span{
    opacity: 0;
    display: block;
    color:#fff;
    text-align: center;
}
.typo span:nth-of-type(1){
    font-size:36px;
    transition-delay:0s;
    font-weight: 400;
}
.typo span:nth-of-type(2){
    font-size:72px;
    transition-delay:1s;
    font-weight: 600;
    padding:20px 0;
}
.typo span:nth-of-type(3){
    font-size:18px;
    transition-delay:1.5s;
    font-weight: 400;
}
.typo span:nth-of-type(1).show{
    opacity: 1;
    animation: bounceInLeft 1s .2s both;
}
.typo span:nth-of-type(2).show{
    opacity: 1;
    animation: bounceInLeft 1s .4s both;
}
.typo span:nth-of-type(3).show{
    opacity: 1;
    animation: bounceInLeft 1s .6s both;
}

.main_visual .swiper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.main_visual .swiper .swiper-pagination span{
    margin:0 5px;
    width:60px;
    height:3px;
}
.main_visual .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border:1px solid #fff;
    background: none;
    border-radius: 0;
    background-color: #fff;
}

.main_visual .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}
.main_visual .swiper .swiper-pagination {
    position: absolute;
    text-align: center;
    -webkit-transition: .3s opacity;
    -o-transition: .3s opacity;
    transition: .3s opacity;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 10;
    left:50%;
    bottom:150px;
    transform: translate(-50%, 100%);
}
.main_visual .swiper-button-prev,
.main_visual .swiper-container-rtl .swiper-button-next {
    left: 0px;
    bottom:0;
    right: auto;
    width:20px;
    color:#fff;
}
.main_visual .swiper-button-next,
.main_visual .swiper-container-rtl .swiper-button-prev {
    right: 0px;
    left: auto;
    width:20px;
    color:#fff;
}

.main_visual .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{font-size:30px;}
.main_visual .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{font-size:30px;}

.main_visual .swiper-button-next,
.main_visual .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 60px 60px;
    background-position: center;
    background-repeat: no-repeat;
    border:1px solid #fff;
    transition: all .3s ease-in-out;
}
.main_visual .swiper-button-next:hover{background-color: #6f2f05; border-color: #6f2f05;}
.main_visual .swiper-button-prev:hover{background-color: #6f2f05; border-color: #6f2f05;}

.main_visual .swiper-slide {
    width:100%;
    height:100%;
    text-align: center;
    font-size: 18px;
    background: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.main_visual .swiper-slide::before{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


.main_visual .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.main_visual .swiper-slide ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 10;
}

.main_visual .swiper-slide ul .intro_bg.active {
    width:20%;
    background: transparent;
    animation: intro_bg 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) forwards;
    }
    @keyframes intro_bg {
    from {
        clip-path: inset(0 100% 0 0);
        background-color: rgba(0, 0, 0, 0.6);
    }
    to {
        clip-path: inset(0 0 0 0);
        background-color: rgba(0, 0, 0, 0);
    }
}

.main_visual .swiper_button{
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    z-index: 9;
}
/* main_visual swiper end */

/* button */
.button{
    position: absolute;
    bottom:300px;
    left:50%;
    transform: translateX(-50%);
    z-index: 999;
    width:190px;
}
.button .btn{
    position: relative;
    color: #fff;
    overflow: hidden;
    display: block;
    overflow: hidden;
    padding:15px 0px;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #fff;
}

.button .btn::before,
.button .btn::after {
    position: absolute;
    top: 50%;
    content: '';
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
}
.button .btn::before {
    left: -20px;
    transform: translate(-50%, -50%);
}
.button .btn::after {
    right: -20px;
    transform: translate(50%, -50%);
}
.button .btn:hover {
    color: #000;
}
.button .btn:hover::before {
    animation: criss-cross-left 0.8s both alternate;
}
.button .btn:hover::after {
    animation: criss-cross-right 0.8s both alternate;
}

@keyframes criss-cross-left {
    0% {
        left: -20px;
        width: 20px;
        height: 20px;
    }
    50% {
        left: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        left: 50%;
        width: 375px;
        height: 375px;
    }
}

@keyframes criss-cross-right {
    0% {
        right: -20px;
        width: 20px;
        height: 20px;
    }
    50% {
        right: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        right: 50%;
        width: 375px;
        height: 375px;
    }
}
/* button */
/* ------------------------------------- section ------------------------------------- */
/* section1 */
#section1 {
    position: relative;
    overflow: hidden;
}

#section1 .inner {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100vh;
    padding: 110px 0 35px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 각 콘텐츠 영역 */
.story-title,
.story-layers,
.story-desc {
    flex-shrink: 0;
    width: 100%;
}

/* 등장 전 상태 */
.story-title h2,
.story-layers .layer,
.story-desc h3,
.story-desc p {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

/* 제목 */
.story-title h2 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 28px;
}

/* 원형 이미지 */
.story-layers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    margin-bottom: 28px;
}

.story-layers .layer {
    width: 300px;
    height: 300px;
    flex-shrink: 0;

    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.story-layers .layer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 하단 설명 */
.story-desc h3 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
}

.story-desc p {
    color: #cccccc;
    font-size: 18px;
    font-weight: 400;
}

/* 등장 애니메이션 */
#section1.active .story-title h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

#section1.active .story-layers .circle-people {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

#section1.active .story-layers .circle-system {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

#section1.active .story-layers .circle-experience {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

#section1.active .story-desc h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

#section1.active .story-desc p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}




@media screen and (max-height: 950px) {
    #section1 .inner {
        padding-top: 95px;
        padding-bottom: 20px;
    }

    .story-title h2 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .story-layers {
        gap: 35px;
        margin-bottom: 20px;
    }

    .story-layers .layer {
        width: 270px;
        height: 270px;
    }

    .story-desc h3 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .story-desc p {
        font-size: 17px;
    }
}

@media screen and (max-height: 820px) {
    #section1 .inner {
        padding-top: 85px;
        padding-bottom: 15px;
    }

    .story-title h2 {
        font-size: 36px;
        margin-bottom: 14px;
    }

    .story-layers {
        gap: 28px;
        margin-bottom: 14px;
    }

    .story-layers .layer {
        width: 220px;
        height: 220px;
    }

    .story-desc h3 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .story-desc p {
        font-size: 15px;
    }
}
/* section1 */



/* section2 */
#section2 {
    position: relative;
    overflow: hidden;
}

#section2::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(45, 24, 10, 0.72) 0%,
            rgba(69, 37, 16, 0.54) 45%,
            rgba(32, 18, 8, 0.74) 100%
        );
    z-index: 0;
}

#section2 .fp-tableCell {
    position: relative;
    overflow: hidden;
}

/* 전체 높이 */
.section2-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100vh;
    padding: 105px 0 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

/* 상단 타이틀 */
.menu-heading {
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.menu-heading h2 {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-heading p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* 중앙 레이아웃 */
.menu-layout {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    gap: 20px;
}

/* 왼쪽 비주얼 (Swiper Container) */
.menu-visual-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px; /* 슬라이더 최소 높이 확보 */
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
    overflow: hidden; /* 슬라이드 영역 밖으로 나가는 요소 숨김 */
}

/* 개별 슬라이드 기준점 */
.menu-visual-stage .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 메인 대표 메뉴 */
.main-dish {
    position: absolute;
    top: 46%;
    left: 50%;
    width: min(520px, 54vh);
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* 현재 활성화된 슬라이드에만 플로팅 애니메이션 적용 (성능 최적화) */
.swiper-slide-active .main-dish {
    animation: floatDish 4.5s ease-in-out infinite;
}

.main-dish img {
    display: block;
    width: 100%;
    border-radius: 50%; /* jpg 이미지를 둥글게 자름 (누끼 이미지면 삭제 가능) */
    filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.35));
}

@keyframes floatDish {
    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-12px);
    }
}

/* 대표 메뉴 정보 */
.main-dish-info {
    position: absolute;
    left: 25px;
    bottom: 90px;
    z-index: 4;
    width: 310px;
    padding: 16px 20px;
    text-align: left;
    background: rgba(25, 12, 5, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.main-dish-info h5 {
    font-size: 20px;
    color: #efc17c;
    font-weight: 700;
    margin-bottom: 5px;
}

.main-dish-info h3 {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 6px;
}

.main-dish-info p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}

/* 회전 배지 */
.badge-img {
    position: absolute;
    top: 110px;
    right: 150px;
    z-index: 6;
    width: 130px;
    height: 130px;
    animation: badgeRotate 14s linear infinite;
    pointer-events: none; /* 슬라이더 스와이프 조작 시 방해되지 않도록 설정 */
}

.badge-img img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

@keyframes badgeRotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.menu-visual-stage .swiper-button-next, 
.menu-visual-stage .swiper-button-prev {
    color: #efc17c;
}

/* 오른쪽 포인트 */
.menu-point {
    min-width: 0;
    padding-left: 30px;
    text-align: left;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s ease;
}

.menu-point-title {
    margin-bottom: 8px;
}

.menu-point-title h4 {
    font-size: 24px;
    color: #efc17c;
    font-weight: 700;
    margin-bottom: 5px;
}

.menu-point-title h3 {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
}

/* 포인트 목록 */
.menu-point-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
}

.menu-point-list .num {
    flex-shrink: 0;
    min-width: 28px;
    font-size: 20px;
    color: #efc17c;
    font-weight: 700;
    padding-top: 2px;
}

.menu-point-list .desc {
    min-width: 0;
}

.menu-point-list .desc h5 {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 3px;
}

.menu-point-list .desc p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}

/* 버튼 */
.menu-point .btn-wrap {
    margin-top: 30px;
}

.menu-point .btn-view-menu {
    position: relative;
    z-index: 1;
    width: 210px;
    height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid #fff;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.menu-point .btn-view-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    height: 100%;
    background: #6f2f05;
    z-index: -1;
    transition: width 0.35s ease;
}

.menu-point .btn-view-menu:hover {
    border-color: #6f2f05;
}

.menu-point .btn-view-menu:hover::before {
    width: 100%;
}

/* 등장 애니메이션 (Fullpage.js 연동) */
#section2.active .menu-heading {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

#section2.active .menu-visual-stage {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

#section2.active .menu-point {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}
/* section2 */


/* section3 */
.competence-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.competence-title h2 { font-size: 48px; font-weight: 800; color: #ffffff; margin-bottom: 20px; }
.competence-title p { font-size: 18px; font-weight: 400; color: #dddddd; }

.competence-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* ★ 1. 등장 애니메이션은 껍데기(card-wrap)가 전담 ★ */
.competence-cards .card-wrap {
    flex: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* ★ 2. 호버 효과와 디자인은 알맹이(card)가 전담 ★ */
.competence-cards .card-wrap .card {
    height: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px 30px;
    text-align: center;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease; /* 딜레이 없는 순수 호버 반응 속도! */
}

/* 딜레이 없는 즉각적인 카드 호버 효과 */
.competence-cards .card-wrap .card:hover {
    background: rgba(255, 204, 0, 0.1); 
    border-color: #ffcc00;
    transform: translateY(-15px); 
}

.competence-cards .card-wrap .card .icon { font-size: 50px; color: #ffcc00; margin-bottom: 30px; }
.competence-cards .card-wrap .card h3 { font-size: 24px; font-weight: 600; color: #ffffff; margin-bottom: 20px; }
.competence-cards .card-wrap .card p { font-size: 16px; font-weight: 400; color: #cccccc; line-height: 1.8;}

/* =========================================
   스크롤 도달 시 나타나는 효과 (.active) - wrap에 적용
========================================= */
#section3.active .competence-title { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
#section3.active .competence-cards .card-wrap:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
#section3.active .competence-cards .card-wrap:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
#section3.active .competence-cards .card-wrap:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
/* section3 */


/* section4 */
.franchise-title {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.franchise-title h2 { font-size: 48px; font-weight: 800; color: #ffffff; margin-bottom: 20px; }
.franchise-title p { font-size: 18px; font-weight: 400; color: #dddddd; }

/* 타임라인 레이아웃 (Flex) */
.step-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 80px;
}

/* 각 스텝을 이어주는 가로 연결선 */
.step-wrap::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 5%;
    width: 0; 
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
    transition: width 1s ease-out;
}

#section4.active .step-wrap::before {
    width: 90%;
    transition-delay: 0.2s;
}
.step-wrap .step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* 원형 스텝 번호 디자인 */
.step-wrap .step .step-num {
    width: 80px;
    height: 80px;
    background-color: #111111; /* 배경선 위로 덮도록 어두운 배경 처리 */
    border: 2px solid #ffcc00;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    color: #ffcc00;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

/* 스텝 번호 호버 시 색상 반전 */
.step-wrap .step:hover .step-num {
    background-color: #ffcc00;
    color: #000000;
}

.step-wrap .step h3 { font-size: 20px; font-weight: 600; color: #ffffff; margin-bottom: 15px; }
.step-wrap .step p { font-size: 16px; font-weight: 400; color: #cccccc; }

/* 하단 CTA 버튼 영역 */
.consulting-btn-wrap {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.consulting-btn-wrap .btn-consulting {
    display: inline-block;
    padding: 20px 60px;
    background-color: #ffcc00;
    color: #000000;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.consulting-btn-wrap .btn-consulting::before{
    content: '';
    position: absolute;
    inset: 0;
    width:0;
    height:100%;
    background-color: #6f2f05;
    transition: all .3s ease-in-out;
    z-index: -1;
}
.consulting-btn-wrap .btn-consulting:hover {color: #ffffff;}
.consulting-btn-wrap .btn-consulting:hover::before {width:100%;}

/* =========================================
   스크롤 도달 시 나타나는 효과 (.active)
========================================= */
#section4.active .franchise-title { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
#section4.active .step-wrap .step:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
#section4.active .step-wrap .step:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
#section4.active .step-wrap .step:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
#section4.active .step-wrap .step:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
#section4.active .step-wrap .step:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
#section4.active .consulting-btn-wrap { opacity: 1; transform: translateY(0); transition-delay: 1.0s; }
/* section4 */



.footer{
    padding:30px 0;
    background-color: #000;
    position: relative;
}
.footer .footer_top{
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    gap:20px;
    padding: 0 0 20px 0;
    margin-bottom:10px;
    position: relative;
}
.footer .footer_top::before{
    content: '';
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    height:1px;
    background-color: #ccc;
    opacity: .5;
}

.footer .footer_top a{
    display: block;
    font-size:14px;
    color:#fff;
    transition: all .3s ease-in-out;
}
.footer .footer_top a:hover{color:#6f2f05;}


.footer ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    gap:40px;
}
.footer ul li .img{width:40px}
.footer ul li p{
    font-size:14px;
    color:#ccc;
    text-align: left;
    font-weight: 200;
}
.footer ul li p strong{
    font-size:14px;
    color:#fff;
    font-weight: 600;
}
.footer ul li span{
    display: block;
    font-size:13px;
    text-align: left;
    margin-top:10px;
    color:#fff;
}

.footer .sns{
    position: absolute;
    top:-15px;
    right:0;
    display: flex;
    flex-wrap: nowrap;
    gap:10px;
}
.footer .sns a{
    display: block;
    width:40px;
}
.footer .sns a img{transition: all .3s ease-in-out;}
.footer .sns a:hover img{transform: scale(1.1);}
/* ------------------------------------- section ------------------------------------- */
.scrollline{
    position: fixed;
    bottom: 65px;
    left:50%;
    z-index: 99999;
}
.scrollline span{
    display: block;
    width:2px;
    height:35px;
    background-color: rgba(255, 255, 255, 0.27);
    position: relative;
    overflow: hidden;
}
.scrollline span::before{
    position: absolute;
    content: '';
    width:20px;
    height:20px;
    background-color: #fff;
    top:-20px;
    left:50%;
    transform: translateX(-50%);
    animation: down 2s 1s infinite normal;
}
@keyframes down{
	0% {
		top: -100%;
	}
	100% {top: 100%;}
}

#scrollButton {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    color: #fff;
    padding: 10px 20px;
    border: none;
    z-index: 99999;
    background-color: transparent;
}


/* top_btn */
.topbtn{
    position: fixed;
    bottom:60px;
    right:60px;
    z-index:999;
    width:50px;
    height:50px;
    border-radius: 40px;
    background-color:  #6f2f05;
    transition: all 1s ease;
    transition-delay:2s;
    display: none;
}
.topbtn.on{display: block;}

.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 */
