@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ（osusume-av project）
    Version: 1.0.0
    Author: matsu
    Author URI:

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================================
   女優カードグリッド
   ============================================================ */

/* SWELL の ul スタイルをリセットして flex グリッドを適用 */
ul.p-actress-card-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* PC: 6列 */
ul.p-actress-card-list > li.p-actress-card {
    flex: 0 0 calc((100% - 5 * 8px) / 6) !important;
    max-width: calc((100% - 5 * 8px) / 6) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    text-align: center;
}

/* SP: 4列 */
@media (max-width: 767px) {
    ul.p-actress-card-list > li.p-actress-card {
        flex: 0 0 calc((100% - 3 * 8px) / 4) !important;
        max-width: calc((100% - 3 * 8px) / 4) !important;
    }
}

.p-actress-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.p-actress-card__link:hover .p-actress-card__image {
    opacity: 0.85;
    transition: opacity 0.2s;
}

/* 画像エリア: 正方形でトリミング */
.p-actress-card__img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
    margin-bottom: 6px;
}

.p-actress-card__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: top center;
    display: block !important;
    max-width: none !important;   /* SWELL の img max-width 制限を解除 */
}

.p-actress-card__no-image {
    width: 100%;
    height: 100%;
    background: #ddd;
}

/* テキストエリア */
.p-actress-card__body {
    padding: 0 2px;
}

.p-actress-card__name {
    display: block;
    font-size: 0.82rem;
    font-weight: bold;
    line-height: 1.3;
    color: #222;
    margin-bottom: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.p-actress-card__ruby {
    display: block;
    font-size: 0.72rem;
    color: #777;
    line-height: 1.2;
    margin-bottom: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.p-actress-card__count {
    display: block;
    font-size: 0.7rem;
    color: #999;
}

/* ============================================================
   セクションタイトル（全ページ共通）
   ============================================================ */

.p-top__section-title,
.p-search__section-title,
.p-actress__section-title {
    font-size: 1.1rem;
    font-weight: bold;
    border-left: 4px solid #e0a0a0;
    padding-left: 10px;
    margin: 24px 0 16px;
}

/* ============================================================
   女優個別ページ — プロフィール
   ============================================================ */

.p-actress__profile {
    margin-bottom: 32px;
}

.p-actress__profile-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* 左カラム: 画像 + 名前 + 作品数 */
.p-actress__image-col {
    flex: 0 0 160px;
    text-align: center;
}

.p-actress__image-wrap {
    width: 160px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
    margin-bottom: 8px;
}

.p-actress__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    max-width: none !important;
}

.p-actress__image-name {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 2px;
    line-height: 1.3;
    word-break: break-all;
}

.p-actress__image-ruby {
    font-size: 0.78rem;
    color: #777;
    margin: 0 0 4px;
}

.p-actress__image-count {
    font-size: 0.78rem;
    color: #999;
    margin: 0;
}

/* 右カラム: スペック表 */
.p-actress__specs-col {
    flex: 1;
    min-width: 0;
}

.p-actress__specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.5;
}

.p-actress__specs-table th,
.p-actress__specs-table td {
    padding: 7px 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    vertical-align: middle;
}

.p-actress__specs-table th {
    width: 7em;
    color: #777;
    font-weight: normal;
    background: #fafafa;
    white-space: nowrap;
}

.p-actress__specs-ruby {
    font-size: 0.82em;
    color: #888;
}

/* SNS リンク（スペック表内） */
.p-actress__sns-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.p-actress__sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: bold;
    text-decoration: none !important;
    line-height: 1;
    transition: opacity 0.15s;
}

.p-actress__sns-link:hover {
    opacity: 0.8;
}

.p-actress__sns-x {
    background: #000;
    color: #fff !important;
    font-size: 1rem;
    min-width: 32px;
}

.p-actress__sns-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff !important;
}

/* av-note ボタン（出演作品セクション下・中央） */
.p-actress__avnote-wrap {
    text-align: center;
    margin: 28px 0 8px;
}

