.modal {
    visibility: hidden;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    -webkit-transition: .5s;
    transition: .5s;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px
}

.modal.is-active {
    visibility: visible;
    opacity: 1;
    z-index: 999
}

.modal__inner {
    background: #f2f2f2;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    padding: 10px;
    overflow-x: scroll
}

.modal__top__btn {
    cursor: pointer;
}

.ul_brand {
    position: relative;
}

.li_brand {
    width: 100%;
    list-style: none;
}

.brands__list {
    list-style: none;
    margin-left: 0;
}

.brands__list li {
    display: inline-block;
}

.ul_brand .modal__list__item {
    display: none;
}

.ul_brand .modal__list__item.active {
    display: list-item;
}

.filter_brand {
    font-size: 1.23077rem;
    color: #0a0a0a;
    display: block;
    padding: 5px;
    margin: 2px;
}

.filter_brand:focus, .filter_brand:hover {
    color: #0a0a0a;
}

.filter_brand:first-child {
    padding-left: 0;
}

.filter_brand.active {
    font-weight: bold;
}

.search-brand {
    display: flex;
    position: relative;
}

.search-brand button {
    position: absolute;
    top: 11px;
    font-size: 20px;
    right: 10px;
}

@media screen and (min-width:768px) {
    .modal__inner {
        width: 90%;
        height: 90%;
        padding: 15px 20px 30px;
        text-align: left
    }

    .modal__btn.ccc {
        display: none;
    }
}

@media screen and (min-width:768px) {
    .modal__top {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }
}

.modal__top__btn {
    display: none
}

@media screen and (min-width:768px) {
    .modal__top__btn {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        font-size: 25px;
        color: #fff;
        background: #00545a;
        border-radius: 15px;
        width: 350px;
        height: 80px;
        text-align: center;
        margin-right: 50px
    }
}

.modal__title {
    font-size: 14px;
    border-bottom: 2px solid #070505;
    display: inline-block
}

@media screen and (min-width:768px) {
    .modal__title {
        font-size: 27px;
        padding-bottom: 3px
    }
}

.modal__box {
    margin-top: 15px;
    height: 130px;
    padding: 5px 15px;
    background: #fff
}

@media screen and (min-width:768px) {
    .modal__box {
        margin-top: 30px;
        padding: 15px
    }
}

.modal__box__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.modal__box__item {
    border: 1px solid #000;
    padding: 10px 10px 10px 20px;
    font-size: 10px;
    font-weight: 700;
    margin-right: 7px;
    margin-bottom: 3px;
    position: relative;
    line-height: 1;
    cursor: pointer;
}

@media screen and (min-width:768px) {
    .modal__box__item {
        font-size: 14px;
        margin-right: 12px;
        margin-bottom: 5px;
        padding: 13px 13px 13px 20px
    }
}

.modal__box__item span {
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    margin: auto
}

@media screen and (min-width:768px) {
    .modal__box__item span {
        width: 11px;
        height: 11px
    }
}

.modal__box__item span:after,
.modal__box__item span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 8px;
    background: #000
}

@media screen and (min-width:768px) {
    .modal__box__item span:after,
    .modal__box__item span:before {
        height: 11px
    }
}

.modal__box__item span:before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg)
}

.modal__box__item span:after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg)
}

.modal__close {
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    right: 5px;
    background: #f2f2f2
}

@media screen and (min-width:768px) {
    .modal__close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px
    }
}

.modal__close:after,
.modal__close:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 25px;
    background: #000
}

@media screen and (min-width:768px) {
    .modal__close:after,
    .modal__close:before {
        height: 35px
    }
}

.modal__close:before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg)
}

.modal__close:after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg)
}

.modal__select--pc {
    display: none
}

@media screen and (min-width:768px) {
    .modal__select--pc {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-top: 100px
    }
}

.modal__select__item,
.modal__select__item--sec {
    width: 16.66667%;
    border-right: 2px solid #c7c7c7;
    padding: 0 15px;
    margin-bottom: 30px;
    min-height: 580px
}

.modal__select__item--sec {
    width: 33.33333%
}

.modal__select__item--sec .modal__select__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-height: 500px;
    overflow-y: auto;
}

.modal__select__item--sec .modal__select__list__box {
    width: 50%
}

.modal__select__list {
    padding: 15px 10px 0
}

.modal__select__list__item {
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    cursor: pointer;
    list-style: none;
}

.modal__select__list__item.check {
    padding-left: 20px;
    font-weight: 700
}

.modal__select__list__item.check:after,
.modal__select__list__item.check:before {
    content: "";
    position: absolute;
    background: #000;
    width: 3px
}

.modal__select__list__item.check:before {
    top: 6px;
    left: -5px;
    height: 7px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.modal__select__list__item.check:after {
    height: 13px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    left: 1px;
    top: 2px
}

.modal__select__head {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #000;
    padding-bottom: 3px
}

.modal__select--sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 20px;
    min-height: 340px;
    max-height: unset;
    position: relative;
}

@media screen and (min-width:768px) {
    .modal__select--sp {
        /*display: none*/
    }

    /*.modal__list__box {*/
        /*grid-template-columns: 50% 50%*/
    /*}*/
}

/*.modal__select--sp:before {*/
    /*content: "";*/
    /*position: absolute;*/
    /*width: 2px;*/
    /*height: auto;*/
    /*min-height: 100%;*/
    /*background: #d2d2d2;*/
    /*top: 0;*/
    /*left: 40%*/
/*}*/

.modal__head {
    text-align: left;
    width: 40%;
    padding: 20px 15px 0;
    border-right: 2px solid #d2d2d2;
}

.modal__head__item {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.modal__head__item:after {
    content: ">";
    position: absolute;
    right: 10px;
}

.modal__list {
    text-align: left;
    width: 60%;
    padding-top: 20px;
    padding-left: 25px;
    /*overflow-y: scroll*/
}

.modal__list__box {
    display: none
}

.modal__list__box.is-active {
    display: block;
}

.modal__list__item {
    font-size: 14px;
    margin-bottom: 15px;
    position: relative;
    list-style: none;
    cursor: pointer;
    width: 50%;
    float: left;
}

.modal__list__item.check {
    padding-left: 15px;
    /*font-size: 15px;*/
    font-weight: 700
}

.modal__list__item.check:after,
.modal__list__item.check:before {
    content: "";
    position: absolute;
    background: #000;
    width: 3px
}

.modal__list__item.check:before {
    top: 8px;
    left: -5px;
    height: 7px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.modal__list__item.check:after {
    height: 13px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    left: 1px;
    top: 4px
}

.modal__btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 18px;
    color: #fff;
    background: #00545a;
    border-radius: 15px;
    height: 70px;
    margin: 20px auto;
    padding: 20px;
}

@media screen and (min-width:768px) {
    .modal__btn {
        width: 350px;
        height: 80px;
        margin-right: 0;
        margin-left: auto;
        font-size: 25px;
        text-align: center;
        margin-top: 0
    }
    .modal__head {
        width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .modal__list__item {
        width: 100%;
    }
}