/* ==========================================================================
   記事検索ボックス (Article Search)
   ========================================================================== */

.article-search-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.article-search-form {
    width: 100%;
}

.article-search-inner {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* カテゴリ選択プルダウン */
.article-search-select-wrap {
    position: relative;
    min-width: 180px;
}

.article-search-select {
    width: 100%;
    padding: 12px 35px 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #f9f9f9;
    cursor: pointer;
    appearance: none; /* ブラウザ標準の矢印を消す */
    -webkit-appearance: none;
    color: #333;
}

/* プルダウンの矢印アイコン（CSSで作成） */
.article-search-select-wrap::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    pointer-events: none;
}

/* 入力欄 */
.article-search-input {
    flex: 1; /* 余った幅を埋める */
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

/* 検索ボタン */
.article-search-btn {
    background: #333; /* 記事検索は少し落ち着いた色に（業者検索の赤/青と差別化） */
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.article-search-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 600px) {
    .article-search-inner {
        flex-direction: column;
        gap: 15px;
    }

    .article-search-select-wrap,
    .article-search-input,
    .article-search-btn {
        width: 100%;
        min-width: 0;
    }
}