/* 20250827 @SC #7630 動画コンテンツ */
.pc-none {
    display: none;
}
@media screen and (max-width: 768px) {
    .pc-none {
        display: block;
    }
}

.movie_box {
    width: calc( 100% - 20px );
    margin: 10px
}

/* 動画ニュースヘッダー */
.movie_header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 5px;
}

.movie_header img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.movie_header p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}


/* 動画リンクボタン */
.movie_link_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 20px);
    height: 48px;
    margin: 20px auto;
    padding: 0 20px;
    border-radius: 24px;
    cursor: pointer;
    border: 1px solid #333;
    background-color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 3px 0 #000;
}

.movie_link_btn p {
    word-break: break-word;
    font-size: 16px;
    font-weight: 600;
}

.movie_contents ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.movie_contents li {
    width: calc((100% - 10px) / 2);
    margin: 0;
    position: relative;
    aspect-ratio: 9/16;
}

.movie_unload,
.movie_loading {
    /* height: auto; */
}

.movie_loaded {
    aspect-ratio: 0.5625;
}

.movie_unload a,
.movie_loading a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: black;
    height: 200px;
    /* position: relative; */
}

.movie_contents video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
}

.movie_contents video[poster] {
    background-size: cover;
    background-position: center;
}

/* スケルトンローディング */
.movie-loading-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.movie-skeleton-content {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}