@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){
  /*必要ならばここにコードを書く*/
}
.sort-btn {
    display: inline-block;
    padding: 6px 15px;
    background: #fff;
    border: 1px solid #d63384;
    color: #d63384;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
}
.sort-btn:hover {
    background: #d63384;
    color: #fff;
}
/* 50音検索ナビゲーションボタン */
.actress-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 8px;
}
.actress-nav a {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.2s ease;
}
.actress-nav a:hover {
    background: #ff4081;
    color: #fff;
    border-color: #ff4081;
}

/* 各行の見出し */
.actress-group-title {
    font-size: 1.2rem;
    padding-bottom: 5px;
    border-bottom: 2px solid #ff4081;
    margin: 25px 0 15px 0;
}

/* グリッドレイアウト */
.actress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
}

/* 女優カード */
.actress-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}
.actress-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 顔写真（丸形サムネイル） */
.actress-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    background: #e0e0e0;
}
.actress-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 名前・件数 */
.actress-name {
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 4px;
}
.actress-count {
    font-size: 0.75rem;
    color: #888;
}
.feature-search-box {
    background: #fdf8f9;
    border: 1px solid #ffccd5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.search-title {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #333;
}

/* チェックボックスをボタン風・グリッド状に並べる */
.feature-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-checkbox-label {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.feature-checkbox-label input[type="checkbox"] {
    margin-right: 5px;
}

.feature-checkbox-label:hover {
    border-color: #ff4081;
}

.feature-search-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background-color: #ff4081;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
}

.feature-search-btn:hover {
    background-color: #e0356f;
}

/* フィルター枠 */
.situation-filter-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.filter-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-label {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    border-left: 3px solid #ff1493;
    padding-left: 8px;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 4px;
}
.filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    cursor: pointer;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    user-select: none;
}
.filter-checkbox input:checked + span {
    color: #ff1493;
    font-weight: bold;
}
.filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 10px;
}
.reset-btn {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
}
.search-result-count {
    font-size: 14px;
    font-weight: bold;
}
.search-result-count span {
    color: #ff1493;
    font-size: 18px;
}

/* 非表示クラス */
.filter-card.is-hidden {
    display: none !important;
}
