@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){
  /*必要ならばここにコードを書く*/
}

.fanza-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 720 / 480;
  margin: 0 auto 20px;
  cursor: pointer;
  overflow: hidden;
  background: #000;
}
.fanza-video-wrapper iframe,
.fanza-video-wrapper .fanza-video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.fanza-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
}
.fanza-play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}

#main.main {
  width: auto;
  max-width: 100%;
  flex: 1 1 0;
  min-width: 0;
  box-shadow: none;
}

.fanza-affiliate-link {
  width: 100%;
  margin: 20px 0;
}
.fanza-affiliate-link a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  background-color: #ff6600;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.fanza-affiliate-link a:hover {
  background-color: #e55a00;
  color: #fff;
}

.actress-list-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 16px !important;
    margin: 20px 0;
    width: 100%;
}
.actress-list-grid .actress-card {
    text-align: center;
    color: inherit;
    display: block;
}
.actress-list-grid .actress-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 6px;
}
.actress-name {
    margin: 6px 0 0;
    font-weight: bold;
}
.actress-ruby {
    font-size: 0.8em;
    color: #888;
}
.actress-kana-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 16px 0;
}
.actress-kana-nav a {
    display: inline-block;
    width: 32px;
    text-align: center;
    padding: 4px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: inherit;
    font-size: 0.9em;
}
.actress-kana-nav a.is-active {
    background: #f05757;
    color: #fff;
}
.actress-pagination,
.pagination {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 24px 0;
}
.actress-pagination .page-numbers,
.pagination .page-numbers {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    line-height: 1;
    text-align: center;
}
.actress-pagination .current,
.pagination .current {
    background: #f05757;
    color: #fff;
}

.actress-noimage {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    background: #eee;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
}

.fanza-switch-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin: 16px 0 20px;
}
.fanza-tab {
    padding: 10px 20px;
    color: #666;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}
.fanza-tab:hover {
    color: #333;
}
.fanza-tab.is-active {
    color: #333;
    border-bottom-color: #333;
}