/* 기본 변수 설정 */
:root {
    --primary-color: #004494;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --header-bg: #fff;
    --footer-bg: #2c3e50;
}

/* 기본 스타일 */
* {
    font-family: 'NanumSquareAc', sans-serif !important;
}

body {
    font-family: 'NanumSquareAc', sans-serif !important;
    color: var(--text-color);
    line-height: 1.6;
}

/* 기본 링크 스타일 */
a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 타이포그래피 */
h1 {
    font-size: 64px;
    font-weight: bold;
    color: #333;
	margin:0;
}

h2 {
    font-size: 40px;
    color: #333;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

li {
    list-style: none;
}

/* 레이아웃 */
.lay_1440 {
    width: 1440px;
    margin: auto;
}

.lay_1200 {
    width: 1200px;
    margin: auto;
}

/* 페이지 배너 */
.page_banner {
    width: 100%;
    height: 300px;
    padding-top: 100px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    margin-top: 126px;
    text-align: center;
}

.page_banner p {
    color: #fff;
    margin: 0;
}

.page_banner h2 {
    color: #fff;
    margin: 0;
}

.banner_business {
    background-image: url('/theme/jbtourbiz/img/site/sub/sub_ban02.png');
}

.banner_board{
	background-image: url('/theme/jbtourbiz/img/site/sub/sub_ban05.png');
}

.banner_intro{
	background-image: url('/theme/jbtourbiz/img/site/sub/sub_ban01.png');
}

.banner_corpor{
	background-image: url('/theme/jbtourbiz/img/site/sub/sub_ban03.png');
}

.banner_reservation{
	background-image: url('/theme/jbtourbiz/img/site/sub/sub_ban04.png');
}

.banner_login{
	background-image: url('/theme/jbtourbiz/img/site/sub/sub_banner.jpg');
}
/* 섹션 마진 */
.section_margin {
    margin-top: 80px;
}

/* 본문 바로가기 */
.skip_to_content {
    position: absolute;
    top: -999px;
    left: 0;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    z-index: 9999;
}

.skip_to_content:focus {
    top: 0;
}

/* 헤더 스타일 */
#hd {
    position: fixed;
    z-index: 1000;
    width: 100%;
	min-width:1440px;
    top: 0;
}

.container {
}

.hd_top {
    background: #e8e8e8;
    border-bottom: 1px solid #eee;
}

.hd_top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 45px;
    width: 1440px;
}

/* 소셜 링크 */
.sns_links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

.sns_links .sns_link {
    display: flex;
    align-items: center;
}

.sns_links .sns_link img {
    width: 24px;
    height: 24px;
}

/* 회원 링크 */
.member_links {
    display: flex;
    gap: 20px;
}

.member_links a {
    color: #666;
    font-size: 14px;
}

.member_links a:hover {
    color: var(--primary-color);
}

/* 중간 헤더 */
.hd_mid {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.hd_mid .container {
    display: flex;
    align-items: center;
    height: 80px;
    position: relative;
    width: 1440px;
}

/* 로고 */

.logo img {
    width: 100%;
}

/* 전체 메뉴 버튼 */
.all_menu {
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 30px;
    display: none;
}

.all_menu span {
    font-size: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: relative;
}

.all_menu span:before,
.all_menu span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
}

.all_menu span:before {
    top: -8px;
}

.all_menu span:after {
    bottom: -8px;
}

/* GNB 메뉴 */
.gnb {
    flex: 1;
}

.gnb .nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
}

.gnb_bg {
    position: fixed;
    display: block;
    left: 0;
    width: 100%;
    height: 0;
    z-index: -1;
    top: 126px;
    background-color: #fff;
    transition: all 0.1s;
}

.gnb .nav-item {
    position: relative;
    padding: 0 40px;
}

.gnb .nav-link {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    height: 80px;
    padding-top: 30px;
}

.gnb .nav-link:hover {
    color: var(--primary-color);
}

/* 드롭다운 메뉴 */
.gnb .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    display: none;
    overflow: hidden;
    width: 100%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.1);
    padding: 0;
    margin-top: 2px;
    border-left: 1px solid #efefef;
    border-right: 1px solid #efefef;
}

.gnb .nav-item:hover .dropdown-menu {
    display: block;
}

.gnb .dropdown-item {
    display: block;
    padding: 20px;
    color: #333;
    font-size: 17px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gnb .dropdown-item:hover {
    font-weight: bold;
}

.gnb .dropdown-item:last-child {
    border-bottom: none;
}

/* 푸터 스타일 */
#ft {
    background: #e8e8e8;
    color: #404040;
    padding: 40px 0 20px;
    margin-top: 50px;
	min-width:1440px;
}

#ft .container {
    display: flex;
    flex-wrap: wrap;
    width: 1440px;
    justify-content: space-between;
}

#ft .container:before,
#ft .container:after {
    display: none;
}

#ft h5 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 17px;
    border-bottom: 1px solid #333;
    padding: 5px 20px;
}

#ft h5:after {
    font-family: 'FontAwesome';
    content: '\f107';
    margin-left: 10px;
}

/* 푸터 링크 */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 5px 0;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* 푸터 하단 */
.ft_bottom {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.ft_bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft_bottom .ft_link {
    display: flex;
    gap: 20px;
}

.ft_bottom .ft_link a {
    color: #fff;
    text-decoration: none;
}

.ft_bottom .ft_link a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.ft_bottom .copyright {
    color: rgba(255,255,255,0.7);
}


/* 푸터 링크 박스 */
#ft .col-md-4 {
    width: auto;
}

.footer-link-box .footer-links {
    display: flex;
    margin-bottom: 30px;
}

.footer-link-box .footer-links a {
    color: #333;
    font-size: 15px;
}

.footer-link-box .footer-links a:after {
    content: '|';
    margin: 0 15px;
}

/* 관련사이트 드롭다운 */
.related-sites-container {
    position: relative;
}

.related-sites-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.related-sites-btn h5 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-sites-dropdown {
    display: none;
    position: absolute;
    top: 0%;
    right: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

.related-sites-dropdown li {
    list-style: none;
}

.related-sites-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.related-sites-dropdown a:hover {
    background-color: #f5f5f5;
}



/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* 모바일 메뉴 토글 버튼 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
}

/* 스크롤 최상단 버튼 */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background: #003366;
    transform: translateY(-3px);
}

/* 활성화된 메뉴 스타일 
.gnb .nav-item.active .nav-link {
    color: var(--primary-color);
    font-weight: 600;
}

.gnb .nav-item.active .nav-link:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}
*/
/* 소셜 미디어 아이콘 전환 효과 */
.sns_links .sns_link {
    transition: transform 0.3s ease;
}

/* 푸터 링크 전환 효과 */
.footer-links a {
    transition: transform 0.3s ease;
}

/* 회원 아이콘 수정 */
.member-icon {
    margin-left: 10px;
}

.member-icon img {
    width: 20px;
    height: 20px;
} 

/* latest title */
.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.latest-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    position: relative;
    padding-left: 15px;
}

.latest-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #007bff;
    border-radius: 2px;
}

.more-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.more-link:hover {
    color: #007bff;
    background: rgba(0,123,255,0.1);
}


.mobile-menu-footer{
	display:none;
}