/*
 * Julia Ballet custom.css
 * 메인 비주얼 위치 고정 및 반응형 정리본
 * 수정일: 2026-08-06
 *
 * 주요 변경:
 * 1. .desc의 top:% 및 세로 translate 제거
 * 2. PC/태블릿/모바일별 상단 위치 고정
 * 3. 슬라이드 높이에 최소·최대값 적용
 * 4. 모바일 제목·버튼·컨트롤 겹침 보정
 */

    .color_wt{
        color:#fff !important;
    }

    .color_gd{
    color:#d2aa80 !important;
    }

    .color_pink{
    color:#f292a5 !important;
    }



    /* =========================================================
       메인 비주얼 높이
       - PC: 화면 높이를 사용하되 지나치게 낮거나 높아지지 않도록 제한
       - 모바일: 모바일 브라우저 주소창 변화에 대응하도록 svh 사용
    ========================================================= */
    .ks .swiper-slide {
        position: relative;
        height: clamp(720px, 100vh, 980px);
        min-height: 720px;
        padding: 0;
        font-size: 100px;
        color: #fff;
        overflow: hidden;
    }

    @supports (height: 100svh) {
        .ks .swiper-slide {
            height: clamp(720px, 100svh, 980px);
        }
    }

    @media (max-width: 1024px) {
        .ks .swiper-slide {
            height: clamp(660px, 100vh, 860px);
            min-height: 660px;
        }
    }

    @media (max-width: 768px) {
        .ks .swiper-slide {
            height: calc(100vh - 8rem);
            min-height: 580px;
            max-height: 820px;
        }

        @supports (height: 100svh) {
            .ks .swiper-slide {
                height: calc(100svh - 0rem);
            }
        }
    }

    .ks .swiper-slide .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;

        display: flex;
    }



    .ks .swiper-slide .slide>* {
        flex: 1;
    }

    .ks .swiper-slide .slide .bg {
        height: 100%;
        background: tomato;
    }

    #main_visual {
        position: relative;
        max-height: 100vh;
        overflow: hidden;
    }



    #main_visual .itm {
        position: relative;
    }

    /* =========================================================
       메인 비주얼 문구 위치
       top:% 및 세로 translate를 제거해 화면 비율에 따른 흔들림 방지
    ========================================================= */
    #main_visual .itm .desc {
        position: absolute;
        top: 21rem;
        left: 50%;
        z-index: 5;
        width: calc(100% - 3.2rem);
        max-width: 132rem;
        transform: translateX(-50%);
    }

    @media (max-width: 1600px) {
        #main_visual .itm .desc {
            top: 19rem;
        }
    }

    @media (max-width: 1280px) {
        #main_visual .itm .desc {
            top: 17rem;
        }
    }

    @media (max-width: 1024px) {
        #main_visual .itm .desc {
            top: 15rem;
            width: calc(100% - 4rem);
        }
    }

    @media (max-width: 768px) {
        #main_visual .itm .desc {
            top: 11rem;
            width: calc(100% - 3.2rem);
        }
    }

    @media (max-width: 480px) {
    #main_visual .itm .desc {
        top: 14.5rem;
        width: calc(100% - 8rem);
    }
    }

    #main_visual .itm .desc em {
        display: block;
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #e67d92;

        opacity: 0;
        transform: translate(14rem, 0);
    }

    #main_visual .itm.swiper-slide-active .desc em {
        opacity: 1;
        transform: translate(0, 0);
        transition: 0.8s 0.8s;
    }


    #main_visual .itm .desc h1 {
        display: block;
        margin-bottom: 10px;
        font-size: 4rem;
        font-weight: 200;
        color: #222;
        opacity: 0;
        transform: translate(14rem, 0);
        line-height: 1.1;

    }



    #main_visual .itm .desc p.wt {
        color: #fff;
    }

    #main_visual .itm .desc h1.wt {
        color: #fff;
    }


    #main_visual .itm .desc h1 span{
        display: block;
        font-size: 5rem;
        font-weight: 800;
        color: #e67d92;
        padding-top:10px;

    }


    @media (max-width: 1024px) {
        #main_visual .itm .desc h1,
        #main_visual .itm .desc h1 span {
            font-size: 4.8rem;
        }
    }

    @media (max-width: 768px) {
        #main_visual .itm .desc h1,
        #main_visual .itm .desc h1 span {
            font-size: 3.8rem;
            line-height: 1.18;
        }

        #main_visual .itm .desc em {
            margin-bottom: 1.6rem;
            font-size: 1.4rem;
        }

        #main_visual .itm .desc p {
            font-size: 1.45rem;
            line-height: 1.6;
        }
    }

    @media (max-width: 480px) {
        #main_visual .itm .desc h1,
        #main_visual .itm .desc h1 span {
            font-size: 2.4rem;
        }
    }

    #main_visual .itm.swiper-slide-active .desc h1 {
        opacity: 1;
        transform: translate(0, 0);
        transition: 0.8s 1.6s;
    }

    #main_visual .itm .desc p {
        font-size: 1.6rem;
        color: #222;

        opacity: 0;
        transform: translate(14rem, 0);
    }

    #main_visual .itm.swiper-slide-active .desc p {
        opacity: 1;
        transform: translate(0, 0);
        transition: 0.8s 2.4s;
    }



    #main_visual .itm::after {
        content: "";
        position: absolute;
        inset: 0 0 0 0;
        z-index: 3;
        background: url(<?=G5_THEME_URL;?>/images/pt-bg01.png);
    }


    #main_visual .util {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 2;

        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 12rem;
        width: 100%;



        color: var(--white-color)
    }

    #main_visual .util .util_wrap {
        margin: 0 0;
        margin-right: auto;
        padding-left: 12rem;

        position: relative;
        display: flex;
        align-items: center;

        flex: 1;

    }

    @media (max-width:1640px) {
        #main_visual .util .util_wrap {
            padding: 0 1.6rem;
        }
    }


    @media (max-width: 768px) {
        #main_visual .util {
            height: 8rem;
        }

        #main_visual .util .util_wrap {
            padding: 0 1.6rem;
        }

        #main_visual .util .controll .cont {
            margin: 0 1rem;
        }

        #main_visual .util .num {
            min-width: 5.6rem;
        }
    }


    #main_visual .util .controll {
        position: relative;
        display: flex;

        margin-left: auto;
    }

    #main_visual .util .controll .cont {
        position: relative;
        width: 4rem;
        height: 4rem;
        margin: 0 2rem;
    }

    #main_visual .util .controll .cont::before {
        content: "";
        position: absolute;
        inset: 0 0 0 0;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 50%;
    }



    #main_visual .util .controll .cont::after {
        content: "";
        position: absolute;
        inset: 0 0 0 0;
        background: url(<?=G5_THEME_URL;?>/lib/images/icon_pause.svg) no-repeat center center/12px;
    }

    #main_visual .util .controll .cont.on::after {
        background: url(<?=G5_THEME_URL;?>/lib/images/icon_play.svg) no-repeat center center/12px;
    }

    #main_visual .util .controll button .icon {
        width: 2.4rem;
        height: 2.4rem;
        stroke: var(--white-color);
        stroke-width: 2;
    }

    #main_visual .util .controll .cont svg {
        fill: none;
        stroke: #fff;
        stroke-width: 4px;
        stroke-dasharray: 314;
        stroke-dashoffset: 314;
        overflow: visible;

        transform: rotate(-90deg);

    }

    #main_visual .util .controll.on .cont svg {
        animation: svgAni 4s both;
    }


    @keyframes svgAni {
        0% {
            stroke-dashoffset: 314;
        }

        100% {
            stroke-dashoffset: 0;
        }
    }

    #main_visual .util .num {
        text-align: right;
        min-width: 8rem;
        font-size: 1.4rem;
        white-space: nowrap;
    }


    #main_visual .wheel {

        position: absolute;
        bottom: 5.2rem;
        left: 50%;
        z-index: 8;
        transform: translate(calc(-50% - 4rem), 0);

        display: flex;
        justify-content: center;

        color: #fff;
        font-size: 1.2rem;
        text-transform: uppercase;
        display:none;
    }




    #main_visual .wheel .dot {
        position: relative;
        padding-left: 6rem;
    }

    #main_visual .wheel .dot::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 3.2rem;
        height: 4.8rem;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 1.6rem;
        transform: translate(0, -50%);
    }

    #main_visual .wheel .dot::after {
        content: "";
        position: absolute;
        left: 1.5rem;
        top: -6px;
        width: 2px;
        height: 8px;
        background: rgba(255, 255, 255, 0.5);

        animation: wheel 0.5s infinite;
    }


    @keyframes wheel {
        0% {
            transform: translate(0, 0);
        }

        100% {
            transform: translate(0, 2px);
        }
    }


    @media (max-width:768px) {
        #main_visual .wheel {
            position: absolute;
            bottom: 18rem;
            transform: translate(calc(-50%), 0);

            font-size: 0;
        }

        #main_visual .wheel .dot::before {
            display: none;
        }


        #main_visual .wheel .dot {
            position: relative;
            padding-left: 0;
        }
    }



    /* sns */

    .main_insta {
    padding: 80px 0;
    text-align: center;
}

.main_insta h2 {
    margin-bottom: 30px;
    font-size: 34px;
    letter-spacing: 0.08em;
}

.insta_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}

.insta_grid a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.insta_grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.insta_grid a:hover img {
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .main_insta {
        padding: 50px 20px;
    }

    .insta_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}



/* 메인페이지 */

.main_btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    position: relative;

    padding-bottom: 14px;

    font-size: 18px;
    font-weight: 700;
    color: #e58aa0;

    text-decoration: none;
    letter-spacing: -0.03em;

    transition: all .3s ease;
}

.main_btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: #e58aa0;

    transition: all .3s ease;
}

.main_btn i {
    font-size: 16px;
    transition: transform .3s ease;
}

.main_btn:hover i {
    transform: translateX(6px);
}

.main_btn:hover {
    color: #d96f89;
}

.main_btn:hover::after {
    background: #d96f89;
}


.main_btn i {
    margin-left: 10px;
    font-size: 13px;
}

