/*서브BG*/
.sub_bg_wrap {
    width: 100%;
    height: 540px;
    position: relative;
}

.sub_bg_wrap .sub_bg_area {
    width: 100%;
    height: 100%;
    position: relative;
}

.sub_bg_wrap .sub_bg_con {
    width: 100%;
    height: 100%;
    position: relative;
}

.sub_bg_wrap .sub_bg_size {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.sub_bg_wrap .sub_bg_size .sub_bg_ob {
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-animation: zoomani 6s ease-in-out 0s;
    -o-animation: zoomani 6s ease-in-out 0s;
    animation: zoomani 6s ease-in-out 0s;
}

.sub_bg_wrap .sub_bg_size .sub_bg_ob::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_dim.png);
    background-position: center;
    background-repeat: repeat;
    -webkit-background-size: auto auto;
    background-size: auto;
    opacity: 0.3;
}

.sub_bg_wrap .sub_bg_size_01 .sub_bg_ob {
    background-image: url(../img/sub_bg_01.png);
}

.sub_bg_wrap .sub_bg_size_02 .sub_bg_ob {
    background-image: url(../img/sub_bg_02.png);
}

.sub_bg_wrap .sub_bg_size_03 .sub_bg_ob {
    background-image: url(../img/sub_bg_03.png);
}

.sub_bg_wrap .sub_bg_size_04 .sub_bg_ob {
    background-image: url(../img/sub_bg_04.png);
}

.sub_bg_wrap .sub_bg_size_05 .sub_bg_ob {
    background-image: url(../img/sub_bg_05.png);
}

.sub_bg_wrap .sub_bg_size .sub_title_box {
    width: 100%;
    height: auto;
    position: absolute;
    text-align: center;
    top: 50%;
}

.sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob {
    width: auto;
    display: block;
    height: auto;
}

.sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob > h2 {
    font-size: 3.125rem;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    line-height: 3.2rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob > p {
    font-size: 1.625rem;
    font-weight: 100;
    letter-spacing: -1px;
    color: #fff;
}

@-webkit-keyframes zoomani {
    from {
        -webkit-transform: scale(1.3);
        -o-transform: scale(1.3);
        transform: scale(1.3);
    }

    to {
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@-o-keyframes zoomani {
    from {
        -webkit-transform: scale(1.3);
        -o-transform: scale(1.3);
        transform: scale(1.3);
    }

    to {
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes zoomani {
    from {
        -webkit-transform: scale(1.3);
        -o-transform: scale(1.3);
        transform: scale(1.3);
    }

    to {
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@media all and (max-width: 1281px) {
    .sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob > h2 {
        font-size: 2.5rem;
    }
    
    .sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob > p {
        font-size: 1.25rem;
    }
}

@media all and (max-width: 1025px) {
    .sub_bg_wrap {
        height: 400px;
    }

    .sub_bg_wrap .sub_bg_size .sub_title_box {
        top: 40%;
    }
}

@media all and (max-width: 801px) {
    .sub_bg_wrap {
        height: 290px;
    }

    .sub_bg_wrap .sub_bg_size .sub_title_box {
        top: 35%;
    }
    
    .sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob > h2 {
        margin-bottom: 0;
    }
}

@media all and (max-width: 481px) {
    .sub_bg_wrap {
        height: 230px;
    }

    .sub_bg_wrap .sub_bg_size .sub_title_box {
        top: 40%;
    }

    .sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob > h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    
    .sub_bg_wrap .sub_bg_size .sub_title_box > .sub_title_ob > p {
        display: none;
    }
}

/*서브BG end*/

/*서브탭 메뉴*/
.sub_bg_wrap .sub_bg_size .sub_tab_con {
    width: 100%;
    max-width: 1360px;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box {
    width: 100%;
    height: auto;
    position: relative;
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li {
    width: auto;
    height: 55px;
    float: left;
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_7 > li {
    width: -webkit-calc(100% / 7);
    width: calc(100% / 7);
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_6 > li {
    width: -webkit-calc(100% / 6);
    width: calc(100% / 6);
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_5 > li {
    width: -webkit-calc(100% / 5);
    width: calc(100% / 5);
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_4 > li {
    width: -webkit-calc(100% / 4);
    width: calc(100% / 4);
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_3 > li {
    width: -webkit-calc(100% / 3);
    width: calc(100% / 3);
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_2 > li {
    width: -webkit-calc(100% / 2);
    width: calc(100% / 2);
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_1 > li {
    width: 100%;
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li:last-of-type {
    margin-right: 0;
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li > a {
    font-size: 1.125rem;
    display: block;
    text-align: center;
    line-height: 55px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    font-weight: 300;
    letter-spacing: -.5px;
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li > a:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
}

.sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li.sub_tab_active > a {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
}

@media all and (max-width: 1025px) {}

@media all and (max-width: 801px) {
    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li {
        height: 50px;
    }

    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li > a {
        font-size: 1rem;
        line-height: 50px;
    }

    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_6 > li {
        width: -webkit-calc((100% - 4px) / 3);
        width: calc((100% - 4px) / 3);
        height: 50px;
        margin-bottom: 2px;
    }

    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_4 > li {
        width: -webkit-calc((100% - 4px) / 2);
        width: calc((100% - 4px) / 2);
        height: 50px;
        margin-bottom: 2px;
    }

    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_6 > li:nth-of-type(4),
    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_6 > li:nth-of-type(5),
    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_6 > li:nth-of-type(6),
    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_4 > li:nth-of-type(3),
    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_4 > li:nth-of-type(4) {
        margin-bottom: 0;
    }

    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_6 > li:nth-of-type(3n) {
        margin-right: 0;
    }

    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box.sub_tab_4 > li:nth-of-type(2n) {
        margin-right: 0;
    }
}

@media all and (max-width: 481px) {
    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li {
        height: 35px;
    }

    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li > a {
        font-size: 0.813rem;
        line-height: 35px;
    }
}

@media all and (max-width: 321px) {
    .sub_bg_wrap .sub_bg_size .sub_tab_con .sub_tab_box > li > a {
        font-size: 0.75rem;
    }
}

/*서브탭 메뉴 end*/

/*서브 본문*/
.sub_page_wrap {
    width: 100%;
    height: auto;
    position: relative;
}

.sub_page_wrap * {
    font-size: 16px;
}

.sub_page_wrap .sub_page_area {
    width: 100%;
    height: auto;
    position: relative;
}

.sub_page_wrap .sub_page_con {
    width: 100%;
    height: auto;
    position: relative;
}

.sub_page_wrap .sub_page_size {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
    display: block;
    /* padding-top: 160px; */
    /* padding-bottom: 130px; */
}

.sub_page_wrap .full_page_size {
    max-width: 100%;
}

.sub_page_wrap .sub_page_size .sub_title {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    margin-bottom: 140px;
}

.sub_page_wrap .sub_page_size .sub_title * {
    font-family: 'Noto Sans KR', sans-serif;
}

.sub_page_wrap .sub_page_size .sub_title > h2 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 4.1rem;
}

.sub_page_wrap .sub_page_size .sub_title > h2 > img {
    width: auto;
    max-width: 100%;
    vertical-align: middle;
}

.sub_page_wrap .sub_page_size .sub_title > h2 > span {
    font-weight: 600;
}

@media all and (max-width: 1441px) {
    .sub_page_wrap .sub_page_size {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media all and (max-width: 801px) {
    .sub_page_wrap .sub_page_size .sub_title > h2 {
        font-size: 3rem;
    }
}

@media all and (max-width: 621px) {
    .sub_page_wrap .sub_page_size {
        /* padding-top: 70px; */
        padding-bottom: 70px;
    }

    .sub_page_wrap .sub_page_size .sub_title {
        margin-bottom: 70px;
    }

    .sub_page_wrap .sub_page_size .sub_title > h2 {
        font-size: 2.5rem;
    }
}

@media all and (max-width: 481px) {
    .sub_page_wrap .sub_page_size .sub_title > h2 {
        font-size: 2rem;
    }

    .sub_page_wrap .sub_page_size {
        padding-left: 15px;
        padding-right: 15px;
    }

    .sub_page_wrap .sub_page_size .sub_title {
        margin-bottom: 50px;
    }

    .sub_page_wrap .sub_page_size .sub_title > h2 > img {
        max-width: 70%;
    }
}

@media all and (max-width: 321px) {
    .sub_page_wrap .sub_page_size {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/*서브 본문 end*/

/*서브 타이틀*/
.title_size {
    width: 100%;
    height: auto;
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
}

.title_size > .title {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    margin-bottom: 90px;
}

.title_size > .title > h2 {
    font-size: 3.75rem;
    font-weight: 300;
}

.title_size > .title > h2 > span {
    font-size: 3.75rem;
    font-weight: 600;
}

.title_size > .title > p {
    font-size: 1.438rem;
    font-weight: 300;
    margin-top: 10px;
    line-height: 40px;
    letter-spacing: -1px;
    word-break: keep-all;
}

.title_size > .title > p > span {
    font-size: 1.438rem;
    font-weight: 500;
    color: #aa0612;
}

@media all and (max-width: 1281px) {
    .title_size > .title > h2 {
        font-size: 2.5rem;
    }
    
    .title_size > .title > h2 > span {
        font-size: 2.5rem;
    }
}

@media all and (max-width: 801px) {
    .title_size > .title > p {
        font-size: 1.25rem;
        line-height: 30px;
    }
    
    .title_size > .title > p > span {
        font-size: 1.25rem;
    }
    
    .title_size > .title > p > br {
        display: none;
    }
}

@media all and (max-width: 621px) {
    .title_size > .title > p {
        font-size: 1.125rem;
    }
    
    .title_size > .title > p > span {
        font-size: 1.125rem;
    }
}

@media all and (max-width: 481px) {
    .title_size > .title {
        margin-bottom: 30px;
    }
    
    .title_size > .title > h2 {
        font-size: 2rem;
    }
    
    .title_size > .title > h2 > span {
        font-size: 2rem;
    }
    
    .title_size > .title > p {
        font-size: 1rem;
        line-height: 25px;
    }
    
    .title_size > .title > p > span {
        font-size: 1rem;
    }
}

@media all and (max-width: 321px) {
    .title_size > .title > p {
        font-size: 0.938rem;
        line-height: 25px;
    }
    
    .title_size > .title > p > span {
        font-size: 0.938rem;
    }
}

/*서브 타이틀 end*/
