/* 全体 */
    html {
        font-size: 62.5%;
        box-sizing: border-box; /* ここで一度指定 */
        font-family: Arial, sans-serif;
    }

    *, *::before, *::after {
        box-sizing: inherit; /* すべての要素が border-box を継承 */
    }
        
    body {
        margin: 0 0.8rem;
    }

    /* ヘッダー */
    .headerbody {
        margin: 0;
        padding: 0;
    }

    .header {
        padding: 10px 0;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }

    .logo {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .nav-menu {
        display: flex;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        list-style: none;
        background: #f0f0f0;
        margin: 0 auto;
    }

    .nav-menu li {
        flex-basis: 25%;
        text-align: center;
        border: 2px solid #FFF;
    }

    .nav-menu a {
        display: block;
        text-decoration: none;
        color: #333;
        font-size: 1.6rem;
        font-weight: bold;
        padding: 10px 0; 
    }

/* 作品カード */
    .work-card-container {
        display: flex;
        flex-direction: column;
        gap: 0rem;
        margin: 0rem;
        padding: 0;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
        font-size: 1.4rem;
        line-height: 1.4;
        background: #e0e0e0;
    }

    .work-card {
        background: #fff;
        border-radius: 0.5rem;
        margin: 3rem auto;
        padding: 1rem;
        max-width: 98%;
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0.05);
    }

    .work-title-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        gap: 0.7rem;
    }

    .work-title {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0;
        color: #007acc;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        background: #eee;
        border-radius: 0.6rem;
        box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        padding: 0.15rem 0.3rem;
    }

    .expand-button {
        background: #eee;
        border-radius: 0.6rem;
        box-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
        border: none;
        font-size: 1.9rem;
        cursor: pointer;
        color: #007acc;
        padding: 0.15rem 0.6rem;
    }

    .work-meta-line {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.2rem;
        color: #555;
    }

    .work-code-container {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
    }

    .work-code {
        font-size: 1.6rem;
        font-weight: 550;
    }

    .copy-button {
        position: relative;
        padding: 0rem 1.3rem;
        border: none;
        border-radius: 0.3rem;
        cursor: pointer;
        background: none; /* 必要に応じて調整 */
        width: 1.7rem; /* 幅を固定 */
        height: 1.7rem; /* 高さを固定 */
    }

    .copy-button::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 2rem; /* アイコンサイズに合わせて調整 */
        height: 1.7rem; /* アイコンサイズに合わせて調整 */
        background-image: url("https://bigboobs.javjavworld.com/wp-content/uploads/2025/02/copy-default.svg"); /* デフォルトアイコン */
        background-size: contain;
        background-repeat: no-repeat;
    }

    .copy-button.success::before {
        background-image: url("https://bigboobs.javjavworld.com/wp-content/uploads/2025/02/copy-succsess.svg"); /* 成功アイコン */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1.7rem; /* アイコンサイズに合わせて調整 */
        height: 1.7rem; /* アイコンサイズに合わせて調整 */
    }

    .copy-button:active {
        transform: scale(0.95);
    }

    .work-age-release {
        font-size: 1.2rem;
    }

    img, video {
        max-width: 100%;
        height: auto;
    }

    .responsive-picture {
        display: none;
    }

    .video-container {
        aspect-ratio: 16 / 9;
        position: relative;
        border-radius: 0.4rem;
        border: 0.1rem solid #ccc;
        background: #000;
        overflow: hidden;
        display: flex;
        align-items: center;       /* 子要素（video）を縦方向中央に */
        justify-content: center;/* 子要素を横方向中央に */
    }

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: contain;       /* アスペクト比を維持しながら収める */
        border-radius: inherit;    /* 親の角丸を引き継ぐ */
        /* aspect-ratio プロパティはここには設定しない */
    }

    .work-cup-tags {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        margin-bottom: 0.5rem;
    }

    .work-actress-list {
        display: flex;
        flex-direction: column; /* 縦に並べる */
        gap: 0.2rem;
        margin-top: 0.3rem;
    }

    .actress-name a {
        font-size: 1.7rem;
        color: #007acc;
        text-decoration: none;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }

    .tags-details {
        margin-top: 0.3rem
    }

    .tags-details summary {
        font-size: 1.55rem;
        cursor: pointer;
        font-weight: bold;
        color: red;
    }    

    .work-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .work-tag {
        display: inline-block;
        white-space: nowrap;
        font-size: 1.3rem;
        font-weight: bold;
        padding: 0.4rem 0.7rem;
        background: #eee;
        border-radius: 0.4rem;
        color: #333;
        text-decoration: none; /* 下線をなくす */
    }

    .show-more-details {
        margin-top: 0.3rem;
    }

    .show-more-details summary {
        font-size: 1.55rem;
        cursor: pointer;
        font-weight: bold;
        color: gray;
    }

    .show-more-details p {
        font-size: 1.35rem;
        color: #333;
        line-height: 1.3; /* 行間を少し広く */
    }

    .note-container {
         position: relative; /* 絶対配置の基準 */
         min-height: 2.2rem;   /* 必要に応じて適切な高さに調整 */
    }

    .note-container a {
         overflow-wrap: break-word; /* または word-wrap: break-word; */
    }

    .show-note-details {
        margin-top: 0.3rem;
        max-width: calc(100% - 2.9rem);
    }
        
    .show-note-details summary {
        font-size: 1.55rem;
        cursor: pointer;
        font-weight: bold;
        color: #FF9900;
    }

    .show-note-details p {
        font-size: 1.35rem;
        color: #333;
        line-height: 1.5; /* 行間を少し広く */        
    }

    .favorite-button {
        cursor: pointer;
        width: 2.2rem;
        height: 2.2rem;
        fill: gray;
        transition: fill 0.2s ease;
        position: absolute;
        top: 0;
        right: 0;
    }

   .favorite-button.is-favorite {
        fill: red;
    }
    
