@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
*/

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

/* ===== ぶっかけ作品 アーカイブページスタイル ===== */

/* 基本レイアウト */
.bukkake-taxonomy-archive,
.bukkake-main-archive,
.bukkake-single-post {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* アーカイブヘッダー */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.archive-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* フィルタリングメニュー */
.bukkake-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.bukkake-filters > div {
    flex: 1;
    min-width: 200px;
}

.bukkake-filters h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #495057;
    border-bottom: 2px solid #6c757d;
    padding-bottom: 5px;
}

.bukkake-filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bukkake-filters li {
    margin-bottom: 5px;
}

.bukkake-filters a {
    display: block;
    padding: 8px 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
}

.bukkake-filters a:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.bukkake-filters li.current a {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 投稿グリッド */
.bukkake-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.bukkake-post-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bukkake-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bukkake-post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.post-title a {
    color: #212529;
    text-decoration: none;
    line-height: 1.4;
}

.post-title a:hover {
    color: #007bff;
}

.post-excerpt {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* タクソノミー表示 */
.bukkake-post-taxonomies {
    margin-top: 15px;
}

.taxonomy-group {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.taxonomy-label {
    font-weight: bold;
    color: #495057;
}

.taxonomy-group a {
    color: #007bff;
    text-decoration: none;
    margin-right: 5px;
}

.taxonomy-group a:hover {
    text-decoration: underline;
}

/* ページネーション */
.bukkake-pagination {
    text-align: center;
    margin-top: 40px;
}

.bukkake-pagination .page-numbers {
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 1;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bukkake-pagination .page-numbers:hover,
.bukkake-pagination .page-numbers.current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* メインアーカイブページ */
.bukkake-taxonomy-menu {
    margin-bottom: 50px;
}

.bukkake-taxonomy-menu h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #495057;
}

.taxonomy-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.taxonomy-menu-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #007bff;
}

.taxonomy-menu-item h3 {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1.3rem;
    text-align: center;
}

.taxonomy-menu-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.taxonomy-menu-item li {
    margin-bottom: 8px;
}

.taxonomy-menu-item a {
    display: block;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.taxonomy-menu-item a:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* 個別投稿ページ */
.bukkake-single-post {
    max-width: 800px;
}

.bukkake-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.bukkake-breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.bukkake-breadcrumb a:hover {
    text-decoration: underline;
}

.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #212529;
}

.post-meta {
    color: #6c757d;
    font-size: 0.95rem;
}

.post-featured-image {
    margin-bottom: 30px;
    text-align: center;
}

.post-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.post-taxonomies {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #007bff;
}

/* 関連投稿 */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #dee2e6;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #495057;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.related-post-item {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post-item:hover {
    transform: translateY(-3px);
}

.related-post-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.related-post-item h4 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.related-post-item a {
    color: #495057;
    text-decoration: none;
}

.related-post-item a:hover {
    color: #007bff;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .bukkake-taxonomy-archive,
    .bukkake-main-archive,
    .bukkake-single-post {
        padding: 15px;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .bukkake-filters {
        flex-direction: column;
    }
    
    .bukkake-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .taxonomy-menu-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header .post-title {
        font-size: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .archive-title {
        font-size: 1.5rem;
    }
    
    .post-header .post-title {
        font-size: 1.5rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bukkake-post-item {
    animation: fadeInUp 0.6s ease forwards;
}

.bukkake-post-item:nth-child(1) { animation-delay: 0.1s; }
.bukkake-post-item:nth-child(2) { animation-delay: 0.2s; }
.bukkake-post-item:nth-child(3) { animation-delay: 0.3s; }
.bukkake-post-item:nth-child(4) { animation-delay: 0.4s; }

/* ロード状態 */
.bukkake-posts-grid.loading .bukkake-post-item {
    opacity: 0.5;
    pointer-events: none;
}

/* 検索フォーム（オプション） */
.bukkake-search-form {
    max-width: 400px;
    margin: 0 auto 40px auto;
    display: flex;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bukkake-search-form input[type="search"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.bukkake-search-form button {
    padding: 15px 25px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bukkake-search-form button:hover {
    background: #0056b3;
}

/* ===== ぶっかけ作品 アーカイブページスタイル ===== */

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}



/* style.css に追記 */
/* 2026/02/05　antigravity */
/* 関連記事セクション */
.bl-related-section {
    margin-top: 40px;
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
}

.bl-related-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-left: 5px solid #AEC6CF; /* パステルブルーのアクセント */
    padding-left: 10px;
}

.bl-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
    gap: 15px;
}

@media (min-width: 768px) {
    .bl-related-grid {
        grid-template-columns: repeat(4, 1fr); /* PCは4列 */
    }
}

.bl-related-card {
    text-decoration: none;
    color: #333;
    display: block;
    transition: opacity 0.3s;
}

.bl-related-card:hover {
    opacity: 0.8;
}

.bl-related-thumb {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 8px;
    background-color: #eee;
}

.bl-related-title {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ジャンルナビゲーション（ヘッダー下） */
.bl-genre-nav-container {
    background-color: #f5f8fa; /* 薄い背景色 */
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin-bottom: 20px;
}

/* スマホで横スクロールできるようにする設定 */
.bl-genre-nav-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 0 10px;
    margin: 0;
    list-style: none;
}

/* スクロールバーを消す（見た目重視） */
.bl-genre-nav-list::-webkit-scrollbar {
    display: none; 
}

.bl-genre-nav-list li {
    flex: 0 0 auto; /* 折り返さない */
    margin: 0;
}

.bl-genre-nav-list li a {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px; /* 丸ボタン風 */
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.bl-genre-nav-list li a:hover {
    background: #AEC6CF; /* ホバー時の色 */
    color: #fff;
    border-color: #AEC6CF;
}

/* ========================================
   女優カード（サイト共通）
======================================== */
.bl-actress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.bl-actress-card {
    text-align: center;
    text-decoration: none;
    background: white;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    display: block;
}

.bl-actress-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.bl-actress-thumb {
    width: 100%;
    padding-top: 133%; /* 3:4 縦長 */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 12px;
    background-color: #eee;
}

.bl-actress-name {
    font-weight: bold;
    color: #333;
    margin: 8px 0;
    font-size: 15px;
}

.bl-actress-count {
    font-size: 12px;
    color: #999;
    background: #f1f3f5;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
}

@media (max-width: 768px) {
    .bl-actress-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .bl-actress-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   関連女優セクション
======================================== */
.bl-related-actress-section {
    margin-top: 40px;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.bl-related-actress-section h3 {
    border-left: 5px solid #ff9800;
    padding-left: 15px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

/* ========================================
   フィルターナビ（actressアーカイブ）
======================================== */
.bl-filter-nav {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bl-filter-label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-right: 5px;
}

.bl-filter-link {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.bl-filter-link:hover {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

/* ========================================
   関連作品「全作品を見る」リンク
======================================== */
.bl-related-more {
    margin-top: 15px;
    text-align: right;
}

.bl-related-more a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.bl-related-more a:hover {
    text-decoration: underline;
}
