/* ========================================
   公開側 作品詳細
======================================== */


/* ========================================
   Video
======================================== */

.front_video {
    min-height: 100%;
}


/* ========================================
   Breadcrumb
======================================== */

.front_video_breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 22px;

    color: #777;

    font-size: 12px;
    line-height: 1.6;
}

.front_video_breadcrumb_link {
    color: #2457a6;

    text-decoration: none;
}

.front_video_breadcrumb_link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.front_video_breadcrumb_separator {
    color: #aaa;
}

.front_video_breadcrumb_current {
    color: #666;
}


/* ========================================
   Main
======================================== */

.front_video_main {
    display: block;

    margin-bottom: 42px;
}


/* ========================================
   Main image
======================================== */

.front_video_main_image_area {
    position: relative;

    width: min(100%, 800px);

    aspect-ratio: 800 / 573;

    overflow: hidden;

    margin: 0 auto 30px;

    background: transparent;

    border: none;
    border-radius: 0;
}

.front_video_main_image_link {
    display: block;

    width: 100%;
    height: 100%;

    color: inherit;

    text-decoration: none;
}

.front_video_main_image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.front_video_main_no_image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #a1a5aa;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.front_video_main_no_image[hidden] {
    display: none;
}


/* ========================================
   Main info
======================================== */

.front_video_main_info {
    width: 100%;
    min-width: 0;
}

.front_video_title {
    margin: 0 0 24px;

    color: #222;

    font-size: 28px;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
}


/* ========================================
   Meta
======================================== */

.front_video_meta_row {
    display: grid;

    grid-template-columns:
        92px
        minmax(0, 1fr);

    gap: 10px 18px;

    padding: 11px 0;

    border-bottom: 1px solid #eceef1;
}

.front_video_meta_label {
    color: #777;

    font-size: 12px;
    font-weight: 700;
}

.front_video_meta_value {
    min-width: 0;

    color: #333;

    font-size: 13px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

.front_video_meta_separator {
    margin: 0 5px;

    color: #aaa;
}


/* ========================================
   Actress links
======================================== */

.front_video_actress_name {
    color: #2457a6;

    font-weight: 700;

    text-decoration: none;
}

a.front_video_actress_name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.front_video_actress_name:focus-visible {
    outline: 2px solid #2457a6;
    outline-offset: 2px;

    border-radius: 2px;
}


/* ========================================
   Series link
======================================== */

.front_video_series_name {
    color: #2457a6;

    font-weight: 700;

    text-decoration: none;
}

a.front_video_series_name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.front_video_series_name:focus-visible {
    outline: 2px solid #2457a6;
    outline-offset: 2px;

    border-radius: 2px;
}


/* ========================================
   Scene links
======================================== */

.front_video_scene_links {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 0;
}

.front_video_scene_link {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    background: #f3f5f7;

    border: 1px solid #dfe3e7;
    border-radius: 999px;

    color: #333;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.front_video_scene_link:hover {
    background: #eceff2;

    border-color: #bfc5cb;
}


/* ========================================
   Affiliate CTA
======================================== */

.front_video_affiliate_area {
    margin-top: 24px;
    padding: 18px;

    background: #f8f8f9;

    border: 1px solid #e1e4e8;
    border-radius: 8px;
}

.front_video_pr_label {
    margin-bottom: 7px;

    color: #888;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.front_video_affiliate_button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    padding: 12px 18px;

    background: #2f3337;

    border: 1px solid #2f3337;
    border-radius: 7px;

    color: #fff;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;

    text-align: center;
    text-decoration: none;

    transition:
        opacity 0.15s ease,
        transform 0.05s ease;
}

.front_video_affiliate_button:hover {
    opacity: 0.9;
}

.front_video_affiliate_button:active {
    transform: translateY(1px);
}

.front_video_affiliate_button span {
    margin-left: 7px;
}

.front_video_affiliate_note {
    margin-top: 9px;

    color: #888;

    font-size: 10px;
    line-height: 1.6;
}


/* ========================================
   Section
======================================== */

.front_video_section {
    margin-bottom: 42px;
}

.front_video_section:last-child {
    margin-bottom: 0;
}

.front_video_section_header {
    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 2px solid #2f3337;
}

.front_video_section_title {
    margin: 0;

    color: #222;

    font-size: 23px;
    font-weight: 800;
    line-height: 1.45;
}


/* ========================================
   Sample images
======================================== */

.front_video_sample_grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.front_video_sample_item {
    position: relative;

    min-width: 0;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #f3f4f5;

    border-radius: 7px;
}

.front_video_sample_link {
    display: block;

    width: 100%;
    height: 100%;
}

.front_video_sample_image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.15s ease;
}

.front_video_sample_link:hover .front_video_sample_image {
    transform: scale(1.02);
}

.front_video_sample_no_image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #a1a5aa;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.front_video_sample_no_image[hidden] {
    display: none;
}


/* ========================================
   Lightbox
======================================== */

body.front_video_lightbox_open {
    overflow: hidden;
}