.desc {
    margin-bottom: 32px;
}


    #main_block_01 {
        background-color: #fcf5f6;
        text-align: left;
    }

    #main_block_01 .title {
        position: relative;

    }

    #main_block_01 .title em {
        display: block;
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: 0.8rem;
        color: var(--primary-color);
    }

    #main_block_01 .title .icon_btn {
        position: absolute;
        margin-top: 2.4rem;
    }

    #main_block_01 .w_inner_r {
        display: flex;
        gap: 4rem;
        margin: 0 0;
        margin-left: auto;
    }

    #main_block_01 .w_inner_r>* {
        flex: 1;
        overflow: hidden;
    }

    #main_block_01 .w_inner_r .con_warp {
        flex: 4;
    }


    @media (max-width: 1652px) {
        #main_block_01 .w_inner_r {
            margin: 0 0;
            margin-left: 1.6rem;
        }

        #main_block_01 .title .icon_btn {
            position: relative;
            margin-top: 2.4rem;
        }
    }

    @media (max-width: 768px) {
        #main_block_01 .w_inner_r {
            flex-direction: column;
        }
    }

    @media (max-width: 480px) {
        #main_block_01 .w_inner_r {
            margin: 0 0;
            margin-left: 1.6rem;
            margin-right: 1.6rem;
        }
    }

    #main_block_01 .itm figure {
        margin-bottom: 4rem;
    }

    #main_block_01 .itm img {
        border-radius: 2.4rem;
    }

    #main_block_01 .txt strong {
        display: block;
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 0.8rem;
    }

    #main_block_01 .txt p {
        margin-bottom: 0.8rem;
        opacity: 0.75;
        min-height: 4rem;
    }




    #main_block_01 .arrows {
        display: flex;
        gap: 4rem;

        margin-top: 1.6rem;
    }


    #main_block_01 .arrows button {
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;

        text-transform: uppercase;
        font-size: 1.2rem;
        font-weight: 600;
    }

    #main_block_01 .title .arrows button .icon {
        width: 1.6rem;
        height: 1.6rem;
        stroke-width: 2;
    }

    #main_block_01>.arrows button .icon {
        width: 2.4rem;
        height: 2.4rem;
        stroke-width: 2;
        stroke: var(--white-color);
    }

    #main_block_01 .page {
        margin-top: 4rem;
    }

    #main_block_01 .page span {
        width: 2rem;
        height: 2px;
        background: var(--body-color);
        opacity: 1;
    }

    #main_block_01 .page span.swiper-pagination-bullet-active {
        background: var(--point-color);
    }







    #main_block_02 {
        text-align: left;
        background-color: #fcf5f6;
        padding-bottom:7rem;
    }

    #main_block_02 .title {
        position: relative;

    }

    #main_block_02 .title em {
        display: block;
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: 0.8rem;
        color: var(--primary-color);
    }

    #main_block_02 .title .icon_btn {
        position: absolute;
        margin-top: 2.4rem;
    }

    #main_block_02 .w_inner_r {
        display: flex;
        gap: 4rem;
        margin: 0 0;
        margin-left: auto;
    }

    #main_block_02 .w_inner_r>* {
        flex: 1;
        overflow: hidden;
    }

    #main_block_02 .w_inner_r .con_warp {
        flex: 4;
    }


    @media (max-width: 1652px) {
        #main_block_02 .w_inner_r {
            margin: 0 0;
            margin-left: 1.6rem;
        }

        #main_block_02 .title .icon_btn {
            position: relative;
            margin-top: 2.4rem;
        }
    }

    @media (max-width: 768px) {
        #main_block_02 .w_inner_r {
            flex-direction: column;
        }
    }

    @media (max-width: 480px) {
        #main_block_02 .w_inner_r {
            margin: 0 0;
            margin-left: 1.6rem;
            margin-right: 1.6rem;
        }
    }

    #main_block_02 .itm figure {
        margin-bottom: 4rem;
    }

    #main_block_02 .itm img {
        border-radius: 2.4rem;
    }

    #main_block_02 .txt strong {
        display: block;
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 0.8rem;
    }

    #main_block_02 .txt p {
        margin-bottom: 0.8rem;
        opacity: 0.75;
        min-height: 4rem;
    }




    #main_block_02 .arrows {
        display: flex;
        gap: 4rem;
        margin-top: 1.6rem;
    }


    #main_block_02 .arrows button {
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;

        text-transform: uppercase;
        font-size: 1.2rem;
        font-weight: 600;
    }

    #main_block_02 .title .arrows button .icon {
        width: 1.6rem;
        height: 1.6rem;
        stroke-width: 2;
    }

    #main_block_02>.arrows button .icon {
        width: 2.4rem;
        height: 2.4rem;
        stroke-width: 2;
        stroke: var(--white-color);
    }

    #main_block_02 .page {
        margin-top: 4rem;
    }

    #main_block_02 .page span {
        width: 2rem;
        height: 2px;
        background: var(--body-color);
        opacity: 1;
    }

    #main_block_02 .page span.swiper-pagination-bullet-active {
        background: var(--point-color);
    }

.program_wrap {
    display: flex;
    justify-content: flex-end;
    gap: 60px;
}


.program_item {
    flex: 1;
    position: relative;

    display: flex;
    flex-direction: column;
}

.program_item .txt_box h3 {
    margin-bottom: 20px;

    font-size: 26px;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.04em;
}

.program_item .txt_box h3 span {
    color: #ef8fa6;
    font-weight: 700;
}

.program_item .txt_box p {
    line-height: 1.4;
    font-size: 15px;
    color: #222;

    word-break: keep-all;
}

.program_item .img_box {

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.program_item .img_box img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
    display: block;
}

.program_item .plus_btn {
    position: absolute;
    right: 0;
    bottom: -10px;

    width: 35px;
    height: 35px;

    border: 1px solid #868686;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    transition: all .3s ease;
}

.program_item .plus_btn i {
    font-size: 18px;
    color: #111;
}

.program_item:hover .plus_btn {
    background: #ef8fa6;
    border-color: #ef8fa6;
}

.program_item:hover .plus_btn i {
    color: #fff;
}

@media (max-width: 1200px) {

    .program_wrap {
        gap: 30px;
    }

    .program_item .txt_box h3 {
        font-size: 28px;
    }

    .program_item .txt_box p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {

    .program_wrap {
        flex-direction: column;
        gap: 60px;
    }

    .program_item .plus_btn {
        width: 46px;
        height: 46px;
    }
}




/* 스튜디오 */



    #main_block_studio {
        position: relative;
        background: var(--primary-color) url(/home/theme/jb_v2/images/_index_studio_bg.jpg) no-repeat center bottom/cover;
        background-attachment: fixed;
        color: var(--white-color);
        overflow: hidden;
        height:500px;
    }

    #main_block_studio .title {
        margin-bottom: 0;
    }


#main_block_studio .title em {
    display: block;
    font-size: 1.6rem;
    color:#e6e6e6;
    font-weight: 500;
    margin-bottom: 0.8rem;

}


    #main_block_studio::before {
        content: "";
        position: absolute;
        inset: 0 0 0 0;
        background: rgba(0, 0, 0, 0.5) url(<?=G5_THEME_URL;?>/images/pt-bg01.png);
    }

    #main_block_studio .inner {
        position: relative;
        margin: 0px auto;

    }


    #main_block_studio .lnk {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(0, -50%);

        width: 16rem;
        height: 16rem;
        border-radius: 50%;
        box-shadow: 0 0 16px rgba(0, 0, 0, 0.75);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--white-color);
        color: var(--body-color);
    }

    #main_block_studio .lnk .icon {
        margin-bottom: 0.8rem;
        width: 4rem;
        height: 4rem;
        stroke-width: 1;
    }

    #main_block_studio .lnk span {
        font-size: 1.8rem;
        font-weight: 400;
    }

    @media (max-width: 1024px) {
        #main_block_studio {
            background-attachment: scroll;
            margin: 0 0;
            border-radius: 0;
        }

        #main_block_studio .inner {
            margin: 0 4rem;
        }
    }

    @media (max-width: 768px) {
        #main_block_studio .lnk {
            position: relative;
            margin-top: 4rem;
            transform: translate(0, 0);
        }


        #main_block_studio .inner {
            margin: 0 2.4rem;
        }
    }

    @media (max-width: 460px) {
        #main_block_studio {
            margin: 0 0;
            border-radius: 0;
            overflow: hidden;

        }
    }


 .snsbtn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right:20px;
}

.snsbtn a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    color: #fff;
    text-decoration: none;
}

.snsbtn i {
    display: block;

    font-size: 18px;
    line-height: 1;

    font-family: "Font Awesome 6 Brands";
}



/* 메인슬라이트버튼 */
/* 메인슬라이드버튼 */
#main_visual .desc .main_btns {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

#main_visual .desc .main_btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 160px;
    height: 50px;
    padding: 0 36px;

    border-radius: 999px;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;

    opacity: 0;
    transform: translateX(80px);

    transition: background .35s ease, color .35s ease, border .35s ease, box-shadow .35s ease, transform .35s ease;
}

/* 활성 슬라이드에서만 버튼 등장 */
#main_visual .swiper-slide.on .desc .main_btns a {
    animation: mainBtnShow .8s ease forwards;
}

#main_visual .swiper-slide.on .desc .main_btns a:nth-child(1) {
    animation-delay: .45s;
}

#main_visual .swiper-slide.on .desc .main_btns a:nth-child(2) {
    animation-delay: .6s;
}

/* 상담신청 */
#main_visual .desc .main_btns .btn_consult {
    background: linear-gradient(135deg, #ef9fb1 0%, #e889a0 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(232,137,160,0.28);
}

/* 시간표보기 */
#main_visual .desc .main_btns .btn_schedule {

    background: rgb(255,255,255,0.90);
    backdrop-filter: blur(10px);
    color: #e889a0;
}

/* hover */
#main_visual .swiper-slide.on .desc .main_btns a:hover {
    transform: translateY(-4px);
}

#main_visual .desc .main_btns .btn_consult:hover {
    background: linear-gradient(135deg, #e889a0 0%, #de738e 100%);
    box-shadow: 0 18px 36px rgba(232,137,160,0.38);
}

#main_visual .desc .main_btns .btn_schedule:hover {
    background: rgba(255,255,255,0.7);
    border-color: rgba(232,137,160,0.8);
    color: #de738e;
}


