@charset "utf-8";

/* -------------------------- */
/* header */
/* -------------------------- */
/* .archive-video-header {
    
}

.archive-video-title {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 40px;
} */

/* 
.archive-video {
    margin-top: 100px;
} */

/* -------------------------- */
/* archive-video-main */
/* -------------------------- */
.video_player_container {
    width: 100%;
}

.video_player_embeded {
  width: 100%;
  height: 100%;
}

.video_player_embeded iframe {
  width: 100%;
  height: 100%;
}

.video_player_thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 中央の再生ボタン */
.video_player_thumbnail .play_icon {
    width: 70px;
}


/* .video_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    column-gap: 4%;
} */

/* -------------------------- */
/* 絞り込みタブ */
/* -------------------------- */

.archive-video_tab_titles {
    display: flex;
    align-items: center;
    column-gap: 26px;
    margin-bottom: 60px;
    list-style: none;
    padding: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.archive-video_tab_titles li {
    color: #000;
}
.archive-video_tab_titles li:not(:last-child)::after {
    content: "|";
    margin-left: 26px;
}

.archive-video_tab_titles li.is-active span {
    color: #E62475;
    border-bottom: 1px solid #E62475;
}

@media screen and (max-width: 767px) {
    .archive-video_tab_titles{
        margin-bottom: 20px;
        font-size: 1.4rem;
        column-gap: 16px;
    }
    .archive-video_tab_titles li:not(:last-child)::after {
        margin-left: 16px;
    }
}

/* -------------------------- */
/* 動画枠 */
/* -------------------------- */

.archive-video_thumbnail .play_icon {
    width: 50px;
}

.archive-video_wrapper {
    margin-top: 16px;
}

.archive-videos_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 6%;
}
@media screen and (min-width: 768px) {
    .archive-videos_grid {
        gap: 39px 40px;
    }
}
@media screen and (max-width: 1020px) {
    .archive-videos_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-columns: minmax(0, calc(50% - 5px));
    }
}

/* 動画カード全体 */
.archive-video_card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* サムネイル枠 */
.archive-video_thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

/* メタ情報（著者・日付） */
.archive-video_title {
    font-weight: bold;
    line-height: 1.4;
    color: #000;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-video_meta {
    display: flex;
    align-items: center;
    column-gap: 12px;
    flex-wrap: wrap;
    font-size: 0.75em; /* 1.2rem相当 */
    line-height: 1.1;
    font-weight: normal;
}

.archive-video_authoricon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    overflow: hidden;
    border: 1px solid #E5E5E5;
    flex-shrink: 0;
    position: relative;
}

.archive-video_authoricon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.archive-video_authorname {
    flex: 1;
}

.archive-video_date{
    flex-shrink: 0; /*潰れ*/
    white-space: nowrap;
}

.archive-video_date::before {
    content: "|";
    margin-left: 6px;
    margin-right: 6px;
    font-weight: normal;
    color: #000;
}


@media screen and (max-width: 1020px) {
.archive-video_meta {
    flex-wrap: wrap;
    column-gap: 6px;
}
}

@media screen and (max-width: 767px) {
    .archive-video_card {
        gap: 8px;
    }

    .archive-video_card_disc {
        gap: 4px;
    }

    .archive-video_thumbnail {
        border-radius: 6px;
    }

    .archive-video_authoricon {
        width: 30px;
        height: 30px;
    }

}

/* ---- ホバー処理 ---- */
.archive-video_thumbnail {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    /* ガタツキ防止 */
    will-change: transform;
    transform-origin: center center;
}

@media screen and (min-width: 768px) {
    .archive-video_thumbnail:hover {
    transform: scale(1.06);
    }
}

/* -------------------------- */
/* pagination */
/* -------------------------- */

.pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination ul {

    display: flex;
    justify-content: center;
    gap: 4px;
    list-style: none;
}

.pagination li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    color: #0084CA;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.pagination li .page-numbers.dots {
    box-shadow: none;
    width: 20px;
    height: 40px;
}

.pagination li .page-numbers.current {
    background-color: #0084CA;
    color: #fff;
}

.pagination li a.page-numbers{
    border: 1px solid #0084CA;
}
.pagination li a.page-numbers:hover {
    background-color: #0084CA;
    color: #fff;
}

/* 「次へ」「前へ」ボタン */
.pagination li .page-numbers.next,
.pagination li .page-numbers.prev {
    position: relative;
    border: 1px solid transparent;
    background-color: #F6F6F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination li .page-numbers.next::before,
.pagination li .page-numbers.prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #0084CA;
    border-bottom: 2px solid #0084CA;
    text-indent: 0; 
}
/* [<] */
.pagination li .page-numbers.prev::before {
    transform: translate(-35%, -50%) rotate(135deg);
}
/* [>] */
.pagination li .page-numbers.next::before {
    transform: translate(-65%, -50%) rotate(-45deg);
}

.pagination li a.page-numbers.next:hover,
.pagination li a.page-numbers.prev:hover {
    background-color: #0084CA;
}
.pagination li a.page-numbers.next:hover::before,
.pagination li a.page-numbers.prev:hover::before {
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

@media screen and (max-width: 767px) {
    .pagination {
        margin-top: 40px;
    }
    .pagination li .page-numbers {
        width: 30px;
    }
    .pagination li .page-numbers.dots {
        width: 20px;
        height: 30px;
    }
}