.front_video_lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        rgba(0, 0, 0, 0.78);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.front_video_lightbox.is_open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.front_video_lightbox_stage {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 54px 74px;
}

.front_video_lightbox_image {
    display: block;

    max-width: 100%;
    max-height: calc(100vh - 120px);

    object-fit: contain;

    border-radius: 5px;

    box-shadow:
        0 16px 50px
        rgba(0, 0, 0, 0.45);

    transform: scale(0.975);

    transition:
        transform 0.22s ease;
}

.front_video_lightbox.is_open
.front_video_lightbox_image {
    transform: scale(1);
}

.front_video_lightbox_image[hidden] {
    display: none;
}

.front_video_lightbox_no_image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: min(720px, 80vw);
    height: min(480px, 60vh);

    background:
        rgba(255, 255, 255, 0.08);

    border-radius: 7px;

    color: #ddd;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.front_video_lightbox_no_image[hidden] {
    display: none;
}


/* ========================================
   Lightbox close
======================================== */

.front_video_lightbox_close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    background:
        rgba(0, 0, 0, 0.45);

    border: 1px solid
        rgba(255, 255, 255, 0.28);
    border-radius: 50%;

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.front_video_lightbox_close:hover {
    background:
        rgba(0, 0, 0, 0.7);
}


/* ========================================
   Lightbox navigation
======================================== */

.front_video_lightbox_nav {
    position: absolute;
    top: 50%;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 66px;

    padding: 0;

    background:
        rgba(0, 0, 0, 0.42);

    border: 1px solid
        rgba(255, 255, 255, 0.24);
    border-radius: 7px;

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 44px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transform:
        translateY(-50%);
}

.front_video_lightbox_nav:hover {
    background:
        rgba(0, 0, 0, 0.7);
}

.front_video_lightbox_nav[hidden] {
    display: none;
}

.front_video_lightbox_prev {
    left: 18px;
}

.front_video_lightbox_next {
    right: 18px;
}


/* ========================================
   Lightbox counter
======================================== */

.front_video_lightbox_counter {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 3;

    padding: 6px 11px;

    background:
        rgba(0, 0, 0, 0.45);

    border-radius: 999px;

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    transform:
        translateX(-50%);
}


/* ========================================
   Scene section
======================================== */

.front_video_scene_section {
    padding: 24px;

    background: #fff;

    border: 1px solid #e1e4e8;
    border-radius: 9px;
}

.front_video_scene_header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
    padding-bottom: 16px;

    border-bottom: 1px solid #e2e5e9;
}

.front_video_scene_heading_row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;
}

.front_video_scene_title {
    margin: 0;

    color: #222;

    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.front_video_recommend_badge {
    display: inline-flex;
    align-items: center;

    padding: 4px 7px;

    background: #2f3337;

    border-radius: 4px;

    color: #fff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.front_video_scene_catch {
    margin-top: 7px;

    color: #555;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.front_video_scene_more {
    flex-shrink: 0;

    margin-top: 2px;

    color: #2457a6;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
    white-space: nowrap;
}

.front_video_scene_more:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.front_video_scene_description {
    color: #444;

    font-size: 14px;
    line-height: 1.9;
}


/* ========================================
   Detail block
======================================== */

.front_video_detail_block {
    margin-top: 28px;
    padding-top: 24px;

    border-top: 1px solid #eceef1;
}

/* ========================================
   紹介文なし時の先頭詳細ブロック
   キャッチコピー直後に評価などが来る場合は
   不要な罫線・余白を表示しない
======================================== */

.front_video_scene_header + .front_video_detail_block {
    margin-top: 0;
    padding-top: 0;

    border-top: none;
}

.front_video_detail_title {
    margin: 0 0 14px;

    color: #2d3033;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}


/* ========================================
   Rating
======================================== */

.front_video_rating_chapter_list {
    display: grid;

    gap: 16px;
}

.front_video_rating_chapter {
    padding: 16px 18px 18px;

    background: #f8f9fa;

    border: 1px solid #e5e8eb;
    border-radius: 8px;
}

.front_video_rating_chapter_best {
    border-color: #d8b85c;

    box-shadow: 0 0 0 1px rgba(216, 184, 92, 0.12);
}

.front_video_rating_chapter_heading {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 14px;
}

.front_video_rating_chapter_title {
    margin: 0;

    color: #2d3033;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.front_video_rating_best_badge {
    display: inline-flex;
    align-items: center;

    padding: 3px 8px;

    color: #765d14;
    background: #fff7d8;

    border: 1px solid #e5cc77;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;
    line-height: 1.3;
    white-space: nowrap;
}

.front_video_rating_list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px 22px;
}

.front_video_rating_item {
    min-width: 0;
}

.front_video_rating_header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 7px;
}

.front_video_rating_name {
    min-width: 0;

    color: #444;

    font-size: 12px;
    font-weight: 700;
}

.front_video_rating_value {
    flex-shrink: 0;

    color: #333;

    font-size: 12px;
    font-weight: 800;
}

.front_video_rating_bar {
    position: relative;

    height: 8px;

    overflow: hidden;

    background: #eceff2;

    border-radius: 999px;
}