@media (max-width: 1024px) {
    #main_visual .desc .main_btns {
        margin-top: 3.2rem;
    }

    #main_visual .desc .main_btns a {
        min-width: 16rem;
        height: 5.6rem;
        padding: 0 2.8rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    #main_visual .desc .main_btns {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1.6rem;
    }

    #main_visual .desc .main_btns a {
        min-width: 0;
        height: 5rem;
        padding: 0 2.2rem;
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    #main_visual .desc .main_btns {
        width: 100%;
    }

    #main_visual .desc .main_btns a {
        flex: 0 1 calc(50% - .5rem);
        padding: 0 1.2rem;
        white-space: nowrap;
    }
}

@keyframes mainBtnShow {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* 발레스튜디오 슬라이드 골드 버튼 */
#main_visual .itm03 .main_btns .btn_consult {
    background: linear-gradient(135deg, #d8b36a 0%, #c89a4b 100%);
    color: #fff;

    box-shadow: 0 12px 30px rgba(200,154,75,0.28);
}

#main_visual .itm03 .main_btns .btn_consult:hover {
    background: linear-gradient(135deg, #cfa454 0%, #b98735 100%);

    box-shadow: 0 18px 36px rgba(200,154,75,0.38);
}



#main_info_notice {
    position: relative;
    padding-bottom: 8rem;

}

#main_info_notice .latest {
    text-align: left;
    padding-right: 8rem;
}


#main_info_notice .latest.right {
    text-align: left;
    padding-right: 0rem;
}


/* 탭 메뉴 스타일 */
#main_info_notice .tab_menu {
    display: flex;
    height: 4.8rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--primary-color);
}

#main_info_notice .tab_menu .tab-btn {
    display: flex;
    align-items: center;
    padding: 0 4rem;
    border: 1px solid transparent;
    border-top: 1px solid var(--line-color);
    border-left: 1px solid var(--line-color);
    border-right: 1px solid var(--line-color);
    height: 4.8rem;

    white-space: nowrap;
}

#main_info_notice .tab_menu .tab-btn.on {
    border: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--white-color);
}

/* 탭 콘텐츠 스타일 */
#main_info_notice .tab-contents {
    position: relative;
}

#main_info_notice .tab-contents .con {
    height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
}

#main_info_notice .tab-contents .con.on {
    height: auto;
}

#main_info_notice .con_wrap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0;
}

/* NEWS & NOTICE와 YouTube 블록의 시작 높이 통일 */
#main_info_notice .con_wrap > .latest {
    align-self: start;
}

#main_info_notice .con_wrap > .latest > .title {
    margin-top: 0;
}

#main_info_notice .con_wrap .map_box {
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0px 24px 24px -16px rgba(0, 0, 0, 0.2);
}

#main_info_notice .con_wrap .wrap_map .map {
    position: relative;
}

/* 지도 스크롤을 막음 */

#main_info_notice .con_wrap .wrap_map .map::before {
    content: "";
    position: absolute;
    inset: 0 0 0 0;
    z-index: 4;
    background: rgba(0, 0, 0, 0);
}

#main_info_notice .con_wrap .map_box .lnk_a {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 5;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;

    background: var(--primary-color);
    color: var(--white-color);

    font-size: 1.7rem;
    line-height: 2.4rem;

    transform: translate(-50%, 50%);

}

#main_info_notice .con_wrap .map_box .lnk_a .icon {
    width: 4rem;
    height: 4rem;
    color: var(--white-color);
    stroke-width: 1;
    margin-bottom: 1.6rem;
}

#main_info_notice .con_wrap .map_box .lnk_a::before {
    content: "";
    position: absolute;
    inset: 0 0 0 0;
    z-index: -1;
    border-radius: 50%;
    background: var(--primary-color);

    opacity: 0.25;
}

#main_info_notice .con_wrap .map_box .lnk_a:hover::before {
    animation: circle 0.8s infinite;
}



@keyframes circle {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}




@media (max-width:768px) {
    #main_info_notice .con_wrap {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 8rem;
    }

    #main_info_notice .latest {
        padding-right: 0;
    }

    #main_info_notice .dd_list_title a {
        padding: 0.8rem 0;
        line-height: 1.5;
    }

    #main_info_notice .dd_list_title small {
        display: block;
        float: none;
        color: var(--body-color);
        font-size: 1.6rem;
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    #main_info_notice .con_wrap .lnk {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}



.dd_pic_basic .is-main .bom_info {
    position: relative;
}

.dd_pic_basic .is-main .bom_more {
    margin-top: 50px;
}

.dd_pic_basic .is-main .bom_more span {
    width: 50px;
    height: 50px;

    border: 1px solid #111;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all .3s ease;
}

.dd_pic_basic .is-main .bom_more i {
    font-size: 18px;
    color: #111;
}

.dd_pic_basic .is-main a:hover .bom_more span {
    background: #ef8fa6;
    border-color: #ef8fa6;
}

.dd_pic_basic .is-main a:hover .bom_more i {
    color: #fff;
}






.main_sns {
    padding: 90px 0;
    background: #fcf5f6;
}

.sns_inner {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.main_sns h2 {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 38px;

    font-size: 26px;
    font-weight: 700;
    color: #111;
}

.main_sns h2 i {
    font-size: 36px;
    color: #e97891;
}

.main_sns h2 em {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;

}

.insta_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.insta_grid a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee;
}

.insta_grid img,
.youtube_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* youtube */
.youtube_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.youtube_item {
    position: relative;
    display: block;

    aspect-ratio: 9 / 16;

    overflow: hidden;
    border-radius: 14px;
    background: #ddd;
}

.youtube_item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
}

.youtube_item .play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;

    transform: translate(-50%, -50%);

    width: 54px;
    height: 38px;
    border-radius: 10px;

    background: #ff1f1f;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube_item .play_btn i {
    font-size: 18px;
}
/* popup */
.youtube_pop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.youtube_pop.on {
    display: block;
}

.youtube_pop_bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
}

.youtube_pop_box {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 80%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;

    transform: translate(-50%, -50%);
    background: #000;
}

.youtube_pop_box iframe {
    width: 100%;
    height: 100%;
}

.youtube_close {
    position: absolute;
    right: 0;
    top: -48px;

    width: 44px;
    height: 44px;

    border: 0;
    background: #fff;
    color: #111;
    cursor: pointer;

    font-size: 0;
}

.youtube_close::before,
.youtube_close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 22px;
    height: 2px;
    background: #111;
}

.youtube_close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.youtube_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .sns_inner {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }

    .insta_grid {
        grid-template-columns: repeat(3, 1fr);
    }

@media (max-width: 768px) {

    .youtube_list {
        grid-template-columns: repeat(2, 1fr);
    }

}

    .youtube_pop_box {
        width: 92%;
    }
}



#company_vision {
    position: relative;
}



.detail_content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem;
}

.goal_item {
    padding: 2.4rem 0;
    border-bottom: 1px solid var(--line-color);
}

.goal_item:nth-child(even) {
    border-bottom: 1px solid var(--line-color);
}

.goal_item h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.goal_item p {
    line-height: 1.8;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .detail_content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision_details h3 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }

    .goal_item {
        padding: 2rem 0;
    }

    .goal_item h4 {
        font-size: 1.8rem;
    }
}

#company_vision .biz__manage {
    position: relative;
    height: auto;
    margin-top: 5rem;
}

/* 기존 원형 Core Values 도식은 카드형에서 사용하지 않음 */
#company_vision .biz__manage__box_c {
    display: none;
}

#company_vision .biz__manage__container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.4rem;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    counter-reset: core-value;
}

#company_vision .biz__manage__container > li {
    position: relative;
    width: auto;
    min-height: 30rem;
    padding: 4.8rem 3rem 3.2rem;
    border: 1px solid #eadfe2;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 1.6rem 4rem rgba(76, 48, 55, 0.07);
    overflow: hidden;
    counter-increment: core-value;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

#company_vision .biz__manage__container > li::before {
    content: "0" counter(core-value);
    position: absolute;
    top: 2.2rem;
    right: 2.4rem;
    font-size: 5.6rem;
    line-height: 1;
    font-weight: 800;
    color: rgba(230, 125, 146, 0.10);
}


#company_vision .biz__manage__container > li:hover {
    transform: translateY(-.8rem);
    border-color: var(--primary-color);
    box-shadow: 0 2rem 4.8rem rgba(76, 48, 55, 0.12);
}

#company_vision .biz__manage__container strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 2rem;
    padding-top: 3.2rem;
    font-size: 2.4rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
    word-break: keep-all;
}

#company_vision .biz__manage__container strong::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4rem;
    height: .3rem;
    background: var(--primary-color);
}

#company_vision .biz__manage__container p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
    word-break: keep-all;
}

@media (max-width: 1100px) {
    #company_vision .biz__manage__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #company_vision .biz__manage__container > li {
        min-height: 26rem;
    }
}

@media (max-width: 768px) {
    #company_vision .biz__manage {
        margin-top: 3.5rem;
        padding: 0;
    }

    #company_vision .biz__manage__container {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    #company_vision .biz__manage__container > li {
        min-height: 0;
        padding: 3.8rem 2.4rem 2.6rem;
        border-radius: 1.6rem;
    }

    #company_vision .biz__manage__container > li::before {
        top: 1.8rem;
        right: 2rem;
        font-size: 4.6rem;
    }

    #company_vision .biz__manage__container strong {
        margin-bottom: 1.4rem;
        padding-top: 2.6rem;
        font-size: 2rem;
    }

    #company_vision .biz__manage__container p {
        font-size: 1.5rem;
        line-height: 1.75;
    }
}


