*{
    padding:0;
    margin:0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
    a{text-decoration: none;}
    li{list-style: none;}
}

.container_wrap_6 .sub_typo p br{
    display:none;
}
.course-5 a br{
    display:none;
}

 /* 모바일 탭 하이라이트(파란 박스/파란 배경) 제거 */
 a, button, label, input, select, textarea, .menu-category-header {
    -webkit-tap-highlight-color: transparent;
    }


/* 폰트 프리텐다드 */
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* 위로가기버튼 */
#scrollTopBtn {
    display: none; 
    position: fixed; 
    right: 40px; 
    bottom: 40px; 
    z-index: 99999;
    background: #063ACE; 
    color: #fff; 
    border: none; 
    outline: none; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    font-size: 28px; 
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
    transition: background 0.2s, opacity 0.25s;
    opacity: 0.9;
}
#scrollTopBtn:hover {
    background: #425bbd;
    opacity: 1;
}



/* 공통부분 */
.inner_1350 {width:1350px; margin:0 auto;}
.flex_between{display:flex; justify-content:space-between; align-items:center;}

/* 헤더의 탑부분 */
.pc_header_top{display: flex; align-items: center; height:44px; background-color:#fff; border-bottom:1px solid #e2e2e3; }

/* 모바일 헤더 (기본 숨김) */
.mobile_header {
    display: none;
}
/* 전기기사 국비과정 */
 .top_left {display:flex; align-items:center;gap:10px;}
 .top_left p{font-size:16px; font-weight:300; color:#212121;}
 .top_left span{color:#063ACE; font-weight:700;}
 /* 로그인 */
 .top_right ul{display: flex; align-items:center; width:100%;}
 .top_right ul li{position: relative;padding-left:25px; font-size:14px;}
 .top_right ul li:hover{font-weight:700;}
 .top_right ul li::after{content:''; width:1px; height:100%; background:#ccc; position:absolute; 
    left:13px;top:0;}
 .top_right ul li:first-child::after{display:none;}


 /* 탭 부분 나중부분 */

 /* 헤더의 gnb 부분 */
 .pc_header{height:100%; border-bottom:1px solid #e7e7e7; }
 .pc_header .navbar{display: flex; align-items: center;  }
 .pc_header .logo{}
 .pc_header .logo a{display: flex; }
 .pc_header .logo a img{width:80%; }
 .fa-solid{font-size:25px;}
 .pc_header .menu{display: flex; align-items: center; }
 .pc_header .menu .item{position: relative; width:144px; display: flex; align-items: center; justify-content: center; }
 .pc_header .menu .item a{display: flex; align-items: center; height:100%; font-size:20px; font-weight:500; letter-spacing:-0.5px; color:#000; }
 .gnb {margin-left:0;}
 .gab_right{width:400px; height:40px;}
 .gnb > li {padding:0 20px;}
 .gnb > li > a{
    display: block;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    height: 55px;
    padding: 27px 0 0;
    margin-bottom: 20px;
 }
 .gnb > li .active, .gnb > li:hover a{
    border-bottom: 2px solid #000;
    font-weight: 900;
 }
 .gnb > li:nth-child(2) > a{color:#EA3434;}
 .gnb > li:nth-child(6) > a{color:#212121;;}
.gab_right .gab_right_button{
    background-color: #FAFAFA;
    border:2px solid #093ace;
    width:100%;
    height:100%;
    border-radius: 50px;
    font-size:18px;
    font-weight:500;
    padding:0 20px;
}

/* 전체 메뉴 토글 버튼 */
.menu-toggle-btn {
    cursor: pointer;
}
.menu-toggle-btn i:hover {
    /* 메뉴 오버시 아이콘 효과과 */
    transform: rotate(180deg);
    transition: all 0.3s ease;
}
/* 전체 메뉴 오버레이 */
.full-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height:100vh;
    
}


.full-menu-overlay.open {
    display: block;
    justify-content: center;
    align-items: center;
    opacity: 1;
    width:100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* 전체 메뉴 컨테이너 */
.full-menu-container {
    position: relative;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    z-index: 10000;
}
.full-menu-overlay.open .full-menu-container {
    transform: scale(1);
}

/* 전체 메뉴 헤더 */
.full-menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e7e7e7;
    width: 75%;
    margin: 0 auto;
    position: relative;
}
.full-menu-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #212121;
    margin: 0;
}
.full-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    position: absolute;
    right: 0;
}
.full-menu-close:hover {
    color: #063ACE;
    transform: rotate(90deg);
}

/* 전체 메뉴 콘텐츠 */
.full-menu-content {
    padding: 20px 0;
    margin: 0 auto;
    width:75%;
    position: relative;
}

/* 모바일 전용 메뉴 (PC에서 숨김) */
.mobile-full-menu {
    display: none;
}

/* 
@media screen and (min-width: 769px) {
    .full-menu-categories,
    .full-menu-user-section,
    .full-menu-divider {
        display: none;
    }
} */

.menu-category-item {
    border-bottom: 1px solid #e2e2e3;
}

.menu-category-item:last-child {
    border-bottom: none;
}

.menu-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    user-select: none;
}

.category-title {
    font-size: 18px;
    font-weight: 500;
    color: #212121;
}

.category-icon {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
}

.category-icon.open {
    transform: rotate(180deg);
}

.menu-category-list {
    display: none;
    padding: 0 0 15px 0;
    list-style: none;
}

.menu-category-list.active {
    display: block;
}

.menu-category-list li {
    padding: 8px 0;
}

.menu-category-list a {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.menu-category-list a:hover {
    color: #063ACE;
}
.full-menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.full-menu-list li {
    padding: 0;
}
.full-menu-list li a {
    display: block;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 500;
    color: #212121;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.full-menu-list li a:hover {
    background-color: #f5f5f5;
    color: #063ACE;
    border-color: #063ACE;
    transform: translateX(10px);
}

/* 전체 메뉴 딤 */
#fullMenuDim {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#fullMenuDim.open {
    display: block;
    opacity: 1;
}
/* 전체 서브 메뉴 (PC 전용) */
.full-menu-columns {
    display: flex;
    gap: 48px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px;
    flex-wrap: wrap;
}

.full-menu-category {
    min-width: 170px;
    max-width: 200px;
    list-style: none;
    padding: 0 12px;
    margin: 0;
    text-align: center;
}

.category-title {
    font-weight: 700;
    font-size: 20px;
    background: #fafbfc;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 7px 19px;
    display: inline-block;
    margin-bottom: 12px;
}
.full-menu-category a {
    color: #212121;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.2;
}
.full-menu-category a:hover {
    color: #093ACE;
    font-weight: 700;
    text-decoration: underline;
}

/* 메인슬라이드 */

/* 컨테이너 부분 */

.cont_pd_60{padding:60px 0;}
.cont_pd_30{padding:30px 0;}
h2{font-size:45px; font-weight:800; color:#212121; line-height:1.5; text-align:center;}
/* 컨테이너 1 */
/* PC에서 모바일 전용 요소 숨기기 */
.mobile_ingang_btn,
.mobile_jikyoung_btn {
    display: none;
}



.container_wrap_1 ul{
    flex-wrap: wrap;
    gap: 15px;
}
.container_wrap_1 li{
    width:23%;
}
.container_wrap_1 li a{
    border-radius: 99px;
    height:70px;
    border:1px solid #ccc;
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding:0 20px;
    font-size:22px;
    font-weight:500;
    color:#212121;
}
.container_wrap_1 li a img:first-child{
    display:block;
}
.container_wrap_1 li a img:last-child{
    display:none;
}
.container_wrap_1 li a:hover{
    background-color:#063ACE;
    color:#fff;
    img:first-child{display:none;}
    img:last-child{display:block;}
    transition: all 0.3s ease;
    transform: translateX(10px);
    border: none;
}
.container_wrap_1 li a:hover img:first-child{
    display: none;
}
.container_wrap_1 li a:hover img:last-child{
    display: block;
}


/* 컨테이너2 (진행중인 이벤트)*/
.container_wrap_2{
    background-color:#F4F4F4;
}
.container_wrap_2 ul{
    flex-wrap: wrap;
    gap: 34px;
}
.container_wrap_2 li{
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
    height:256px;
    border:1px solid #ccc;
    padding:30px;
    border-radius: 15px;
    width:31.5%;
    background-color:#fff;
    position:relative;
}
.container_wrap_2 li .event_inner{
    height:100%;
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.container_wrap_2 li a{
    position:relative;
}
.container_wrap_2 li a .event_title{
    font-size:33px;
    line-height:1.3;
    font-weight:700;
}
.container_wrap_2 li a .event_best{
    background-color:#808080;
    width:65px;
    height:65px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    font-size:18px;
    font-weight:700;
    position:absolute; top:0; right:0;
}
.container_wrap_2 li a .event_text{
    font-size:22px;
    font-weight:500;
    color:#063ACE;
}
.container_wrap_2 li a img{
    position:absolute; 
    bottom:0; 
    right:0;
    width:31%;
}

.container_wrap_2 li:hover{
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border:1px solid #063ACE;
}

/* 컨테이너 3 (합격자증명) */
.container_wrap_3{
    background:url(https://image.engineerlab.co.kr/data/www/engr/main_gate/3_bg.png) no-repeat center center / cover;
    overflow: hidden;
}

.container_wrap_3 h2 span{
    background-color:#fff;
    padding:10px 20px;
    color:#212121;
}

.container_wrap_3 .successful_wrapper{
    width:100%;
    position: relative;
}

.container_wrap_3 .successful{
    display:flex;
    gap:20px;
    width:fit-content;
    animation: successfulRolling 30s linear infinite;
    cursor: pointer;
}

.container_wrap_3 .successful:hover{
    animation-play-state: paused;
}

.container_wrap_3 .successful li{
    width:346px;
    height:392px;
    background-color:#fff;
    border-radius: 15px;
    border:1px solid #ccc;
    display:flex;
    justify-content: space-between;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, z-index 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.container_wrap_3 .successful li:hover{
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.container_wrap_3 .successful li .successful_img{
    background-color:#F5F5F5;
    position: relative;
    height:270px;
}

.container_wrap_3 .successful li .successful_img img{
    width:90%;
    position: absolute;
    bottom:0;
    left:50%;
    transform: translateX(-50%);
}
.container_wrap_3 .successful li .successful_content{
    height:30%;
    background-color:#fff;
    padding:10px 20px 30px 20px;
    position: relative;
}

.container_wrap_3 .successful li .successful_content span{
    font-size:16px;
    color:#063ACE;
    font-weight:500;
}

.container_wrap_3 .successful li .successful_content  p{
    padding-top:10px;
    font-size:22px;
    font-weight:700;
    color:#212121;
}
.container_wrap_3 .successful li .successful_content .successful_content_play{
    position: absolute;
    top:50%;
    right:20px;
    transform:translateY(-50%);
}
.container_wrap_3 .successful li .successful_content .successful_content_play{
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.container_wrap_3 .successful li .successful_content .successful_content_play:hover{
    transform: translateY(-50%) scale(1.1);
    color: #063ACE;
}

.container_wrap_3 .successful li .successful_content .successful_content_play i{
    font-size:40px;
    color: #063ACE;
}

/* 자동 롤링 애니메이션 */
@keyframes successfulRolling {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-346px * 6 - 20px * 6));
    }
}

/* 유튜브 팝업 레이어 스타일 */
.popLayer {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    justify-content: center;
}

.popLayer.dim {
    background: rgba(0,0,0,0.8);
}

.popLayer .div_layer {
    background: #000;
    position: absolute;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

.popLayer .pop_vod {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
}

.popLayer .pop_vod iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}

.popLayer .closeX {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.popLayer .closeX:hover {
    transform: rotate(90deg);
    color: #ccc;
}

.popLayer .closeX:hover {
    transform: rotate(90deg);
    color: #ccc;
}

/* 컨텐츠4(엔지니어랩을 선택) */
.container_wrap_4{
    background-color:#fff;
}
.container_wrap_4 .wrap{
    margin-top:40px;
    height:646px;
    width:1200px;
    border-radius: 15px;
    margin:30px auto;
    overflow: hidden;
    position: relative;
}

#professorMainImage{
    width:100%;
    border-radius:15px;
    box-shadow:0 8px 24px rgba(0,0,0,.13);
    transition:all .3s;
}


#professor-thumbnails{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    position: absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    background: #fff;
    padding:10px;
    box-shadow:0 8px 24px rgba(0,0,0,.13);
    transition:all .3s;
    height: 90%;
}
.container_wrap_4 .prof-thumb-btn{
    padding: 20px 10px;
    text-align:center;
    cursor: pointer;
    font-weight:700;
    transition:all .3s;
    background-color:#e3e3e3;
    height:19%;
}
.container_wrap_4 .prof-thumb-btn p{
    font-size:18px;
    text-align:center;
    font-weight:500;
}
.container_wrap_4 .prof-thumb-btn p strong{
    font-size:22px;
    font-weight:900;
}


.container_wrap_4 .prof-thumb-btn:hover{
    background-color:#063ACE;
    color:#fff;
}
.container_wrap_4 .prof-thumb-btn strong{
    font-size:22px;
    font-weight:900;
}
.container_wrap_4 .prof-thumb-btn span{
    font-size:15px;
    font-weight:300;
}

/* 컨텐츠5 (공지사항) */
.container_wrap_5{
    background-color:#F5F5F5;
}
.container_wrap_5 .notice_wrapper_wrap {
    width:100%;
    background-color:#fff;
    padding:40px;
    border-radius: 15px;
    box-shadow:0 8px 24px rgba(0,0,0,.13);
    transition:all .3s;
}
.container_wrap_5 .notice_wrapper_left {
    width:49%;
    height:100%;
}
.container_wrap_5 .notice_wrapper_right {
    width:49%;
    height:100%;
}
.container_wrap_5 h3{
    font-size:24px;
    font-weight:700;
    color:#212121;
}

.notice_wrapper_top{
    border-bottom:1px solid #212121;
    padding-bottom:10px;
}
.container_wrap_5 i{
    font-size:40px;
    color:#808080;
    cursor: pointer;
    transition:all .3s;
    font-weight: 300;
}
.container_wrap_5 i:hover{
    color:#063ACE;
    font-weight:700;
    transform: scale(1.1);
    transition:all .3s;
}

/* 공지사항 내용 */
.notice_wrapper_content ul{
    padding:1px 0;
}
.notice_wrapper_content ul li{
    padding:20px 10px;
    border-bottom:1px solid #ccc;
    cursor: pointer;
}
.notice_wrapper_content ul li:hover{
    background-color:#fff;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
    border:none;
}
.notice_list_item a{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.notice_list_item .notice_title{
    font-size:20px;
    font-weight:500;
    color:#212121;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80%;
    display:block;
}
.notice_list_item span.notice_date{
    font-size:16px;
    font-weight:300;
    color:#808080;
}

/* 컨테이너6 (고객센터) */
.container_wrap_6{
    background:url(https://image.engineerlab.co.kr/data/www/engr/main_gate/6/6_bg.png) no-repeat center center / cover;
}
.container_wrap_6_inner{
    display:flex;
    align-items: center;
    padding:60px 0;
}
.container_wrap_6_inner .flex_between{
    width:100%;
}
.container_wrap_6 h2{
    color:#fff;
    text-align:left;
}
.container_wrap_6 h2 span{
    font-weight: 300;
}
.container_wrap_6 .wrap_right ul{
    gap:30px;
}
.container_wrap_6 .wrap_right li{
    background-color:#fff;
    height:292px;
    width:273px;
    display:flex;
    flex-direction:column;
    position: relative; 
    padding:20px;
}
.container_wrap_6 .wrap_right li:nth-child(1){
    background-color:#5B85CC;
}
.container_wrap_6 .wrap_right li:nth-child(2){
    background-color:#2A3C65;
}
.container_wrap_6 .wrap_right li:nth-child(3){
    background-color:#6D95B9;
}
.container_wrap_6 .wrap_right_content{
    position: relative;
    height:100%;
    width:100%;
}
.container_wrap_6 .wrap_right li p{
    color:#fff;
    line-height: 1.3;
}
.container_wrap_6 .wrap_right li:hover{
    /* 확대 */
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.container_wrap_6 .wrap_right li p:first-child{
    font-size:30px;
    padding-bottom:10px;
    font-weight: 700;
}
.container_wrap_6 .wrap_right li p:last-child{
    font-size:16px;
    font-weight:300;
}
.container_wrap_6 .wrap_right li p span{
    color:#FFE100;
}

.container_wrap_6 button{
    font-size:25px;
    font-weight:900;
    width:100%;
    position: absolute;
    bottom:0;
    background-color:#111;
    color:#fff;
    padding:10px 20px;
}
.container_wrap_6 .sub_typo{
    text-align:center;
    margin-top:20px;
}
.container_wrap_6 .sub_typo p{
    font-size:14px;
    font-weight:300;
    color:#808080;
}

/* 푸터 */
footer{
    padding:40px 0 100px 0;
    width:100%;
}

footer .footer_logo_wrap{
    border-bottom:1px solid #ccc;
    padding-bottom:40px;
}
footer .footer_sns_wrap{
    display:flex;
    gap:20px;
    align-items:center;
}
.footer_sns_wrap a img{
    width:75%;
   
}

.footer_info_wrap{
    display:flex;
    justify-content:space-between;
    align-items:start;
    margin-top:40px;
}
.footer_info_wrap .footer_info_item p{
    line-height:1.5;
    letter-spacing:-0.5px;
}
.footer_info_wrap .footer_info_item .footer_bottom_text{
    margin-top:40px;
    color:#808080;
}

/* 계열사 */
.footer_group_wrap{
    position: relative;
}
.footer_group_wrap .footer_group_btn{
    background: #f5f6fa; border:none; outline:none; border-radius:20px; 
    padding:8px 30px 8px 30px; font-size:15px; color:#222; box-shadow:none; 
    display:flex; align-items:center; gap:6px; cursor:pointer;
}
.footer_group_wrap .footer_group_btn span{
    font-size:13px; color:#888; vertical-align:middle;
}
.footer_group_list{
    display:none; position:absolute; left:0; top:42px; 
    background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.07); 
    border-radius:14px; min-width:190px; z-index:20; padding:12px 0;
}
.footer_group_list a{
    display:block; padding:7px 22px; color:#222; font-size:15px; text-decoration:none;
}


@media screen and (max-width: 1440px) {
    .menu{position: relative;top:0;}
}

@media screen and (max-width: 1349px) {
    .inner_1350 {
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
    }
    .pc_header_top .inner_1350,
    .pc_header .inner_1350 {
        width: 100%;
        box-sizing: border-box;
    }
    .gab_right {
        width: auto;
        min-width: 250px;
        max-width: 100%;
    }
    .gnb > li {
        padding: 0 10px;
    }

    .container_wrap_2 li{
        width:48%;
    }
}
@media screen and (max-width: 1199px) {
  .container_wrap_4 .wrap{
    width:100%;
  }
  /* 모바일 헤더 */
  /* 헤더 관련 - PC 헤더 숨김 */
  .full-menu-columns {
    display: none;
  }
  .pc_header_top,
  .pc_header {
      display: none !important;
  }
  .mobile-full-menu {
    display: block;
}
.quick-btn {
    border-radius: 15px;
    background-color: #f5f5f5;
    padding: 12px;
}
  
  /* 모바일 헤더 표시 */
  .mobile_header {
      display: block;
      top: 0;
      left: 0;
      width: 100%;
      height: 60px;
      position: fixed;
      background-color: #fff;
      border-bottom: 1px solid #e7e7e7;
      z-index: 1000;
      box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
  }
  
  .mobile_header_inner {
      width: 100%;
      padding: 0 20px;
  }
  
  .mobile_header_top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 60px;
      gap: 15px;
  }
  
  .mobile_menu_toggle {
      background: none;
      border: none;
      font-size: 24px;
      color: #212121;
      cursor: pointer;
      padding: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
  }
  
  .mobile_menu_toggle:active {
      opacity: 0.7;
  }
  
  .mobile_logo {
      text-align: center;
      margin: 0;
      display:flex;
      justify-content: center;
  }
  .mobile_logo a {
      display: inline-flex;
      justify-content: center;
  }
  
  .mobile_logo img {
      width:60%;
  }
  
  .mobile_header_actions {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 40px;
      justify-content: flex-end;
  }
  
  .mobile_user_icon {
      font-size: 20px;
      color: #212121;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
  }
  
  .mobile_login_btn {
      font-size: 14px;
      color: #212121;
      font-weight: 500;
      padding: 8px 15px;
      white-space: nowrap;
      background-color:#f2f7f8;
      border:1px solid #ccc;
      border-radius:5px;

  }
  .full-menu-container {
      padding: 20px 15px;
  }
  .mobile-full-menu {
      display: block !important;
  }
  
  .full-menu-header {
      width: 100%;
      margin-bottom: 0;
      padding: 15px 15px 0 15px;
      border-bottom: none;
      justify-content: flex-start;
      align-items: center;
      position: relative;
      height: auto;
      min-height: 44px;
  }
  .full-menu-header h2 {
      display: none;
  }
  .full-menu-close {
      position: relative;
      left: auto;
      right: auto;
      top: auto;
      font-size: 24px;
      padding: 8px;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 51px;
      height: 40px;
      color: #212121;
  }
  .full-menu-close i {
      font-size: 24px;
  }
  
  /* 모바일에서 PC 메뉴 구조 숨기기 */
  .full-menu-columns {
      display: none !important;
  }
  .full-menu-content {
      width: 100%;
      padding: 15px;
  }
  
  .full-menu-content.mobile-full-menu {
      padding: 0 15px 20px 15px;
  }
  .full-menu-list li a {
      padding: 15px 20px;
      font-size: 16px;
  }
  .full-menu-columns {
      display: none;
  }

.user-greeting {
    font-size: 18px;
    font-weight: 500;
    color: #212121;
    text-align: center;
    margin-bottom: 20px;
}

.full-menu-user-section.logged-in .user-greeting {
    text-align: right;
}

.user-action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.user-action-buttons.logged-in {
    justify-content: flex-end;
}

.user-action-buttons.logged-out {
    justify-content: center;
}

.btn-mypage,
.btn-logout,
.btn-login,
.btn-signup {
    flex: 1;
    max-width: 200px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-mypage,
.btn-login {
    background-color: #212121;
    color: #fff;
    border: none;
}

.btn-mypage:hover,
.btn-login:hover {
    background-color: #333;
}

.btn-logout,
.btn-signup {
    background-color: #fff;
    color: #212121;
    border: 1px solid #d1d1d1;
}

.btn-logout:hover,
.btn-signup:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

/* 퀵 액세스 버튼 */
.quick-access-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* 메뉴 카테고리 (모바일 전용) */
.full-menu-categories {
    display: flex;
    flex-direction: column;
    margin-top:20px;
}
  
  /* 모바일 전체 메뉴 스타일 조정 */
  .full-menu-overlay {
      align-items: flex-start;
      padding-top: 0;
  }
  
  .full-menu-container {
      max-height: 100vh;
      overflow-y: auto;
      padding: 0;
  }
  
  
  .category-title {
      font-size: 16px;
      padding: 5px 15px;
      margin-bottom: 0;
  }
  
  .full-menu-category a {
      font-size: 14px;
      line-height: 2;
  }
  
  /* 모바일 사용자 섹션 스타일 */
  .full-menu-user-section {
      padding: 20px;
      background-color:#fff;
      border-radius: 10px;
      border:1px solid #f5f5f5;
      box-shadow: 0 10px 15px 0 rgba(0,0,0,0.08);
  }
  
  .user-greeting {
      font-size: 16px;
      margin-bottom: 15px;
      text-align: left !important;
  }
  
  .full-menu-user-section.logged-in .user-greeting {
      text-align: left;
  }
  
  .user-action-buttons {
      flex-direction: row;
      gap: 8px;
      margin-bottom: 20px;
  }
  
  .user-action-buttons.logged-in {
      justify-content: flex-start;
  }
  
  .user-action-buttons.logged-out {
      justify-content: center;
  }
  
  .btn-mypage,
  .btn-logout,
  .btn-login,
  .btn-signup {
      flex: 1;
      padding: 12px 16px;
      font-size: 14px;
      max-width: none;
  }
  
  .quick-access-button {
      display:flex;
      flex-direction: column;
      text-align: center;
      gap:10px;
  }
  .quick-access-button .quick-btn img{
      width:100%;
  }
  .quick-access-button span{
      font-size:12px;
  }
  
  .quick-btn span {
      font-size: 13px;
  }
  
  /* 모바일 메뉴 카테고리 */
  .full-menu-divider {
      margin: 15px 0;
  }
  
  .menu-category-header {
      padding: 15px 0;
  }
  .category-icon {
      font-size: 12px;
  }
  
  .menu-category-list {
      padding: 0 0 12px 0;
  }
  
  .menu-category-list li {
      padding: 10px;
  }
  
  .menu-category-list a {
      font-size: 16px;
      display:block;
  }

  /* 모바일헤더는 끝 */

  /* 비주얼배너 */
  .main_slide_banner{
    margin-top:60px;
  }

  /* 컨테이너6 */
  .container_wrap_6 h2 .mobile-only-open br{display:none; }
  .container_wrap_6 h2{text-align:center;margin-bottom:20px;}
  .container_wrap_6 .wrap_right{
    width:100%;
    display:flex;
    flex-direction: column;
  }
  

  .container_wrap_6_inner > .flex_between {
    flex-direction: column;
 }
.container_wrap_6 .wrap_right li{
    width:100%;
  }

}

.pc_none{
    display:none;
}

@media screen and (max-width: 820px) {
    .pc_none{
        display:block;
    }
    .m_none{
        display:none;
    }
    /* 위로가기 버튼 */
    #scrollTopBtn {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    /* 공통 */
    .inner_1350 {
        width: 100%;
        box-sizing: border-box;
    }
    
    .flex_between {
        align-items: stretch;
    }

    .cont_pd_60 {
        padding: 40px 0;
    }

    .cont_pd_30 {
        padding: 20px 0;
    }

    h2 {
        font-size: 28px;
        line-height: 1.4;
    }
    .container_wrap_6_inner > .flex_between {
        flex-direction: column;
    }

    /* 메인 슬라이드 배너 */
    .main_slide_banner {
        width:100%;
        aspect-ratio: 768/856;
        background:url(https://image.engineerlab.co.kr/data/www/engr/main_gate/m/m_main_2.png) 
        no-repeat center center / cover;
    }


    /* 인강/직영학원 버튼 - 동일, 깔끔 & 프라이머리 */
    .mobile_ingang_btn {
        display: flex;
        justify-content: left;
        align-items: center;
        margin-bottom: 15px;
        width: 100%;
    }
    .mobile_ingang_btn a {
        font-size:18px;
        font-weight:700;
    }
    

    /* 교육과정 리스트 - 미니멀, 둥글고 단정하게 */
    .container_wrap_1 .m_ingang_list{
        padding: 20px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 0 8px 0 rgba(0,0,0,0.08);
        gap: 10px;
    }
    .container_wrap_1 ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .container_wrap_1 li {
        background: #f8fafc;
        border-radius: 13px;
        box-shadow: 0 1.5px 7px rgba(6,58,206,0.05);
    }
    .container_wrap_1 li a:hover{
        transform: none;
        border: none;

    }
    .container_wrap_1 li a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        font-size: 15.5px;
        font-weight: 600;
        color: #212121;
        border-radius: 13px;
        text-align: center;
    }
    .container_wrap_1 li a img {
        display: none !important;
    }

    /* 순서 그룹 정렬 - course-6이 마지막 인강 항목 */
    .container_wrap_1 .course-1 { order: 1; }
    .container_wrap_1 .course-2 { order: 2; }
    .container_wrap_1 .course-3 { order: 3; }
    .container_wrap_1 .course-5 { order: 4; }
    .container_wrap_1 .course-4 { order: 5; }
    .container_wrap_1 .course-6 { order: 6;}
    
    .container_wrap_1 li {
        width: 100%;
    }
    .container_wrap_1 li a {
        height: 50px;
        font-size: 14px;
        padding: 0 15px;
        justify-content: center;
        border-radius: 8px;
    }
    .container_wrap_1 li a img {
        display: none !important;
    }

    /* 컨테이너 2 - 진행중인 이벤트 (모바일: 연속 롤링 스와이프, 가운데 정렬) */
    .container_wrap_2 .cont_pd_30 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        scroll-padding-right: 20px;
        padding: 20px 0 10px 0;
        margin: 0;
    }
    .container_wrap_2 ul {
        display: flex;
        flex-direction: row;
        gap: 16px;
        width: max-content;
        padding: 0 20px;
    }
    .container_wrap_2 li {
        flex: 0 0 calc(100vw - 80px);
        max-width: calc(100vw - 80px);
        width: calc(100vw - 80px);
        max-height: 180px;
        padding: 20px;
        scroll-snap-align: center;
    }
    .container_wrap_2 .cont_pd_30::-webkit-scrollbar {
        display: none;
    }
    .container_wrap_2 li a .event_title {
        font-size: 22px;
    }
    .container_wrap_2 li a .event_text {
        font-size: 17px;
    }
    .container_wrap_2 li a .event_best {
        width: 55px;
        height: 55px;
        font-size: 13px;
    }
    .container_wrap_2 li a img {
        width: 60px;
    }

    /* 컨테이너 3 - 합격만으로 증명 */
    .container_wrap_3 .successful li {
        /* 마우스 눌렀을 때 시각적 효과 없음 */
        transform: none !important;
    }
    .container_wrap_3 {
        background-size: cover;
        background-position: center;
    }
    .container_wrap_3 h2 {
        font-size: 23px;
        padding: 0 20px;
    }
    .container_wrap_3 h2 span {
        padding: 5px 15px;
        display: inline-block;
        margin-top: 5px;
    }
    .container_wrap_3 .successful_wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .container_wrap_3 .successful {
        gap: 15px;
        padding: 0 20px;
        animation: none;
    }
    .container_wrap_3 .successful li {
        width: 280px;
        height: 320px;
        flex-shrink: 0;
    }
    .container_wrap_3 .successful li .successful_content {
        padding: 10px 15px 20px 15px;
    }
    .container_wrap_3 .successful li .successful_content span {
        font-size: 14px;
    }
    .container_wrap_3 .successful li .successful_content p {
        font-size: 18px;
        padding-top: 8px;
    }
    .container_wrap_3 .successful li .successful_content .successful_content_play {
        right: 15px;
    }
    .container_wrap_3 .successful li .successful_content .successful_content_play i {
        font-size: 32px;
    }

    /* 컨테이너 4 - 2026년 합격도 역시 엔지니어랩을 선택 */
    .container_wrap_4 .wrap{
        height:auto;
        margin:0 auto;
    }
    .container_wrap_4 h2 {
        font-size: 24px;
    }
    .container_wrap_4 ul {
        display: flex;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0px;
        scroll-padding-right: 0px;
    }
    .container_wrap_4 li {
        flex: 0 0 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    .container_wrap_4 ul::-webkit-scrollbar {
        display: none;
    }
    .container_wrap_4 li img {
        width: 100%;
        height: 100%;
        display: block;
    }
    .container_wrap_4 #carousel-dots{
        display:flex;justify-content:center;gap:8px;margin-top:15px;
    }
    .container_wrap_4 #carousel-dots .carousel-dot{
        width:10px;height:10px;
        background:#ddd;border-radius:50%;
        display:inline-block;cursor:pointer;
    }

    /* 컨테이너 5 - 공지사항 */
    .container_wrap_5 h2 {
        font-size: 24px;
    }
    .container_wrap_5 .notice_wrapper_wrap {
        flex-direction: column;
        padding: 20px;
    }
    .container_wrap_5 .notice_wrapper_left,
    .container_wrap_5 .notice_wrapper_right {
        width: 100%;
        margin-bottom: 30px;
    }
    .container_wrap_5 .notice_wrapper_left:last-child,
    .container_wrap_5 .notice_wrapper_right:last-child {
        margin-bottom: 0;
    }
    .container_wrap_5 h3 {
        font-size: 20px;
    }
    .container_wrap_5 i {
        font-size: 30px !important;
    }
    .notice_wrapper_content ul li {
        padding: 10px;
    }
    .notice_list_item .notice_title {
        font-size: 16px;
        max-width: 70%;
    }
    .notice_list_item span.notice_date {
        font-size: 14px;
    }

    /* 컨테이너 6 - 고객센터 */
    .container_wrap_6 {
        background-size: cover;
        background-position: center;
    }
    .container_wrap_6_inner {
        padding: 40px 0;
    }
    .container_wrap_6 h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
    }
    .container_wrap_6 .wrap_right {
        width: 100%;
        padding:0 20px;
    }
    .container_wrap_6 .wrap_right ul {
        flex-direction: column;
    }
    .container_wrap_6 .wrap_right li {
        height: auto;
        margin: 0 auto;
        min-height: 200px;
    }
    .container_wrap_6 .wrap_right li p:first-child {
        font-size: 24px;
    }
    .container_wrap_6 .wrap_right li p:last-child {
        font-size: 14px;
    }
    .container_wrap_6 button {
        font-size: 20px;
        position: static;
        margin-top: 20px;
        border-radius: 5px;
    }
    .container_wrap_6 .sub_typo p br{
        display:block;
    }
    .course-5 a br{
        display:block;
    }
    
    /* 푸터 */
    footer {
        padding: 30px 0 50px 0;
    }
    .footer_wrap{ margin:0 auto;}
    footer .footer_logo_wrap {
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding-bottom: 30px;
    }
    footer .footer_logo {
        text-align: center;
        width:35%;
        height:auto;
    }
    footer .footer_logo img{width:100%;}
    footer .footer_sns_wrap {
        gap:15px;
    }
    .footer_sns_wrap a img {
        width: 32px;
    }
    .footer_info_wrap {
        flex-direction: column;
        gap: 30px;
        margin: 15px auto;
    }
    .footer_info_wrap .footer_info_item p {
        font-size: 12px;
        line-height: 1.6;
    }
    .footer_info_wrap .footer_info_item .footer_bottom_text {
        margin-top: 20px;
    }
    .footer_group_wrap {
        width: 100%;
        text-align: center;
    }
    .footer_group_list {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 300px;
    }

    /* 유튜브 팝업 */
    .popLayer .div_layer {
        width: 95%;
        max-width: none;
    }
    .popLayer .closeX {
        top: -35px;
        font-size: 35px;
    }
}
   
