@charset "utf-8";

h3 {
    font-size: 24px;
}

#sub_container .contents {
    background: #f9f9f9;
}

.section-title-prd {
    background: #f9f9f9;
}

#sub_container .con {
    padding-bottom: 50px;
}

.sub_board_tab>a {
    display: inline-block;
    background-color: #ffffff;
    font-weight: bold;
    margin-left: 10px;
    box-sizing: border-box;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 15px;
}

.sub_board_tab>a:first-child {
    margin-left: 1%;
}

.sub_board_tab>a:hover {
    background-color: rgb(133, 0, 0);
    color: white;
    border: 0;
}

.sub_board_tab .black {
    background-color: rgb(133, 0, 0);
    color: white;
    border: 0;
}


td>table {
    margin: 0 auto;
    background: #f9f9f9;
}

.main_list {
    width: 100%;
}

.main_list>tbody>tr:nth-child(2n+3) {
    height: 60px;
}

/* 
.main_list>tbody>tr:last-child{
    height: 0;
} */

.video_con {
    display: inline-block;
    width: 18%;
    margin: 0 1%;
}

.video_con:first-child {
    margin-left: 0;
}

.video_con:last-child {
    margin-right: 0;
}

.video_con>table {
    width: 100%;
}

/* table>tbody>tr>td>table>tbody>tr>td>table>tbody>tr:first-child>td>div */
#iconlayer {
    display: none;
}

/* .main_list>tbody>tr>td {
    padding: 0 15px !important;
} */

.video_con>table>tbody>tr:first-child {
    height: 200px;
}

.video_con a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
}

.video_con>table>tbody>tr>td>a>img {
    width: 100%;
    height: 100%;
}

.video_con tr:last-child .nt01 {
    text-align: left;
    padding-top: 10px;
}

.video_con tr:last-child .nt01 span {
    display: block;
    width: fit-content;
    font-size: 17px;
}

.video_con tr:last-child .nt01 span::after {
    content: '';
    display: block;
    width: 80%;
    height: 2px;
    margin-top: 10px;
    background-color: rgb(133, 0, 0);
    transition: 0.3s;
}

.video_con:hover tr:last-child .nt01 span::after {
    width: 110%;
}

.qna_title {
    text-align: left;
    padding-top: 20px;
    font-size: 1.8rem;
    font-weight: 400;
}

.qna_myname {
    display: none;
}

.board_youtube {
    text-align: center;
}


@media screen and (max-width: 1300px) {
    .board_youtube {
        position: relative;
        width: 100%;
        height: auto;
        padding-top: 50%;
        margin: 40px auto;
    }

    .board_youtube iframe {
        z-index: 1;
        top: 0;
        left: 0;
        position: absolute;
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 1300px){
    #sub_container{
        background: #f9f9f9;
    }
}




@media screen and (max-width: 700px) {
    .main_video>table>tbody>tr>td>table>tbody>tr>td {
        display: block;
        width: 90%;
        padding: 20px 5% !important;
    }

    .main_video>table>tbody>tr>td>table>tbody>tr>td img {
        width: 100%;
        height: auto;
    }

    .video_1 {
        width: 100%;
        padding: 0 !important;
    }

    .main_video>table>tbody>tr>td>table>tbody>tr:nth-child(2n-1) {
        display: none;
    }

    .main_video>table>tbody>tr>td>table>tbody>tr:first-child {
        display: block;
    }

    .main_video>table>tbody>tr>td>table>tbody>tr:last-child {
        display: block;
    }

    .nt01 {
        font-size: 1.3rem;
        letter-spacing: -0.5px;
        font-weight: 500;
    }



}