@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap");
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');


/* 공통 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #222;
}

ul li {
    list-style: none;
}

/* PC 버전 스타일 */
@media (min-width: 1024px) {
    .mobile-only {
        display: none !important;
    }
    .subHeader {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        box-sizing: border-box;
        border-bottom: 1px solid #eee;
    }

    .top-nav {
        position: relative;
        margin: 0 auto;
        width: 1300px;
    }

    #total-menu {
        background: url('https://demo.tripz.kr/home/images/menu-burger.svg') left center no-repeat;
        background-size: 30px 20px !important;
    }

    #total-menu a {
        padding-left: 20px;
    }

    .nav-list {
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .subHeader .nav-list {
        width: 100%
    }



.top-nav .nav-item {
    padding: 11px 10px 13px 10px;    /* 상 우 하 좌 순서 */
    white-space: nowrap;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    text-align: center;
    font-weight: 700 !important;
    font-size: 18px !important;
	color: #666;
}


    .nav-item a {
        text-decoration: none;
        color: #333;
    }

    .nav-item.active {
        border-bottom: 2px solid #0095ff;
    }

    .nav-item.active a {
        color: #0095ff;
    }

    .menu_2depth {
        background: #fff;
        height: 52px;
        position: relative;
        z-index: 99;
    }

    .region-nav {
        display: flex;
        align-items: center;
        height: 100%;
        margin: 0 auto;
        width: 1300px;
        position: relative;
    }

    .region-nav ul.region-list li {
        vertical-align: unset;
        padding: unset !important;
        margin: 0 10px;
        min-width: 50px;
        text-align: left;
    }

    .region-list {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 15px;
        height: 60px;
    }

    .region-list>li>a {
        height: 100%;
        position: relative;
        display: block;
        width: 100%;
        color: #0095ff; !important;
        font-size: 18px;
        font-weight: 600;		
    }

    .region-item.active>a {
        color: #0095ff;
    }

    .submenu-panel {
        display: flex;
        justify-content: flex-start;
    }

    .submenu-group {
        width: 336px;
        min-width: 336px;
        max-width: 336px;
        float: left;
        display: inline-block;
        overflow: hidden;
        margin-right: 45px;
        margin-bottom: 30px;
    }
	.submenu-group a:hover {
	color:#0095ff !important;
	}

    .menu_3depth {
        display: none;
        position: absolute;
        z-index: 20;
        text-align: left;
        background-color: #fff;
        top: 60px;
        border: 1px solid #eee;
        padding: 30px 30px 0;
        box-shadow: rgba(0, 0, 0, .1) 5px 5px 7px;
        width: 100%;
        max-width: 1300px;
        left: 0;
    }

    .menu_3dep_tit {
        color: #303030;
        font-size: 17px;
        width: unset;
        padding-bottom: 15px !important;
        border-bottom: 1px solid #303030;
        position: relative;
        display: block;
        margin: 0;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu_4depth {
        margin-top: 15px;
    }

    .menu_4depth a {
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: unset;
        color: #303030;
        font-weight: 500;
        line-height: 25px;
        font-size: 16px;
    }

    .menu_4depth li {
        height: unset;
        float: unset;
        vertical-align: unset;
        padding: unset !important;
        min-width: 50px;
    }

   
}

/* 모바일 버전 스타일 */
@media (max-width: 1023px) {
    .pc-only {
        display: none !important;
    }
	body {
        overflow-y: hidden;
    }

	.btm_nav_container {
        width: 100%;
        margin: 0 auto;
        background: white;
        min-height: 100vh;
        z-index: 99;
        position: fixed;
        top: 0;
        left: 0;
        display: none;
    }


.btm_nav_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;

}

    .btm_nav_container.show {
        display: block;
    }



    .btm_nav_header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #eee;
        background: white;
    }

    .btm_nav_header h1 {
        font-size: 17px;
        font-weight: normal;
    }

    .menu-container {
        display: flex;
        height: calc(100% - 50px);
        overflow-y: auto;
    }



.close-btn {
    color: red;
    font-size: 30px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
	padding: 5px 10px;
}


/* 사이드바 영역 수정 */
.sidebar {
    width: 120px;
    background: #f8f8f8;
    padding: 10px 0;
    overflow-y: auto;
    height: 100%;
}

.sidebar-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
}

.sidebar-item.active {
    background: white;
    color: #1a73e8;
}

/* 컨텐츠 영역 수정 */
.content {
    flex: 1;
    padding: 15px;
    overflow-y: auto; /* 스크롤 허용 */
    height: 100%; /* 높이 100% 설정 */
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 지원 추가 */
    overscroll-behavior: contain; /* 오버스크롤 동작 제어 */	
}

/* 스크롤바 스타일링 (선택사항) */
.content::-webkit-scrollbar {
    width: 5px;
}

.content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.content::-webkit-scrollbar-track {
    background: #f1f1f1;
}


    .region-content {
        display: none;
    }

    .region-content.active {
        display: block;
    }

    /* 서브메뉴 구조 수정 */
    .region-item {
        display: block;
        padding: 15px;
        font-size: 15px;
        color: #333;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        background: white;
        position: relative;
    }

    .region-item.active {
        color: #0095ff;
    }

    .region-item::after {
        content: '>';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #ccc;
        font-size: 12px;
    }
	
	/*region-item의 가운데 >가 생기는 문제*/
	
	/*
	.region-item:last-child:after {
	content:""
	}*/

    .submenu {
        display: none;
        background: white;
        padding: 0;
        margin: 0;
    }

    .submenu.active {
        display: block;
    }

    .menu-item, .menu-item-4depth {
        padding: 13px 15px;
        font-size: 14px;
        color: #666;
        display: block;
        border-bottom: 1px solid #f5f5f5;
        position: relative;
    }
	
	/*
	.menu-item::after {
        content: '>';
        position: absolute;
        right: 15px;
        color: #ccc;
        font-size: 12px;
    }
	
	
	.menu-item:last-child:after{
		content:""
	}
	*/
	
	
	.menu-item-4depth::after{
		content: '>';
        position: absolute;
        right: 15px;
        color: #ccc;
        font-size: 12px;
	}
	
	.menu-item {
		position: relative;
		cursor: pointer;
	}
	.menu-item.active {
		color:blue;
	}

	.menu-item-4depth {
		display: none;
		padding-left: 20px;
	}

	.menu-item.active .menu-item-4depth {
		display: block;
	}


    /* 하단 네비게이션 */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: white;
        border-top: 1px solid #eee;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        z-index: 1001;
        /* 메뉴보다 위에 */
    }

    .nav-icon {
        font-size: 18px;
        margin-bottom: 4px;
        align-items: center;		
    }
	

	.bottom-nav .nav-item {
		    display: flex;
    flex-direction: column;
    align-items: center;
	}
	
/* a 태그를 포함하는 nav-item에 대한 스타일 추가 */
.bottom-nav .nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;  /* 너비를 100%로 설정하여 부모 요소 크기만큼 차지 */
}	
	
}




.mobile-tab-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.mobile-category {
    margin-left: 0.5rem;
}

.mobile-group {
    margin: 0.5rem 0 0.3rem;
    color: #666;
    font-size: 0.95rem;
    padding-left: 1rem;
}

.mobile-items {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.mobile-item a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 0.3rem 0;
}
