/* 공통 */

.color1{
    background: #65001a !important;
    border: 1px solid #65001a !important;
    color: #fff !important;
}
.color2{
    background: #936c6a !important;
    border: 1px solid #936c6a !important;
    color: #fff !important;
}
.underline:after{
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    background: #8f816a;
    margin: 13px 0 30px;
}


/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */


.m4_m4_m6 {
    padding: 30px 0;
    background: #fff;
}
.m4_m4_m6 > div{
    max-width: 1100px;
    margin: auto;
}

.m4_m4_m6 article ~ article{
    margin-top: 25px;
}


/* ------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------- */
/* 인트로 패널 */

.m4_m4_m6 .intro-pannel {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    background: #313133;
    min-height: 56px;
}
.m4_m4_m6 .intro-pannel p{
    display: flex;
    align-self: center;
    text-align: center;
    font: bold 17px/1.3em "나눔바른고딕";
    color: #fff;
    padding: 12px 30px;
}
.m4_m4_m6 .intro-pannel div{
    margin-left: auto;
}
.m4_m4_m6 .intro-pannel div a{
    display: inline-flex;
    height: 100%;
    align-items: center;
    font: bold 17px/1.3em "나눔바른고딕";
    color: #fff;
    padding: 12px 24px;
    background: #830020;
    border-left: 1px solid #fff;
}
.m4_m4_m6 .intro-pannel div a.link:after{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../../../../images/iosf/ko/content/m4_m4_m6/img_link_white_16x16.png)no-repeat center;
    background-size: 16px 16px;
    margin-left: 10px;
    margin-bottom: 2px;
}

/* 인트로 패널 */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* 서브 타이틀 (bar 포함) */

.m4_m4_m6 .sub-title {
    position: relative;
    display: flex;
    margin-top: 50px;
    align-items: center;
}
.m4_m4_m6 .sub-title h1 {
    font: 23px/1.3em "나눔바른고딕";
    display: flex;
    align-items: start;
    color: #000;
}
.m4_m4_m6 .sub-title h1.bar:before {
    content: "";
    display: inline-block;
    min-width: 3px;
    height: 22px;
    background: url(../../../../images/iosf/ko/content/m4_m4_m6/bar_3x22.png)no-repeat center;
    background-size: 3px 22px;
    margin-right: 10px;
    margin-top: 2px;
}
.m4_m4_m6 .sub-title .btn{
    position: absolute;
    right: 0;
}





/* 서브 타이틀 (bar 포함) */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* 팁 박스 */


.m4_m4_m6 .tipbox {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100px;
    background: #f2f0ed;
    border: 1px solid #8f816a;
    padding: 24px 27px;
}
.m4_m4_m6 .tipbox:before {
    content: "";
    position: absolute;
    display: block;
    top: 3px;
    left: 2px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    /* border: 1px solid #eceae6; */
    background: #ffffff;
}

