.autoComplete_wrapper > input {
    background: unset;
    background-color: #FFFFFF;
    font-size: 11px;
    border-radius: 5px 0 0 5px;
    margin: 0;
    border: 0;
    padding: 10px 0 10px 2px;
    width: 182px;
    height: auto;
    color: #4D4D4D;
    border: 1px solid #CCCCCC;
}

.autoComplete_wrapper > input:focus::selection,
.autoComplete_wrapper > input::selection {
    background-color: revert;
    color: revert;
}

.autoComplete_wrapper > input::placeholder,
.autoComplete_wrapper > input:hover,
.autoComplete_wrapper > input:hover::placeholder,
.autoComplete_wrapper > input:focus,
.autoComplete_wrapper > input:focus::placeholder {
    color: #4D4D4D;
    font-size: 11px;
    transform: none;
}

.autoComplete_wrapper > input:focus::placeholder {
    padding: 0px;
}

.autoComplete_wrapper > input:focus {
    border: 1px solid #CCCCCC;
}

.autoComplete_wrapper > ul {
    width: 288px;
    z-index: 2;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 0;
    box-shadow: 3px 5px 6px rgba(0, 0, 0, 0.15);
    border: 1px solid #B6B6B6;
    border-left: solid 1px #E6E6E6;
    border-right: solid 1px #E6E6E6;
    border-bottom: solid 1px #E6E6E6;
    margin-top: 0;
    max-height: none;
}

.autoComplete_wrapper > ul::-webkit-scrollbar {
    display: none;
}

.autoComplete_wrapper > ul > li {
    border-radius: 0;
    font-size: 12px;
    margin: 0;
    padding: 4px 10px;
}

.autoComplete_wrapper > ul > li:hover,
.autoComplete_wrapper > ul > li[aria-selected="true"] {
    background-color: #EEEEEE;
}

.ac_results li a {
    color: #333333;
    display: flex;
    box-sizing: border-box;
}

.ac_results li a .title_name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    width: 183px;
    flex-shrink: 0;
}
.ac_results li a .category_name {
    width: 85px;
    font-size: 11px;
    color: #FF9000;
    flex-shrink: 0;
}

.ac_results li a.history {
    color: #52188C;
}
.ac_results li a.history.remove {
    color: #333333;
}
.ac_results li a.history.remove:link,
.ac_results li a.history.remove:visited,
.ac_results li a.history.remove:active,
.ac_results li a.history.remove:hover {
    color: #0048B4;
}

.ac_results li a.history {
    text-overflow: ellipsis;
}

.ac_results li a:hover {
    text-decoration: none;
}

/* SP */
@media screen and (max-width: 950px) {
    .autoComplete_wrapper {
        width: 100%;
    }

    .autoComplete_wrapper > input {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    .autoComplete_wrapper > ul {
        width: 120%;
    }

    .autoComplete_wrapper > ul > li {
        padding: 0;
        border-bottom: 1px solid #E6E6E6;
    }

    .ac_results li a {
        line-height: 48px;
        padding-left: 10px;
    }

    .ac_results li a .title_name {
        font-size: clamp(13px, 3.5vw, 16px);
        width: 60%;
    }

    .ac_results li a .category_name {
        font-size: clamp(11px, 3vw, 14px);
        width: 40%;
    }

    .ac_results a.text_link {
        color: #333333;
        display: inline;
        text-decoration: none;
        word-wrap: normal;
        word-break: keep-all;
    }

    .ac_results a.text_link:not(.next):before {
        background-image: url("/resources/a/sp/common/images/bg_arrow_right.png?date=260623");
        background-position: top left;
        background-repeat: no-repeat;
        background-size: 130px 10px;
        display: inline-block;
        overflow: hidden;
        width: 10px;
        height: 10px;
        content: " ";
        margin-right: 5px;
        padding: 0;
        background-position: 0px 0;
    }

    .ac_results a.text_link.next::after {
        background-image: url("/resources/a/sp/common/images/bg_arrow_right.png?date=260623");
        background-repeat: no-repeat;
        background-size: 130px 10px;
        display: inline-block;
        overflow: hidden;
        width: 10px;
        height: 10px;
        content: "";
        margin-left: 5px;
        padding: 0;
        background-position: 0 0;
    }
}