/* フッター */
    .footerbody {
        margin: 0;
        padding: 0;
    }

    .footer {
        background: #f0f0f0;
        padding: 20px;
        text-align: center;
        font-size: 1.6rem;
        color: #333;
        border-top: 1px solid #ddd;
    }

    .footer-content {
        max-width: 1000px;
        margin: 0 auto;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }

    .social-links a {
        font-size: 24px;
        color: #333;
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 10px 0;
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-links a {
        text-decoration: none;
        color: #007acc;
        font-weight: bold;
        font-size: 1.4rem;
    }

    .footer-links a:hover {
        text-decoration: underline;
    }

    .copyright {
        margin-bottom: 10px;
        color: #666;
    }    


/* ページネーション */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
        font-size: 1.6rem;
        flex-wrap: wrap;
    }

    .pagination__pages {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .pagination__pages a,
    .pagination__pages span {
        margin: 0 4px;
        cursor: pointer;
        padding: 4px 9px;
        border-radius: 5px;
        background: #eee;
        color: #333;
        text-decoration: none; /* aタグにも適用 */
    }

    .pagination__pages a.active,
    .pagination__pages span.active {
        background: #007acc;
        color: white;
    }

    .pagination__pages a.disabled,
    .pagination__pages span.disabled {
        pointer-events: none;
        opacity: 0.6;
    }
    
    .work-ad {
        margin: 1rem auto;
    }
    
    .work-ad-pc {
        display: none;
    }
/* 538px～767pxのメディアクエリ */
    @media (min-width: 539px) and (max-width: 767px) { 
        .work-title {
            font-size: 1.7rem;
        }

        .work-media-a {
            display: block;
            width: 45.54%;
            padding: 0;
            margin: 0;
            text-decoration: none;
            aspect-ratio: 16 / 9;
        }

        .work-media {
            display: flex;
        }

        .responsive-picture {
            width: 100%;
            height: 100%;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            object-fit: contain;
            display: block;
        }

        .video-container {
            width: 54.46%;                /* 既存のvideoの幅と合わせる */
            display: flex;
            align-items: center;       /* 縦方向中央揃え */
            justify-content: center;   /* 横方向中央揃え */
            aspect-ratio: 16 / 9;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            background: #000;
            overflow: hidden;             /* 子要素がはみ出さないように */
        }

        .video-container video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
    }    
/* 768px～1024pxのメディアクエリ */
    @media (min-width: 768px) and (max-width: 1024px) {
        .logo {
            max-width: 80%;
        }

        .nav-menu {
            max-width: 80%;
        }

        .work-title {
            font-size: 1.7rem;
        }

        .work-card {
            max-width: 80%;
            padding: 1.5rem;
        }

        .work-code {
            font-size: 1.8rem;
        }

        .copy-button {
            width: 1.8rem; /* 幅を固定 */
            height: 1.8rem; /* 高さを固定 */
        }

        .copy-button::before {
            width: 1.8rem; /* アイコンサイズに合わせて調整 */
            height: 1.8rem; /* アイコンサイズに合わせて調整 */
        }

        .copy-button.success::before {
            width: 1.8rem; /* アイコンサイズに合わせて調整 */
            height: 1.8rem; /* アイコンサイズに合わせて調整 */
        }

        .work-media-a {
            display: block;
            width: 45.54%;
            padding: 0;
            margin: 0;
            text-decoration: none;
            aspect-ratio: 16 / 9;
        }

        .work-media {
            display: flex;
        }

        .responsive-picture {
            width: 100%;
            height: 100%;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            object-fit: contain;
            display: block;
        }

        .video-container {
            width: 54.46%;                /* 既存のvideoの幅と合わせる */
            display: flex;
            align-items: center;       /* 縦方向中央揃え */
            justify-content: center;   /* 横方向中央揃え */
            aspect-ratio: 16 / 9;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            background: #000;
            overflow: hidden;             /* 子要素がはみ出さないように */
        }

        .video-container video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .show-more-details p {
            font-size: 1.45rem;
        }

        .show-note-details p {
            font-size: 1.45rem;
        }

        .pagination__pages a,
        .pagination__pages span {
            margin: 0 5px;
            padding: 5px 10px;
        }
        
        .work-ad {
            display: none;
        }
    
        .work-ad-pc {
            display: block;
            margin: 1rem auto;            
        }        
    }

/* 1025px～pxのメディアクエリ */
    @media (min-width: 1025px) {
        .logo {
            max-width: min(80%, 100rem);
        }

        .nav-menu {
            max-width: min(80%, 100rem);
        }

        .nav-menu a {
            font-size: 18px;
        }

        .note-container {
            min-height: 2.4rem;   /* 必要に応じて適切な高さに調整 */
        }
        
        .pagination__pages a,
        .pagination__pages span {
            margin: 0 5px;
            padding: 6px 11px;
            font-size: 17px;
        }
        
        .work-ad {
            display: none;
        }
    
        .work-ad-pc {
            display: block;
            margin: 1rem auto;            
        }             
    }

/* 1025px～1920pxのメディアクエリ */
    @media (min-width: 1025px) and (max-width: 1920px){
        .work-title {
            font-size: 1.8rem;
        }

        .work-card {
            max-width: min(80%, 100rem);
            padding: 1.5rem;
        }

        .work-code {
            font-size: 1.9rem;
        }

        .work-age-release {
            font-size: 1.4rem;
        }

        .copy-button {
            width: 1.9rem; /* 幅を固定 */
            height: 1.9rem; /* 高さを固定 */
        }

        .copy-button::before {
            width: 1.9rem; /* アイコンサイズに合わせて調整 */
            height: 1.9rem; /* アイコンサイズに合わせて調整 */
        }

        .copy-button.success::before {
            width: 1.9rem; /* アイコンサイズに合わせて調整 */
            height: 1.9rem; /* アイコンサイズに合わせて調整 */
        }

        .work-media-a {
            display: block;
            width: 45.54%;
            padding: 0;
            margin: 0;
            text-decoration: none;
            aspect-ratio: 16 / 9;
        }

        .work-media {
            display: flex;
        }

        .responsive-picture {
            width: 100%;
            height: 100%;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            object-fit: contain;
            display: block;
        }

        .video-container {
            width: 54.46%;                /* 既存のvideoの幅と合わせる */
            display: flex;
            align-items: center;       /* 縦方向中央揃え */
            justify-content: center;   /* 横方向中央揃え */
            aspect-ratio: 16 / 9;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            background: #000;
            overflow: hidden;             /* 子要素がはみ出さないように */
        }

        .video-container video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .actress-name a {
            font-size: 1.85rem;
        }

        .tags-details summary {
            font-size: 1.7rem;
        }

        .work-tags {
            gap: 0.7rem;
        }

        .work-tag {
            font-size: 1.5rem;
        }

        .show-more-details summary {
            font-size: 1.7rem;
        }

        .show-note-details summary {
            font-size: 1.7rem;
        }

        .show-more-details p {
            font-size: 1.7rem;
        }

        .show-note-details p {
            font-size: 1.7rem;
        }
    }    

/* 1921px～pxのメディアクエリ */
    @media (min-width: 1921px) {

        .work-title {
            font-size: 2.2rem;
        }

        .work-card {
            max-width: min(80%, 110rem);
            padding: 1.5rem;
        }

        .work-code {
            font-size: 1.9rem;
        }

        .work-age-release {
            font-size: 1.4rem;
        }

        .copy-button {
            width: 1.9rem; /* 幅を固定 */
            height: 1.9rem; /* 高さを固定 */
        }

        .copy-button::before {
            width: 1.9rem; /* アイコンサイズに合わせて調整 */
            height: 1.9rem; /* アイコンサイズに合わせて調整 */
        }

        .copy-button.success::before {
            width: 1.9rem; /* アイコンサイズに合わせて調整 */
            height: 1.9rem; /* アイコンサイズに合わせて調整 */
        }


        .work-media-a {
            display: block;
            width: 45.54%;
            padding: 0;
            margin: 0;
            text-decoration: none;
            aspect-ratio: 16 / 9;
        }

        .work-media {
            display: flex;
        }

        .responsive-picture {
            width: 100%;
            height: 100%;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            object-fit: contain;
            display: block;
        }

        .video-container {
            width: 54.46%;                /* 既存のvideoの幅と合わせる */
            display: flex;
            align-items: center;       /* 縦方向中央揃え */
            justify-content: center;   /* 横方向中央揃え */
            aspect-ratio: 16 / 9;
            border-radius: 0.4rem;
            border: 0.1rem solid #ccc;
            background: #000;
            overflow: hidden;             /* 子要素がはみ出さないように */
        }

        .video-container video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .actress-name a {
            font-size: 1.85rem;
        }

        .tags-details summary {
            font-size: 1.7rem;
        }

        .work-tags {
            gap: 0.7rem;
        }

        .work-tag {
            font-size: 1.5rem;
        }

        .show-more-details summary {
            font-size: 1.7rem;
        }

        .show-note-details summary {
            font-size: 1.7rem;
        }

        .show-more-details p {
            font-size: 1.65rem;
        }

        .show-note-details p {
            font-size: 1.65rem;
        }
    }    