@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/













/* FANZAボタンスタイル */
.fanza-button {
    display: inline-block;
    padding: 16px 24px;
    text-decoration: none;
    color: white; /* 文字色は白のまま */
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    background-color: #ffa500; /* ボタン背景をオレンジ */
    width: 100%; /* フル幅 */
    transition: transform 0.2s, box-shadow 0.2s;
}
.fanza-button:active {
    transform: scale(0.95); /* タップ時の縮小フィードバック */
}
.fanza-button:hover {
    transform: scale(1.05); /* ホバー時の拡大 */
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.5); /* オレンジ系の影 */
}
























/* =============================================================================
    モーダル拡大表示機能 - CSS（720×480固定対応）
============================================================================= */
.modal-overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* モーダル背景の暗さ：0=透明 0.5=半透明 1.0=真っ黒 */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}
.modal-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1200px;
}
.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* 2つの画像を重ねて配置（クロスフェード用） */
.modal-image {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.modal-image.active {
    opacity: 1;
    pointer-events: auto !important;
}

.modal-image.loading {
    opacity: 0 !important;
}

.image-click-area {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    cursor: pointer;
    z-index: 10;
}
.image-click-prev {
    left: 0;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M25 8 L12 20 L25 32" stroke="%23000" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M25 8 L12 20 L25 32" stroke="%23fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') 20 20, pointer;
}
.image-click-next {
    right: 0;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M15 8 L28 20 L15 32" stroke="%23000" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 8 L28 20 L15 32" stroke="%23fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') 20 20, pointer;
}
@media (hover: hover) {
    .image-click-prev:hover::before,
    .image-click-next:hover::before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
    }
    .image-click-prev:hover::before {
        left: 10px;
    }
    .image-click-next:hover::before {
        right: 10px;
    }
}
.modal-close {
    position: absolute;
    top: 20px;
    right: calc(50% - 600px - 20px);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 300;
    color: #333;
    z-index: 100000;
    padding: 0;
    line-height: 1;
}
.modal-close span {
    display: block;
    margin-top: -2px;
}
.modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}
.modal-nav-prev,
.modal-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #333;
    z-index: 100000;
    transition: all 0.2s ease;
}
.modal-nav-prev {
    left: calc(50% - 600px - 20px);
}
.modal-nav-next {
    right: calc(50% - 600px - 20px);
}
.modal-nav-prev:hover,
.modal-nav-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}
.modal-nav-prev.disabled,
.modal-nav-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.modal-nav-prev.disabled:hover,
.modal-nav-next.disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
}
.modal-counter {
    position: absolute;
    top: 20px;
    left: calc(50% - 600px - 20px);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 100000;
}
.modal-navigation-hint {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 15px;
    font-size: 13px;
    text-align: center;
    flex-shrink: 0;
}
.modal-navigation-hint-pc {
    display: block;
}
.modal-navigation-hint-sp {
    display: none;
}
.modal-affiliate-area {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    max-width: 700px;
    width: 90%;
    flex-shrink: 0;
}
.modal-affiliate-link {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #ffa500;
    border: 2px solid #ff8c00;
    border-radius: 30px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}
.modal-affiliate-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
    background: #ffa500;
    border: 2px solid #00ff00;
    color: #fff;
    text-decoration: none;
}
.modal-affiliate-text {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-align: center;
}
.modal-image.swiping {
    transition: none;
    cursor: grabbing;
}
.image-title-box {
    text-align: center;
    padding: 8px 15px;
    margin: 8px auto 2px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #333;
    max-width: 600px;
    line-height: 1.5;
}
.expandable-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: zoom-in;
}

/* 通常のexpandable-image（jacket-imageクラスが付いていないもの）にホバー効果を追加 */
.expandable-image:not(.jacket-image) {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* PC版：ホバー時の効果 */
@media (hover: hover) {
    .expandable-image:not(.jacket-image):hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }
}

.modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    z-index: 100001;
}
.modal-loading.active {
    display: block;
}
@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .modal-wrapper {
        padding: 10px;
    }
    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .modal-nav-prev,
    .modal-nav-next {
        display: none;
    }
    .modal-navigation-hint-pc {
        display: none;
    }
    .modal-navigation-hint-sp {
        display: block;
    }
    .modal-navigation-hint {
        font-size: 12px;
        padding: 5px 10px;
        margin-bottom: 8px;
    }
    .modal-counter {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 13px;
    }
    .modal-affiliate-area {
        padding: 12px;
        width: 95%;
    }
    .modal-affiliate-link {
        font-size: 16px;
        padding: 10px 24px;
    }
    .modal-affiliate-text {
        font-size: 13px;
    }
    .image-title-box {
        margin: 5px 10px 2px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* スマートフォン横向き対応 */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-affiliate-area {
        padding: 10px;
    }
    .modal-affiliate-link {
        font-size: 15px;
        padding: 8px 20px;
    }
    .modal-navigation-hint {
        font-size: 11px;
        padding: 4px 8px;
        margin-bottom: 6px;
    }
}

/* 画面幅が1240px以下の場合、UI要素を画面端に配置 */
@media (max-width: 1240px) {
    .modal-close {
        right: 20px;
        top: 20px;
    }
    .modal-nav-prev {
        left: 20px;
    }
    .modal-nav-next {
        right: 20px;
    }
    .modal-counter {
        left: 20px;
        top: 20px;
    }
}

/* =============================================================================
    ジャケット画像用スタイル（完全リニューアル版）
============================================================================= */
.jacket-wrapper {
    position: relative;
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
}

/* シンプルな上部バナー */
.jacket-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6600;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    gap: 8px;
}

/* 矢印アニメーション */
.jacket-arrow {
    font-size: 24px;
    display: inline-block;
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-3px); }
    50% { transform: translateY(3px); }
    75% { transform: translateY(-3px); }
}

/* ジャケット画像本体 */
.jacket-wrapper a {
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
}

.jacket-wrapper .expandable-image.jacket-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* PC版のみホバー効果 */
@media (hover: hover) {
    .jacket-wrapper .expandable-image.jacket-image:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .jacket-wrapper {
        margin: 20px 0;
        width: 100%;
    }
    
    .jacket-banner {
        font-size: 16px;
        padding: 8px 15px;
        gap: 6px;
    }
    
    .jacket-arrow {
        font-size: 20px;
    }
}

/* =============================================================================
    サンプル動画プレイヤー用スタイル（720×480対応 - PC固定高さ/SPパディング）
============================================================================= */

/* 動画コンテナのラッパー */
.video-wrapper {
    margin: 20px auto;
    max-width: 100%;
    text-align: center;
}

/* レスポンシブ動画コンテナ */
.video-container {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* PC版：固定高さ480px */
@media (min-width: 721px) {
    .video-container {
        width: 100% !important;
        max-width: 100% !important;
        height: 480px !important;
        padding: 0 !important;
    }
    
    /* iframeは単純に100% */
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        transform-origin: unset !important;
    }
}

/* スマホ版：padding-topで比率維持 */
@media (max-width: 720px) {
    .video-container {
        height: 0;
        padding-top: 75%; /* 720/480の比率 + コントロール分の余裕 */
    }
}

/* iframe本体のスタイル */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .video-wrapper {
        margin: 15px 0;
    }
    
    .video-container {
        border-radius: 3px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }
}

/* =============================================================================
    モーダル内動画表示用スタイル（PC固定高さ/SPパディング）
============================================================================= */
.modal-media-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    min-height: 0;
    max-height: calc(100% - 200px);
}

/* 動画コンテナ（PC時50px下に配置） */
.modal-video-container {
    position: relative;
    width: 100%;
    max-width: 720px;
    display: none;
}

/* PC版のみ：50px下に配置 */
@media (min-width: 769px) {
    .modal-video-container {
        margin-top: 50px;
    }
}

/* 動画ラッパー */
.modal-video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}

