
/* 공통 */
#c5_wrap { overflow: hidden; position:relative; }
#c5_wrap .c_tit { position:relative; display: inline-block; font-size: 60px; color: #000; white-space: nowrap; font-weight: 800; }
/* #c5_wrap .c_tit::after { content:".";  color:#0b3b63; } */

#c5_wrap .btn_more { position:absolute; right:0; top:50%; transform: translateY(-50%); z-index: 5; }
#c5_wrap .c_btn { display: block; width: 55px; height: 327px; line-height: 53px; background-color: #151c29; transition: all .3s; font-size: 12px; letter-spacing: 2.4px;
font-family: 'NanumGothic'; text-align: center; color:#fff; writing-mode: vertical-rl; text-orientation: mixed; }
#c5_wrap .c_btn span { display: inline-block; margin-top: 10px; }
#c5_wrap .c_btn:hover {background-color: #0b3b63; }
/* font */
#c5_wrap .h_28 {font-size: 28px; font-weight:500; color: #000; line-height: 1.3;}
#c5_wrap .p_20 {font-size: 20px; font-weight: 300; color: #000; line-height:38px;}
#c5_wrap .p_18 {font-size: 18px; font-weight: 300; color: #000; line-height:1.65;}


/*Content CSS*/
#c5_wrap { padding:110px 0 100px; }
/* top */
#c5_wrap .top { position:relative; display: flex; justify-content: space-between; align-items: flex-end; }
#c5_wrap .slider_btn { display: flex; align-items: center; }

/* dots */
#c5_wrap .slick-dots { display: flex; align-items: center; margin-right:48px; }
#c5_wrap .slick-dots li {margin-right: 20px; }
#c5_wrap .slick-dots li:last-child { margin-right: 0; }
#c5_wrap .slick-dots button { position:relative; border:0; font-size:0; opacity: 1; width:10px; height: 10px; background: #e5e5e5; border-radius: 50%; }
#c5_wrap .slick-dots .slick-active button { background: #0b3b63; }

/* arrow */
#c5_wrap .slick-arrow { cursor: pointer; font-size: 14px; text-transform: uppercase; }
#c5_wrap .slick-arrow img { display: inline-block; position:relative; top:-2px; }
#c5_prev img { margin-right: 8px; }
#c5_next img { margin-left: 8px; }
#c5_next { position:relative; }
#c5_next::before { content:""; display: inline-block; width:1px; height: 25px; background:#ddd; margin:0 20px; vertical-align: middle; }

/* slider */
.c5_slider_wrap { width: 100%; margin-top:40px; }
#c5_slider { width: calc(100% + 20px); position: relative; left: -10px; }
#c5_slider .slick-track { margin:0 !important; }

.c5_box { padding:10px; }
.c5_box a { position: relative; display: block; height: 370px; width: 100%; background: #fff; border:1px solid #ddd; text-align: center; outline: none; }
.c5_box a:before { content:""; position:absolute; left:-1px; width:calc(100% + 2px); top:-1px; height: calc(100% + 2px); border:3px solid #0b3b63; transition: all .3s; opacity: 0; }
.c5_box a:hover:before { opacity: 1; }

/* txt */
.c5_box .txt { width: 100%; transition: all .3s ease; padding:48px 38px; text-align: left; }
.c5_box .txt h2 { font-size:20px; font-weight: 800; color:#0b3b63; line-height: 1; }
.c5_box .txt h1 { margin:25px 0 20px; font-size:18px; line-height: 30px; color:#000; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; overflow: hidden; width:100%; min-height: 60px; max-height: 60px; word-break: keep-all;  font-family: 'Pretendard'; font-weight:700; }
.c5_box .txt p { font-size:14px; line-height: 24px; font-weight: 300; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-overflow: ellipsis; overflow: hidden; color:#666; word-break:keep-all; min-height: 72px; max-height: 72px; }
.c5_box .txt span { margin-top: 55px; display: block; font-size:14px; font-weight: 300; color:#737373; }
.c5_box .txt span i { display:inline-block; margin-right: 8px; position:relative; top:2px; font-size: 18px; color:#0b3b63; }



/* 반응형 */
@media screen and (max-width:1550px) {

    #c5_wrap .btn_more { position:relative; transform: none; }
    #c5_wrap .c_btn { width: 327px; height: 55px; line-height: 53px; margin:50px auto 0; writing-mode: initial; text-orientation: initial; }
    #c5_wrap .c_btn span { margin-top: 0; }

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

    /* c 공통 */
    #c5_wrap p br { display: none; }


    /* c5 */

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

    /* c 공통 */
    #c5_wrap .c_tit { font-size: 48px; }
    /* font */
    #c5_wrap .h_28 {font-size: 22px;}
    #c5_wrap .p_20 {font-size: 18px; line-height: 1.65;}
    #c5_wrap .p_18 {font-size: 16px; }

    /* c5 */
    #c5_wrap { padding: 80px 0; }
    #c5_wrap .top { justify-content: flex-start; align-items: center; flex-direction: column; }
    #c5_wrap .slick-arrow { display: none !important; }
    #c5_wrap .slick-dots { margin: 30px 0 0; }


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

    /* c 공통 */
    #c5_wrap .c_tit { font-size: 32px; }
    /* font */
    #c5_wrap .p_20 {font-size: 16px; }
    #c5_wrap .p_18 {font-size: 15px; }

    #c5_wrap .c_btn { width: calc(100% - 30px); margin:0 auto; max-width: 372px; height: 45px; line-height: 43px; margin: 30px auto 0; }

    /* c5 */
    #c5_wrap { padding: 60px 0; text-align: center; }



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

    #c5_wrap .slick-dots { margin: 20px 0 0; }

    .c5_slider_wrap { margin-top: 20px; }

    .c5_box a { height: 300px; }
    .c5_box .txt { padding: 30px 25px; }
    .c5_box .txt h1 { margin: 20px 0 15px; }
    .c5_box .txt span { margin-top: 30px; }

    #c5_wrap .c_btn { margin-top: 20px; }

}
