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

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

.thumbnail-wrapper:hover{	opacity:0.8;
}

.thumbnail-wrapper {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0; /* 余計な隙間防止 */
}

.thumbnail-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}


/* 左右の黒い縦枠 */
.thumbnail-wrapper::before,
.thumbnail-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0; /* ← これで高さを親にぴったり合わせる */
    width: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
    pointer-events: none;
}

/* 左の黒い縦枠 */
.thumbnail-wrapper::before { left: 0;
}
/* 右の黒い縦枠 */
.thumbnail-wrapper::after { right: 0;
}
/* 左矢印ボタン */
.thumbnail-wrapper .arrow-left { position: absolute; top: 50%; left: 15px; /* 縦枠幅の半分 (120px / 2) */ transform: translateY(-50%); width: 50px; /* 矢印ボタンを大きくする */ height: 50px; /* 矢印ボタンを大きくする */ background-color: rgb(254, 98, 142, 0.8); border-radius: 50%; color: white; font-size: 28px; /* 矢印の大きさを大きくする */ display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.3s; z-index: 12;
}
/* 右矢印ボタン */
.thumbnail-wrapper .arrow-right { position: absolute; top: 50%; right: 15px; /* 縦枠幅の半分 (120px / 2) */ transform: translateY(-50%); width: 50px; /* 矢印ボタンを大きくする */ height: 50px; /* 矢印ボタンを大きくする */ background-color: rgb(254, 98, 142, 0.8); border-radius: 50%; color: white; font-size: 28px; /* 矢印の大きさを大きくする */ display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 12;
}
/* 矢印のテキスト */
.thumbnail-wrapper .arrow-left::before { content: '◀';
}
.thumbnail-wrapper .arrow-right::before { content: '▶';
}


/*アフィボタン装飾*/
.wp-block-button__link {
    display: block;
    position: relative;
    padding: 0.4em 1.3em;
    background-color: #ff6b92;
    box-shadow: 0 3px 0 0 #db5579;
    border-radius: 999px !important;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none !important;
    overflow: hidden;
    transition: 300ms;
    width: 100%;
	margin-top:15px;
	margin-bottom:30px
}

.wp-block-button__link::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: -30px;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}

.wp-block-button__link:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    transform: translateY(3px);
}


.fanza-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95em;
}
.fanza-spec-table th {
  background: #f5f5f5;
  padding: 8px;
  text-align: left;
  width: 25%;
  border: 1px solid #ddd;
}
.fanza-spec-table td {
  padding: 8px;
  border: 1px solid #ddd;
}


.series-related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.series-related-posts .series-item {
  text-align: center;
}

.series-related-posts .series-item img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: transform 0.2s;
}

.series-related-posts .series-item img:hover {
  transform: scale(1.05);
}

.series-related-posts .series-title {
  margin-top: 6px;
  font-size: 16px;   /* ←文字少し大きめ */
  font-weight: bold; /* ←太字 */
  line-height: 1.4;
}


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

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

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