/* 📌 フィルターコンテナ（全体） */
.persona-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
/*    background: #f8f9fa;
    border-radius: 8px;*/
    margin-bottom: 10px;
/*    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
    align-items: flex-start;
    justify-content: flex-start; /* 左寄せ */
}

/* 📌 ラベルとセレクトボックスをグループ化 */
.persona-filter-group {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    white-space: nowrap;
}

/* 📌 ラベルのスタイル */
.persona-filter-label {
    margin-right: 10px;
    font-weight: bold;
/*    font-size: 14px;*/
    color: #333;
}

/* 📌 セレクトボックス */
.persona-filter-container select {
    padding: 8;
/*    font-size: 14px;*/
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    min-width: 120px;
    max-width: 200px;
}

/* 📌 セレクトボックスのホバー時 */
.persona-filter-container select:hover {
    border-color: #007bff;
}

/* 📌 セレクトボックスのフォーカス時 */
.persona-filter-container select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* 📌 画面サイズが狭くなったら2列 */
@media (max-width: 768px) {
    .persona-filter-item {
        width: 45%; /* 2列にする */
    }
}

/* 📌 さらに狭くなったら1列 */
@media (max-width: 500px) {
    .persona-filter-item {
        width: 100%; /* 1列にする */
    }
}


/* 📌 結果数のスタイル（シンプル） */
.persona-result-count {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
    display: none; /* 初期状態で非表示 */
}

/* 📌 フィルターコンテナ（全体） */
.persona-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
/*    background: #f8f9fa;
    border-radius: 8px;*/
    margin-bottom: 0px;
/*    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
    align-items: flex-start;
    justify-content: flex-start; /* 左寄せ */
}

/* 📌 ラベルとセレクトボックスをグループ化 */
.persona-filter-group {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    white-space: nowrap;
}

/* 📌 ラベルのスタイル */
.persona-filter-label {
    margin-right: 5px;
    font-weight: bold;
    color: #333;
}

/* コロンの後に余白を追加 */
.persona-filter-label::after {
    content: "";
    display: inline-block;
    width: 5px; /* コロンの後の余白 */
}

/* 📌 セレクトボックス */
.persona-filter-container select {
    padding: 8;
/*    font-size: 14px;*/
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    min-width: 120px;
    max-width: 200px;
}

/* 📌 セレクトボックスのホバー時 */
.persona-filter-container select:hover {
    border-color: #007bff;
}

/* 📌 セレクトボックスのフォーカス時 */
.persona-filter-container select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* 📌 画面サイズが狭くなったら2列 */
@media (max-width: 768px) {
    .persona-filter-item {
        width: 45%; /* 2列にする */
    }
}

/* 📌 さらに狭くなったら1列 */
@media (max-width: 500px) {
    .persona-filter-item {
        width: 100%; /* 1列にする */
    }
}


/* 📌 結果数のスタイル（シンプル） */
.persona-result-count {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
    display: none; /* 初期状態で非表示 */
}

/* リセットボタンのコントロールエリア */
.persona-filter-controls {
    text-align: right;
    margin-bottom: 15px;
}

/* リセットボタンのスタイル - 赤系の目立つデザインに変更 */
.persona-reset-button {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 12px;
    background-color: #d63638; /* WordPressの赤色 */
    border: 1px solid #b32d2e;
    border-radius: 4px;
    color: #ffffff; /* 白テキスト */
    font-size: 13px;
    font-weight: 600; /* やや太字 */
    cursor: pointer;
    vertical-align: middle;
    line-height: 1.4;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.persona-reset-button:hover {
    background-color: #e55c5e; /* ホバー時はより明るい赤 */
    border-color: #d63638;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.persona-reset-button:active {
    background-color: #b32d2e; /* クリック時は少し暗い赤 */
    border-color: #9b2123;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

/* リセットボタンコンテナのスタイル */
.persona-filter-controls {
    margin: 10px 0;
    text-align: right;
}

/* フィルターセレクトボックス */
.persona-filter-select {
    margin-right: 10px;
    padding: 5px;
}

/* 結果表示のスタイル調整 */
.persona-result-count {
    margin: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}