.edus_grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
        gap: 3.2rem;
    }

    .edu_item {
        background: white;
        padding: 3rem 2.5rem;

        transition: transform 0.3s ease;
        text-align: center;

    }





    .edu_item h4 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .edu_item ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .edu_item li {
        font-size: 1.4rem;
        padding: 1.2rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .edu_item li:last-child {
        border-bottom: none;
    }




.edu_thumb {
    width: calc(100% + 5rem);
    height: 220px;
    margin: -3rem -2.5rem 2rem;
    overflow: hidden;
    border-radius: 1rem;
}

.edu_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.edu_item:hover .edu_thumb img {
    transform: scale(1.05);
}




 /* 모바일 반응형 - 상세 혜택 */
    @media (max-width: 768px) {


        .edus_grid {
            grid-template-columns: 1fr;
            gap: 2.4rem;
        }

        .edu_item {

            margin-top: 1.8rem;
        }



        .edu_item h4 {
            font-size: 2rem;
            margin-bottom: 1.6rem;
        }

        .edu_item li {
            font-size: 1.4rem;
        }


    }


   #bf_info .con_wrap {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
        gap: 3.2rem;
    }

    #bf_info .con_wrap figure {
        background: #fff;
        border-radius: 2rem;
        overflow: hidden;
        transition: all 0.3s ease;
        user-select: none;

    }

    #bf_info .con_wrap figure:hover {
        transform: translateY(-0.8rem);
        border-color: var(--primary-color);
    }

    #bf_info .con_wrap figure .img_area {
        height: 36rem;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    #bf_info .con_wrap .itm01 .img_area {
        background-image: url(../img/_p01.jpg);
    }

    #bf_info .con_wrap .itm02 .img_area {
        background-image: url(../img/_p02.jpg);
    }

    #bf_info .con_wrap .itm03 .img_area {
        background-image: url(../img/_p03.jpg);
    }

    #bf_info .con_wrap figure .text_area {
        padding: 3.2rem 2.4rem;
        text-align: center;
    }

    #bf_info .con_wrap .text_area strong {
        display: block;
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 1.6rem;
        line-height: 1.4;
    }

    #bf_info .con_wrap .text_area p {
        line-height: 1.6;
        margin-bottom: 2.4rem;
        word-break: keep-all;
    }

    #bf_info .con_wrap .text_area a {
        align-self: flex-start;
    }

    #bf_info .bottom {
        display: flex;
        gap: 3.2rem;
        margin-top: 6.4rem;
    }

    #bf_info .bottom>* {
        flex: 1;
    }

    #bf_info .bottom .tit {
        position: relative;
    }

    #bf_info .bottom .tit strong {
        display: block;
        font-size: 3.2rem;
        font-weight: 600;
        margin-bottom: 1.6rem;
    }



    @media (max-width: 768px) {
        #bf_info .con_wrap {
            grid-template-columns: 1fr;
            gap: 2.4rem;
        }

        #bf_info .con_wrap figure .img_area {
            height: 20rem;
        }

        #bf_info .con_wrap figure .text_area {
            padding: 2.4rem 2rem;
        }

        #bf_info .con_wrap .text_area strong {
            font-size: 2rem;
            margin-bottom: 1.2rem;
        }

        #bf_info .con_wrap .text_area p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
        }

        #bf_info .bottom {
            flex-direction: column;
            gap: 2.4rem;
        }
    }



          #company_ceo {
            position: relative;
        }

        /* CEO 서명 영역 스타일 */
        #company_ceo .ceo_signature {
            margin-top: 4rem;
            text-align: right;
        }

        #company_ceo .signature_area {
            display: inline-block;

        }

        #company_ceo .signature_area img {
            width: 12rem;
            height: auto;
            margin-bottom: 1rem;
            opacity: 0.8;
        }

        #company_ceo .ceo_name {
            font-size: 1.8rem;
            margin: 0;
        }

        #company_ceo .ceo_name strong {
            font-weight: 700;
            font-size: 2.4rem;
        }

        #company_ceo .content_photo {
            position: relative;
            margin-bottom: 12rem;
        }

        #company_ceo .sub_title_tit {
            margin-bottom: 4rem;
            line-height: 1.2;
            font-size: 3.2rem;
            font-weight: 700;
        }

        #company_ceo .content_photo .txt_area {
            position: absolute;
            right: 4rem;
            bottom: -4rem;
            z-index: 2;

            padding: 4rem;

            background: var(--primary-color);
        }

        #company_ceo .content_photo .txt_area p {
            color: var(--white-color);

            font-size: 1.6rem;
            line-height: 2.4rem;
        }

        #company_ceo .con_wrap {
            display: flex;
            gap: 8rem;
        }

        #company_ceo .con_wrap>* {
            flex: 1;
        }

        #company_ceo .con_wrap p {
            margin-bottom: 2.4rem;
        }

        @media (max-width: 768px) {
            #company_ceo .con_wrap {
                display: flex;
                flex-direction: column;
                gap: 2.4rem;
            }

            #company_ceo .sub_title_tit {
                margin-bottom: 4rem;
                line-height: 1.2;
                font-size: 2.4rem;
                font-weight: 700;
            }

            #company_ceo .content_photo {
                position: relative;
                margin-bottom: 8rem;
            }

            #company_ceo .content_photo img {
                height: 40rem;
                object-fit: cover;
            }

            #company_ceo .content_photo .txt_area {
                position: relative;
                right: auto;
                bottom: auto;
                z-index: 2;

                padding: 2.4rem;
            }

            #company_ceo .ceo_signature {
                margin-top: 3rem;
                text-align: center;
            }

            #company_ceo .signature_area img {
                width: 10rem;
            }

            #company_ceo .ceo_name {
                font-size: 1.6rem;
            }

            #company_ceo .ceo_name strong {
                font-size: 1.8rem;
            }
        }

        #company_ceo .table th {
            background: var(--background-color);
        }

        #company_ceo .table td {
            border-left: 1px solid var(--line-color);
        }




        #company_ceo .con_wrap {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

#company_ceo .ceo_intro {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex: 2.5;
}

#company_ceo .ceo_profile {
    flex: 1;
}



#company_ceo .ceo_message p{
    font-size:1.08em;
    line-height:1.6;
    color:#111;
}




#company_ceo .ceo_profile p{
    font-size:1.5rem;
    line-height:1.4;
    color:#333;
}

#company_ceo .ceo_photo {
    width: 200px;
    flex-shrink: 0;
}

#company_ceo .ceo_photo img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

#company_ceo .ceo_message {
    flex: 1;
}



@media (max-width: 768px) {

    #company_ceo .con_wrap {
        display: block;
    }

    #company_ceo .ceo_intro {
        display: block;
        width: 100%;
    }

    #company_ceo .ceo_photo {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 3rem;
    }

    #company_ceo .ceo_photo img {
        width: 100%;
        height: auto;
        display: block;
    }

    #company_ceo .ceo_message {
        width: 100%;
    }

    #company_ceo .ceo_message p {
        font-size: 1em;
        line-height: 1.5;
        word-break: keep-all;
    }

    #company_ceo .ceo_profile {
        width: 100%;
        max-width: none;
        margin-top: 0rem;
    }

    #company_ceo .ceo_profile p {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    #company_ceo .ceo_profile p span{
        display: none;
    }

}



/* =========================================================
   조직도
========================================================= */

#company_organization {
    padding: 3rem 0 8rem;
}

#company_organization .organization {

    --org-line-size: 3px;
    --org-border: #e4e4e4;
    --org-gap: 8rem;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#company_organization .org-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#company_organization .org-node {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    min-height: 8rem;
    padding: 1.4rem 2rem;

    border: 1px solid #999;
    border-radius: 5px;
    background: #fff;

    color: #222;
    line-height: 1.4;
    word-break: keep-all;
}

#company_organization .org-node strong {
    font-size: 1.7rem;
    font-weight: 800;
}

#company_organization .org-node span {
    margin-top: .4rem;
    font-size: 1.4rem;
    font-weight: 400;
}

#company_organization .org-node-owner,
#company_organization .org-node-director,
#company_organization .org-node-department {
    width: 220px;
}

#company_organization .org-node-owner {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

#company_organization .org-node-owner strong {
    font-size: 1.9rem;
}

#company_organization .org-node-department {
    margin: 0 auto;
    border-color: #f49ab8;
    background: #fff8fa;
}

/* 브랜드 오너 → 대표원장 */
#company_organization .org-vline {
    width: var(--org-line-size);
    margin: 0 auto;
    background: var(--org-line);
}

#company_organization .org-vline-owner {
    height: 5rem;
}

/* 대표원장 → 두 부서 */
#company_organization .org-main-connector {
    position: relative;
    height: 7rem;
}

#company_organization .org-main-stem,
#company_organization .org-main-bar {
    position: absolute;
    display: block;
    background: var(--org-line);
}

#company_organization .org-main-stem {
    top: 0;
    left: 50%;
    width: var(--org-line-size);
    height: 3.5rem;
    transform: translateX(-50%);
}

/*
 두 부서 그리드의 실제 중심점 사이만 연결.
 각 칸 너비는 (전체 - gap) / 2 이므로
 왼쪽 중심 = (전체 - gap) / 4
 오른쪽 중심 = 전체 - 왼쪽 중심
*/
#company_organization .org-main-bar {
    top: 3.5rem;
    left: calc((100% - var(--org-gap)) / 4);
    right: calc((100% - var(--org-gap)) / 4);
    height: var(--org-line-size);
}

/* 부서 2개 */
#company_organization .org-row-departments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--org-gap);
}

#company_organization .org-department {
    position: relative;
    min-width: 0;
}

#company_organization .org-department-drop {
    position: absolute;
    top: -3.5rem;
    left: 50%;
    width: var(--org-line-size);
    height: 3.5rem;
    background: var(--org-line);
    transform: translateX(-50%);
}

/* 부서 → 하위조직 */
#company_organization .org-subconnector {
    position: relative;
    height: 5rem;
}

#company_organization .org-sub-stem,
#company_organization .org-sub-bar {
    position: absolute;
    display: block;
    background: var(--org-line);
}

#company_organization .org-sub-stem {
    top: 0;
    left: 50%;
    width: var(--org-line-size);
    height: 2.5rem;
    transform: translateX(-50%);
}

#company_organization .org-sub-bar {
    top: 2.5rem;
    height: var(--org-line-size);
}

#company_organization .org-subconnector-two .org-sub-bar {
    left: 25%;
    right: 25%;
}

#company_organization .org-subconnector-three .org-sub-bar {
    left: 16.6667%;
    right: 16.6667%;
}

#company_organization .org-row-children {
    display: grid;
    gap: 2rem;
}

#company_organization .org-row-children-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#company_organization .org-row-children-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#company_organization .org-child-wrap {
    position: relative;
    min-width: 0;
}

#company_organization .org-child-drop {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    width: var(--org-line-size);
    height: 2.5rem;

    transform: translateX(-50%);
}

