@charset "utf-8";

.h_title{
    padding: 30px 0;
    transition: 0.5s ease;
}

.h_title h1{
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
}
.h_title h2{
    font-weight: normal;
    color: #989898;
    margin-bottom: 30px;
    font-size: 18px;
    overflow: hidden;
}
.h_title h2 span{
    position: relative;
}


.h_title h2 span::after{
    content: '';
    position: absolute;
    border-bottom: 1px solid #989898;
    width: 205px;
    top: 55%;
    right: 110%;
}

.h_title h2 span::before{
    content: '';
    position: absolute;
    border-bottom: 1px solid #989898;
    width: 205px;
    top: 55%;
    left: 110%;
}

#contents{
    margin: 50px 0;
}

#actor_list ul{
    display: flex;
    flex-wrap: wrap;
}
#actor_list ul li{
    width: 16%;
    margin: 20px 2%;
}

#actor_list ul li a span{
    display: block;
    text-align: center;
    margin-top: 20px;
    color: black;
    font-size: 20px;
    font-weight: 500;
}
#actor_list ul li figure{
    overflow: hidden;
    border-radius: 7px;
}

#actor_list ul li figure img{
    width: 100%;
    vertical-align: top;
}




@media screen and (max-width:768px) {
    
    .h_title{
        margin-left: 20px;
        padding: 10px 0;
    }
    
    .h_title h1{
        font-size: 29px;
        margin-bottom: 8px;
    }
    .h_title h2{
        margin-bottom: 25px;
        font-size: 15px;
    }
    .h_title h2 span::after{
        display: none;
    }
    .h_title h2 span::before{
        width: 768px;
    }

    #actor_list ul li{
        width: 45%;
        margin: 10px 2.5%;
    }

    #actor_list ul li a span{
        margin-top: 12px;
        font-size: 15px;
    }



}/* mobile 0-768 */

@media screen and (min-width:769px){
    .h_title{
        text-align: center;
    }

    #actor_list ul li figure::after{
        content: url("../img/sub_3/rocket.png");
        width: 20px;
        position: absolute;
        right: 18px;
        bottom: 6px;
        animation: over_rocket 1.8s ease infinite;
        display: none;
    }

    @keyframes over_rocket{
        
        0%{
            opacity: 1;
        }
        50%{
            opacity: 0;
        }
        100%{
            opacity: 1;
        }
    }

    #actor_list ul li:hover figure::after{
        display: block;
    }

    #actor_list ul li figure::after img{
        width: 20px;
    }
    #actor_list ul li figure{
        position: relative;
    }
    #actor_list ul li figure img{
    
    transition: 0.5s;
    }

    #actor_list ul li:hover figure img{
        transform: scale(1.2);   
    }
} /* pc 769 이상 ~ */