.sub_content {
    position: relative;
    overflow:hidden;    
}

.tab_menu {
    width: 100%;
    margin-bottom: 40px;

    display: flex;
    flex-flow: row wrap;
}

.tab_menu li {
    /* float: left; */
    /* width: 12.5%; */
    width: calc(100% / 9);
    position: relative;
    font-family: 'NotoKrR';
    font-size: 15px;
    color: #494949;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    margin: -1px 0 0;
}

.tab_menu li.active {
    color: #81264f;
}

.tab_menu li .bg_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #e3e3e3;
    transition: all .2s;
    width: 100%;
    height: 100%;
    background-color: #eeeeee;
}

.tab_menu li:first-child .bg_wrap {
    left: 0;
    transform: translate(0, -50%);
}

.tab_menu li:last-child .bg_wrap {
    left: auto;
    right: 0;
    transform: translate(0, -50%);
}

.tab_menu li:not(:first-child) .bg_wrap {
    border-left: none;
}

.tab_menu li:nth-child(9) .bg_wrap {
    border-left: 1px solid #e3e3e3;;
}

.tab_menu li.active .bg_wrap {
    border: 4px solid #81264f;
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 2px 5px gray;
}

.tab_menu li.active {
    z-index: 5;
    line-height: 40px;
}

.tab_content>div>h3 {
    font-family: 'NanumSB';
    font-size: 25px;
    color: #000;
    margin-bottom: 60px;
    text-align: center;
}

.tab_content .article {
    margin-bottom:70px;
}

.tab_content .article h4 {
    color:#000;
    font-size:20px;
    font-family:'NanumSB';
    position: relative;
    margin-bottom:30px;
}

.tab_content .article h4:after {
    content:'';
    width:15px;
    height:3px;
    background-color:#dd6385;
    position: absolute;
    top:-13px;
    left:0;
}

.tab_content .article h4:before {
    content: '';
    width: 15px;
    height: 3px;
    background-color: #656565;
    position: absolute;
    top: -13px;
    left: 17px;
}

.tab_content .article .row_wrap {
    width:100%;
    margin-bottom:30px;
}

.tab_content .article .row_wrap:after {
    content:'';
    display:block;
    clear:both;
}

.tab_content .article .row_wrap h5 {
    width:100px;
    float:left;
    position: relative;
    padding-left:20px;
    font-family:'NotoKrM';
    font-size:16px;
    color:#81264f;
}

.tab_content .article .row_wrap h5.long {
    width:200px;
}

.tab_content .article .row_wrap h5:after {
    content:'';
    position: absolute;
    width:13px;
    height:13px;
    background-color:#fff;
    border:3px solid #81264f;
    position: absolute;
    left:0;
    top:2px;
}

.tab_content .article .row_wrap .content_wrap {
    float:left;
    width:calc(100% - 100px);
}

.tab_content .article .row_wrap h5.long+.content_wrap {
    width:calc(100% - 200px);
}

.tab_content .article .row_wrap p:not(.table_caption) {
    color:#000;
    font-size:16px;
    font-family:'NotoKrR';
}

.tab_content .article .row_wrap .s_table {
    border-top:1px solid #e3e3e3;
    border-left:1px solid #e3e3e3;
    padding:0;
    margin-bottom:15px;
}

.tab_content .article .row_wrap .s_table:nth-child(2) {
    border-left:none;
}

.tab_content .article .row_wrap .s_table .s_row {
    padding:0;
}