#company_organization .org-node-child {
    width: 100%;
    min-height: 11rem;
}

/* 태블릿 */
@media (max-width: 1100px) {
    #company_organization .organization {
        --org-gap: 4rem;
    }

    #company_organization .org-row-children {
        gap: 1.2rem;
    }

    #company_organization .org-node {
        padding: 1.2rem 1.4rem;
    }

    #company_organization .org-node strong {
        font-size: 1em;
    }

    #company_organization .org-node span {
        font-size: 1.3rem;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    #company_organization {
        padding: 1rem 0 5rem;
    }

    #company_organization .organization {
        padding: 0 2rem;
    }

    #company_organization .org-node,
    #company_organization .org-node-owner,
    #company_organization .org-node-director,
    #company_organization .org-node-department {
        width: 100%;
    }

    #company_organization .org-main-connector {
        height: 4rem;
    }

    #company_organization .org-main-stem {
        height: 4rem;
    }

    #company_organization .org-main-bar {
        display: none;
    }

    #company_organization .org-row-departments,
    #company_organization .org-row-children-two,
    #company_organization .org-row-children-three {
        display: block;
    }

    #company_organization .org-department {
        margin-bottom: 4rem;
    }

    #company_organization .org-department + .org-department {
        margin-top: 4rem;
    }

    #company_organization .org-department-drop,
    #company_organization .org-subconnector {
        display: none;
    }

    #company_organization .org-node-child {
        margin-top: 1rem;
    }

    #company_organization .org-child-drop {
        top: -2rem;
        height: 2rem;
    }
}


.grid_2 {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0rem;
    padding: 9rem 0;
    overflow: hidden;
    background:url('/home/theme/jb_v2/img/junior_company_bg.jpg') center bottom no-repeat;
    background-size: cover;
     background-attachment:fixed;
}

.grid_2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .75);
}

.grid_2_inner {
    position: relative;
    z-index: 2;
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 8rem;
    align-items: flex-start;
}

.grid_2 .pbox:first-child {
    flex: 2;
}

.grid_2 .pbox:last-child {
    flex: 1;
}

.grid_2 .pbox h3 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: #ff8fac;
    font-weight: 700;
}

.grid_2 .pbox p {
    font-size: 1.7rem;
    line-height: 2;
    color: #fff;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .grid_2 {
        margin-top: 4rem;
        padding: 6rem 0;
    }

    .grid_2_inner {
        flex-direction: column;
        gap: 4rem;
        padding: 0 2.4rem;
    }

    .grid_2 .pbox h3 {
        font-size: 2.4rem;
    }

    .grid_2 .pbox p {
        font-size: 1.5rem;
        line-height: 1.9;
    }
}



/* 역대단원 */
.jn_member{
    margin-top:8rem;
}

.jn_member h1{
    font-size:2.8rem;   /* 기존보다 작게 */
    font-weight:700;
    margin-bottom:3rem;
    color:#222;
}


.jn_member table{
    width:100%;
    border-collapse:collapse;
}

.jn_member table tr{
    border-bottom:1px solid #e5e5e5;
}

.jn_member table td{
    padding:2rem 1rem;
    font-size:1.6rem;
    line-height:1.9;
    color:#555;
    vertical-align:top;
}

.jn_member table td:first-child{
    width:100px;
    font-size:1.8rem;
    font-weight:700;
    color:var(--primary-color);
    text-align:left;
    white-space:nowrap;
}

.jn_member .table_wrap ul{
    margin-top:1.5rem;
}

.jn_member .table_wrap ul li{
    font-size:1.4rem;
    color:#888;
}





.jb-inner {

    margin: 0 auto;
}

.jb-title {
    text-align: center;
    margin-bottom: 70px;
}

.jb-title p {
    margin: 0 0 12px;
    color: #b98b63;
    font-size: 15px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.jb-title h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #2d2623;
}

.jb-title span {
    display: block;
    margin-top: 14px;
    font-size: 15px;
    color: #999;
}

.jb-intro {
    background: #fff;
    padding: 45px 50px;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(80, 50, 35, .08);
    margin-bottom: 35px;
}

.jb-intro h3,
.jb-table-wrap h3 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #b18464;
}

.jb-intro p,
.jb-card p,
.jb-profile li,
.jb-schedule dd {

    line-height: 1.85;
    letter-spacing: -0.04em;
}

.jb-program {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.jb-card {
    background: #fff;
    padding: 38px;
    border-radius: 24px;
    border: 1px solid #ead8c9;
}

.jb-card h4 {
    margin: 0 0 14px;
    font-size: 24px;
    color: #2d2623;
}

.jb-card h4 span {
    color: #b18464;
    font-size: 18px;
}

.jb-teacher {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 45px;
    align-items: center;
    background: #fff;
    padding: 30px 0px;
    border-radius: 30px;
    margin-bottom: 70px;
}

.jb-photo img {
    width: 100%;
    border-radius: 22px;
    display: block;
}

.jb-profile h3 {
    margin: 0 0 18px;
    font-size: 26px;
}

.jb-profile h3 strong {
    color: #b18464;
}

.jb-profile ul {
    margin: 0;
    padding-left: 18px;
}

.jb-table-wrap {
    margin-bottom: 60px;
}

.jb-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
}

.jb-table th,
.jb-table td {
    border: 1px solid #e2d4c9;
    padding: 18px 20px;
    vertical-align: middle;
    line-height: 1.5;
}

.jb-table th {
    width: 18%;
    background: #f3e9e1;
    color: #5a4033;
    font-weight: 700;
}

.jb-schedule {
    border: 3px solid #b69247;
    border-radius: 32px;
    padding: 50px 70px;
    background: #fff;
    margin-bottom: 45px;
}

.jb-schedule h3 {
    margin: 0 0 35px;
    text-align: center;
    font-size: 34px;
    color: #b18464;
    font-weight: 900;
}

.jb-schedule dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px 24px;
    margin: 0;
}

.jb-schedule dt {
    font-weight: 700;
    color: #9b7a55;
}

.jb-btn-area {
    text-align: center;
}

.jb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 58px;
    border-radius: 100px;
    border: 1px solid #b69247;
    color: #333;
    background: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: all .25s ease;
}

.jb-btn:hover {
    background: #b69247;
    color: #fff;
}

@media (max-width: 768px) {
    .jb-course {
        padding: 70px 18px;
    }

    .jb-title h2 {
        font-size: 30px;
    }

    .jb-intro,
    .jb-card,
    .jb-teacher,
    .jb-schedule {
        padding: 28px 24px;
        border-radius: 22px;
    }

    .jb-program,
    .jb-teacher {
        grid-template-columns: 1fr;
    }

    .jb-photo {
        max-width: 220px;
        margin: 0 auto;
    }

    .jb-table {
        font-size: 14px;
    }

    .jb-table th,
    .jb-table td {
        display: block;
        width: 100%;
        padding: 14px;
    }

    .jb-schedule h3 {
        font-size: 26px;
    }

    .jb-schedule dl {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .jb-schedule dt {
        margin-top: 14px;
    }
}





.jb-inner {

    margin: 0 auto;
}

.jb-title {
    text-align: center;
    margin-bottom: 70px;
}

.jb-title p {
    margin: 0 0 12px;
    color: #b18464;
    font-size: 15px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.jb-title h2 {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0em;
    color: #2d2623;
}

.jb-title span {
    display: block;
    margin-top: 14px;
    font-size: 22px;
    font-weight: 700;
    color: #b18464;
}

.jb-step-list {
    margin-bottom: 40px;
}

.jb-step {
    margin-bottom: 20px;
}

.jb-step h3 {
    margin: 0 0 8px;
    font-weight:700;

    color: #705948;
    letter-spacing: -0.04em;
}

.jb-step h3 span {
    font-size: 20px;
    font-weight:500;
    color: #b18464;
}

.jb-step p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: -0.04em;
}

.jb-teacher-text {
    margin-bottom: 80px;
}

.jb-teacher-text h3 {
    margin: 0 0 14px;
    font-size: 30px;
    color: #b18464;
}

.jb-teacher-text h4 {
    margin: 0 0 16px;
    font-size: 24px;
    color: #333;
}

.jb-teacher-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jb-teacher-text li {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: -0.04em;
}

.jb-course-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #c8a07b;
    border-bottom: 1px solid #c8a07b;
    margin-bottom: 40px;
}

.jb-course-item {
    padding: 50px 45px;
}

.jb-course-item + .jb-course-item {
    border-left: 1px solid #c8a07b;
}

.jb-course-item h3 {
    margin: 0 0 18px;
    text-align: center;
    font-size: 32px;
    color: #2d2623;
}

.jb-course-item strong {
    display: block;
    margin-bottom: 30px;
    text-align: center;
    font-size: 22px;
    color: #b18464;
    font-style: italic;
    font-weight: 700;
}

.jb-course-item dl,
.jb-info dl {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px 18px;
    margin: 0;
}

.jb-course-item dt,
.jb-info dt {
    color: #8f796a;
    font-weight: 700;
    letter-spacing: .18em;
}

.jb-course-item dd,
.jb-info dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.04em;
}

.jb-info {
    max-width: 620px;
    margin: 0 auto 55px;
}

.jb-btn-area {
    text-align: center;
}

.jb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    height: 76px;
    border-radius: 100px;
    background: #c6a078;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    transition: all .25s ease;
}

.jb-btn:before {
    content: "✎";
    margin-right: 12px;
    font-size: 24px;
}

.jb-btn:hover {
    background: #a9825d;
}

@media (max-width: 768px) {
    .jb-course {
        padding: 0px 0px;
    }

    .jb-title h2 {
        font-size: 30px;
    }

    .jb-title span {
        font-size: 18px;
    }

    .jb-step h3 {
        font-size: 21px;
    }

    .jb-step h3 span {
        display: block;
        margin-top: 4px;
        font-size: 17px;
    }

    .jb-step p {
        font-size: 15px;
    }

    .jb-teacher-text h3 {
        font-size: 25px;
    }

    .jb-teacher-text h4 {
        font-size: 20px;
    }

    .jb-course-box {
        grid-template-columns: 1fr;
    }

    .jb-course-item {
        padding: 36px 20px;
    }

    .jb-course-item + .jb-course-item {
        border-left: 0;
        border-top: 1px solid #c8a07b;
    }

    .jb-course-item h3 {
        font-size: 25px;
    }

    .jb-course-item strong {
        font-size: 18px;
    }

    .jb-course-item dl,
    .jb-info dl {
        grid-template-columns: 55px 1fr;
        gap: 8px 12px;
    }

    .jb-course-item dd,
    .jb-info dd {
        font-size: 15px;
    }

    .jb-btn {
        min-width: 240px;
        height: 62px;
        font-size: 18px;
    }
}




