.mobile-only {
    display: none;
}

@media screen and (max-width: 1440px) {

    #hd,
    #wrapper,
    #ft {
        min-width: 1440px;
    }
    
    /* AOS 애니메이션 오버라이드 */
    [data-aos^="fade-right"],
    [data-aos^="fade-left"],
    [data-aos^="zoom-in"],
    [data-aos^="flip-up"],
    [data-aos^="flip-down"] {
        opacity: 0;
        transform: translate3d(0, 50px, 0) !important;
        transition-property: transform, opacity !important;
    }

    [data-aos^="fade-right"].aos-animate,
    [data-aos^="fade-left"].aos-animate,
    [data-aos^="zoom-in"].aos-animate,
    [data-aos^="flip-up"].aos-animate,
    [data-aos^="flip-down"].aos-animate {
        opacity: 1;
        transform: translate3d(0, 0, 0) !important;
    }
}
@media screen and (max-width: 1440px) {
    .main-content-wrapper  {
        width: 608px;
    }
    .tech-intro-content {
        width: 600px;
        height: 100%;
    }
    .tech-intro-induction {
        right: 0;
    }
    .tech-intro-induction img {
        max-width: 70%;
        height: auto;
        margin: 0 auto;
    }
}

/* Mobile Large */
@media screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    #hd,
    #wrapper,
    #ft {
        min-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    #ft {
        padding: 0 18px;
    }
    /* 상단 유틸리티 메뉴 */
    #hd {
        padding: 0;
        height: 70px;
    }
    .hd_util {
        display: none; /* 모바일에서는 숨김 처리 */
    }
    #wrapper{
        padding: 0;
    }
    #hd_wrapper {
        height: 70px;
    }
    /* 네비게이션 */
    #gnb {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.58rem;
        height: 70px;
    }

    /* 로고 */
    #logo img {       
        width: auto; 
        height: clamp(15px, 4.6vw, 19px);
    }

    /* PC 메뉴 숨기기 */
    .gnb_wrap #gnb_1dul {
        display: none;
    }

    /* 우측 유틸리티 영역 */
    .hd_right {
        display: flex;
        align-items: center;
        gap: clamp(15px, 5.4vw, 20px);
    }

    .mypage_btn img, .cart_btn img {
        width: auto;
        height: clamp(20px, 5.8vw, 25px);;
    }
    /* 모바일 메뉴 버튼 */
    .mo_menu_btn {
        display: block !important;
    }
    #logo {
        margin-right: 10px;
    }
    .home_btn {
        display: block !important;
    }
    /* 모바일 메뉴 버튼 표시 */
    .gnb_menu_btn {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    /* 메인 메뉴 숨김 */
    .gnb_1dul {
        display: none;
    }
    .ft_top {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
        padding: 1.41rem 0 2.16rem 0;
    }
    .ft_bottom {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    .ft_top, .ft_bottom {
        width: 100%;
    }
    .ft_bottom {
        padding: 0;
        margin-bottom: 5.83rem;
    }
    .ft_sns {
        gap: 0.83rem;    
        justify-content: flex-end;
        border-top: 1px solid #cbcbcb;
        padding-top: 1.25rem;
    }
    .ft_info, .ft_menu a {
        font-size: clamp(0.66rem, 8px, 8px);
        line-height: 1.5;
    }
    .ft_info p {
        margin-bottom: 0.5rem;
    }
    .ft_logo img {
        width: clamp(72px, 15vw, 100px);
        height: auto;
    }
    .ft_line {
        display: none;
    }
    .ft_a_line {
        height: 8px;
    }
    .ft_sns_title {
        font-size: 0.58rem;
    }
    .ft_sns .facebook_btn {
        width: clamp(8px, 1.5vw, 12px);
    }
    .ft_sns .insta_btn {
        width: clamp(16px, 3vw, 24px);
    }
    .ft_menu li:last-child {
        margin-left: 4.33rem;
    }
    #mb_login, #mb_confirm {
        margin:2vh auto 4vh auto !important;
    }
    #bo_v_con img {
        max-width: 100% !important;
    }
    #bo_list, #bo_v, #bo_w {
        padding: 2vh 15px 4vh 15px !important;
    }
    
    /* 비디오가 표시될 때 스크롤 방지 */
    body.video-active {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Hide specific table columns on mobile */
    .bo_tit {
        padding-left: 10px;
    }

    /* 이벤트 게시판 반응형 스타일 */
    .event-board .td_num2, 
    .event-board .td_name, 
    .event-board .td_datetime, 
    .event-board .td_num {
        display: none;
    }
    .event-board .tbl_head01.tbl_wrap table {
        width: 100%;
    }
    .event-board .td_subject {
        width: 100%;
    }
    .event-board .td_hit {
        width: 80px;
        min-width: 80px;
        text-align: center;
    }

    /* Contact 게시판 반응형 스타일 */
    .contact-board .tbl_head01.tbl_wrap table {
        width: 100%;
    }
    .contact-board .td_subject {
        width: 60%;
    }
    .contact-board .td_num2,
    .contact-board .td_name,
    .contact-board .td_datetime,
    .contact-board .td_hit {
        width: 10%;
        min-width: 60px;
        text-align: center;
    }
}

/* 모바일 메뉴 버튼 기본 스타일 */
.mo_menu_btn {
    display: none;    
    width: clamp(16px, 4.6vw, 22px);
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.home_btn {
    display: none;
}
.home_btn img {
    width: auto;
    height: clamp(20px, 5.8vw, 25px);
}
/* 모바일 메뉴 패널 */
.mo_menu {
    display: block !important; /* display: none 대신 right 값으로 제어 */
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.mo_menu.active {
    right: 0;
}

.mo_menu_bg {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mo_menu_bg.active {
    opacity: 1;
    visibility: visible;
}

.mo_menu_inner {
    height: 100%;
    overflow-y: auto;
}

.mo_menu_close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.mo_menu_close span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    top: 50%;
}

.mo_menu_close span:nth-child(1) { transform: rotate(45deg); }
.mo_menu_close span:nth-child(2) { transform: rotate(-45deg); }

.mo_menu_list { 
    padding: 2.08rem;
}

.mo_menu_item h3 {
    font-size:1.33em;
    margin-bottom: 1.25em;
}
.mo_menu_item p {
    font-size: 1.25em;
    margin-bottom: 1.08em;
}
.mo_menu_line {
    width: 100%;
    height: 2px;
    background-color: #b8b8b8;
    margin-bottom: 18px;
}

.mo_menu_item h2 { 
    font-size: 1.75em;
    line-height: 2em;
}
.mo_menu_2dul {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.mo_menu_item .mo_menu_2dul {
    padding: 1em 0 1.5em 1.16em;
}
.mo_menu_2dli {
    width: 100%;
}
.mo_menu_2dli a{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mo_menu_2dli a span {
    display: block;
    font-size: 1.25em;
}
.mo_menu_arrow_right {  
    width: 2%;
    height: auto;
}