@import "/assets/css/_lib";
.filter {
    position: relative;
    position: absolute;
    top: 0;
    right: 0;
    min-height: 36px;
    background-color: #fff;
    z-index: 5;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -60px;
        height: 36px;
        width: 60px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        z-index: 1;
    }
    .btn_filter {
        height: 36px;
        border: 1px solid #ddd;
        background-color: #fff;
        border-radius: 18px;
        vertical-align: top;
    }
    .btn_filter_pc {
        padding: 0 19px;
        font-size: 11px;
        line-height: 34px;
        font-family: 'Retorica', 'Barun';
    }
    .ico_filter {
        width: 16px;
        height: 16px;
        margin: 0 9px;
    }
    .ico_filter_pc {
        width: 16px;
        height: 16px;
        margin-right: 6px;
        vertical-align: -2px;
    }
    .ly_menu {
        position: absolute;
        top: 40px;
        right: -1px;
        z-index: 1;
        width: 200px;
        border-radius: 12px;
        background-color: #fff;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
        &.left {
          left: 16px;
          right: auto;
        }
    }
    .btn_menu {
        @include ellipsis;
        display: block;
        position: relative;
        width: 100%;
        padding: 0 16px;
        font-size: 12px;
        line-height: 42px;
        text-align: left;
        font-family: 'Retorica', 'Barun';
        &[aria-disabled=true] {
            color: #ddd;
        }
        &[aria-selected=true] {
            .ico_check {
                display: block;
            }
        }
        .ico_check {
            display: none;
            position: absolute;
            top: 18px;
            right: 18px;
        }
    }
}