.jb-title{
    position:relative;
    text-align:center;
    padding:70px 40px;
    margin-bottom:80px;
    border-radius:30px;


    background:
    linear-gradient(135deg,#2e2825 0%,#4d4037 100%);

    color:#fff;

    overflow:hidden;
}

.jb-title::before{
    content:"";
    position:absolute;
    inset:12px;
    border:1px solid rgba(201,166,120,.45);
    border-radius:22px;
}

.jb-title p{
    color:#d9b48c;
    font-size:15px;
    letter-spacing:.3em;
    margin-bottom:20px;
}

.jb-title h2{
    color:#fff;
    font-size:52px;
    font-weight:800;
    margin-bottom:18px;
}

.jb-title span{
    color:#d9b48c;
    font-size:30px;
    letter-spacing:2px;
}


.jb-teacher{
    display:flex;
    align-items: flex-start;
    gap:60px;
    margin:30px 0;

}

.jb-teacher-photo{

    flex:0 0 320px;

}

.jb-teacher-photo img{

    width:100%;
    display:block;

    border-radius:20px;

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

.jb-teacher-info{

    flex:1;

}

.jb-teacher-info h3{

    font-size:18px;
    color:#b18464;
    margin-bottom:15px;

}

.jb-teacher-info h4{

    font-size:26px;
    margin-bottom:25px;
    color:#222;
    font-weight:700;
}

.jb-teacher-info h4 span{

    display:block;
    margin-top:8px;

    font-size:18px;

    color:#999;

    font-weight:400;



}

.jb-teacher-info ul{

    margin:0;
    padding:0;
    list-style:none;

}

.jb-teacher-info li{

    position:relative;
    padding-left:18px;

    font-size:15px;
    line-height:1.8;

}

.jb-teacher-info li:before{

    content:"";

    position:absolute;

    left:0;
    top:12px;

    width:6px;
    height:6px;

    border-radius:50%;

    background:#c49a6c;

}

@media (max-width:768px){

    .jb-teacher{

        flex-direction:column;

        gap:35px;

        text-align:center;

    }

    .jb-teacher-photo{

        flex:none;

        width:240px;

    }

    .jb-teacher-info li{

        text-align:left;

    }

}


/* 자격관리 운영(발급)기관 정보 제목 */
.jb-sub-title{
    padding: 22px 15px !important;   /* 기존보다 위아래 여백 증가 */
    line-height: 1.6;
}

/* 소비자 알림사항 */
.jb-consumer{
    margin-top: 8px;
    font-size: 13px;      /* 기존보다 작게 */
    line-height: 1.7;
    color:#555;
}

.jb-consumer strong{
    font-size:14px;
    font-weight:600;
}

/* =========================================================
   회사소개 - 교육 시스템
========================================================= */

.edus_grid_system {
    margin-bottom: 0rem;
}

/* 교육 시스템 설명 3등분 */
.spec {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;

    border-top: 1px solid #e7d9dc;
    border-bottom: 1px solid #e7d9dc;
}

.spec > div {
    position: relative;
    min-width: 0;
    padding: 4rem 3.2rem;
    background: #fff;
    text-align: center;
}

.spec > div + div {
    border-left: 1px solid #e7d9dc;
}

.spec h2 {
    margin: 0 0 2rem;
    font-size: 2.6rem;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #222;
}

.spec h2::after {
    content: "";
    display: block;
    width: 3.6rem;
    height: 3px;
    margin: 1.6rem auto 0;
    background: var(--primary-color);
}

.spec p {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.9;
    color: #555;
    word-break: keep-all;
}

/* 태블릿 */
@media (max-width: 1024px) {
    .spec {
        gap: 2rem;
        border: 0;
    }

    .spec > div,
    .spec > div + div {
        border: 1px solid #e7d9dc;
    }

    .spec > div {
        padding: 3.2rem 2rem;
    }

    .spec h2 {
        font-size: 2.3rem;
    }

    .spec p {
        font-size: 1.45rem;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .edus_grid_system {
        margin-bottom: 3rem;
    }

    .spec {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        margin-top: 3rem;
    }

    .spec > div {
        padding: 2.8rem 2rem;
    }

    .spec h2 {
        margin-bottom: 1.6rem;
        font-size: 2.2rem;
    }

    .spec h2::after {
        margin-top: 1.2rem;
    }

    .spec p {
        font-size: 1.45rem;
        line-height: 1.8;
    }
}


/* PC 조직도 이미지 */
#company_organization .organization_pc {
    display: block;
    width: 100%;
    text-align: center;
}

#company_organization .organization_pc img {
    display: block;
    height: auto;
    margin: 0 auto;
}

/* 모바일용 HTML 조직도는 PC에서 숨김 */
#company_organization .organization_mobile {
    display: none;
}

/* 모바일 */
@media (max-width: 768px) {
    #company_organization .organization_pc {
        display: none;
    }

    #company_organization .organization_mobile {
        display: block;
    }
}












.jc_top {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    overflow: hidden;
}

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

