/*
 * 表側の詳細検索フォーム用スタイル。
 * 都道府県・路線・駅のセレクトとキーワード検索ボタンを整える。
 */

/* 詳細検索フォーム全体 */
.detailed-search-section {
    margin-top: 60px;
}

/* 検索条件を包むグレーのパネル */
.search-panel {
    background: #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-sizing: border-box;
}

/* 都道府県・路線・駅のセレクト行 */
.search-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* セレクトボックスの見た目 */
.search-select-box {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    min-width: 160px;
}
.search-select-box label {
    font-size: 12px;
    color: #6b7280;
}
.search-select-box select {
    border: none;
    background: transparent;
    font-size: 14px;
}
.search-select-box select:focus-visible {
    outline: none;
}
.search-icon-box {
    background: var(--site-color-brand);
    color: white;
    font-weight: bold;
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* キーワード入力と検索ボタンの行 */
.search-keyword-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

/* キーワード入力欄 */
.search-keyword-box {
    flex: 1;
    background: white;
    border-radius: 9999px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.search-keyword-box input {
    border: none;
    flex: 1;
    background: none;
    font-size: 14px;
}
.search-keyword-box input:focus-visible {
    outline: none;
}

/* 検索ボタン */
.keyword-search-button {
    width: 100%;
    max-width: 300px;
    align-self: center;
}

/* スマホでは検索条件を縦積みにする */
@media (max-width: 767px) {
    .search-panel {
        padding: 12px;
    }
    .search-tags {
        flex-direction: column;
        align-items: stretch;
    }
    .search-select-box {
        width: 100%;
        box-sizing: border-box;
    }
}

/* タブレット以上ではキーワード入力と検索ボタンを横並びにする */
@media (min-width: 768px) {
    .search-keyword-row {
        flex-direction: row;
        align-items: center;
    }
    .keyword-search-button {
        margin-left: 12px;
        padding: 0 32px;
        min-width: 160px;
    }
}