.m4_m4_m6 .tipbox .sort-btn{
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.m4_m4_m6 .tipbox .sort-btn dt{
    width: calc(100% / 3);
    display: flex;
    align-items: flex-start;
}
.m4_m4_m6 .tipbox .sort-btn dt button{
    display: flex;
    text-align: left;
    font: 17px/1.3em "나눔바른고딕";
    color: #000;
    background: transparent;
    margin: 5px 0;
}
.m4_m4_m6 .tipbox .sort-btn dt button:hover{
    color: #830020;
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-thickness: 1px;
    transition: all 0.2s;
}
.m4_m4_m6 .tipbox .sort-btn dt button:before{
    content: "";
    display: inline-block;
    min-width: 8px;
    height: 8px;
    background: #9f9f9f;
    border-radius: 10px;
    margin-right: 10px;
    margin-top: 6px;
}
.m4_m4_m6 .tipbox .sort-btn dt button:hover:before{
    background: #000000;
    transition: all 0.2s;
}


/* 팁 박스 */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/*  index */



.m4_m4_m6 .index > div{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.m4_m4_m6 .index div section{
    display: flex;
    flex-direction: column;
    width: calc((100% / 2) - (30px / 2));
    padding: 30px 0;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #d8d8d8;
    margin-left: 30px;
}
.m4_m4_m6 .index div section:nth-of-type(odd){
    /* border-left: 1px solid #d8d8d8; */
    margin-left: 0px;
}
.m4_m4_m6 .index div section:nth-of-type(2) ~ section{
    margin-top: 30px;
}

.m4_m4_m6 .sub-title div .top-btn,
.m4_m4_m6 .index div section .sort div .top-btn{
    min-width: 32px;
    height: 32px;
    background: 
    url(../../../../images/iosf/ko/content/m4_m4_m6/top_grey_14x14.png)no-repeat center,
    transparent;
    background-size: 14px 14px;
    border: 1px solid #c5c5c5;
    border-radius: 20px;
}

.m4_m4_m6 .index div section .profile{
    margin-top: 20px;
}

.m4_m4_m6 .index div section .profile dt p{
    width: 100%;
    font: bold 21px/1.3em "나눔바른고딕";
    color: #000;
    /* height: 217px; */
    /* flex: initial; */
    /* border: 1px solid #ececec; */
}

.m4_m4_m6 .index div section .profile dt{
}

.m4_m4_m6 .index div section .profile dd{
    flex: 1;
    /* margin-left: 20px; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.m4_m4_m6 .index table{
    width: 100%;
    border-top: 1px solid #8f816a;
    border-bottom: 1px solid #9f9f9f;
} 

.m4_m4_m6 .index .list {
    display: flex;
    width: calc((100% / 3) - (40px / 3));;
}
/* .m4_m4_m6 .index .list:first-of-type {
    width: calc((100% / 3 * 2) - (20px / 2));
} */
.m4_m4_m6 .index .list:only-child {
    width: 100%;
}

.m4_m4_m6 .index .list + .list{
    margin-left: 20px;
}

.m4_m4_m6 .index .list:nth-of-type(4){
    margin-left: 0;
}
.m4_m4_m6 .index .list:nth-of-type(3) ~ .list{
    margin-top: 20px;
}


.m4_m4_m6 .index .list table{
    border-left: 1px solid #d8d8d8;
}
.m4_m4_m6 .index .list table:last-of-type{
    border-right: 1px solid #d8d8d8;
}
.m4_m4_m6 .index .list table tr{
    display: flex;
    flex-direction: column;
}



.m4_m4_m6 .index table tr th, 
.m4_m4_m6 .index table tr td{
    font:  17px/1.5em "나눔바른고딕";
    color: #000;
    border-left: 1px solid #d8d8d8;
}

.m4_m4_m6 .index table tr th{
    min-width: 112px;
    background: #f6f6f6;
    color: #6e5d42;
} 
.m4_m4_m6 .index .grey table tr th{
    background: #f9f7f2;
}

.m4_m4_m6 .index table tr td{
    width: 82%;
}

.m4_m4_m6 .index table tr th:nth-child(n), 
.m4_m4_m6 .index table tr td:nth-child(n){
    border-right: 0;
    text-align: left;
    height: auto;
    padding: 8px 13px;
} 
.m4_m4_m6 .index table tr:not(:first-of-type) th, 
.m4_m4_m6 .index table tr:not(:first-of-type) td{
    border-top: 1px solid #d8d8d8;
}
.m4_m4_m6 article table tr:last-of-type th,
.m4_m4_m6 article table tr:last-of-type td {
    border-bottom: 0;
}
.m4_m4_m6 .index table tr th:nth-last-child(1), 
.m4_m4_m6 .index table tr td:nth-last-child(1) {
    border-right: 1px solid #d8d8d8;
}
.m4_m4_m6 .index .list table tr th:nth-child(n), 
.m4_m4_m6 .index .list table tr td:nth-child(n){
    width: 100%;
    border-right: 0;
    border-left: 0;
    padding: 20px 13px;
}
.m4_m4_m6 .index .list table tr td:nth-child(n) p{
    display: flex;
    font: 17px/1.4em "나눔바른고딕";
    align-items: flex-start;
}
.m4_m4_m6 .index .list table tr td:nth-child(n) p ~ p{
    margin-top: 8px;
}
.m4_m4_m6 .index .list table tr td:nth-child(n) p:last-of-type{
    margin-bottom: 16px;
}

.m4_m4_m6 .index .list table tr td:nth-child(n) p:before{
    content: "";
    display: inline-block;
    min-width: 6px;
    height: 6px;
    background: #8f816a;
    border-radius: 10px;
    margin-right: 8px;
    margin-top: 8px;
}
.m4_m4_m6 .index .list table tr td:nth-child(n) p.marker:before,
.m4_m4_m6 .index .list table tr td:nth-child(n) p.tel:before{
    min-width: 20px;
    height: 20px;
    background: url(../../../../images/iosf/ko/content/m4_m4_m6/marker_grey_16x16.png)no-repeat center;
    margin-right: 8px;
    margin-top: 1px;
}
.m4_m4_m6 .index .list table tr td:nth-child(n) p.tel:before{
    background: url(../../../../images/iosf/ko/content/m4_m4_m6/tel_grey_16x16.png)no-repeat center;
}

.m4_m4_m6 .index .list table tr td:nth-child(n) .btn{
    width: 100%;
}
.m4_m4_m6 .index .list table tr td:nth-child(n) .btn:before{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #e4e4e4;
    margin-bottom: 20px;
}

.m4_m4_m6 .index .list table tr td:nth-child(n) .btn button{
    min-width: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: bold 15px/1.4em "나눔바른고딕";
    color: #fff;
    background: #830020;
    padding: 7px 12px;
    margin: auto;
}
.m4_m4_m6 .index .list.grey table tr td:nth-child(n) .btn button{
    background: #8f816a;
}

.m4_m4_m6 .index .list table tr td:nth-child(n) .btn button:after{
    content: "";
    display: inline-block;
    min-width: 14px;
    height: 14px;
    background: url(../../../../images/iosf/ko/content/m4_m4_m6/link_white_14x14.png)no-repeat center;
    margin-bottom: 2px;
    margin-left: 10px;
}

.m4_m4_m6 .index .list table tr th:nth-child(n){
    text-align: center;
    border-bottom: 1px solid #d8d8d8;
    padding: 11px 13px;
} 


/* , index */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* index lab */


.m4_m4_m6 .index.lab div section{
    width: 100%;
    margin-left: 0;
}
.m4_m4_m6 .index.lab div section:nth-of-type(1) ~ section {
    margin-top: 30px;
}

.m4_m4_m6 .index.lab div section .profile {
    display: flex;
    margin-top: 0px;
}
.m4_m4_m6 .index.lab div section .profile dd{
    margin-left: 0px;
}
.m4_m4_m6 .index.lab div section .profile:has(dt) dd{
    margin-left: 30px;
}


/* index lab */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* subject 추가 */

.m4_m4_m6 .index.subject div section:nth-of-type(1) ~ section{
    margin-top: 0;
    border-top: 0;
}

.m4_m4_m6 .index.subject div section .profile dd{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}
.m4_m4_m6 .index.subject .grey2 table tr th{
    background: #f9f7f2;
}
.m4_m4_m6 .index .list.grey2 table tr td:nth-child(n) p:before{
    background: #af8f8d;
}


/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------------------- */




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

    /* ------------------------------------------ */
    /* profile index */

    .m4_m4_m6 .index div section{
        width: 100%;
    }
    .m4_m4_m6 .index div section:nth-of-type(n) {
        border-left: 1px solid #d8d8d8;
        margin-left: 0;
    }
    .m4_m4_m6 .index div section:nth-of-type(1) ~ section{
        margin-top: 30px;
    }
    .m4_m4_m6 .index table tr td{
        width: 90%;
    }

    /* profile index */
    /* -------------------------------------------- */

}


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


    .m4_m4_m6 .tipbox{
        flex-direction: column;
        border-left: 0;
        border-right: 0;
        padding: 27px 0px;
    }
    .m4_m4_m6 .tipbox:before{
        width: 100%;
        left: 0;
    }

    .m4_m4_m6 .tipbox .sort-btn dt{
        width: calc(100% / 2);
        padding: 0 13px;
    }

    /* ------------------------------------------ */
    /* ------------------------------------------ */
    /*  index */

    .m4_m4_m6 .index div section:nth-of-type(n){
        border-left: 0;
        border-right: 0;
        margin-left: 0;
    }
    .m4_m4_m6 .index div section:nth-of-type(n) ~ section{
        margin-top: 30px;
    } 

    .m4_m4_m6 .index div section{
        display: flex;
        align-items: center;
        padding: 30px 0;
    }
    .m4_m4_m6 .index div section .profile{
        width: 100%;
        justify-content: center;
    }
    .m4_m4_m6 .index div section .profile dt p{
        font-size: 19px;
        text-align: center;
    }
    .m4_m4_m6 .index div section .profile dt p:after{
        margin: 10px auto 20px;
    }
    .m4_m4_m6 .index table tr{
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        /* border: 0; */
    } 
    .m4_m4_m6 .index table tr th:nth-child(n), 
    .m4_m4_m6 .index table tr td:nth-child(n){
        width: 100%;
        padding: 8px 10px;
        /* border-left: 0; */
        border-right: 1px solid #d8d8d8;
    }
    .m4_m4_m6 .index table tr td:nth-child(n){
        border-top: 0;
    }

    .m4_m4_m6 .index div section .profile dd{
        width: 100%;
        flex: none;
        margin: 20px 0 0;
    }
    .m4_m4_m6 .index section .profile .btn{
        margin: 20px auto 0;
    }

    .m4_m4_m6 .index table tr td:last-of-type{
        margin: 0;
    }


    /*  index */
    /* ------------------------------------------ */
    /* ------------------------------------------ */

    .m4_m4_m6 .index.lab div section .profile{
        flex-direction: column;
    }
    .m4_m4_m6 .index.lab div section .profile dt .image{
        position: relative;
        margin: auto;
        width: 100%;
        height: 0;
        padding-top: 78.4%;
    }
    .m4_m4_m6 .index.lab div section .profile dt .image img{
        position: absolute;
        top: 0;
        left: 0;
    }
    .m4_m4_m6 .index.lab div section .profile:has(dt) dd{
        margin-left: 0;
    }

    /* --------------------------------------------------------------------- */
    /* --------------------------------------------------------------------- */
    /* --------------------------------------------------------------------- */
    /* subject */

    .m4_m4_m6 .sub-title{
        margin-top: 40px;
    }

    .m4_m4_m6 .intro-pannel{
        flex-direction: column;
    }
    .m4_m4_m6 .intro-pannel div{
        margin: 0;
    }
    .m4_m4_m6 .intro-pannel div a{
        width: 100%;
        justify-content: center;
        height: 56px;
        border-left: 0;
        border-top: 1px solid #fff;
    }
    .m4_m4_m6 .intro-pannel p{
        padding: 17px 30px;
    }
    .m4_m4_m6 .sub-title h1{
        font-size: 21px;
    }
    .m4_m4_m6 .sub-title h1.bar:before{
        height: 20px;
    }

    .m4_m4_m6 .index.subject div section .profile:has(:not(dt)) dd{
        flex-direction: column;
    }
    .m4_m4_m6 .index.subject div section .profile dd{
        margin-top: 0;
    }

    .m4_m4_m6 .index .list:nth-of-type(n){
        width: 100%;
        flex-direction: column;
    }
    .m4_m4_m6 .index .list + .list{
        margin: 0;
        margin-top: 20px;
    }

    .m4_m4_m6 .index .list table{
        border-right: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8;
    }
    .m4_m4_m6 .index .list table ~ table{
        border-top: 0;
    }
    .m4_m4_m6 .index .list table tr th:nth-child(n){

        border: 0;
    }
    .m4_m4_m6 .index .list table:last-of-type{
        border-bottom: 1px solid #9f9f9f ;
    }
    

    /* subject */
    /* --------------------------------------------------------------------- */
    /* --------------------------------------------------------------------- */
    /* --------------------------------------------------------------------- */

}

@media screen and (max-width: 640px) {
    .m4_m4_m6 {
        padding: 20px 0;
    }
    /* .m4_m4_m6 article ~ article{
        margin-top: 20px;
    } */
    .m4_m4_m6 .index div section:nth-of-type(n) ~ section,
    .m4_m4_m6 .index.lab div section:nth-of-type(n) ~ section{
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .m4_m4_m6 .tipbox .sort-btn dt{
        width: 100%;
    }
}