@charset "utf-8";
#works_field .container{
    text-align: center;
    margin: 50px auto
}

#works_field h2 {
    position: relative;
    margin:-40px 0 10px 0;
}

#works_field .container>div>h2::after{
    content: '';
    clear: both;
    display: block;
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22%;
    height: 1%;
    background: grey
}

#works_field .container span {
    color: var(--blue_ip);
}

#works_field .container iframe {
    width: 100%;
    height: 530px;
    border-radius: 20px;
    margin-bottom: 50px;
    border: none;
    box-shadow: 0 5px 20px 0 #d8d8d8;
}

#works_field .container p{
    margin-bottom: 50px;
    font-size: 1rem;
}
/* ----------------------------------------listLAB 메인화면--------------------------------------------- */
.listLab-main{
    position: relative;
    display: flex;
    width: 100%;
    height: 530px;

}
.listLab-item{
    position: absolute;
    width: 100%;
    height: 530px;
    display: none;
}
.active{
    position:absolute;
    /* background-color: blue; */
    display: block;
}

/* -------------------------------------------------------------------------------- */

#works_field .listLab{
    display: flex;
    justify-content: center;
    margin-top: 98px;
}

#works_field .container img{
    margin: 40px 20px 0;
    border-radius: 10px;
    width: 240px;
    cursor: pointer;

}
.p1{
    color: #8c8c8c;
    font-size: 0.5rem;
    margin: 10px;
}

.itembox{
    display: flex;
}
/* ----------------------버튼------------------------------------------------------------- */
button{
    padding: 5px;
    border-radius: 10px;
    font-size: 20px;
    margin: 5px;
    display: none;
    font-weight: 900;
    color: lightgray
}

button:hover{
    opacity: 0.5;
}





/* METAVAG */
@media all and (min-width:768px) and (max-width:1023px){
    #works_field .container>div>h2::after{
        content: '';
        clear: both;
        display: block;
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20%;
        height: 1%;
        background: grey
    }
}

@media all and (max-width:767px){ 
    #works_field .container>div>h2::after{
        content: '';
        clear: both;
        display: block;
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translate(-50%, -50%);
        width:  160px;
        height: 1%;
        background: grey;
    }

    #works_field .listLab{
        overflow: hidden;
    }
    button{
       display: inline-block; 
    }
}


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