.p-actress__avnote-btn {
    display: inline-block;
    padding: 12px 36px;
    background: #e0a0a0;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    transition: background 0.2s;
}

.p-actress__avnote-btn:hover {
    background: #c07070;
    color: #fff !important;
}

/* SP: 縦並び */
@media (max-width: 767px) {
    .p-actress__profile-inner {
        flex-direction: column;
        align-items: center;
    }
    .p-actress__image-col {
        flex: none;
        width: 140px;
    }
    .p-actress__image-wrap {
        width: 140px;
    }
    .p-actress__specs-col {
        width: 100%;
    }
}

/* 作品数バッジ */
.p-actress__works-count {
    font-size: 0.85rem;
    font-weight: normal;
    color: #777;
    margin-left: 4px;
}

/* ============================================================
   ページネーション（女優個別ページ 出演作品一覧）
   ============================================================ */

.p-actress__pagination {
    margin: 12px 0 20px;
    text-align: center;
}

.p-pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.p-pagination li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.p-pagination__item,
.p-pagination__arrow {
    display: inline-block;
    min-width: 36px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none !important;
    color: #444;
    font-size: 0.88rem;
    line-height: 1.2;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
}

.p-pagination__item:hover,
.p-pagination__arrow:hover {
    background: #fdf0f0;
    border-color: #e0a0a0;
    color: #c05050;
}

.p-pagination__item--current {
    background: #e0a0a0 !important;
    border-color: #e0a0a0 !important;
    color: #fff !important;
    pointer-events: none;
}

.p-pagination__ellipsis {
    display: inline-block;
    min-width: 28px;
    padding: 6px 2px;
    font-size: 0.88rem;
    text-align: center;
    color: #bbb;
}

/* ============================================================
   作品カード（横長ジャケット・PC3列 / SP2列）
   ============================================================ */

ul.p-work-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px;
    list-style: none !important;
    margin: 0 0 32px !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    ul.p-work-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }
}

ul.p-work-list > li.p-work-card {
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.p-work-card {
    text-align: center;
}

.p-work-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.p-work-card__link:hover .p-work-card__jacket-img {
    opacity: 0.85;
    transition: opacity 0.2s;
}

/* ジャケット画像: pl.jpg は約 800×537 の横長（≒ 3:2） */
.p-work-card__jacket {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
    margin-bottom: 6px;
}

.p-work-card__jacket-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #f0f0f0;
}

.p-work-card__title {
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0 0 4px;
    color: #222;
    text-align: left;
}

.p-work-card__actress {
    font-size: 0.72rem;
    color: #555;
    margin: 0 0 2px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.p-work-card__actress-link {
    color: #555;
    text-decoration: none;
}

.p-work-card__actress-link:hover {
    text-decoration: underline;
    color: #e0a0a0;
}

.p-work-card__meta {
    font-size: 0.7rem;
    color: #999;
    margin: 0;
    text-align: left;
}

/* ============================================================
   検索結果ページ
   ============================================================ */

.p-search__noresult {
    padding: 32px 0;
    text-align: center;
    color: #777;
}

/* ============================================================
   サイドバー内 検索フォーム（SWELL の c-searchForm__s は border 未定義）
   ============================================================ */

.l-sidebar .c-searchForm__s,
.widget_search .c-searchForm__s {
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* ============================================================
   サイドバーウィジェット（新着女優 / 月間ランキング）
   ============================================================ */

ol.avos-widget-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

li.avos-widget-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f0f0f0;
    margin: 0 !important;
}

li.avos-widget-item:last-child {
    border-bottom: none;
}

.avos-widget-rank {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #c0392b;
}

.avos-widget-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.avos-widget-img {
    flex-shrink: 0;
    width: 44px !important;
    height: 44px !important;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    display: block !important;
}

.avos-widget-no-img {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ddd;
    display: block;
}

.avos-widget-name {
    font-size: 0.82rem;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
