@charset "utf-8";

/* main.css */
.sub_visual {
    width: 100%;
    height: 100%;
    min-height: 750px;
    background: url('../img/sub_visual.jpg') no-repeat center center;
    background-size: cover;
}

.sub_visual .sub_visual_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    overflow: hidden;
}

.sub_visual .sub_visual_inner h2 {
    font-size: 6rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.sub_visual .sub_visual_inner p {
    width: 100%;
    max-width: 1000px;
    padding: 20px 40px;
    font-size: 5rem;
    font-weight: 600;
    color: #cd49b1;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 100px;
}

.login_wr {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.serial_form {
    width: 100%;
    max-width: 400px;
}

.serial_input {
    width: 100%;
    padding: 15px;
    border: 1px solid #000;
    font-size: 16px;
    box-sizing: border-box;
}


/* sub1_1 */

#sub1_1 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#sub1_1 .container .row p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
}


/* --- 영상 선택 카드 (sub2_1) --- */
.video_select_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
    background-color: #fff;
    flex-wrap: wrap;
}

.video_card {
    width: 280px;
    height: 300px;
    border-radius: 30px;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
}

.vc_title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 15px 0;
    font-family: 'Times New Roman', serif;
}

.vc_divider {
    font-size: 32px;
    font-weight: bold;
    margin: 15px 0 30px 0;
    font-family: sans-serif;
}

.vc_btn {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 15px;
    cursor: pointer;
    background: #fff;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.vc_btn:hover {
    background: #f7f7f7;
}

.icon_play:hover {
    color: #fff;
}

/* 1) 파란색(네이비) 테마 */
.theme_blue {
    border-color: #2b394a;
}

.theme_blue .vc_title,
.theme_blue .vc_divider,
.theme_blue .icon_play {
    color: #2b394a;
}

.theme_blue .vc_btn {
    border-color: #2b394a;
    color: #555;
}

.theme_blue .vc_btn:hover {
    background-color: #2b394a;
    color: #fff;
}

/* 2) 붉은색(마룬) 테마 */
.theme_red {
    border-color: #8c2a30;
}

.theme_red .vc_title,
.theme_red .vc_divider,
.theme_red .icon_play {
    color: #8c2a30;
}

.theme_red .vc_btn {
    border-color: #8c2a30;
    color: #555;
}

.theme_red .vc_btn:hover {
    background-color: #8c2a30;
    color: #fff;
}

/* --- 영상 목록 (sub3_1) --- */
.video_list_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 80px 20px;
    background-color: #fff;
}

.video_item {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 21 / 9;
    /* According to the image, black background is quite wide, maybe 21:9 or similar but let's use standard padding. Let's use 16/9, wait image looks wider. Let's do width 100%, padding-bottom 45% or aspect-ratio: 2/1 */
    aspect-ratio: 2 / 1;
    background-color: #000;
}

.video_item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.play_icon_wrapper {
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.play_icon {
    font-size: 45px;
    color: #000;
    margin-left: 10px;
    /* 플레이 아이콘을 시각적으로 중앙에 맞춤 */
}

.video_title {
    color: #fff;
    font-size: 26px;
    text-align: center;
    line-height: 1.6;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -0.5px;
}

.mr_down {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 80px 20px;
    background-color: #fff;
}

.mr_down .btn_dw {
    padding: 20px 40px;
    background-color: #2b394a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

.mr_down .btn_dw:hover {
    background-color: #156ec7;
}

.gnb_menu_btn {
    display: none;
}

/* --- Responsive Area --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .sub_visual {
        min-height: 500px;
    }

    .sub_visual .sub_visual_inner h2 {
        font-size: 4.5rem;
    }

    .sub_visual .sub_visual_inner p {
        font-size: 3.5rem;
        padding: 15px 30px;
    }

    .video_select_container {
        padding: 60px 20px;
        gap: 30px;
    }

    .video_card {
        width: 250px;
        height: 270px;
    }

    .vc_title {
        font-size: 28px;
    }

    .video_list_container {
        padding: 60px 20px;
        gap: 60px;
    }

    .play_icon_wrapper {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

    .play_icon {
        font-size: 35px;
        margin-left: 8px;
    }

    .video_title {
        font-size: 24px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    #hd_wrapper {
        height: 60px;
        padding: 0 15px;
        align-items: center;
    }

    #logo {
        padding: 0;
    }

    #logo img {
        height: 35px;
        width: auto;
    }

    #gnb {
        display: none !important;
    }

    .gnb_wrap {
        display: none !important;
    }

    .gnb_menu_btn {
        display: block !important;
        background: transparent !important;
        color: #000 !important;
        font-size: 24px !important;
        height: auto !important;
        width: auto !important;
        padding: 10px !important;
    }

    #gnb_all {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        border: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    #gnb_all .gnb_all_inner {
        padding: 60px 20px 20px;
    }

    #gnb_all .gnb_al_li {
        width: 100%;
        float: none;
        min-height: auto;
        border: 0;
        padding: 0;
        margin-bottom: 20px;
    }

    #gnb_all .gnb_al_a {
        font-size: 1.4rem;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    #gnb_all .gnb_al_li ul {
        display: none; /* 초기 상태 숨김, 스크립트에서 토글 */
        padding: 10px 15px;
        background: #f9f9f9;
        margin: 5px 0;
    }

    #gnb_all .gnb_al_li ul li a {
        padding: 8px 0;
        display: block;
        font-size: 1.1rem;
    }

    .gnb_close_btn {
        color: #000 !important;
        font-size: 24px !important;
        top: 10px !important;
        right: 10px !important;
    }

    .sub_visual {
        min-height: 350px;
    }

    .sub_visual .sub_visual_inner {
        top: 30%;
    }

    .sub_visual .sub_visual_inner h2 {
        font-size: 3rem;
    }

    .sub_visual .sub_visual_inner p {
        font-size: 1.5rem;
        padding: 12px 20px;
        border-radius: 50px;
        max-width: 100%;
    }

    .video_select_container {
        padding: 40px 20px;
        gap: 20px;
        flex-direction: column;
    }

    .video_card {
        width: 100%;
        max-width: 320px;
        height: 250px;
    }

    .vc_title {
        font-size: 24px;
    }

    .vc_divider {
        margin: 10px 0 20px 0;
    }

    .video_list_container {
        padding: 40px 10px;
        gap: 40px;
    }

    .play_icon_wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .play_icon {
        font-size: 30px;
        margin-left: 6px;
    }

    .video_title {
        font-size: 20px;
    }

    .serial_form {
        padding: 0 15px;
    }

    /* Footer Responsive */
    #ft {
        padding: 0 15px 20px;
        text-align: center;
        background: #f8f9fa;
    }

    #ft_wr {
        width: 100%;
        padding: 0;
    }

    #ft_copy {
        max-width: 100%;
        font-size: 13px;
        color: #666;
        padding: 20px 0 0;
        margin-top: 20px;
        border-top: 1px solid #eee;
        line-height: 1.6;
    }

    #top_btn {
        width: 45px;
        height: 45px;
        line-height: 43px;
        font-size: 18px;
        bottom: 30px;
        right: 15px;
        border-radius: 50%;
        background: #2b394a;
        color: #fff;
        border: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: flex;
        justify-content: center;
        align-items: center;
    }


}

/* Mobile (max-width: 768px) */
@media (max-width: 420px) {


}