/* 공통 */
.subpage {overflow: hidden; text-align: center; }
.subpage > section,
.tab > section {padding:90px 0; position: relative; }
section.gray {background: #f7f7f7; }
.sub_inner { width: 1400px; margin:0 auto; position: relative; padding:0 50px;}
.s_tit {margin-bottom: 50px; }
.s_tit .dots {display: flex; justify-content: center; margin:0 0 15px;}
.s_tit .dots > i {display: block; width: 8px; height: 8px; background-color: #9c2024; }
.s_tit .dots > i:nth-child(2) {background-color: #c04c1f; margin:0 17px; }
.s_tit .dots > i:nth-child(3) {background-color: #e2701a; }
.s_tit h1 {font-size: 47px; font-weight: 700; color:#000;  }
.sub_p {font-size: 18px; font-weight: 300; color:#000; line-height: 30px; word-break: keep-all; }
.wh {color:#fff !important; }
.tab {display: none;}
.tab.active {display: block;}
.btn_list {display: flex; justify-content: center;}
.btn_list li { flex:1; margin-right: 20px; max-width: 265px; }
.btn_list li:last-child {margin-right: 0;}
.btn_list li a {display: block; width: 100%; transition: all .3s ease; font-size:18px; font-weight:500; color:#000;  cursor: pointer;
padding-bottom: 20px; border-bottom: 2px solid #ddd; }
.btn_list li a:hover {border-color: #9c2024;}
.btn_list li a.active {border-color: #9c2024; }
.line_tit {font-size: 32px; font-weight: 700; color:#000; padding-left: 20px; position: relative; text-align: left; margin: 0 0 35px;}
.line_tit::before {content: ''; display: block; width: 3px; height: 30px; background: #9c2024; position: absolute; left: 0; top:5px; }
.line_tit span {font-size: 75%;}

/*Content CSS*/
#top {padding-bottom: 0;}
/* tab1 */
#tab1_sec2 h2 {font-size: 32px; font-weight: 300; color:#000; word-break: keep-all;}
#tab1_sec2 h2::before {content: ''; display: block ; width: 50px; height: 1px; background: #000; margin:0 auto 20px;}
#tab1_sec2 .cont {background:url("../img/ab_t1_s2_bg.png") 50% 0% no-repeat; padding:85px 0 0;}
#tab1_sec2 .txt {width: 100%; border-radius: 65px; background: #333; padding:35px 30px; margin:75px 0 0; }
#tab1_sec2 .txt p {color:#fff; }
#tab1_sec2 .txt p b {font-weight: 500; }

/* tab2 */
.partner {width: 100%; display: flex; flex-wrap: wrap ; margin-top: 60px;}
.partner > li {width:calc(20% - 16px); background: #fff; margin-right: 20px;  overflow: hidden; border:1px solid #ddd; transition: border-color .3s ease;}
.partner > li i {transition: border-color .3s ease; width: 100%; height: 100%; border: 2px solid transparent; overflow: hidden; display: block; }

/* tab3 */
#tab3 .line_tit {margin:0;}



@media screen and (min-width: 1025px) {
    .partner > li:nth-child(5n) {margin-right: 0; }
    .partner > li:nth-child(n+6) {margin-top:20px; }

    .partner > li:hover,
    .partner > li:hover i {border-color: #9c2024; }
}

@media screen and (max-width: 1400px) {
    /* 공통 */
    .sub_inner {width: 100%;}
    .btn_list li {flex:1; margin-right: 10px;}

    /* content */
    #tab1 .sub_p br:not(.mob) {display: none;}

}

@media screen and (max-width: 1024px) {
    /* 공통 */
    .subpage > section,
    .tab > section {padding:90px 0; }
    .sub_inner { padding: 0 30px; }
    .s_tit h1 {font-size: 32px;}
    .s_tit {margin-bottom: 30px; }
    .sub_p  {font-size: 16px; line-height: 28px;}
    .btn_list li {max-width: 200px;}
    .btn_list li a {font-size: 15px; padding-bottom: 15px; }
    .line_tit {font-size: 24px; padding-left: 15px; margin: 0 0 25px;}
    .line_tit::before {height: 25px; top:3px;}

    /* content */

    #tab1_sec2 h2 {font-size: 26px; }
    #tab1_sec2 .cont {background-size: contain; background-position: center; padding:60px 0 0;}
    #tab1_sec2 .txt {padding:30px 50px; margin:60px 0 0;}
    /* tab2 */
    .partner {margin-top: 40px;}
    .partner > li {width: calc(25% - 7px); margin-right: 8px; }

    @media screen and (min-width: 641px) {
        .partner > li:nth-child(4n) {margin-right: 0; }
        .partner > li:nth-child(n+5) {margin-top:8px; }
    }

}



@media screen and (max-width: 640px) {
    /* 공통*/
    .subpage > section,
    .tab > section {padding:60px 0; }
    .sub_inner {padding: 0 15px; }
    .s_tit {margin-bottom: 25px; }
    .s_tit h1 {font-size: 26px;}
    .s_tit .dots > i {width: 6px; height: 6px;}
    .s_tit .dots > i:nth-child(2) {margin:0 12px;}
    .sub_p {font-size: 14px; line-height: 24px; }
    .btn_list li {margin-right: 5px; max-width: 140px;}
    .btn_list li a {font-size: 14px; padding:0 10px 15px; letter-spacing: -.4px;}
    .line_tit {font-size: 20px;}
    .line_tit::before {height: 20px; top:2px; }
    .line_tit span {display: block; margin:5px 0 0;}

    /* content */
    #tab1_sec2 h2 {font-size: 20px; line-height: 30px;}
    #tab1_sec2 .cont {padding:40px 0 0;}
    #tab1_sec2 .txt {margin:40px 0 0; padding:25px; border-radius: 40px; }
    /* tab2 */
    .partner {margin-top: 30px;}
    .partner > li {width: calc(33.3% - 8px); margin-right: 12px; }
    @media screen and (min-width: 481px) {
        .partner > li:nth-child(3n) {margin-right: 0; }
        .partner > li:nth-child(n+4) {margin-top:12px; }
    }

}

@media screen and (max-width: 480px) {
    /* 공통*/
    .btn_list {flex-wrap:wrap;}

    /* content */
    #tab1_sec2 .txt {padding:20px; border-radius: 30px; }
    #tab1_sec2 .txt p {font-size: 13px; line-height: 20px;}
    /* tab2 */
    .partner > li {width: calc(50% - 5px); margin-right: 10px; }
    .partner > li:nth-child(2n) {margin-right: 0; }
    .partner > li:nth-child(n+3) {margin-top:10px; }

}
