@charset "utf-8";

/* 네비 버튼 */
.owl-carousel{display: flex;justify-content: space-between;align-items: flex-start;width: 100%;flex-flow: row wrap;}
.owl-carousel .item{width: calc(25% - 20px);}
.owl-carousel .item .img_wrap{width: 100%;border: 1px solid #b3b3b3;}
.owl-carousel .item .img_wrap img{width: 100%;}
.owl-carousel .item:nth-child(5),
.owl-carousel .item:nth-child(6),
.owl-carousel .item:nth-child(7),
.owl-carousel .item:nth-child(8){margin-top: 60px;}
.owl-carousel .item>p{font-size: var(--font-20);line-height: 25px; text-align: center; margin: 10px auto 0;}
.owl-carousel .item:nth-child(1) p,
.owl-carousel .item:nth-child(2) p,
.owl-carousel .item:nth-child(3) p,
.owl-carousel .item:nth-child(4) p{width: 175px;}
.owl-carousel .item:nth-child(5) p,
.owl-carousel .item:nth-child(6) p,
.owl-carousel .item:nth-child(7) p,
.owl-carousel .item:nth-child(8) p{width: 240px;}

.sub_con .owl-carousel:nth-last-child(2) .item:nth-child(1) p,
.sub_con .owl-carousel:nth-last-child(2) .item:nth-child(2) p,
.sub_con .owl-carousel:nth-last-child(2) .item:nth-child(3) p,
.sub_con .owl-carousel:nth-last-child(2) .item:nth-child(4) p{width: 229px;}
@media screen and (max-width:1100px){
    .owl-carousel .item{width: calc(33.333333% - 20px);}
    .owl-carousel .item:nth-child(4){margin-top: 60px;}
}
@media screen and (max-width:800px){
    .owl-carousel .item{width: calc(50% - 10px);}
    .owl-carousel .item:nth-child(3),
    .owl-carousel .item:nth-child(4),
    .owl-carousel .item:nth-child(5),
    .owl-carousel .item:nth-child(6),
    .owl-carousel .item:nth-child(7),
    .owl-carousel .item:nth-child(8){margin-top: 30px;}
    .owl-carousel .item p{width: 100% !important;}
}