/* PC版：固定高さ480px */
@media (min-width: 721px) {
    .modal-video-wrapper {
        height: 480px;
    }
}

/* スマホ版：padding-topで比率維持 */
@media (max-width: 720px) {
    .modal-video-wrapper {
        height: 0;
        padding-top: 75%; /* 720/480の比率 + コントロール分の余裕 */
    }
}

.modal-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 動画準備中の表示 */
.modal-video-container.preparing {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-video-container.ready {
    opacity: 1;
}

/* 動画周りのクリックエリア */
.modal-video-click-area {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    cursor: pointer;
    z-index: 10;
}

.modal-video-click-prev {
    left: -80px;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M25 8 L12 20 L25 32" stroke="%23000" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M25 8 L12 20 L25 32" stroke="%23fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') 20 20, pointer;
}

.modal-video-click-next {
    right: -80px;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M15 8 L28 20 L15 32" stroke="%23000" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 8 L28 20 L15 32" stroke="%23fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') 20 20, pointer;
}

/* プリロード用動画（非表示） */
.video-preload-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* モバイル版調整 */
@media (max-width: 768px) {
    .modal-media-container {
        max-height: calc(100% - 150px);
        padding: 0 10px;
    }
    
    .modal-video-container {
        max-width: 100%;
        margin-top: 0;
    }
    
    .modal-video-click-area {
        display: none;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .modal-video-container {
        max-width: 720px;
        margin-top: 30px;
    }
    
    .modal-video-click-area {
        width: 60px;
    }
    
    .modal-video-click-prev {
        left: -60px;
    }
    
    .modal-video-click-next {
        right: -60px;
    }
}

/* 動画の中央クリックエリア削減用 */
@media (max-width: 840px) {
    .modal-video-click-area {
        display: none;
    }
}

/* =============================================================================
    モーダル拡大表示機能 - CSS 完了
============================================================================= */




























	
	
	
	
	
	
	
	
	
	
	
	
	


















































/* 【重要】このコードは削除・修正禁止 - Cocoonテーマのタップハイライトを確実に無効化するため全て必要 */
/* ====================================================
   タップハイライト完全無効化（スワイプ機能維持）
   ==================================================== */
* {
    -webkit-tap-highlight-color: transparent;
}

/* モーダル関連要素の追加指定 */
.modal-overlay,
.modal-content,
.modal-image-container,
.modal-image,
.image-click-area,
.modal-close,
.modal-nav-prev,
.modal-nav-next,
.modal-affiliate-link,
.expandable-image,
.fanza-button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* 最高優先順位での上書き */
html body * {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}




























/**
 * 無限スクロール機能用CSS
 * シンプルで軽量なスタイル定義
 */

/* ========================================
   画像の表示/非表示制御
   ======================================== */
.infinite-scroll-hidden {
    display: none !important;
}

.infinite-scroll-visible {
    display: block !important;
}

/* 画像のフェードイン効果（オプション） */
.infinite-scroll-visible img {
    animation: fadeInImage 0.3s ease-in;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   プレースホルダー
   ======================================== */
.image-placeholder {
    height: 1px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   ローディングスピナー
   ======================================== */
.infinite-scroll-spinner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

.infinite-scroll-spinner.active {
    opacity: 1;
    visibility: visible;
}

/* スピナーの回転部分 */
.spinner-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* スピナーのテキスト */
.spinner-text {
    font-size: 13px;
    color: #333;
    font-weight: normal;
    white-space: nowrap;
}

/* ========================================
   モバイル対応
   ======================================== */
@media (max-width: 768px) {
    .infinite-scroll-spinner {
        bottom: 20px;
        padding: 10px 16px;
        gap: 10px;
    }
    
    .spinner-circle {
        width: 18px;
        height: 18px;
    }
    
    .spinner-text {
        font-size: 12px;
    }
}

/* ========================================
   ダークモード対応（Cocoonのダークモード有効時）
   ======================================== */
body.dark-mode .infinite-scroll-spinner {
    background: rgba(40, 40, 40, 0.95);
}

body.dark-mode .spinner-circle {
    border-color: #444;
    border-top-color: #fff;
}

body.dark-mode .spinner-text {
    color: #fff;
}

/* ========================================
   高解像度ディスプレイ対応
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .spinner-circle {
        border-width: 2.5px;
    }
}

/* ========================================
   アクセシビリティ：モーション軽減設定
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .infinite-scroll-visible img {
        animation: none;
    }
    
    .spinner-circle {
        animation: spin 2s linear infinite;
    }
    
    .infinite-scroll-spinner {
        transition: none;
    }
}



















































/* =============================================================================
   作品詳細情報ボックス用CSS
   FANZAアダルト動画の作品詳細情報を表示するテーブルスタイル
   ============================================================================= */

/* テーブルラッパー */
.work-detail-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* 作品詳細テーブル */
.work-detail-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: white;
}

/* テーブルヘッダー（項目名） */
.work-detail-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
    white-space: nowrap;
    width: 120px;
    min-width: 120px;
    vertical-align: top;
}

/* テーブルデータ */
.work-detail-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    vertical-align: top;
    color: #4a5568;
    white-space: nowrap;
}

/* 各項目のスタイル */
.work-detail-table .work-title {
    font-weight: 500;
    color: #2c3e50;
    min-width: 250px;
}

.work-detail-table .work-actress {
    min-width: 200px;
}

.work-detail-table .work-genre {
    min-width: 250px;
}

.work-detail-table .work-series,
.work-detail-table .work-director,
.work-detail-table .work-maker,
.work-detail-table .work-label {
    min-width: 150px;
}

/* タグリンク */
.work-detail-table .tag-link {
    color: #3182ce;
    text-decoration: none;
    padding: 2px 4px;
    margin: 0 2px;
    border-radius: 3px;
    display: inline-block;
    transition: background-color 0.2s;
    font-size: inherit;  /* 親要素と同じサイズ */
}

.work-detail-table .tag-link:hover {
    background-color: #edf2f7;
    text-decoration: underline;
}

/* オススメ度の星 */
.work-detail-table .work-rating {
    color: #f6ad55;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: bold;
    min-width: 100px;
}

/* 行のホバー効果 */
.work-detail-table tbody tr:hover {
    background-color: #f7f7f7;
}

/* スクロールバーのスタイリング（Webkit系ブラウザ） */
.work-detail-wrapper::-webkit-scrollbar {
    height: 8px;
}

.work-detail-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.work-detail-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.work-detail-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .work-detail-wrapper {
        margin: 15px 0;
        border-radius: 4px;
    }
    
    .work-detail-table {
        min-width: 100%;
        width: 100%;
    }
    
    .work-detail-table th {
        width: 100px;
        min-width: 100px;
        padding: 10px 12px;
        font-size: 14px;
        font-weight: bold;
    }
    
    .work-detail-table td {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .work-detail-table .tag-link {
        font-size: 14px;
    }
    
    .work-detail-table .work-rating {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .work-detail-table th {
        width: 90px;
        min-width: 90px;
        padding: 8px 10px;
        font-size: 13px;
        font-weight: bold;
    }
    
    .work-detail-table td {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .work-detail-table .tag-link {
        font-size: 13px;
        padding: 1px 3px;
        margin: 0 1px;
    }
    
    .work-detail-table .work-rating {
        font-size: 14px;
    }
}

/* h3見出しのスタイル調整 */
h3 + .work-detail-wrapper {
    margin-top: 15px;
}

/* Cocoonテーマとの調和 */
.entry-content .work-detail-wrapper {
    margin-left: 0;
    margin-right: 0;
}

/* 印刷時のスタイル */
@media print {
    .work-detail-wrapper {
        overflow-x: visible;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .work-detail-table {
        min-width: 100%;
    }
    
    .work-detail-table td,
    .work-detail-table th {
        white-space: normal;
        overflow-x: visible;
    }
}