body{
    overflow-x: hidden;
}
#work{/*margin-top:55px;*/}

/*header*/
#header{/*background:#fff;*/}
#hamBtn>div{
    background:#000
}

/*banner*/
#banner{
    width:100%; 
    height: 420px; 
    background:url(/img/bg_porfolio_mobile.jpg) center center / cover no-repeat;
}
.banner_cont{
    position:absolute; 
    padding:0 25px; 
    color:#fff; 
    top:50%; 
    /*margin-top:-9vw; */
    left:0;
    transform: translateY(-50%);
}
.banner_cont h1{
    font-size: 35px;
    font-weight: bold;
    line-height: 45px;
}
.banner_cont p{
    padding-top: 10px;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
}
#banner .banner_arrow{
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translate(-50%,-50%)
}
#banner .banner_arrow img{
    display: block;
    animation-duration: 3s;
    animation-name: arrowActive;
    animation-iteration-count: infinite;
}
    
    @keyframes arrowActive {
        0% {
          transform: translateY(0px);
        }
        25% {
          transform: translateY(-15px);
        }
        50% {
          transform: translateY(0px);
        }
        75% {
          transform: translateY(-15px);
        }
        100% {
          transform: translateY(0px);
        }
    }

/*category swiper*/
.category_box .swiper-button-prev{
    background: url(/img/btn_slide_l.png) no-repeat;
    background-size: 10px;
    position: absolute;
    top: 55px; left: -10px !important;
    display: block;
}
.category_box .swiper-button-next{
    background: url(/img/btn_slide_r.png) no-repeat;
    background-size: 10px;
    position: absolute;
    top: 55px; 
    right: -17px !important;
    display: block;
}
.category_box .swiper-button-disabled{
    display: none;
}
.category_box{
    position: relative;
}
.category_slide{
    position: relative;
}
.category_box .slide_long_bar{
    width: 100%;
    height: 2px;
    background: #f4f4f4;
    position: absolute;
    bottom: 0; left: 0;
}
.category_box .slide_short_bar{
    width: 33.3333%;
    height: 4px;
    background: #7e29b3;
    position: absolute;
    bottom: 0; left: 0;
}
.category_box .swiper-slide{
    width: 100%;
    height: 88px;
    line-height: 88px;
    color: #41414d;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}
.category_box .swiper-slide a{
    color: #41414d;
    font-size: 14px;
    font-weight: 500;
}
.category_box .swiper-slide{
    transition: 0.1s ease-in-out;
}
.category_box .swiper-slide.active{
    border-bottom: 4px solid #7e29b3;
    animation: bar 3s;
}

/*category*/
.common_table.active{
    display:block;
}
.category_list{
    padding-top: 15px;
}
.category_item{
    width: 100%;
    padding-bottom: 30px;
    overflow: hidden;
}
.category_item:nth-child(2){
    /*padding-bottom: 10px;*/
}
.category_img img{
    width: 100%;
    height: 52vw;
    object-fit: cover;
    border-radius: 10px;
    /*height: 139px;*/
    /*background: #e0e0e0;*/
    /*border-radius: 10px;*/
}
.category_item h3{
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 2px 17px;
    display: inline-block;
    font-size: 14px;
    color: #78787f;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
}
.category_item p{
    color: #41414d;
    font-weight: bold;
}
.category_item span{
    display: block;
    padding-top: 5px;
    color: #78787f;
    font-size: 14px;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    /*word-wrap: break-word; - 강제줄바꿈*/
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.category_time{
    padding-top: 10px;
    overflow: hidden;
}
.category_time li{
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
}
.category_time_txt{
    color: #bcbcbf;
}
.category_time_bar{
    float: right;
    color: #7e29b3;
}
.category_time_bar span{
    width: 17px;
    height: 7px;
    background: #7e29b3;
    display: inline-block;
    padding-top: 0;
    border-radius: 30px;
    margin: 0px;
    margin-right: 3px;
    margin-bottom: 1.5px;
}
.portfolio_time_bar span:nth-child(1){
    margin-left: 5px;
}
.category_time_bar span.bar_span{
    background: #ddd;
}
.bar_span{
    margin-left: 10px;
}
/*.category_button .category_list{
    padding-top: 0;
}*/
.category_button h3{
    float: left;
}
.category_button p{
    padding: 0;
    text-align: left;
    border: none;
    background: none;
}
.category_moreBtn{
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    border-radius: 50px;
    background: #a631ef;
    color: #fff;
    padding: 10px 30px;
}
.category_button{
    text-align: center;
    padding-top: 25px;
    padding-bottom: 40px;
}

@media (min-width:600px){
    /*banner*/
    #banner{
        width:100%;
        /*height:100vh; */
        background:url(/img/bg_porfolio.jpg) center center / cover no-repeat;
    }
    .banner_cont p{
        font-size: 14px;
    }
    
    /*category swiper*/
    .category_box .swiper-button-prev{
        background: url(/img/btn_slide_l.png) no-repeat;
        position: absolute;
        top: 50px; left: -15px !important;
        display: block;
    }
    .category_box .swiper-button-next{
        background: url(/img/btn_slide_r.png) no-repeat;
        position: absolute;
        top: 50px; right: -40px !important;
        display: block;
    }
    
    /*category*/
    .category_item{
        width: calc(50% - 7.5px);
        margin-right: 15px;
        float: left;
        overflow: hidden;
        /*padding-bottom: 0;*/
    }
    .category_item:nth-child(2n){
        margin-right: 0;
    }
    .category_img{
        /*height: 259px;*/
    }
    .category_img img{
        height: 25vw;
    }
    .category_time li{
        font-size: 16px;
    }
    .category_moreBtn{
        padding: 15px 50px;
        font-size: 17px;
        cursor: default;
    }
    .category_box .swiper-button-disabled{
        display: none;
    }
    .category_button{
        text-align: center;
        padding-top: 30px;
        padding-bottom: 50px;
    }
}

@media (min-width:768px){
    /*banner*/
    .banner_box{
        padding: 0 10px;
    }
    .banner_cont h1{
        font-size: 40px;
    }
    .banner_cont p{
        padding-top: 15px;
        font-size: 14px;
    }
    #banner .banner_arrow{
        position: absolute;
        bottom: 45px;
        left: 50%;
        transform: translate(-50%,-50%)
    }
    
    /*category swiper*/
    .category_box .swiper-button-prev{
        top: 50px; left: -20px !important;
    }
    .category_box .swiper-button-next{
        top: 50px; right: -45px !important;
    }
    .category_box .swiper-button-disabled{
        display: none;
    }
    
    /*category*/
    .category_box .swiper-slide{
        font-size: 16px;
    }
    .category_item{
        width: calc(50% - 10px);
        margin-right: 20px;
    }
    .category_img{
        /*height: 343px;*/
    }
    .category_list{
        padding-top: 20px;
    }
    .category_item h3{
        padding: 3px 19px;
        font-size: 16px;
    }   
    .category_item p{
        font-size: 19px;
    }
    .category_item span{
        font-size: 16px;
    }
    .category_time_bar span{
        height: 8px;
    }
}