.jc_top .jc_title {
    position: absolute;
    top: 60px;
    left: max(30px, calc((100vw - 1420px) / 2));
    z-index: 2;

    margin: 0;
    padding: 0 0 0 20px;
    font-family: "Noto Serif Display", serif;
    color: #fff;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}




@media (max-width: 768px) {
    .jc_top .jc_title {
        top: 25px;
        left: 20px;
        right: 20px;
        padding-left: 14px;
        font-size: 1.8rem;
    }

    .jc_top .jc_title::before {
        width: 4px;
    }
}




/* =========================================================
   게시판 검색 오버레이 최종 보정
   각 스킨 style.css 맨 아래에 추가
========================================================= */

html.bo-search-open,
body.bo-search-open {
    overflow: hidden !important;
}

/* 전체 오버레이 */
.sub_content .bo_sch_wrap {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* 배경 */
.sub_content .bo_sch_wrap .bo_sch_bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(22, 20, 23, 0.78) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 검색창 본체 */
.sub_content .bo_sch_wrap .bo_sch {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    width: calc(100% - 40px) !important;
    max-width: 720px !important;
    max-height: calc(100vh - 40px) !important;

    margin: 0 !important;
    padding: 52px 54px 48px !important;

    border: 0 !important;
    border-radius: 24px !important;
    background: #fff !important;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32) !important;
    transform: translate(-50%, -50%) !important;

    overflow: visible !important;
    box-sizing: border-box !important;
}

/* 우측 스크롤바가 생기던 원인 제거 */
.sub_content .bo_sch_wrap .bo_sch,
.sub_content .bo_sch_wrap .bo_sch form {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* 장식 */
.sub_content .bo_sch_wrap .bo_sch::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 155px;
    height: 120px;
    border-radius: 0 24px 0 100%;
    background: rgba(237, 132, 153, 0.12);
    pointer-events: none;
}

/* 검색 제목 */
.sub_content .bo_sch_wrap .bo_sch h3 {
    position: relative !important;
    z-index: 2;

    display: block !important;
    width: auto !important;

    margin: 0 0 34px !important;
    padding: 0 0 0 18px !important;

    color: #111 !important;
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

.sub_content .bo_sch_wrap .bo_sch h3::before {
    content: "";
    position: absolute;
    top: 0.05em;
    bottom: 0.05em;
    left: 0;
    width: 4px;
    border-radius: 10px;
    background: #ef7892;
}

/* 폼 */
.sub_content .bo_sch_wrap .bo_sch form {
    position: relative !important;
    z-index: 2;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 검색대상 셀렉트 */
.sub_content .bo_sch_wrap .bo_sch select {
    display: block !important;
    width: 100% !important;
    height: 52px !important;

    margin: 0 0 14px !important;
    padding: 0 46px 0 16px !important;

    border: 1px solid #ddd3d7 !important;
    border-radius: 10px !important;
    background-color: #fff !important;

    color: #555 !important;
    font-size: 1.5rem !important;
    line-height: 52px !important;

    box-sizing: border-box !important;
}

/* 검색 입력 전체 박스 */
.sub_content .bo_sch_wrap .bo_sch .sch_bar {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #ddd3d7 !important;
    border-radius: 10px !important;
    background: #fff !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 입력창 왼쪽 여백 */
.sub_content .bo_sch_wrap .bo_sch .sch_input {
    display: block !important;
    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 18px !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;

    color: #222 !important;
    font-size: 1.5rem !important;
    line-height: 58px !important;

    box-sizing: border-box !important;
}

.sub_content .bo_sch_wrap .bo_sch .sch_input::placeholder {
    color: #aaa !important;
    opacity: 1 !important;
}

/* 검색 버튼 */
.sub_content .bo_sch_wrap .bo_sch .sch_btn {
    position: static !important;

    flex: 0 0 58px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 58px !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: #ef7892 !important;

    color: #fff !important;
    font-size: 1.7rem !important;
    cursor: pointer !important;
}

/* 닫기 버튼 */
.sub_content .bo_sch_wrap .bo_sch .bo_sch_cls {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 5 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #eee !important;
    border-radius: 50% !important;
    background: #fff !important;

    color: #999 !important;
    font-size: 1.6rem !important;
    cursor: pointer !important;
}

.sub_content .bo_sch_wrap .bo_sch .bo_sch_cls:hover {
    color: #fff !important;
    border-color: #ef7892 !important;
    background: #ef7892 !important;
}

/* 모바일 */
@media (max-width: 768px) {
    .sub_content .bo_sch_wrap .bo_sch {
        width: calc(100% - 28px) !important;
        padding: 42px 22px 28px !important;
        border-radius: 18px !important;
    }

    .sub_content .bo_sch_wrap .bo_sch::before {
        width: 120px;
        height: 95px;
        border-radius: 0 18px 0 100%;
    }

    .sub_content .bo_sch_wrap .bo_sch h3 {
        margin-bottom: 28px !important;
        font-size: 2rem !important;
    }

    .sub_content .bo_sch_wrap .bo_sch select {
        height: 48px !important;
        line-height: 48px !important;
    }

    .sub_content .bo_sch_wrap .bo_sch .sch_bar {
        height: 54px !important;
    }

    .sub_content .bo_sch_wrap .bo_sch .sch_input {
        padding: 0 15px !important;
        line-height: 54px !important;
    }

    .sub_content .bo_sch_wrap .bo_sch .sch_btn {
        flex-basis: 54px !important;
        width: 54px !important;
    }
}


/* 검색 전체 오버레이 */
.bo_sch_wrap {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}

/* 어두운 배경은 아래 */
.bo_sch_wrap .bo_sch_bg {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    z-index: 1 !important;

    background: rgba(20, 18, 21, 0.78) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

/* 검색창은 위 */
.bo_sch_wrap .bo_sch {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    z-index: 10 !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: calc(100% - 40px) !important;
    max-width: 720px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 52px 54px 48px !important;

    border: 0 !important;
    border-radius: 24px !important;
    background: #fff !important;

    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38) !important;

    overflow: visible !important;
    transform: translate(-50%, -50%) !important;
}

/* 내부 요소도 확실히 위로 */
.bo_sch_wrap .bo_sch h3,
.bo_sch_wrap .bo_sch form,
.bo_sch_wrap .bo_sch select,
.bo_sch_wrap .bo_sch .sch_bar,
.bo_sch_wrap .bo_sch .sch_input,
.bo_sch_wrap .bo_sch .sch_btn,
.bo_sch_wrap .bo_sch .bo_sch_cls {
    position: relative !important;
    z-index: 20 !important;
}

/* 검색 입력창 */
.bo_sch_wrap .bo_sch .sch_bar {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #ded4d8 !important;
    border-radius: 10px !important;
    background: #fff !important;

    overflow: hidden !important;
}

/* 입력창 왼쪽 여백 */
.bo_sch_wrap .bo_sch .sch_input {
    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 18px !important;

    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;

    color: #222 !important;
    font-size: 15px !important;
}

/* 검색 버튼 */
.bo_sch_wrap .bo_sch .sch_btn {
    flex: 0 0 58px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 58px !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: #ef7892 !important;

    color: #fff !important;
}

/* 닫기 버튼 */
.bo_sch_wrap .bo_sch .bo_sch_cls {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;

    z-index: 30 !important;

    width: 42px !important;
    height: 42px !important;

    border: 1px solid #eee !important;
    border-radius: 50% !important;
    background: #fff !important;

    color: #999 !important;
}

/* 검색창 내부 스크롤 제거 */
.bo_sch_wrap .bo_sch,
.bo_sch_wrap .bo_sch form {
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* 모바일 */
@media (max-width: 768px) {
    .bo_sch_wrap .bo_sch {
        width: calc(100% - 28px) !important;
        padding: 44px 22px 28px !important;
        border-radius: 18px !important;
    }
}


.bo_sch h3 {
    padding: 15px;
    border:none !important;
}


.en_comt{
    display: block;
    padding:20px;
    font-size:24px;
    font-family: "Noto Serif Display", serif;
}



/*
 * Julia Ballet - 메인페이지 모바일 반응형 보정
 * 적용 파일: custom.css 맨 아래에 추가하거나,
 * 기존 custom.css 다음에 별도 CSS로 로드하세요.
 *
 * 핵심 수정:
 * - main_block_01 / main_block_02 실제 마크업의 .w_inner 기준으로 반응형 적용
 * - 모바일에서 제목영역과 콘텐츠가 좌우로 찢어지는 현상 제거
 * - 입시결과 Swiper 가로 넘침 방지
 * - 교육 프로그램을 모바일 1열 카드형으로 정리
 * - 414px(iPhone XR 계열) 포함 768px 이하 레이아웃 최적화
 */


/* =========================================================
   MAIN BLOCK 01 / 02 : 공통 레이아웃 보정
   현재 HTML은 .w_inner_r이 아니라 .w_inner를 사용하므로
   실제 마크업 기준으로 다시 지정
========================================================= */

#main_block_01,
#main_block_02 {
    overflow: hidden;
}

#main_block_01 > .w_inner,
#main_block_02 > .w_inner {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 3.6fr);
    gap: clamp(3rem, 4vw, 7rem);
    align-items: start;
}

#main_block_01 > .w_inner > .title,
#main_block_02 > .w_inner > .title,
#main_block_01 > .w_inner > .con_warp,
#main_block_02 > .w_inner > .con_warp {
    min-width: 0;
}

#main_block_01 .con_warp,
#main_block_02 .con_warp {
    width: 100%;
    /* overflow: hidden; */
}


/* =========================================================
   태블릿
========================================================= */

@media (max-width: 1024px) {

    #main_block_01 > .w_inner,
    #main_block_02 > .w_inner {
        grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 2.5fr);
        gap: 3rem;
    }

    #main_block_01 .title h2,
    #main_block_02 .title h2 {
        word-break: keep-all;
    }

    .program_wrap {
        gap: 2.4rem;
    }

    .program_item .txt_box h3 {
        font-size: 2.3rem;
        line-height: 1.3;
    }
}


/* =========================================================
   모바일
========================================================= */

@media (max-width: 768px) {

    /* 섹션 자체 여백 */
    #main_block_01.default,
    #main_block_02.default {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    #main_block_02 {
        padding-bottom: 7rem;
    }

    /* 핵심: 좌우 2단 → 위아래 1단 */
    #main_block_01 > .w_inner,
    #main_block_02 > .w_inner {
        display: flex;
        flex-direction: column;
        gap: 4rem;

        width: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #main_block_01 > .w_inner > .title,
    #main_block_02 > .w_inner > .title,
    #main_block_01 > .w_inner > .con_warp,
    #main_block_02 > .w_inner > .con_warp {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    /* 제목 영역 */
    #main_block_01 .title,
    #main_block_02 .title {
        width: 100%;
        padding: 0;
    }

    #main_block_01 .title h1,
    #main_block_02 .title h1 {
        margin: 0 0 2rem;
        font-size: 5rem;
        line-height: 1;
    }

    #main_block_01 .title h2,
    #main_block_02 .title h2 {
        margin: 0 0 1.6rem;
        font-size: 3.4rem;
        line-height: 1.2;
        letter-spacing: -0.05em;
        white-space: normal;
        word-break: keep-all;
    }

    #main_block_01 .title .desc,
    #main_block_02 .title .desc {
        margin: 0 0 2.6rem;
        font-size: 1.5rem;
        line-height: 1.65;
        word-break: keep-all;
    }

    /* 입시 결과 컨트롤 */
    #main_block_01 .arrows {
        gap: 2.4rem;
        margin-top: 0;
    }

    #main_block_01 .page {
        margin-top: 2.6rem;
    }

    #main_block_01 .page span {
        width: 1.8rem;
    }

    /* Swiper 가로 밀림 방지 */
    #main_block_01 .main_admission_swiper,
    #main_block_01 .main_admission_swiper .swiper-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #main_block_01 .main_admission_swiper {
        overflow: visible;
    }

    #main_block_01 .con_warp {
        overflow: hidden;
        margin-left: 0;
        margin-right: 0;
    }

    /*
     * Swiper 1.2개 노출 설정은 유지하면서
     * 화면 밖으로 밀리지 않도록 콘텐츠 기준 너비 확보
     */
    #main_block_01 .main_admission_swiper .swiper-slide {
        min-width: 0;
    }


    /* =====================================================
       교육 프로그램
    ===================================================== */

    #main_block_02 .main_btn {
        font-size: 1.6rem;
        padding-bottom: 1rem;
    }

    #main_block_02 .program_wrap {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    #main_block_02 .program_item {
        position: relative;
        display: block;
        width: 100%;
        min-width: 0;

        padding: 2.2rem 2.2rem 2.4rem;

        border: 1px solid rgba(230, 125, 146, 0.18);
        border-radius: 1.8rem;
        background: rgba(255, 255, 255, 0.72);
        overflow: hidden;
    }

    #main_block_02 .program_item .txt_box {
        width: 100%;
    }

    #main_block_02 .program_item .txt_box h3 {
        margin: 0 0 1.6rem;
        padding-right: 5.6rem;

        font-size: 2.3rem;
        line-height: 1.3;
        font-weight: 600;
        letter-spacing: -0.045em;
        word-break: keep-all;
    }

    #main_block_02 .program_item .img_box {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 0 1.6rem;

        overflow: hidden;
        border-radius: 1.2rem;
    }

    #main_block_02 .program_item .img_box img {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;
        object-fit: cover;
    }

    #main_block_02 .program_item .txt_box p {
        margin: 0;
        padding-right: 4.8rem;

        font-size: 1.45rem;
        line-height: 1.65;
        word-break: keep-all;
    }

    #main_block_02 .program_item .plus_btn {
        right: 2rem;
        bottom: 2rem;

        width: 4.4rem;
        height: 4.4rem;
    }

    #main_block_02 .program_item .plus_btn i {
        font-size: 1.6rem;
    }
}


/* =========================================================
   480px 이하 - iPhone XR 414px 포함
========================================================= */

@media (max-width: 480px) {

    #main_block_01.default,
    #main_block_02.default {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #main_block_01 > .w_inner,
    #main_block_02 > .w_inner {
        gap: 0rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #main_block_01 .title h1,
    #main_block_02 .title h1 {
        margin-bottom: 0rem;
        font-size: 4.6rem;
    }

    #main_block_01 .title h2,
    #main_block_02 .title h2 {
        margin-bottom: 1.4rem;
        font-size: 3rem;
    }

    #main_block_01 .title .desc,
    #main_block_02 .title .desc {
        margin-bottom: 2.2rem;
        font-size: 1.45rem;
    }

    #main_block_01 .arrows {
        gap: 2rem;
    }

    #main_block_01 .page {
        margin-top: 2.2rem;
    }

    #main_block_02 .program_wrap {
        gap: 1.6rem;
    }

    #main_block_02 .program_item {
        padding: 2rem;
        border-radius: 1.6rem;
    }

    #main_block_02 .program_item .txt_box h3 {
        padding-right: 5rem;
        font-size: 2.15rem;
    }

    #main_block_02 .program_item .txt_box p {
        font-size: 1.6rem;
    }

    #main_block_02 .program_item .plus_btn {
        right: 1.8rem;
        bottom: 1.8rem;
        width: 4rem;
        height: 4rem;
    }


