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

/************************************
 ** 子テーマ用のスタイルを書く
 ************************************/
/*必要ならばここにコードを書く*/
.grecaptcha-badge { 
  visibility: hidden;
}

#list {
  margin-bottom: 0;
}

#sidebar {
  margin-top: 0;
}

.wp-block-headingi,
.widget-sidebar-title {
  color: #FFFFFF;
  background: linear-gradient(to left, #00FFFF, #1E90FF);
  padding: 5px 10px;
  border-radius: 3px;
}

.widget_categories ul li a .custom-categories-chevron {
  display: block;
  float: right;
}

table tr:nth-child(odd),
table tr:nth-child(even) {
  background-color: transparent !important;
}

table th {
  background-color: rgba(207, 8, 107, 0.4);
}

.page .date-tags {
    display: none;
}

input.wpcf7-submit,
.article h2 {
  color: #FFFFFF;
  background: linear-gradient(to left, #FF69B4, #CF086B);
  border-radius: 3px;
}

.cat-link {
  color: #ffffff !important;
  background: rgba(255, 105, 180, 0.9) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.cat-label {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: rgba(255, 105, 180, 0.9) !important;
  color: #ffffff !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  z-index: 10 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.e-card-info > span {
  margin-right: 10px;
}

.breadcrumb-caption {
  color: rgb(255, 105, 180);
}

.breadcrumb-caption:hover {
  color: rgb(207, 8, 107);
  font-weight: bold;
}

#header-container {
  background-color: #0D001A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.logo-text .site-name-text {
    font-family: 'Electrolize', sans-serif;
    font-size: 3em;
    text-transform: uppercase;
    filter: drop-shadow(0 0 8px #8A2BE2) drop-shadow(0 0 15px #00FFFF);
    background: linear-gradient(to right, #8A2BE2, #00FFFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
	--accent-color-1: initial;
}

#navi {
  width: auto;
}

.navi-in a {
  padding: 15px;
}

.header-search {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 8px 20px;
  border: 1px solid rgba(138, 43, 226, 0.5);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
  width: 100%;
  margin: 10px 5px;
}

.header-search input[type="search"] {
  background: none;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 1em;
  padding: 0;
  width: 100%;
}

.header-search input[type="search"]::placeholder {
  color: #A0A0A0;
}

.header-search button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

.search-icon {
  width: 22px;
  height: 22px;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 3px #00FFFF);
}
.entry-card-content.e-card-content {
  padding: 10px !important;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  #header .site-name-text {
    font-size: 35px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .entry-card.e-card {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 20px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
  }

  .entry-card-thumb.e-card-thumb {
    width: 100% !important;
    height: 200px !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .entry-card-thumb-image,
  .no-image.entry-card-thumb-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: block !important;
  }

  /*.no-image.entry-card-thumb-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  }*/

  .no-image.entry-card-thumb-image::before {
    content: "NO IMAGE" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    z-index: 2 !important;
  }

  .entry-card-content.e-card-content {
    padding: 16px 0 !important;
    flex: 1 !important;
  }

  .entry-card-title.e-card-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    color: #00ffff !important;
    font-weight: bold !important;
  }

  .entry-card-snippet.e-card-snippet {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .entry-card-meta.e-card-meta {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .entry-card-info.e-card-info {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .post-date {
    font-size: 1.0em;
  }
	
  .post-update {
    font-size: 1.0em;
	margin-left: 10px;
  }

  .e-card-info > span {
    margin-right: 10px;
  }

  .entry-card.e-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s ease !important;
  }

  .entry-card-thumb-image {
    transition: opacity 0.3s ease !important;
  }

  .entry-card-thumb-image {
    max-width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
  }

  .main-wrap {
    padding: 0 16px !important;
  }

  .entry-card.e-card + .entry-card.e-card {
    margin-top: 20px !important;
  }

}

/*320px以下*/
@media (max-width: 320px) {
  .entry-card-thumb.e-card-thumb {
    height: 180px !important;
  }

  .no-image.entry-card-thumb-image {
    height: 180px !important;
  }

  .entry-card-content.e-card-content {
    padding: 12px 0 !important;
  }

  .entry-card-title.e-card-title {
    font-size: 16px !important;
  }

  .cat-label {
    font-size: 10px !important;
    padding: 3px 6px !important;
  }
}


/* added by odaira at 2025/10/25 */
/* ------------------------------------------------------------------
 * 子カテゴリ一覧ショートコード用CSS (添付画像デザイン再現)
 * ------------------------------------------------------------------ */

/* 1. 全体コンテナのスタイル (カード部分) */
.child-categories-widget {
    background-color: #2c2c36; /* カードの背景色 (濃いグレー/紫) */
    border-radius: 12px; /* 角丸 */
    padding: 15px; /* 内側の余白 */
    margin-bottom: 20px; /* 他の要素との間隔 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 軽い影 */
    color: #ffffff; /* デフォルトのテキスト色 */
}

/* 2. タイトル部分のスタイル (グラデーションボタン風) */
.child-categories-title-box {
    /* グラデーションボタン風の背景 */
    background: linear-gradient(90deg, #007bff, #00c6ff); /* 青〜水色のグラデーション */
    border-radius: 8px;
    padding: 10px 15px;
    /* 親要素のパディングを打ち消し、カードの端まで広げる */
    margin: -15px -15px 15px -15px; 
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.child-categories-title-text {
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff; /* 白文字 */
    margin: 0; /* h2タグのデフォルトマージンをリセット */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 3. カテゴリリスト本体のスタイル */
.child-categories-list {
    list-style-type: disc; /* 行頭文字 (黒丸) */
    padding-left: 20px; /* 行頭文字分のインデント */
    margin: 0; /* デフォルトマージンをリセット */
}

.child-categories-list .category-item {
    margin-bottom: 5px; /* リストアイテム間の間隔 */
    line-height: 1.5;
}

/* リンクのスタイル */
.child-categories-list .category-item a {
    color: #8be9fd; /* リンク色 (明るい水色/シアン) */
    text-decoration: underline; /* 下線 */
    font-size: 0.95em;
    transition: color 0.2s;
}

.child-categories-list .category-item a:hover {
    color: #ffffff; /* ホバー時の色 */
    text-decoration: none; /* ホバー時に下線を消す */
}

/* 4. 投稿数のスタイル (括弧内の数字) */
.child-categories-list .category-item a::after {
    /* data-count 属性に格納した投稿数を表示 */
    content: attr(data-count); 
    color: #ffffff; /* 投稿数は白 */
    font-size: 0.9em;
    margin-left: 3px;
    text-decoration: none; /* 投稿数には下線をつけない */
}

/* 個別記事のcss */
.intro {
    color: #333;
    background-color: #fff8f0;
    padding: 20px;
    border-left: 4px solid #ff6b6b;
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.8;
}

.intro p {
    margin-bottom: 10px;
}

.intro p:last-child {
    margin-bottom: 0;
}

.video-item {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.video-item:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.video-rank {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 14px;
}

.video-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    line-height: 1.5;
}

.video-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.video-info-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.video-info-table td {
    padding: 12px 10px;
    vertical-align: top;
}

.video-info-table td:first-child {
    width: 120px;
    font-weight: bold;
    color: #ccc;
    padding-right: 20px;
}

.video-info-table td:last-child {
    color: white;
}

.video-description {
    font-size: 15px;
    line-height: 1.8;
    color: white;
    margin-bottom: 20px;
}

.video-description p {
    margin-bottom: 15px;
}

.video-description p:last-child {
    margin-bottom: 0;
}

.highlight {
    background-color: #fffacd;
    padding: 2px 6px;
    border-radius: 3px;
}

.summary-section {
    background-color: #fff8f0;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.summary-section h2 {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.summary-section p {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.summary-section p:last-child {
    margin-bottom: 0;
}


/* PRマーク */
.pr-label-s {
    position: relative;
    border: 1px solid rgba(51, 51, 51, 0.7);
    font-size: 12px;
    color: var(--cocoon-text-color);
    background-color: #CC00FF; 
	padding: 2px 12px;
    border-radius: var(--cocoon-badge-border-radius);
}  


/************************************
****　FANZA TV (修正版)
************************************/
.fanza-ad-widget-wrapper {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fanza-ad-widget-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fanza-ad-widget-wrapper {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    /* PCでのサイズを制御するため、親要素の幅に応じてサイズが変わるように変更 */
}

.fanza-ad-widget-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 40px 30px;
    /* 修正点: max-width: 320px; を削除または調整 */
    /* 親要素の幅に合わせて広がるようにmax-widthを調整します。
       ここでは親要素の幅いっぱいに広がるようにし、最大幅を600px程度に設定します。 */
    width: 100%; /* 親要素の幅いっぱいに広がる */
    max-width: 500px; /* PCでの最大幅を設定（適宜調整してください） */
    text-align: center;
    animation: fanza-ad-slideIn 0.5s ease-out;
}

@keyframes fanza-ad-slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fanza-ad-header {
    position: relative;
/*     margin-bottom: 30px; */
    font-size: 24px; /* PC向けにフォントサイズを少し大きく */
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
}

.fanza-ad-header::before,
.fanza-ad-header::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px; /* PC向けに線の長さを調整 */
    height: 2px;
    background: linear-gradient(90deg, transparent, #999);
    transform: translateY(-50%);
}

.fanza-ad-header::before {
    left: 0;
    background: linear-gradient(90deg, #999, transparent);
}

.fanza-ad-header::after {
    right: 0;
    background: linear-gradient(90deg, transparent, #999);
}

.fanza-ad-header-text {
    display: inline-block;
    background: white;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.fanza-ad-image-container {
/*     margin: 30px 0; */
}

.fanza-ad-image-container:hover {
    transform: scale(1.02);
}

.fanza-ad-image-container a {
    display: block;
    text-decoration: none;
}

.fanza-ad-image {
    width: 100%;
    height: auto;
    display: block;
}

.fanza-ad-button-container {
    margin-top: 40px; /* PC向けにマージンを調整 */
}

.fanza-ad-register-button {
    display: inline-block;
    width: 100%;
    padding: 18px 30px; /* PC向けにパディングを調整 */
    background: #CC0000;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 18px; /* PC向けにフォントサイズを調整 */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.fanza-ad-register-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.fanza-ad-register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fanza-ad-register-button:hover::before {
    left: 100%;
}

.fanza-ad-register-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fanza-ad-highlight {
    color: #E50914; /* 鮮やかな赤色 */
    font-weight: bold;
}

.fanza-ad-campaign-text {
    font-size: 18px; /* PC向けにフォントサイズを調整 */
	color: #333333;
	font-weight: bold;
	line-height: 2.2; /* PC向けに行間を調整 */
}

/* 1. 女優名・ジャンル名を目立たせる */
.fanza-ad-campaign-text-actress,
.fanza-ad-campaign-text-genre {
    color: #CC0000;
    font-weight: bold;
}

/* 2. 数値（最も目立たせる部分） */
.fanza-ad-campaign-text-number {
    /* 視覚的な強調 */
/*     display: inline-block; /* アニメーションやパディングのためにブロック化 */ */
    font-size: 1.8em; /* 親要素の1.8倍の大きさ */
    font-weight: 900; /* 極太 */
    color: #FFFFFF; /* 白文字 */
    
    /* 背景と装飾 */
    background-color: #CC0000; /* 鮮やかな赤色 */
    padding: 4px 8px;
    margin: 0 4px; /* 左右に少し余白 */
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); /* 立体的な影 */
    
    /* アニメーション（オプション：常に注意を引く） */
    animation: scale-pulse 1.5s infinite alternate;
}

/* モバイル向けレスポンシブ対応 (max-width: 480px) */
@media (max-width: 480px) {
    .fanza-ad-widget-container {
        padding: 30px 20px;
        max-width: 100%; /* モバイルでは画面幅いっぱいに広がる */
    }

    .fanza-ad-header {
        font-size: 20px; /* モバイル向けにフォントサイズを調整 */
    }
    
    .fanza-ad-header::before,
    .fanza-ad-header::after {
        width: 30px; /* モバイル向けに線の長さを調整 */
    }

    .fanza-ad-subheader {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .fanza-ad-campaign-text {
        font-size: 16px;
    }

    .fanza-ad-image-container {
/*         margin: 20px 0; */
    }

    .fanza-ad-register-button {
        padding: 14px 25px;
        font-size: 16px;
    }
    
    .fanza-ad-button-container {
        margin-top: 30px;
    }
}
