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

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


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

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

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

/* カテゴリーページの作品一覧２段組 */
/* 2列グリッド */
.hub-post-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:18px;
}

/* カード */
.hub-card{
display:block;
text-decoration:none;
color:#333;
}

/* サムネ枠 */
.hub-thumb{
position:relative;
width:100%;
aspect-ratio:16/9;
overflow:hidden;
}

/* 画像 */
.hub-thumb img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

/* カテゴリー */
.hub-cat{
display:inline-block;
margin:6px 0px 0px 0;
padding:0px 8px;
color:#000;
font-size:12px;
background:#eee;
}

/* 女優名 */
.hub-actress{
font-size:13px;
margin:4px 0;
}

/* タイトル（3行） */
.hub-title{
font-size:14px;
font-weight:bold;
line-height:1.4;
margin-top:4px;
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

/* 評価 */
.hub-rating{
font-size:12px;
color:#e60023;
margin-top:3px;
}

/* 説明文（3行） */
.hub-desc{
font-size:12px;
color:#666;
line-height:1.4;
margin-top:4px;
display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}






/* タイトルは３行だけにする */
.related-name {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

/* 説明文は３行だけにする */
.entry-card-description{
  font-size:12px;
  line-height:1.5;
  color:#666;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

/* ヘッダータイトル中央寄せ */
@media screen and (max-width: 480px){
	li.logo-menu-button {
	}
	.logo-menu-button .menu-button-in {
		margin-left:-20px;
	}
	/* 検索ボタン非表示 */
	.search-menu-button {
		display:none!important;
	}
}


/* サムネ上のカテゴリラベルを通常配置にする */
.entry-card-category-label{
/*margin-bottom:6px;*/
}
.entry-card-category-label .cat-label{
position:static;
display:inline-block;
font-size:12px;
}
/* カテゴリー表示をシンプル化 */
.entry-card-category-label .cat-label{
background:#eee;        /* 黒背景削除 */
color:#000;             /* 文字色 */
padding:3px 6px;
margin:0 6px 2px 0;     /* 下余白を小さく */
/*font-size:12px;*/
border:none;
}
/* カテゴリーの下余白を縮める */
.entry-card-category-label{
margin-bottom:2px;
line-height:1;
}
.entry-card-content h2.entry-card-title {
	font-size:15px;
}
.entry-card .post-date{
	font-size:11px;
color:#999;
}
.entry-card-wrap{
margin-bottom:4px;
}
.entry-card-title{
margin-bottom:2px;
}
@media screen and (max-width:480px){
.entry-card-thumb{
width:160px;
}
.entry-card-content{
margin-left:170px;
}
}


/* フロントページリンク */
.front-link {
  display:block;
  padding:8px 14px;
  /*background:#f3f3f3;*/
  border:1px solid #ccc;
  border-radius:6px;
  font-weight:600;
  text-align:center;
  text-decoration:none;
}
.front-link a {
	color:#000;
	text-decoration: none;
}
.front-link:hover {
  background:#e5e5e5;
}


/* 次のページへ ボタン */
.pagination-next-link {
  color: #000;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* ページャー不具合対応＆カスタマイズ */
.page-numbers {
  min-width: 65px!important;
}
.page-numbers.prev,
.page-numbers.next {
  display:none!important;
}

/* 親コンテナを縦方向に */
.entry-card-wrap {
}
.entry-card-thumb {
	/*float:none;*/
	/*width:100%;*/
}
.entry-card-thumb img {
    /*width: 100%;*/
    /*height: auto;*/
}
.entry-card-content {
	/*float:none;*/
	/*margin:0 0 0 0;*/
	/*width:100%;*/
}

/* ボタン化 */
.fanza-data .link a {
    display: inline-block;          /* インラインブロックでボタン化 */
    padding: 14px 28px;             /* 縦横の余白 */
    background-color: #ff6f61;      /* 目立つ色 */
    color: #fff;                     /* 文字色 */
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;           /* 下線なし */
    border-radius: 8px;              /* 角丸 */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* 軽い影 */
    transition: all 0.3s ease;       /* ホバーアニメーション */
}

/* ホバー時 */
.fanza-data .link a:hover {
    background-color: #ff3b2f;       /* 濃い色に */
    transform: translateY(-3px);      /* 少し浮かせる */
    box-shadow: 0 6px 8px rgba(0,0,0,0.25);
}

/* 中央配置 */
.fanza-data .link {
    text-align: center;
    margin: 20px 0;
}

/* スマホ対応（画面幅480px以下） */
@media screen and (max-width: 480px) {
    .fanza-data .link a {
        display: block;    /* 幅いっぱいに */
        width: 90%;        /* 画面の90％幅 */
        padding: 12px 0;   /* パディング縦のみ */
        font-size: 18px;   /* 少し大きくして押しやすく */
        margin: 0 auto;    /* 中央配置 */
    }
}

/* iframe専用 */
.iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 記事の表示順入れ替え */
.entry-content {
  /*display: grid;*/
  /*grid-template-columns: 1fr;*/
}
.fanza-data {
  /*display: contents;*/
}
.entry-content iframe {
  /*order: 1;*/
}
.entry-content img {
  /*order: 2;*/
}
.entry-content .link {
  /*order: 3;*/
}
.entry-content .auto-links {
  /*order: 4;*/
}
/*.entry-content h2,*/
.entry-content .actress,
.entry-content .genre {
  /*order: 5;*/
  display:none;
}

/* プレイ別オススメ作品 */
.keyword-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.keyword-post-item {
  background: #fff;
}
.keyword-post-link {
  display: block;
  text-decoration: none;
  color: #000;
}
.keyword-post-link:hover {
  opacity: 0.85;
}
.keyword-post-thumb img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

/* キーワード投稿カード：Cocoon見出し装飾を無効化 */
.keyword-post-title {
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 8px 0 4px !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #333;
  position: static;
}
.keyword-post-title::before,
.keyword-post-title::after {
  content: none !important;
  display: none !important;
}
.keyword-post-date {
  font-size: 12px;
  color: #666;
}
@media (max-width: 600px) {
  .keyword-post-grid {
    grid-template-columns: 1fr;
  }
  .keyword-post-thumb img {
    max-height: 220px;
  }
}

/* 子ページ カード風一覧（画像なし） */
.child-page-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.child-page-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--cocoon-border-color, #e5e5e5);
  border-radius: 6px;
  background: #f9f9f9;
  text-decoration: none;
  transition: all 0.2s ease;
}
.child-page-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.child-page-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--cocoon-text-color, #333);
}
.child-page-card-excerpt {
  margin-top: 6px;
  font-size: 14px;
  color: #666;
}

/* モバイルメニューデザインカスタマイズ */
.navi-menu-content .menu-item a {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  letter-spacing: .05em;
  border-bottom: 1px solid #eee;
}

/* カスタムぱんくずナビ */
.pnavi {
  margin: 0 0 0 0;
  color:#bbb;
  font-size:90%;
}
.pnavi a {
  color:#aaa;
  /*font-size:90%;*/
  text-decoration: none;	
}

/* 女優データ（個別） */
.actress-ranking-view {
	font-size:90%;
}
.actress-ranking-view a {
  color:#000;
  text-decoration: none;	
}
.actress-data {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
.actress-image img {
  max-width: 200px;
  height: auto;
}
.actress-profile {
  list-style: none;
  padding: 0;
  margin: 0;
}
.actress-photo img {
    width: 125px!important;
    max-width: 100%;
    display: block;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* 女優ジャンル分析 */
.actress-compatibility p {
	margin-bottom:3px;
}
.actress-compatibility a {
    text-decoration: none;
	color:#000;
}

/* 女優別オススメ作品 */
.child-page-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.child-page-card-image {
  width: 90px;
  flex-shrink: 0;
}
.child-page-card-image img {
  width: 100%;
  /*aspect-ratio: 3 / 4;*/
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.child-page-card-body {
  flex: 1;
}
.child-page-card-title {
  font-weight: 600;
  font-size: 16px;
}
.child-page-card-meta {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

/* 出演女優 */
.auto-links h3.grbg-h3 {
	margin:15px 0 15px 0;
	padding:15px 0 15px 10px;
	border:none;
	background: #f2f2f2;
}
.auto-links a.actress-link {
    text-decoration: none;
	color:#000;
}
.auto-links .actress-link {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.6em;
  margin-bottom: 0.2em;
}

/* カテゴリーハブ */
.hub-definition-text a {
  color:#000;
  text-decoration:none;
}
.category-hub {
	width:100%;
	max-width:900px;
  background:#fff;
  /*padding:20px 0;*/
  /*border-radius:12px;*/
}
.hub-actress-list {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.hub-actress-list a {
  color:#666;
  text-decoration:none;
  font-size:16px;
}
.hub-actress-list a:hover {
  color:#000;
}
.hub-h1 {
  margin:10px 0 20px 0;
  font-size: 24px;
  line-height:1.4;
}
.hub-p {
  margin:10px 0 10px 0;
  font-weight: 600;
  font-size: 16px;
}
.hub-h2 {
	margin:20px 0 10px 0;
	padding:15px 10px 15px 10px;
    line-height:1.4;
	border:none;
	background: #f2f2f2;
}
.hub-actress a {
	margin-right:1.3em;
    text-decoration: none;
	color:#000;
}
.hub-ul {
	padding:0 0 0 1em;
}
.hub-ul li {
	margin:2px 0 2px 0;
}
.hub-co a,
.hub-ul li a {
    text-decoration: none;
	color:#000;
}

/* 前後ナビ */
.post-navi {
}
.post-navi .next {
  text-align:right;
}
.post-navi a {
  display:block;
  margin:0 0 10px 0;
  padding:0 0 0 0;
  color:#000;
  font-size:90%;
  line-height: 1.2;
  text-decoration: none;
}

/* 最新作品の見どころ */
h2.grbg-h2 {
	margin:15px 0 10px 0;
	padding:15px 0 15px 10px;
	border:none;
	background: #f2f2f2;
}

/* トップページ 作品ディスクリプション */
.entry-card-description {
  font-size: 13px;
  color: #555;
  margin-top: 5px;
  line-height: 1.6;
}
.top-hub-text {
}
.top-hub-text a {
  color:#000;
  text-decoration: none;
}

.top-hub {
  margin:5px 0 0px 0;
  max-height: 0px;
  overflow: hidden;
}
.top-hub h3 {
  font-size:110%;
}
.top-hub.expand {
  max-height: none;
}
.top-hub button {
  border:none!important;
  background:#fff!important;
  padding:2px 5px!important;
}
div.grbg-div {
	margin:15px 0 15px 0;
	padding:15px 0 15px 10px;
	font-size:120%;
	font-weight:700;
	background: #f2f2f2;
}

/* トップページジャンルグリッド */
.genre-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:10px;
max-width:800px;
margin:20px auto;
}
.genre-grid a{
display:block;
padding:10px;
background:#f5f5f5;
border-radius:6px;
text-align:center;
text-decoration:none;
color:#333;
font-size:14px;
}
.genre-grid a:hover{
background:#eaeaea;
}
@media (max-width:600px){
  .genre-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* 女優一覧ページ　カード風デザイン */
.actress-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.actress-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.actress-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.actress-card-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
.actress-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.actress-card-name {
    padding: 10px;
    font-weight: bold;
    font-size: 1em;
    color: #333;
}
.pagination {
    margin: 30px 0;
    text-align: center;
}
.pagination a,
.pagination span {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}
@media screen and (max-width: 600px) {
    .actress-list-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

/* 女優タグクラウド */
.actress-tagcloud a {
	margin-right:8px;
    text-decoration: none;
    color: #333;
}

/* カテゴリーランキング */
.ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.ranking-grid a {
    text-decoration:none;
	font-weight:bold;
	font-size:120%;
}
.ranking-grid .rank-link a {
	font-weight:normal;
	font-size:100%;
}
.rank-card {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background: #fff;
}
.rank-number {
    font-weight: bold;
    margin-bottom: 10px;
}
.rank-image img {
    max-width: 100%;
    height: auto;
}
.rank-name {
    margin-top: 10px;
    font-weight: bold;
}
.rank-stats {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

/* 女優ページのランキングボタン */
.rank-btn{
  display:inline-block;
  margin-top:10px;
  padding:8px 14px;
  background:#f2f2f2;
  border-radius:6px;
  font-size:14px;
  text-decoration:none;
}
.rank-btn:hover{
  background:#e5e5e5;
}

/* M男ランキング20 */
.ranking-wrapper h1 {
	font-size:28px;
}
.ranking-wrapper p {
  margin-bottom:10px;
}

/* カテゴリーHubページのリンク */
.ranking-lead{
    margin:15px 0 25px;
    font-weight:600;
}
.ranking-lead a{
    text-decoration:none;
	color:#000;
}
.ranking-lead a:hover{
    text-decoration:underline;
}

/* ジャンル一覧ページ */
.genre-main{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
}
.genre-lead {
	margin-bottom:10px;
}
.genre-card{
    border:1px solid #ddd;
    padding:20px;
    width:280px;
}
.genre-card a {
    text-decoration:none;
	color:#000;
}

/* トップページ */
.top-hero {
  background: #f5f5f5;
  padding: 36px 10px;
  text-align: center;
  margin-bottom: 15px;
}
.top-hero-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
}
.top-hero-sub {
  font-size: 13px;
  color: #777;
  margin-top: 0px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.top-hero-links {
  margin-bottom: 12px;
}
.top-hero-links a {
  text-decoration:none;
  color:#000;
}
.top-hero-text {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 12px;
}
.top-hero-meta {
  margin-bottom: 24px;
}
.top-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}
.hero-btn.primary {
  background: #111;
  color: #fff;
}
.hero-btn.secondary {
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
}
.hero-btn:hover {
  opacity: 0.85;
}
@media (min-width: 768px) {
  .top-hero-title {
    font-size: 28px;
  }
  .top-hero-text {
    font-size: 16px;
  }
}

/* トップページボトム */
.top-guide{
  margin:40px 0;
}
.guide-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:10px;
}
.guide-grid h3 {
  margin:0px 0px 0px 0px!important;
  padding:0px 0px 0px 0px!important;
}
.guide-grid a{
  display:block;
  padding:14px;
  background:#f7f7f7;
  border-radius:8px;
  text-decoration:none;
  color:#333;
}
.guide-grid a:hover{
  background:#eee;
}
.guide-grid h3{
  font-size:15px;
  margin-bottom:6px;
}
.guide-grid p{
  font-size:13px;
  line-height:1.6;
  color:#666;
}
@media (max-width:480px){
  .guide-grid{
    grid-template-columns:1fr;
  }
}

/* トップページカテゴリーを消す */
.home .archive-title{
display:none;
}
.home .breadcrumb-category{
display:none;
}

/* 女優一覧 */
.actress-search{
margin-bottom:20px;
}
.kana-nav{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:20px;
}
.kana-nav a{
  padding:6px 10px;
  background:#f0f0f0;
  border-radius:4px;
  text-decoration:none;
}
.actress-grid{
	margin:0 0 0 0;
	padding:0 0 0 0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
}
.actress-grid li{
  list-style:none;
  text-align:center;
}
.actress-grid li a {
  text-decoration:none;
  color:#333;
  font-size:80%;
}
.actress-grid li p {
	line-height:1.1;
}
.actress-card-image{
width:100%;
aspect-ratio:3/3;
background:#eee;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
}
.actress-card-image img{
width:100%;
height:100%;
object-fit:cover;
}
@media (max-width:480px){
  .actress-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
.actress-link a {
  text-decoration:none;
  color:#000;
}

/* 女優検索 */

.actress-search{
display:flex;
gap:8px;
max-width:420px;
margin:20px auto;
}

.actress-search input{
flex:1;
padding:10px 12px;
border:1px solid #ccc;
border-radius:6px;
font-size:16px;
}

.actress-search button{
padding:10px 16px;
background:#ff4d6d;
color:#fff;
border:none;
border-radius:6px;
font-size:14px;
cursor:pointer;
}

/* 女優一覧検索ボタン */
.actress-search button:hover{
background:#e63c5b;
}

/* 共演女優ボタン */
.co-more{
text-align:center;
margin:20px 0 30px;
}
.co-more a{
display:inline-block;
padding:12px 22px;
background:#f5f5f5;
border:1px solid #ddd;
border-radius:6px;
text-decoration:none;
font-weight:600;
color:#333;
transition:0.2s;
}
.co-more a:hover{
background:#333;
color:#fff;
border-color:#333;
}

/* 作品ページ　作品情報 */
.work-info{
list-style:none;
padding:0;
margin:20px 0;
}
.work-info li{
/*padding:6px 0;*/
/*border-bottom:1px solid #eee;*/
}

/* メーカー・レーベルページなどのタイトルの前につくアイコンを消す */
.archive-title span.fa {
	display:none;
}


/* メーカー */

.maker-new{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
gap:16px;
}

.maker-new .item img{
width:100%;
height:auto;
}

.maker-new .item p{
font-size:13px;
margin-top:6px;
}
.maker-list .item{
display:flex;
gap:12px;
margin-bottom:16px;
align-items:flex-start;
}

.maker-list img{
width:120px;
height:auto;
flex-shrink:0;
}

.maker-list .info{
font-size:14px;
}

/* ランキング順位表示 */
ol.ranking-list{
	counter-reset: rank;
	list-style: none;
	padding-left:0;
	margin-left:0!important;
}
ol.ranking-list li{
	counter-increment: rank;
	margin:8px 0;
}
ol.ranking-list li::before{
	content: counter(rank) "位 ";
	margin-right:6px;
}

.related-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-bottom:30px;
}

.related-card{
display:block;
text-decoration:none;
color:#333;
font-size:13px;
}

.related-card img{
width:100%;
height:auto;
border-radius:6px;
}
.related-card img{
width:100%;
aspect-ratio:4/3;
object-fit:cover;
border-radius:6px;
}
.related-name{
margin-top:6px;
line-height:1.4;
}

.related-title{
margin:30px 0 10px;
font-size:18px;
}


