/* カテゴリ検索ページ全体 */
.category-search-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.category-search-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.category-search-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #e74c3c);
    border-radius: 2px;
}

/* フォーム */
.category-search-container form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.category-search-container select {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    color: #2c3e50;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.category-search-container select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52,152,219,0.3);
}

/* ボタン */
.category-search-container button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

.category-search-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52,152,219,0.4);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .category-search-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .category-search-container h2 {
        font-size: 1.6rem;
    }

    .category-search-container select {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .category-search-container button {
        width: 100%;
        font-size: 0.95rem;
    }
}
