.menu-column {
    flex: 1;
    padding: 0 10px;
    border-right: 1px solid #ddd; /* 회색 선 추가 */
}

/* 마지막 menu-column에는 오른쪽 보더 제거 */
.menu-column:last-child {
    border-right: none;
}
body.darken::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
}

body {
    line-height: 1.5;
    margin: 0;
    font-family: 'Noto Sans KR', 'Malgun Gothic', 'Dotum', sans-serif;
    font-size: 16px;
}

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 0.5px solid #ddd;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar-white {
    background-color: transparent;
}

.navbar-basic{
    background-color: transparent;
}

.navbar-black {
    background-color: white;
}

.navbar-basic ul li a {
    color: black !important;
}

.navbar.hovered,
.navbar:hover {
    background-color: #ffffff;
    border-bottom: 0.5px solid #ddd;
}
.menu-padding{
    padding-left: 100px !important;
}
.navbar img {
    height: 50px;
    margin-right: 70px;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-grow: 1;
    letter-spacing: 1px;
}

.navbar ul li {
    font-size: 18px;
    margin-right: 20px;
}

.navbar ul li a,
.navbar ul li span,
.menu-column a,
.menu-column span {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s, border-color 0.3s;
    position: relative;
    font-size: 22px;
    font-weight: 700 !important;
}

.navbar.hovered ul li a,
.navbar:hover ul li a,
.menu-column a,
.menu-column span {
    color: #333;
}

.navbar ul li a::after,
.menu-column a::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #027cb5;
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar ul li a:hover,
.navbar ul li a.active,
.menu-column a:hover,
.menu-column a.active {
    color: #027cb5;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after,
.menu-column a:hover::after,
.menu-column a.active::after {
    width: 100%;
    left: 0;
}

.navbar-black ul li a {
    color: black;
}

.navbar-black.hovered ul li a,
.navbar-black:hover ul li a {
    color: #333;
}

.menu-column a {
    display: block;
    margin-top: 20px;
}

.menu-column a:first-child {
    margin-top: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    width: 100%;
    max-width: 100vw;
    /*padding: 20px;*/
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 990;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
}

.dropdown-content .dropdown-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.dropdown-content .title-column {
    flex: 0 0 400px;
    border-right: 1px solid #ddd;
    align-items: center;
    font-weight: 700 !important; /* 600에서 700으로 변경하고 !important 추가 */
}
.title-column {
    min-height: 250px;
    background-color: #027cb5;
    color: white;
    text-align: center;
    padding: 10px 0;
    background: #027cb5 url('/static/img/menubar_2.png') right bottom no-repeat;
    background-size: contain; /* Ensures the entire image fits within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}

.title-column span {
    font-size: 35px !important; /* 개별 폰트 크기 설정 */
}

.dropdown-content .menu-column {
    flex: 1;
    padding: 0 10px;
    margin: 10px 0px 10px 0px;
}

.dropdown-content .menu-column ul {
    display: flex;
    flex-direction: column;
}

.dropdown-content .menu-column ul li {
    margin-bottom: 15px;
    width: 100%;
    text-align: left;
    margin: 1px;
    list-style: none;
    position: relative;
    padding-left: 20px; /* 리스트 아이콘 여백 */
}

.dropdown-content .menu-column ul li::before {
    content: '■'; /* 사각형 리스트 아이콘 */
    position: absolute;
    top: 20px;
    color: #027cb5; /* 사각형 색상 */
    font-size: 6px; /* 사각형 크기 */
    line-height: 1; /* 사각형의 세로 정렬 */
}

.dropdown-content .menu-column ul li a,
.dropdown-content .menu-column ul li span {
    width: 80%;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, font-weight 0.3s ease;
    border-radius: 4px;
    font-weight: 500 !important;
    font-size: 16px;
    position: relative;
}

.dropdown-content .menu-column ul li a::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    /*background-color: red;*/
    background-color: #027cb5;
    transition: width 0.3s ease;
}

