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

/* ---------- 可愛い女優ページ ---------- */
.actress-page-wrapper {
    max-width: 960px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff5fb;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255,105,180,.2);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.actress-header {
    text-align: center;
    margin-bottom: 2rem;
}
.page-title {
    color: #ff69b4;
    font-size: 2.8rem;
    margin: 0;
    position: relative;
}
.subtitle {
    color: #ff8cc8;
    font-style: italic;
}

/* タグクラウド */
.cute-tag-cloud {
    text-align: center;                    /* フォールバック */
}

.cute-tag-cloud ul.tag-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;                        /* 中央寄せの鍵 */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;               /* 横方向中央 */
    gap: 12px;
    max-width: 100%;                       /* 親に合わせる */
    width: fit-content;                    /* 内容物に合わせて縮む */
    margin-left: auto;                     /* 左右中央 */
    margin-right: auto;
}

/* li 自体もインライン調整 */
.cute-tag-cloud ul.tag-list li {
    margin: 0;
    display: flex;                         /* flexアイテムとして扱う */
}

.cute-tag-cloud li a {
    display: inline-block;
    background: linear-gradient(135deg, #ffb6e0, #ff69b4);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
.cute-tag-cloud li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(255,105,180,.4);
}

/* レスポンシブ */
@media (max-width: 600px) {
    .page-title { font-size: 2rem; }
    .cute-tag-cloud ul.tag-list { gap: 8px; }
}

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

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

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

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

figure.eye-catch{
	display:block;
	margin:0 auto;
}

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

.related-item{position:relative;overflow:hidden;border-radius:8px;box-shadow:0 3px 10px rgba(0,0,0,.15)}
.related-thumb{width:100%;height:100%;object-fit:cover;transition:.3s}
.related-item:hover .related-thumb{transform:scale(1.08)}
.related-title{
    position:absolute;bottom:0;left:0;right:0;
    background:linear-gradient(transparent,#000);
    color:#fff;padding:20px 8px 8px;font-size:13px;line-height:1.3;
    font-weight:600;text-shadow:0 1px 3px #000;
}

@media(min-width:768px){
    .related-grid{grid-template-columns:repeat(4,1fr)}
}

.photos_top_page_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* カード間の隙間 */
    margin-bottom: 20px;
}

.photos_top_page {
    width: calc(50% - 8px); /* スマホ2列 */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .photos_top_page {
        width: calc(25% - 12px); /* PC4列 */
    }
}

.card-title {
    padding: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.more-button-wrapper {
    text-align: center;
    margin: 20px 0 40px;
}

.more-button {
    display: inline-block;
    padding: 10px 40px;
    background: #ff4500; /* サイトカラーに合わせて調整 */
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.more-button:hover {
    background: #333;
    transform: scale(1.05);
}