.front_video_rating_bar_value {
    display: block;

    height: 100%;

    background: #555b61;

    border-radius: inherit;
}


/* ========================================
   Highlight
======================================== */

.front_video_highlight_list {
    margin: 0;
    padding-left: 24px;
}

.front_video_highlight_item {
    padding: 5px 0;

    color: #444;

    font-size: 13px;
    line-height: 1.75;
}

.front_video_highlight_item::marker {
    color: #777;

    font-weight: 700;
}


/* ========================================
   Tags
======================================== */

.front_video_tag_list {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

/* ========================================
   メタ情報内 タグ
======================================== */

.front_video_meta_value .front_video_tag_list {
    margin: 0;
}

.front_video_tag {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    background: #f3f5f7;

    border: 1px solid #dfe3e7;
    border-radius: 999px;

    color: #4b4f54;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

a.front_video_tag:hover {
    background: #e9eef5;

    border-color: #b9c6d6;

    color: #2457a6;
}

a.front_video_tag:focus-visible {
    outline: 2px solid #2457a6;
    outline-offset: 2px;
}


/* ========================================
   Bottom CTA
======================================== */

.front_video_bottom_cta {
    margin-top: 46px;
    padding: 24px;

    background: #f7f8f9;

    border: 1px solid #e1e4e8;
    border-radius: 9px;

    text-align: center;
}

.front_video_bottom_cta_title {
    margin-bottom: 14px;

    color: #333;

    font-size: 17px;
    font-weight: 800;
}

.front_video_bottom_cta .front_video_affiliate_button {
    max-width: 520px;

    margin: 0 auto;
}


/* ========================================
   Responsive
======================================== */

@media screen and (max-width: 1050px) {

    .front_video_sample_grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


@media screen and (max-width: 820px) {

    .front_video_main_image_area {
        width: 100%;

        margin-bottom: 24px;
    }

    .front_video_title {
        font-size: 24px;
    }

    .front_video_scene_header {
        flex-direction: column;

        gap: 12px;
    }

    .front_video_scene_more {
        margin-top: 0;
    }

    .front_video_rating_list {
        grid-template-columns: 1fr;
    }
}


@media screen and (max-width: 650px) {

    .front_video_lightbox {
        padding: 12px;
    }

    .front_video_lightbox_stage {
        padding:
            54px
            42px
            62px;
    }

    .front_video_lightbox_image {
        max-height:
            calc(100vh - 110px);
    }

    .front_video_lightbox_close {
        top: 10px;
        right: 10px;

        width: 40px;
        height: 40px;

        font-size: 28px;
    }

    .front_video_lightbox_nav {
        width: 38px;
        height: 58px;

        font-size: 35px;
    }

    .front_video_lightbox_prev {
        left: 6px;
    }

    .front_video_lightbox_next {
        right: 6px;
    }

    .front_video_lightbox_counter {
        bottom: 12px;
    }

    .front_video_breadcrumb {
        margin-bottom: 18px;
    }

    .front_video_main {
        margin-bottom: 34px;
    }

    .front_video_title {
        margin-bottom: 18px;

        font-size: 21px;
    }

    .front_video_meta_row {
        grid-template-columns: 76px 1fr;

        gap: 8px 12px;
    }

    .front_video_sample_grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .front_video_section {
        margin-bottom: 34px;
    }

    .front_video_section_title {
        font-size: 20px;
    }

    .front_video_scene_section {
        padding: 18px;
    }

    .front_video_rating_chapter {
        padding: 14px 15px 16px;
    }

    .front_video_scene_title {
        font-size: 19px;
    }

    .front_video_scene_catch {
        font-size: 13px;
    }

    .front_video_scene_description {
        font-size: 13px;
        line-height: 1.8;
    }

    .front_video_bottom_cta {
        margin-top: 36px;
        padding: 20px 18px;
    }
}


@media screen and (max-width: 420px) {

    .front_video_title {
        font-size: 19px;
    }

    .front_video_meta_row {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .front_video_meta_label {
        font-size: 11px;
    }

    .front_video_meta_value {
        font-size: 12px;
    }

    .front_video_scene_links {
        gap: 6px;
    }

    .front_video_scene_link {
        padding: 6px 9px;

        font-size: 11px;
    }

    .front_video_affiliate_area {
        padding: 15px;
    }

    .front_video_affiliate_button {
        min-height: 45px;

        font-size: 13px;
    }

    .front_video_sample_grid {
        grid-template-columns: 1fr;
    }

    .front_video_scene_section {
        padding: 15px;
    }

    .front_video_rating_chapter {
        padding: 13px 14px 15px;
    }

    .front_video_rating_chapter_title {
        font-size: 13px;
    }

    .front_video_scene_title {
        font-size: 18px;
    }

    .front_video_detail_title {
        font-size: 15px;
    }

    .front_video_highlight_item {
        font-size: 12px;
    }

    .front_video_tag {
        font-size: 10px;
    }

    .front_video_bottom_cta_title {
        font-size: 15px;
    }
}
