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

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

/************************************
** TOPページ: 検索フォーム + 新着動画
************************************/

/* サイト紹介 */
.site-intro {
  margin-bottom: 1.5em;
  text-align: center;
}

.site-intro-title {
  font-size: 1.4em;
  margin-bottom: 0.3em;
}

.site-intro-desc {
  font-size: 0.95em;
  color: #555;
  margin: 0;
}

/* 検索セクション */
.video-search-section {
  margin-bottom: 2em;
  padding: 1em;
  background: #f9f9f9;
  border-radius: 6px;
  overflow: hidden;
}

.video-search-form {
  overflow: hidden;
}

.search-section-title {
  font-size: 1.2em;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #333;
}

.search-label {
  font-size: 1em;
  margin: 0.8em 0 0.4em;
}

/* play タグボタン群 */
.play-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.play-tag-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.play-tag-label input[type="checkbox"] {
  display: none;
}

.play-tag-text {
  display: inline-block;
  padding: 8px 14px;
  min-height: 44px;
  line-height: 28px;
  font-size: 0.9em;
  background: #e8e8e8;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.play-tag-label input[type="checkbox"]:checked + .play-tag-text {
  background: #e74c3c;
  color: #fff;
}

/* actress セレクトボックス */
.actress-select {
  display: block;
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  appearance: auto;
}

/* 検索ボタン */
.video-search-submit {
  display: block;
  width: 100%;
  margin-top: 1em;
  margin-bottom: 0;
  padding: 12px;
  min-height: 48px;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  background: #e74c3c;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.video-search-submit:hover {
  background: #c0392b;
}

/* 検索結果 */
.search-results {
  margin-bottom: 2em;
}

.search-results-title {
  font-size: 1.1em;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #e74c3c;
}

.no-results {
  padding: 1em;
  text-align: center;
  color: #888;
}

/* 新着動画 */
.video-new-section {
  margin-bottom: 2em;
}

.new-section-title {
  font-size: 1.2em;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #333;
}

/* もっと見る */
.more-link-wrap {
  text-align: center;
  margin-top: 1em;
}

.more-link-wrap .more-link {
  display: inline-block;
  padding: 10px 32px;
  min-height: 44px;
  line-height: 24px;
  font-size: 1em;
  color: #fff;
  background: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.more-link-wrap .more-link:hover {
  background: #555;
}

/* タクソノミー導入文 */
.taxonomy-intro {
  margin: 0 0 1.5em;
  padding: 0.8em 1em;
  font-size: 0.95em;
  color: #555;
  background: #f9f9f9;
  border-left: 3px solid #ccc;
  border-radius: 2px;
}

/* カード一覧グリッド（モバイルファースト: 1列） */
.video-taxonomy-list,
.video-search-section + .search-results .list-wrap,
.video-new-section .list-wrap,
.search-results .list-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/* タブレット: 2列 */
@media screen and (min-width: 600px) {
  .video-taxonomy-list,
  .search-results .list-wrap,
  .video-new-section .list-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PC: 3列 */
@media screen and (min-width: 1024px) {
  .video-taxonomy-list,
  .search-results .list-wrap,
  .video-new-section .list-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

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

/* ========================================
   内部リンク強化: 関連作品セクション（個別投稿）
======================================== */
.video-related-section {
    margin-top: 2em;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.video-related-section h3 {
    margin-bottom: 1em;
    padding-left: 12px;
    border-left: 4px solid #e74c3c;
    font-size: 1.1em;
}

.video-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media screen and (min-width: 600px) {
    .video-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.video-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-related-thumb {
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.video-related-title {
    padding: 6px 8px;
    font-size: 0.82em;
    line-height: 1.4;
    margin: 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-related-more {
    margin-top: 12px;
    text-align: right;
    font-size: 0.9em;
}

.video-related-more a {
    color: #e74c3c;
    text-decoration: none;
}

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

/* ========================================
   内部リンク強化: 女優カード（actressアーカイブ）
======================================== */
.video-related-actress-section {
    margin-top: 2.5em;
    padding: 24px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.video-related-actress-section h3 {
    margin-bottom: 1em;
    padding-left: 12px;
    border-left: 4px solid #e74c3c;
    font-size: 1.1em;
}

.video-actress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.video-actress-card {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.video-actress-thumb {
    width: 100%;
    padding-top: 100%; /* 1:1 */
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    border-radius: 6px;
    margin-bottom: 8px;
}

.video-actress-name {
    font-weight: bold;
    font-size: 0.9em;
    color: #333;
    margin: 6px 0 4px;
}

.video-actress-count {
    font-size: 0.78em;
    color: #999;
    background: #f1f3f5;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

@media screen and (max-width: 480px) {
    .video-actress-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* ========================================
   内部リンク強化: フィルターナビ（actressアーカイブ）
======================================== */
.video-filter-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.video-filter-label {
    font-weight: bold;
    font-size: 0.85em;
    color: #555;
    margin-right: 4px;
    flex-shrink: 0;
}

.video-filter-link {
    display: inline-block;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.82em;
    color: #555;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.video-filter-link:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* ========================================
   CTAボタン（完全動画はこちら / 画像の続きをみる）
======================================== */
.video-cta-btn.btn {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.6em auto !important;
    padding: 20px 16px !important;
    font-size: 1.25em !important;
    font-weight: bold !important;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ff4757, #c0392b) !important;
    border: none !important;
    border-radius: 50px !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(192, 57, 43, 0.45) !important;
    text-decoration: none !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
    animation: video-cta-pulse 2.4s ease-in-out infinite;
}

/* Cocoon btn-circle が追加する「>」を非表示 */
.video-cta-btn.btn::after {
    display: none !important;
}

.video-cta-btn.btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 28px rgba(192, 57, 43, 0.55) !important;
    color: #fff !important;
}

@keyframes video-cta-pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(192, 57, 43, 0.45); }
    50%       { box-shadow: 0 6px 28px rgba(192, 57, 43, 0.75); }
}
