@import "./import.css";
/*-----------------
動画一覧のリスト
------------------*/
.movies_list {
    width: 100%;
    list-style: none;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.movies_list li a {
    text-decoration: none;
    display: flex;
    transition: .3s;
    border-radius: 4px;
}

.movies_list li a:hover {
    background-color: var(--site-background-color);
    filter: var(--hover-filter);
}

.thumbnail_block {
    width: 25%;
    height: 0;
    flex-shrink: 0;
    padding-top: calc(56.25%/4);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.thumbnail_block > img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: contain;
}

.movie_infomation {
    width: 75%;
    padding: 1rem 1.5rem;
    flex: 1;
    text-align: left;
    letter-spacing: 0.6px;
}

.movie_title {
    font-size: 1.05rem;
    line-height: 1.3rem;
    color: var(--site-text-color);
    padding-top: 1rem;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: calc(1.1 * 1.6 * 2rem);
}

.movie_detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--site-gray-color);
    font-size: 0.9rem;
    width: 100%;
}

.movie_detail p:first-child {
    background-color: var(--site-background-color);
    padding: 4px 8px;
    border-radius: 3px;
}

.movie_detail p:last-child {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 960px) {
    .movie_infomation {
        padding: 0.5rem 1.25rem;
    }
}

@media screen and (max-width: 768px) {
    .movie_infomation {
        padding: 0.5rem 0.75rem 0.5rem 1.25rem;
    }

    .movie_title {
        font-size: 0.95rem;
        padding-top: 0.5rem;
    }

    .movie_detail {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 640px) {
    .thumbnail_block {
        width: 40%;
        padding-top: calc(56.25% / 5 * 2);
    }

    .movie_infomation {
        width: 60%;
        padding: 0.25rem 0.5rem;
    }

    .movie_title {
        font-size: 0.8rem;
        padding-top: 0.3rem;
        line-height: 1.15rem;
    }

    .movie_detail {
        font-size: 0.6rem;
    }

    .movie_detail p:first-child {
        padding: 0 4px;
    }
}