@media (min-width:960px){
    /*category*/
    /*.category_item{
        width: calc(33.33% - 13.33px);
        margin-right: 20px;
    }
    .category_item:nth-child(2n){
        margin-right: 20px;
    }
    .category_item:nth-child(3n){
        margin-right: 0px;
    }*/
    .category_box .swiper-button-disabled{
        display: none;
    }
    .category_img{
        /*height: 278px;*/
    }
    .category_button{
        /*padding-top: 55px;*/
        padding-bottom: 70px;
    }
}

@media (min-width:1200px){
    #work{
        /*margin-top:90px;*/
    }
    
    /*header*/
    #menu li a{
        color: #fff;
    }

    /*banner*/    
    .contents_cont{
        width:1120px; 
        margin:0 auto;
    }
    #banner{
        /*height: 420px;*/
    }
    .banner_box{
        padding: 0 15px;
    }
    .banner_cont{
        width:1120px; 
        position:absolute; 
        padding: 0 25px; 
        color:#fff; 
        top:50%; 
        /*margin-top:-55.5px; */
        left:50%; 
        margin-left:-561px;
    }
    .banner_cont h1{
        font-size: 52px;
        line-height:1;
    }
    .banner_cont p{
        font-size: 19px;
        padding-top:25px; 
        line-height:normal;
    }
    .banner_box img{
        display: block;
        position: absolute; 
        top: 280px; left: 50%;
        transform: translate(-50%,-50%);
    }
    #banner .banner_arrow{
        position: absolute;
        bottom: 65px;
        left: 50%;
        transform: translate(-50%,-50%)
    }
    
    /*category swiper*/
    .category_box .swiper-button-prev{
        top: 50px; left: -55px !important;
    }
    .category_box .swiper-button-next{
        top: 50px; right: -80px !important;
    }
    
    /*category*/
    #cate{
        margin-top:-90px !important;
    }
    #category{
        padding-top: 0;
    }
    #category_table1,#category_table2,#category_table3,#category_table4,#category_table6,#category_table7,#category_table8,#category_table9,#category_table10{
        padding-top: 40px;
    }
    .category_img{
        /*height: 336px;*/
    }
    .category_list{
        padding-top: 24px;
    }
    .category_img img{
        height: 300px;
    }
    .category_item h3{
        padding: 3px 21px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .category_item,.category_item:nth-child(2n){
        padding-bottom: 64px;
    }
    .category_item p{
        /*font-size: 22px;*/
        font-size: 20px;
    }
    .category_item span{
        padding-top: 10px;
        /*font-size: 19px;*/
    }
    .category_time_bar span{
        padding-top: 0;
        width: 20px;
        height: 9px;
    }
    .category_button{
        padding-top: 25px;
        /*padding-bottom: 50px;*/
    }
}

    @keyframes bar {
        70% {opacity: 70;}
        100% {opacity: 100;}
    }