/* fixed_search.html 用（検索ページ以外）：グレーアウト・サジェスト */

.fixed-search .is-search-dimmed,
#js-fixed-search .is-search-dimmed {
    opacity: 0.45;
    background: #ececec;
    color: #9aa0a6;
    filter: grayscale(100%);
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

/* サジェストは body 直下に生成されるため、ページ種別に依存しないセレクタで指定 */
.suggest-dropdown {
    position: fixed;
    z-index: 10050;
    margin-top: 2px;
    border: 1px solid #8aa8ba;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    max-height: 240px;
    overflow-y: auto;
    box-sizing: border-box;
}

.suggest-dropdown[hidden] {
    display: none;
}

.suggest-dropdown-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf3f7;
    background: #fff;
    color: #1f2f44;
    text-align: left;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
}

.suggest-dropdown-item:last-child {
    border-bottom: 0;
}

.suggest-dropdown-item:hover,
.suggest-dropdown-item.is-active {
    background: #eef6fb;
}