.tab_content .article .row_wrap .s_table .s_row .s_td {
    border-bottom:1px solid #e3e3e3;
    border-right:1px solid #e3e3e3;
    text-align:center;
    padding:0 10px;
    font-family:'NotoKrR';
    font-size:15px;
    color:#515151;
    height:35px;
    line-height:35px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td_long {
    line-height: 16px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.money {
    text-align:right;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.text {
    text-align:left;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.bg{
    background-color:#f8f8f8;
}

.tab_content .article .row_wrap .s_table .s_row:after {
    clear:both;
    content:'';
    display:block;
}

.tab_content .article .row_wrap .s_table .s_row.h_row .s_td {
    border-bottom:2px solid #656565;
    color:#000;
    font-family:'NotoKrM';
    height:40px;
    line-height:40px;
}

.tab_content .article .row_wrap p.table_caption {
    font-family:'NotoKrM';
    font-size:17px;
    color:#000;
    text-align:right;
}

.tab_content .article .row_wrap p.table_caption span {
    color:#dd6385;
    margin-left:20px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row2 {
    height:70px;
    line-height:70px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row3 {
    height:105px;
    line-height:105px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row4 {
    height: 140px;
    line-height: 140px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row5 {
    height: 175px;
    line-height: 175px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row6 {
    height: 210px;
    line-height: 210px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row7 {
    height: 245px;
    line-height: 245px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row8 {
    height: 280px;
    line-height: 280px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row9 {
    height: 315px;
    line-height: 315px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row10 {
    height: 350px;
    line-height: 350px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row11 {
    height: 385px;
    line-height: 385px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row12 {
    height: 420px;
    line-height: 420px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row13 {
    height: 455px;
    line-height: 455px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row14 {
    height: 490px;
    line-height: 490px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row15 {
    height: 525px;
    line-height: 525px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row16 {
    height: 560px;
    line-height: 560px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row17 {
    height: 595px;
    line-height: 595px;
} 

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row18 {
    height: 630px;
    line-height: 630px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row19 {
    height: 665px;
    line-height: 665px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row20 {
    height: 700px;
    line-height: 700px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row24 {
    height: 840px;
    line-height: 840px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row26 {
    height: 910px;
    line-height: 910px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row28 {
    height: 980px;
    line-height: 980px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row29 {
    height: 1015px;
    line-height: 1015px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row30 {
    height: 1050px;
    line-height: 1050px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row32 {
    height: 1120px;
    line-height: 1120px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row36 {
    height: 1260px;
    line-height: 1260px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row37 {
    height: 1295px;
    line-height: 1295px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row45 {
    height: 1575px;
    line-height: 1575px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row120 {
    height: 4200px;
    line-height: 4200px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.td_row140 {
    height: 4900px;
    line-height: 4900px;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.nation {
    position: relative;
    line-height:1;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.nation span:first-child {
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -100%);
    font-family:'NotoKrM';
    color:#000;
    display:block;
    width:100%;
}

.tab_content .article .row_wrap .s_table .s_row .s_td.nation span.total_money {
    display:block;
    position: absolute;
    bottom:8px;
    width:calc(100% - 16px);
    left:50%;
    transform:translateX(-50%);
    color:#434343;
    font-size:12px;
    padding:4px 0;
    text-align:center;
    border-radius:300px;
    background-color:#f9f9f9;
    border:1px solid #d3d3d3;
    font-family:'NotoKrM';
}

.tab_content .article .row_wrap .s_table.l_table .s_row:not(:last-child):not(.h_row) {
    border-bottom:1px solid #9c9c9c;
}

.tab_content .article .row_wrap .s_table.l_table .s_row .s_td:first-child {
    font-family:'NotoKrM';
}

@media screen and (max-width:1024px) {
    /* .tab_menu {
        width: 95%;
        position: absolute;
        top: 65px;
        left: 50%;
        transform: translateX(-50%);
    } */

    /* .tab_menu li {
        width: 69.55px;
    } */

    .tab_menu {
        margin-bottom: 20px;
    }

    .tab_menu+.tab_content {
        /* margin-top: 130px; */
    }

    .tab_content .article .row_wrap:not(.one_text) h5 {
        float: none;
        width: 100%;
        margin-bottom: 15px;
    }

    .tab_content .article .row_wrap:not(.one_text) .content_wrap {
        width: 100%;
        float: none;
    }

    .tab_menu li.active .bg_wrap {
        width:100%;
        height:100%;
        box-shadow:none;
    }

    .tab_menu li.active {
        line-height:44px;
    }
}

@media screen and (max-width:767px) {
    .tab_content .article .row_wrap .s_table {
        margin-bottom: 0;
    }

    .tab_content .article .row_wrap p.table_caption {
        margin-top: 15px;
        float:right;
    }

    .tab_content .article .row_wrap .s_table:nth-child(2) {
        border-top: none;
        border-left: 1px solid #e3e3e3;
    }

    .tab_content .article .row_wrap .s_table:nth-child(2) .h_row {
        display: none;
    }

    .tab_content .article .row_wrap .l_table {
        border:none;
    }
    
    .tab_content .article .row_wrap .l_table .h_row {
        display:none;
    }

    .tab_content .article .row_wrap .l_table .s_row .s_td:first-child {
        float:none;
        width:100%;
        height:52px;
        border:none;
        padding:15px 0;
        border-bottom:1px solid #e3e3e3;
    }

    .tab_content .article .row_wrap .l_table .s_row .s_td:first-child:after {
        content:'';
        display:block;
        clear:both;
    }

    .tab_content .article .row_wrap .l_table .s_row .s_td:first-child span:first-child {
        float:left;
        left:0;
        top:50%;
        transform:translateY(-50%);
        width:auto;
        position: absolute;
    }

    .tab_content .article .row_wrap .l_table .s_row .s_td:first-child span:nth-child(2) {
        float:right;
        width:auto;
        position:static;
        transform:translate(0);
        padding:4px 8px;
    }

    .tab_content .article .row_wrap .l_table .s_row .s_td.bg {
        border-left:1px solid #e3e3e3;
        width:100%;
        height:35px;
        line-height:35px;
    }

    .tab_content .article .row_wrap .l_table .s_row .s_td.text {
        width:calc(100% - 105px);
        border-left:1px solid #e3e3e3;
        height:auto;
        line-height:1.3;
        padding:10px;
    }

    .tab_content .article .row_wrap .l_table .s_row .s_td.money,
    .tab_content .article .row_wrap .r_table .s_row .s_td.money {
        width:105px;
    }

    .tab_content .article .row_wrap .r_table .s_row .s_td.text {
        width: calc(100% - 105px);
        height: auto;
        line-height: 1.3;
        padding: 10px;
    }

    .tab_content .article .row_wrap .r_table .h_row .s_td:last-child {
        width:100px;
        padding:10px;
        height:41px;
        line-height:1.3;
    }
}

@media screen and (max-width:720px) {
    /* .tab_menu {
        left: 50%;
        transform: translateX(-50%);
    } */
}

@media screen and (max-width:600px) {
    .tab_menu li {
        width: 20%;
    }

    .tab_menu li:nth-child(5) .bg_wrap,
    .tab_menu li:nth-child(9) .bg_wrap,
    .tab_menu li:nth-child(13) .bg_wrap {
        border-left: 1px solid #e3e3e3;;
    }
}

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

    .tab_menu li {
        width: 25%;
        height: 40px;
        line-height: 40px;
    }

    .tab_menu li.active {
        line-height: 34px;
    }

    .tab_menu+.tab_content {
        /* margin-top: 160px; */
    }
}