/* BASIC css start */
/* =====================================
   창업센터 모바일 최종 CSS
===================================== */
@media screen and (max-width: 767.98px) {

    /* 상단 메뉴 3개 + 2개 정렬 */
    .tab_menu .menu_list {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px !important;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        list-style: none;
    }

    /* 모든 메뉴 회색 네모 테두리 */
    .tab_menu .menu_list li {
        display: block !important;
        float: none !important;
        width: auto !important;
        height: auto !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #cccccc !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-sizing: border-box;
        text-align: center;
    }

    /* 메뉴 글씨 */
    .tab_menu .menu_list li a {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding: 8px 2px;
        box-sizing: border-box;
        border: none !important;
        background: transparent !important;
        color: #333333 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.4;
        white-space: nowrap;
    }

    /* 선택 메뉴 회색 배경 */
    .tab_menu .menu_list li.on {
        background: #eeeeee !important;
        border: 1px solid #cccccc !important;
    }

    /* 선택 메뉴 빨간색 글씨 */
    .tab_menu .menu_list li.on a {
        color: #e60012 !important;
        font-weight: 700 !important;
    }

    /* 기존 구분선 제거 */
    .tab_menu .menu_list li::before,
    .tab_menu .menu_list li::after,
    .tab_menu .menu_list li a::before,
    .tab_menu .menu_list li a::after {
        content: none !important;
        display: none !important;
    }

    /* 본점 / 서교점 가운데 정렬 */
    .add_page1 .m_tab01 {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        flex-wrap: nowrap;
        gap: 30px;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        text-align: center;
        list-style: none;
    }

    .add_page1 .m_tab01 li {
        display: block;
        float: none !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0;
        text-align: center;
    }

    .add_page1 .m_tab01 li a {
        display: block;
        font-size: 14px;
        white-space: nowrap;
    }

    /* 본점 / 서교점 이미지 반응형 */
    .tabcontent01 .contents {
        width: 100%;
        max-width: 860px;
        margin: 0 auto;
        position: relative;
    }

    .tabcontent01 .contents img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* 모바일 상담 전화 링크 표시 */
    #tab1_1 .contents .link3,
    #tab1_1 .contents .link4,
    #tab1_3 .contents .link3,
    #tab1_3 .contents .link4 {
        display: block;
    }
}
/* 모바일 본점 / 서교점 간격 넓히기 */
@media screen and (max-width: 767.98px) {

    .add_page1 .m_tab01 {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        gap: 80px !important;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .add_page1 .m_tab01 li {
        margin: 0 !important;
        flex: 0 0 auto;
    }
}
/* 모바일 상단 메뉴 겹침 최종 수정 */
@media screen and (max-width: 767.98px) {

    /* 상단 5개 메뉴 영역 높이 확보 */
    .tab_menu {
        display: flow-root !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        margin-bottom: 30px !important;
    }

    .tab_menu .menu_list {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 본점 / 서교점 메뉴를 다음 줄에 배치 */
    .add_page1 {
        display: block !important;
        clear: both !important;
        position: relative !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 20px !important;
        padding: 0 !important;
    }

    /* 본점 / 서교점 중앙 정렬 */
    .add_page1 .m_tab01 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 80px !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .add_page1 .m_tab01 li {
        position: relative !important;
        float: none !important;
        flex: 0 0 auto !important;
        width: auto !important;
        height: 40px !important;
        margin: 0 !important;
    }

    .add_page1 .m_tab01 li a {
        display: block !important;
        line-height: 38px !important;
        font-size: 14px !important;
        white-space: nowrap;
    }

    /* 본점 / 서교점 콘텐츠 간격 */
    .tabcontent01 {
        margin-top: 20px !important;
    }
}
/* =========================================
   모바일 최적화
========================================= */
@media screen and (max-width: 767.98px) {

    .tabcontent01 {
        width: 100% !important;
        margin: 20px auto 0 !important;
    }

    .tabcontent01 .contents {
        width: 100% !important;
        max-width: 100% !important;
    }

    .tabcontent01 .contents > img {
        width: 100% !important;
        height: auto !important;
    }
}
/* =====================================
   창업센터 본점 / 서교점 탭 표시 최종 수정
===================================== */

/* 본점 / 서교점 모두 기본 숨김 */
#bbsData #tab1_1.tabcontent01,
#bbsData #tab1_3.tabcontent01 {
    display: none !important;
}

/* 선택된 콘텐츠만 표시 */
#bbsData #tab1_1.tabcontent01.current,
#bbsData #tab1_3.tabcontent01.current {
    display: block !important;
}

/* 콘텐츠 이미지 크기 */
#bbsData .tabcontent01 .contents {
    position: relative !important;
    width: 100% !important;
    max-width: 860px;
    margin: 0 auto !important;
}

#bbsData .tabcontent01 .contents > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* 모바일 */
@media screen and (max-width: 767.98px) {

    #bbsData #tab1_1,
    #bbsData #tab1_3 {
        width: 100% !important;
        margin: 20px auto 0 !important;
    }
}
/* 이미지 영역 */
#tab1_1 .contents,
#tab1_3 .contents {
    position: relative !important;
    width: 100% !important;
    max-width: 860px;
    margin: 0 auto !important;
}

.tabcontent01 .contents > img {
    display: block;
    width: 100%;
    height: auto;
}

/* 버튼 클릭 영역 */
.tabcontent01 .contents > a {
    position: absolute !important;
    display: block !important;
    z-index: 30 !important;
    background: transparent !important;
    cursor: pointer;
}

/* 본점 상단 신청하기 */
#tab1_1 .link1 {
    top: 14.7% !important;
    left: 2.5% !important;
    width: 43% !important;
    height: 1.8% !important;
}

/* 본점 하단 신청하기 */
#tab1_1 .link2 {
    top: 92.3% !important;
    left: 1% !important;
    width: 32% !important;
    height: 5% !important;
}

/* 서교점 상단 신청하기 */
#tab1_3 .link1 {
    top: 14% !important;
    left: 2.5% !important;
    width: 43% !important;
    height: 1.7% !important;
}

/* 서교점 하단 신청하기 */
#tab1_3 .link2 {
    top: 93.1% !important;
    left: 1% !important;
    width: 32% !important;
    height: 5% !important;
}
/* BASIC css end */

