.elementor-40 .elementor-element.elementor-element-98ba246{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-50765b4 *//* ==============================================
 * 1. 헤더 기본 구조
 * ============================================== */
#custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color .3s ease, border-bottom .3s ease, color .3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.15); /* 초기 투명상태 라인 */
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 120px;
    transition: height 0.3s ease;
}

/* ==============================================
 * 2. 헤더 상태 (Transparent / Scrolled)
 * ============================================== */

/* [상태 1] 투명 헤더 (페이지 최상단) */
#custom-header.header-transparent {
    background-color: transparent;
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}
/* 투명 상태에서 호버시 -> 흰색 배경으로 변경 (가독성 확보) */
#custom-header.header-transparent:hover,
#custom-header.is-gnb-hover {
    background-color: #fff;
    color: #555;
    border-bottom-color: #eee;
}

/* [상태 2] 스크롤 된 헤더 (흰색 배경) */
#custom-header.header-scrolled {
    background-color: #fff;
    color: #555;
    border-bottom: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}
/* 스크롤 시 헤더 높이 약간 축소 (옵션) */
#custom-header.header-scrolled .header-inner {
    height: 100px;
}

/* ==============================================
 * 3. 로고 및 아이콘 제어
 * ============================================== */
.logo-area img {
    height: 50px;
    display: none; /* 기본 숨김 */
}
.hamburger-menu img {
    height: 18px;
    display: none; /* 기본 숨김 */
}

/* 투명 상태일 때: 흰색 로고 노출 */
#custom-header.header-transparent .logo-white,
#custom-header.header-transparent .hamburger-menu .ham-white {
    display: block;
}
/* 호버 하거나 스크롤 되었을 때: 컬러/검정 로고 노출 */
#custom-header.header-transparent:hover .logo-white,
#custom-header.header-transparent:hover .hamburger-menu .ham-white,
#custom-header.header-scrolled .logo-white,
#custom-header.header-scrolled .hamburger-menu .ham-white {
    display: none;
}

#custom-header.header-transparent:hover .logo-color,
#custom-header.header-transparent:hover .hamburger-menu .ham-black,
#custom-header.header-scrolled .logo-color,
#custom-header.header-scrolled .hamburger-menu .ham-black {
    display: block;
}

/* ==============================================
 * 4. PC 메인 메뉴 (GNB)
 * ============================================== */
.main-menu-area {
    width: 100%;
    max-width: 1000px;
}
.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}
.main-nav > li {
    position: relative;
    text-align: center;
    width: calc(100% / 4);
}
.main-nav a {
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    color: inherit;
    line-height: 100px; /* 헤더 높이와 일치 */
    display: inline-block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-family: "Exo 2";

}
/* 스크롤 시 라인하이트 조정 */

.main-nav a:hover {
    transition: all 0.3s ease-out;
    color: #111;
}

/* 서브메뉴 드롭다운 */
.submenu-bg {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    height: 280px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility 0s .2s;
    z-index: 1;
}
.submenu-content {
    position: absolute;
    top: 100%;
    color: #000;
    height: 280px;
    width: 100%;
    left: 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility 0s .2s;
    z-index: 2;
}
.main-nav > li:hover .submenu-content {
    border-top: 1px solid #111;
    background-color: #f9f9f9;
}
.submenu-content ul {
    list-style: none;
    padding: 25px 0;
    margin: 0;
}
.submenu-content li a {
    text-decoration: none;
    color: #555;
    display: block;
    padding: 10px 0;
    line-height: 24px;
    transition: color .2s;
    font-size: 17px;
    font-family: "Exo 2";
    font-weight: 400;
}
.submenu-content li a:hover {
    color: #111;
}
.main-menu-area.is-active .submenu-bg,
.main-menu-area.is-active .submenu-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

/* ==============================================
 * 5. 버튼 영역 (Contact, Lang, Ham)
 * ============================================== */
.button-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-btn.contact-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    padding: 0;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.3s;
}
.contact-btn.contact-icon-btn svg {
    width: 22px;
    height: 22px;
}
.contact-icon-btn:hover {
    background-color: rgba(128, 128, 128, 0.2);
}

/* ==============================================
 * 6. 다국어 선택기 (Language Selector)
 * ============================================== */
.lang-menu {
    position: relative;
}
.lang-toggle {
    display: none; /* JS로 제어되거나 필요시 flex */
    /* display: flex; */
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.lang-toggle .icon-globe {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}
.lang-toggle:hover {
    background-color: rgba(128, 128, 128, 0.2);
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 5px;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
}
.lang-menu.is-active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}
.lang-dropdown a:hover {
    background-color: #f5f5f5;
    color: #e50012;
}
.lang-dropdown a img {
    margin-right: 5px;
}