.dropdown-content .menu-column ul li a:hover::after {
    width: 100%;
}
/* "전체보기" 메뉴의 li 요소에 대한 hover 스타일 */
#overlay .menu-column ul li a::after {
    left: 0; /* 왼쪽에서 시작 */
    right: auto; /* 오른쪽 위치를 초기화 */
    transition: width 0.5s ease, left 0.5s ease; /* 트랜지션 효과 */
}

#overlay .menu-column ul li a:hover::after {
    width: 100%; /* 전체 너비로 확장 */
}

/* 기본적으로 ::after 요소를 보이지 않게 설정 */
#overlay .menu-column ul li a::after {
    width: 0;
}

/* "전체보기" 메뉴의 li 요소에서만 hover 스타일 */
#overlay .menu-column ul li a:hover {
    color: #027cb5; /* 텍스트 색상 변경 */
}

/* 다른 ::after 스타일 조정 */
#overlay .menu-column ul li a::after {
    content: '';
    display: block;
    position: absolute;
    height: 2px;
    bottom: -2px;
    background-color: #027cb5;
}
.dropdown-content .menu-column ul li a:hover {
    background-color: #f0f0f0;
    color: #027cb5;
    transform: scale(1.02);
    font-weight: 700;
}

.navbar ul li:hover .dropdown-content,
.dropdown-content:hover {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    cursor: pointer;
    border: none;
    margin-left: 20px;
    position: relative;
}

.view-all-btn img {
    height: 100%;
}

.view-all-btn::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    width: 0.5px;
    background-color: #e0e0e0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    justify-content: center;
    align-items: center;
    color: white;
    overflow-y: auto;
    padding: 0;
}

.overlay-content {
    background-color: #ffffff;
    color: #333;
    padding: 20px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* 세로 정렬 */
}

.overlay-content h2 {
    margin-top: 0;
}

.overlay-content .menu-section {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.overlay-content .menu-column {
    flex: 1;
    padding: 10px;
}

.overlay-content .menu-column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.overlay-content .menu-column ul li {
    position: relative;
    padding-left: 20px; /* 리스트 아이콘 여백 */
}

.overlay-content .menu-column ul li::before {
    content: '■'; /* 사각형 리스트 아이콘 */
    position: absolute;
    top: 16px;
    color: #027cb5; /* 사각형 색상 */
    font-size: 6px; /* 사각형 크기 */
    line-height: 1; /* 사각형의 세로 정렬 */
}

.overlay-content .menu-column ul li a {
    font-size: 16px;
    color: black;
    display: block;
}

.overlay-content .menu-column ul li a:hover {
    color: #027cb5;
}

.overlay-content .menu-column ul li.section-title {
    background-color: #027cb5;
    color: white;
    padding: 10px;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 10px;
}


/* 필요한 스타일 추가 */
.overlay .menu-column {
    border: none; /* 또는 border: 0; */
}
.overlay-content .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: black;
}

.fullscreen-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

@media (max-width: 768px) {
    .dropdown-content {
        width: 100%;
        left: 0;
        right: 0;
    }

    .overlay-content {
        flex-direction: column;
    }

    .overlay-content .menu-section {
        flex-direction: column;
    }

    .overlay-content .menu-column {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .overlay-content .menu-column:last-child {
        border-bottom: none;
    }
}

.text-overlay {
    position: absolute;
    /*top: 50%;*/
    /*left: 50%;*/
    top: 40%;
    left: 330px;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    font-size: 50px;
}

.text-overlay p {
    margin: 0;
    line-height: 1.2;
}

.text-shadow {
    text-shadow: 0 0 10px white,
    0 0 20px white,
    0 0 30px white,
    0 0 40px white,
    0 0 50px white;
}

.color-blue {
    color: #027cb5 !important;
}

.color-green {
    color: #30a173;
}

.fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#left-menu ul,
#right-menu ul {
    display: block;
}

#left-menu .menu-column,
#right-menu .menu-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#left-menu .menu-column ul,
#right-menu .menu-column ul {
    display: block;
}
.menu-column ul + span {
    margin-top: 20px; /* 원하는 공백 크기 */
    display: block; /* 블록 요소로 변환 */
}
#left-menu .menu-column li,
#right-menu .menu-column li {
    padding-left: 20px; /* 리스트 아이콘 여백 */
    position: relative;
}