.title h1 {
    font-family: "Noto Serif Display", serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.25;
    color: #f292a5;
    padding-bottom: 20px;
}


}





/*
 * Julia Ballet - 메인 모바일 추가 보정 v2
 * 2026-08-31
 * 대상:
 * 1) 발레 스튜디오(main_block_studio) 모바일 CTA 버튼이 이미지 하단에 어색하게 걸리는 문제
 * 2) 모바일에서 스튜디오 섹션 높이/여백 정리
 * 3) NEWS & NOTICE 시작 간격 자연스럽게 보정
 *
 * 기존 custom_mobile_fixed.css 뒤에 추가하세요.
 */

@media (max-width: 768px) {

    /* =====================================================
       STUDIO
    ===================================================== */

    #main_block_studio {
        height: auto !important;
        min-height: 0 !important;

        padding: 5.5rem 0 4.5rem !important;

        background-position: 68% center !important;
        background-attachment: scroll !important;

        overflow: hidden;
    }

    #main_block_studio::before {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.62) 0%,
                rgba(0, 0, 0, 0.48) 58%,
                rgba(0, 0, 0, 0.18) 100%
            ) !important;
    }

    #main_block_studio .inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        width: auto;
        max-width: none;
        margin: 0 !important;
        padding: 0 2rem;
    }

    #main_block_studio .title {
        width: 100%;
        max-width: 31rem;
        margin: 0 !important;
    }

    #main_block_studio .title em {
        margin-bottom: .9rem;
        font-size: 1.35rem;
        line-height: 1.3;
    }

    #main_block_studio .title h2 {
        margin: 0 0 1.8rem;
        font-size: 3.2rem;
        line-height: 1.2;
        letter-spacing: -0.05em;
        word-break: keep-all;
    }

    #main_block_studio .title p,
    #main_block_studio .title .desc {
        margin: 0;
        font-size: 1.45rem;
        line-height: 1.7;
        word-break: keep-all;
    }

    /*
     * 기존 16rem 원형 버튼을 모바일에서는
     * 콘텐츠 아래의 가로형 CTA로 변경
     */
    #main_block_studio .lnk {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: inline-flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: .9rem;

        width: auto !important;
        min-width: 13.5rem;
        height: 4.8rem !important;

        margin: 3rem 0 0 !important;
        padding: 0 2rem;

        border-radius: 999px !important;
        box-shadow: 0 .8rem 2.2rem rgba(0, 0, 0, 0.20);

        transform: none !important;
    }

    #main_block_studio .lnk .icon {
        width: 2rem;
        height: 2rem;
        margin: 0 !important;
        stroke-width: 1.5;
    }

    #main_block_studio .lnk span {
        font-size: 1.45rem;
        font-weight: 600;
        white-space: nowrap;
    }


    /* =====================================================
       NEWS & NOTICE
       스튜디오 섹션과 다음 블록 사이 여백 정리
    ===================================================== */

    #main_info_notice {
        padding-top: 5.5rem;
        padding-bottom: 6rem;
    }

    #main_info_notice .con_wrap {
        gap: 5rem;
    }

    #main_info_notice .latest > .title {
        margin-bottom: 2.4rem;
    }




.main_sns {
    padding: 30px 0;
    background: #fcf5f6;
}












}


@media (max-width: 480px) {

    #main_block_studio {
        padding: 4.8rem 0 4rem !important;
        background-position: 65% center !important;
    }

    #main_block_studio .inner {
        padding-left: 3rem;
        padding-right: 2rem;
    }

    #main_block_studio .title {
        max-width: 29rem;
    }

    #main_block_studio .title h2 {
        font-size: 3rem;
    }

    #main_block_studio .title p,
    #main_block_studio .title .desc {
        font-size: 1.6rem;
        line-height: 1.65;
    }

    #main_block_studio .lnk {
        margin-top: 2.6rem !important;
        height: 4.6rem !important;
        padding: 0 1.8rem;
    }

    #main_info_notice {
        padding-top: 5rem;
    }
}



/* ========================================================
   줄리아발레아카데미 - training_03.php 상단 히어로 스타일
======================================================== */
.jba-hero-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    /* 배경 발레리나 이미지 경로 설정 */
    background: url('../img/tr_bg.jpg') no-repeat left center;
    background-size: cover;
    background-color: #322b29;
    overflow: hidden;
    color: #ffffff;

    box-sizing: border-box;
    margin-bottom: 50px;
}


.jba-hero-section.tr2 {
    position: relative;
    width: 100%;
    min-height: 520px;
    /* 배경 발레리나 이미지 경로 설정 */
    background: url('../img/tr_bg2.jpg') no-repeat left center;
    background-size: cover;
    background-color: #322b29;
    overflow: hidden;
    color: #ffffff;

    box-sizing: border-box;
    margin-bottom: 50px;
}


.jb-step-group h3.jb-section-title{

font-size: 1.2em;
    font-weight: 600;
    line-height: 1.4;
    padding-bottom:20px;

}


.jba-hero-section .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1330px;
    margin: 0 auto;
    min-height: 600px;
    padding: 35px 30px;
    box-sizing: border-box;
}

/* 1. 상단 브랜드 영역 */
.hero-top-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-top-brand .brand-logo img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.hero-top-brand .brand-text {
    display: flex;
    flex-direction: column;
}

.hero-top-brand .sub-desc {
    font-size: 18px;
    font-weight: 300;
    color: #cbb49e;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.hero-top-brand .brand-name {
    font-size: 26px;
    font-weight: 600;
    color: #c8a487;
        font-family: "Noto Serif KR", serif;
    margin: 0;
    letter-spacing: -0.5px;
}

/* 2. 중앙 메인 타이틀 영역 */
.hero-main-title {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    text-align: right;
}

.hero-main-title .title-sub {
    font-size: 2.4em;
    font-weight: 800;
    color: #ffffff;


    line-height: 1.2;
}

.hero-main-title .title-sub span{
    display: block;
    font-size: 0.6em;
    font-weight: 500;
    color: #ffffff;


    line-height: 1.2;
}




.hero-main-title .title-step {
    font-size: 1.2em !important;
    font-weight: 700;
    color: #c8a487;
    margin: 0 0 28px 0;
    letter-spacing: -0.5px;
}

.hero-main-title .title-eng {
    font-family: 'Playfair Display', 'Cinzel', serif, sans-serif;
    font-size: 1.2em !important;
    font-weight: 400;
    color: #f1e9e2;

    margin: 0;
}

/* 3. 하단 후원 로고 영역 */
.hero-sponsor {
    position: absolute;
    bottom: 60px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-sponsor .sponsor-label {
    font-size: 15px;
    font-weight: 500;

}

.hero-sponsor .sponsor-img {
    height: 32px;
    width: auto;
    display: block;
}

.hero-sponsor .sponsor-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero-sponsor .sponsor-name-ko {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero-sponsor .sponsor-name-en {
    font-size: 9px;
    font-weight: 400;
    color: #cccccc;
    letter-spacing: 1.5px;
}

/* 반응형 (태블릿 & 모바일 768px 이하) */
@media (max-width: 768px) {
    .jba-hero-section {
        min-height: 480px;
    }
    .jba-hero-section .hero-inner {
        min-height: 480px;
        padding: 24px 20px;
    }
    .hero-top-brand .brand-logo img {
        width: 60px;
        height: 60px;
    }
    .hero-top-brand .sub-desc {
        font-size: 12px;
    }
    .hero-top-brand .brand-name {
        font-size: 20px;
    }

    .hero-main-title {
        right: 20px;
        top: 52%;
    }
    .hero-main-title .title-sub {
        font-size: 24px;
    }
    .hero-main-title .title-main {
        font-size: 26px;
    }
    .hero-main-title .title-step {
        font-size: 20px;
        margin-bottom: 16px;
    }
    .hero-main-title .title-eng {
        font-size: 14px;
    }

    .hero-sponsor {
        right: 20px;
        bottom: 20px;
    }
    .hero-sponsor .sponsor-name-ko {
        font-size: 16px;
    }
}



/* ========================================================
   반응형 (태블릿 & 모바일 768px 이하) 개선 스타일
======================================================== */
@media (max-width: 768px) {
    .jba-hero-section {
        min-height: 520px;
        /* 1. 배경 이미지를 아래쪽 중앙(center bottom) 기준으로 배치 */
        background-position: 30% bottom !important;
        background-size: cover !important;
    }

    /* 2. 기존 hero-overlay에 상단~중앙 텍스트 가독성을 위한 반투명 그라데이션 적용 */
    .jba-hero-section .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* 상단 어두움(65%) -> 중앙(40%) -> 하단 발레리나 영역은 밝게(10%) */
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0.15) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    .jba-hero-section .hero-inner {
        min-height: 520px;
        padding: 24px 20px;
        z-index: 2; /* 딤 레이어 위로 노출 */
    }

    /* 브랜드 영역 */
    .hero-top-brand .brand-logo img {
        width: 55px;
        height: 55px;
    }
    .hero-top-brand .sub-desc {
        font-size: 13px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    }
    .hero-top-brand .brand-name {
        font-size: 20px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    }

    /* 중앙 메인 타이틀 영역 가독성 강화 */
    .hero-main-title {
        right: 20px;
        top: 42%; /* 발레리나와 겹치지 않도록 위치를 살짝 위로 조정 */
        transform: translateY(-50%);
    }
    .hero-main-title .title-sub {
        font-size: 24px;
        line-height: 1.3;
        /* 배경과 분리되도록 그림자 추가 */
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    }
    .hero-main-title .title-step {
        font-size: 18px !important;
        margin-bottom: 12px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    }
    .hero-main-title .title-eng {
        font-size: 13px !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }

    /* 하단 후원 로고 영역 */
    .hero-sponsor {
        right: 20px;
        bottom: 20px;
    }
    .hero-sponsor .sponsor-name-ko {
        font-size: 16px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }
    .hero-sponsor .sponsor-name-en {
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }
}