/* ==============================================
 * 7. 오프캔버스 메뉴 (모바일/태블릿)
 * ============================================== */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: #fff;
    z-index: 1001;
    transition: right .4s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    border-left: 1px solid #eee;
}
.offcanvas-menu.is-open {
    right: 0;
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #333;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
}
.offcanvas-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* 오프캔버스 내부 스타일 */
.offcanvas-menu .offcanvas-nav {
    list-style: none;
    padding: 0;
    margin-top: 60px;
}
.offcanvas-menu .offcanvas-nav li {
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}
.offcanvas-menu .offcanvas-nav a {
    text-decoration: none;
    color: #555;
    font-size: 16px;
    display: block;
    padding: 15px 10px;
    font-weight: 500;
}
.offcanvas-menu .offcanvas-nav a:hover {
    color: #111;
}
.offcanvas-menu .offcanvas-nav li.has-submenu > a {
    position: relative;
}
.offcanvas-menu .offcanvas-nav li.has-submenu > a::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s;
}
.offcanvas-menu .offcanvas-nav li.has-submenu.is-open > a::after {
    content: '-';
}

/* 오프캔버스 서브메뉴 */
.offcanvas-menu .submenu-content {
    display: none;
    position: static;
    height: auto;
    background-color: #f8f8f8;
    opacity: 1;
    visibility: visible;
    padding: 0;
    transform: none;
    transition: none;
    border-top: none;
    box-shadow: none;
}
.offcanvas-menu .submenu-content ul {
    padding: 10px 0;
}
.offcanvas-menu .submenu-content a {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    padding: 10px 10px 10px 30px;
    line-height: 1.5;
}
.offcanvas-menu .submenu-content a:hover {
    color: #111;
    background: #f9f9f9;
}

/* 오프캔버스 언어 메뉴 */
.offcanvas-menu .lang-menu.offcanvas-lang {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: none !important; /* 기본 숨김, 필요시 미디어쿼리에서 block 처리 */
}
.offcanvas-menu .lang-menu.offcanvas-lang .lang-toggle {
    display: none;
}
.offcanvas-menu .lang-menu.offcanvas-lang .lang-dropdown {
    position: static;        
    display: flex;       
    gap: 10px;              
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    margin: 0;
    padding: 0;
}
.offcanvas-menu .lang-menu.offcanvas-lang .lang-dropdown li {
    flex: 1; 
}
.offcanvas-menu .lang-menu.offcanvas-lang .lang-dropdown a {
    display: flex;
    justify-content: center; 
    align-items: center;
    height: 40px;             
    border: 1px solid #e1e1e1;
    border-radius: 5px;       
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    padding: 0;              
}
.offcanvas-menu .lang-menu.offcanvas-lang .lang-dropdown a.current-lang {
    background: #333;
    color: #fff;
    border-color: #333;
}
.offcanvas-menu .lang-menu.offcanvas-lang .lang-dropdown a:hover {
    border-color: #e50012;
    color: #e50012;
    background: #fff;
}
.offcanvas-menu .lang-menu.offcanvas-lang .lang-dropdown a img {
    margin-right: 6px; 
    vertical-align: middle;
    width: 20px;        
}

/* ==============================================
 * 8. Scroll to Top 버튼
 * ============================================== */
#scroll-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    width: 110px;
    height: 110px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
#scroll-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scroll-to-top-btn svg {
    width: 100%;
    height: 100%;
}
#scroll-to-top-btn text {
    font-size: 28px; 
    font-family: "Exo 2", serif;
    fill: #dddddd;
}
.rotating-text {
    animation: rotateText 30s linear infinite;
    transform-origin: center;
    display: block;
}
@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.fixed-arrow {
    stroke: #ddd;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ==============================================
 * 9. 반응형 미디어쿼리
 * ============================================== */
@media(max-width: 1600px) {
    .header-inner {
        padding: 0 50px !important;
    }
}
@media(max-width: 1400px) {
    .main-menu-area {
        display: none;
    }
}
@media(max-width: 1300px) {
    .header-inner {
        height: 70px !important;
        padding: 0 20px !important;
    }
    .logo-area img, .hamburger-menu img {
        height: 28px !important;
    }
}
@media(max-width: 776px) {
    /* 모바일에서는 항상 흰 배경 */
    #custom-header,
    #custom-header.header-transparent,
    #custom-header.header-scrolled {
        background-color: #fff !important;
        color: #111 !important;
        border-bottom: 1px solid #eee !important;
    }
    #custom-header .logo-color,
    #custom-header .hamburger-menu .ham-black {
        display: block !important;
    }
    #custom-header .logo-white,
    #custom-header .hamburger-menu .ham-white {
        display: none !important;
    }
    #scroll-to-top-btn {
        display: none !important;
    }
}
@media(max-width: 500px) {
    .contact-btn {
        display: none !important;
    }
    #custom-header .lang-menu {
        display: none !important;
    }
}/* End custom CSS */