.tab-box .tab-inner ul.tab-ul01.row04 {margin-top: 12px}
	
/* PC 버전 기본 스타일 유지 */
.tab-3depth { display: flex; justify-content: center;}
.tab-3depth ul { width: auto; margin: auto; display: inline-flex; border-radius: 8px; border: 1px solid #ddd; overflow: hidden; margin-bottom:80px;}
.tab-3depth ul li { width: 200px; border-right: 1px solid #ddd; }
.tab-3depth ul li:last-child { border-right: 0; }
.tab-3depth ul li a { display: block; padding: 10px; color: #111; font-size: 20px; font-weight: 400; text-align: center; }
.tab-3depth ul li a.active { background: #01367E; font-weight: 700; color: #fff; }

/* 모바일 기본 구조 정의 */
.tab-select-mobile { display: none; }


.tab-4depth{border-bottom:1px solid #ddd;}
.tab-4depth ul {display:flex;}
.tab-4depth ul li a{display:block; padding: 17px 20px; font-size:18px; font-weight:600; color:#666666;}
.tab-4depth ul li a.active{color:#01367E;}


.tab-3depth ul li a,
.tab-4depth ul li a{min-height:auto;}


@media (max-width:1024px){
	.tab-3depth ul{margin-bottom:40px;}
}

/* ==========================================================================
   768px 이하 반응형 제어
   ========================================================================== */
@media (max-width: 768px) {
    /* 기존 PC용 가로 탭 list는 숨김 */
    .tab-3depth ul {
        display: none !important;
		margin-bottom: 20px; /* 주변 레이아웃과 확실하게 격리 */
    }
    
    /* 1. ★ 부모 컨테이너가 축소되거나 유령 좌표가 되지 않도록 완전히 독립된 블록으로 격리 */
    .tab-3depth {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto; /* 높이가 0이 되는 것을 방지 */
        min-height: 48px; /* 셀렉트 박스 높이만큼 최소 공간 보장 */
        box-sizing: border-box;
        clear: both; /* 혹시 모를 float 꼬임 방지 */
    }

    /* 2. ★ 셀렉트 박스 자체 정렬 및 성질 강화 */
    .tab-select-mobile {
        display: block;
        position: relative; /* 뷰포트 좌표 연산의 명확한 기준점 제공 */
        width: 100%;
        height: 48px;
        padding: 0 45px 0 15px;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        color: #111;
        cursor: pointer;
        box-sizing: border-box;
		margin-bottom:20px;
        
        /* 브라우저 기본 UI 성질을 유지하면서 화살표만 지우도록 선언 */
        -webkit-appearance: none ;
        -moz-appearance: none ;
        appearance: none ;
    }
    
    /* 3. 화살표 가상요소 위치 세부 교정 */
    .tab-3depth::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        width: 14px;
        height: 8px;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.25s ease-in-out;
        pointer-events: none;
        
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.353577 0.353516L7.85358 7.85352L15.3536 0.353516' stroke='black'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        z-index: 10;
    }

    /* 셀렉트가 열렸을 때 화살표 회전 */
    .tab-3depth.is-open::after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
	
	.tab-4depth {
        display: block;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .tab-4depth ul {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
    }

    .tab-4depth ul li {
        flex: 0 0 auto;
        width: auto;
    }
    
    .tab-4depth::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
        background: transparent;
    }
    
    .tab-4depth {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/*.admission-mba-tab{display:none;}*/