/* 社員一覧ページのCSS */

body.interview .panel_wrapper{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    justify-content: center;
    gap: 14px;
    margin: 0 0 100px 0;
}
body.interview .content{
    justify-self: auto;
}
body.interview main h2{
    color: var(--main_color);
    padding: 0 0 20px 0;
    border-bottom: solid 1px var(--main_color);
    margin: 0 0 20px 0;
}
body.interview .panel{
    width: 100%;
    aspect-ratio: 1/1;
    box-shadow: var(--box_shadow1) var(--page_text_color);
    overflow: hidden;
}
body.interview .panel a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
body.interview .panel img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: top 0% left 50%;
    transition: transform 0.4s ease-in, opacity 0.4s ease-in;
}
body.interview .panel:hover img{
    transform: scale(1.2);
    opacity: 0.6;
}
body.interview .panel .description{
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px;
}
body.interview .description p{
    margin: 0;
    line-height: 1;
    color: var(--main_color);
    font-size: 14px;
}

@media (max-width:900px){
    body.interview .panel_wrapper{
        grid-template-columns: 1fr 1fr;
    }
}