#left-menu .menu-column li::before,
#right-menu .menu-column li::before {
    content: '■'; /* 사각형 리스트 아이콘 */
    position: absolute;
    top: 20px;
    color: #027cb5; /* 사각형 색상 */
    font-size: 6px; /* 사각형 크기 */
    line-height: 1; /* 사각형의 세로 정렬 */
}

/* "전체보기" 메뉴의 li 요소에서만 margin-bottom 제거 */
#overlay .menu-column ul li {
    margin-bottom: 0;
}

#overlay .menu-column ul li {
    margin-bottom: 0;
}

/* 특정 li 요소에 대해 ::before 및 ::after 효과 제거 */
li.section-title::before,
li.section-title::after {
    content: none !important;
}


#locW {
    position: fixed;
    left: 0;
    width: 100%;
    top: 55px;
    z-index: 140;
}
#locW {
    border-bottom: 1px solid #ccc;
    background: #f6f6f6;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
#locW .inner {
    position: relative;
    height: 50px;
    padding-right: 100px;
    border: 1px solid #ccc;
    border-top: 0;
    border-bottom: 0;
}

.inner {
    max-width: 1400px;
    margin: 0 auto;
}#locW .inner > *, #loc > li {
     height: 100%;
 }

#loc {
    display: flex;
    line-height: 1.35;
}
ol, ul {
    list-style: none;
}.clearfix:after {
     content: '';
     display: block;
     clear: both;
 }#loc .home {
      margin-left: 0;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-indent: -999px;
      background: url(/static/img/ico-home.png) center center no-repeat;
      width: 50px;
      border-right: 1px solid #ccc;
  }
#locW .inner > *, #loc > li {
    height: 100%;
}
#loc > li {
    position: relative;
    position: relative;
    /*border-right: 1px solid #ccc;*/
}
#loc > li::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    transform: rotate(135deg);
    right: 10px; /* 화살표의 위치 조정 */
    top: 50%; /* 중앙에 위치하도록 */
    transform: translateY(-50%) rotate(135deg); /* 수직으로 중앙 정렬 및 화살표 회전 */
}
/* 마지막 요소에는 화살표를 표시하지 않음 */
#loc > li:first-child::after,
#loc > li:last-child::after {
    content: none;
}
#locW .inner > *, #loc > li {
    height: 100%;
}#loc > li > a {
     display: table;
     height: 100%;
     width: 100%;
     padding: 0 1.25rem;
 }
a {
    text-decoration: none;
    color: inherit;
}#loc .depth {
     position: absolute;
     border: 1px solid #ccc;
     left: 0;
     top: 100%;
     width: 100%;
     display: none;
     z-index: 149;
     color: #777;
     font-size: .938em;
     font-weight: 400;
     background: #f7f7f7;
     padding: 0 1.25rem;
     max-height: 800px;
     overflow-y: auto;
 }

#loc .depth {
    display: none;
}#loc > li > a span {
     display: table-cell;
     vertical-align: middle;
     position: relative;
     padding-right: 25px;
     /*background: url(../img/common/ico-sel.png) right center no-repeat;*/
 }#loc .depth li:first-child {
      border-top: 0;
  }

#loc .depth li {
    border-bottom: 1px solid #ddd;
    height: 50px;
    display: table;
    width: 100%;
    position: relative;
}#loc .depth a {
     display: table-cell;
     vertical-align: middle;
 }

a {
    text-decoration: none;
    color: inherit;
}

#loc .depth li:after{
    position: absolute;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    transform: rotate(135deg);
    right: 0;
    top: 50%;
    content: '';
    margin-top: -4px;
}


.pc-image {
    display: block;
}

.mobile-image {
    display: none;
}

/* 모바일에서는 mobile_contents1.png 이미지를 보여줌 */
@media (max-width: 800px) {
    .pc-image {
        display: none;
    }

    .mobile-image {
        display: block;
    }
}




