.p-modal-brand-list__dialog {
    position: fixed;
    max-width: 1300px;
    max-height: 700px;
    margin: auto;
    inset: 0;
}

.p-modal-brand-list__content{
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.p-modal-brand-list__header {
    padding: 20px;
}

.p-modal-brand-list__title {
    margin: 0;
    font-size: 25px;
    font-weight: normal;
    line-height: 1.1;
}

.p-modal-brand-list__body {
    padding: 0 20px;
}

.p-modal-brand-list__list {
    display: flex;
    flex-wrap: wrap;
}

.p-modal-brand-list__brand {
    width: calc(20% - 20px);
    margin: 10px;
    height: 64px;
}

.p-modal-brand-list__checkbox {
    top: 25px !important;
}

.p-modal-brand-list__name {
    font-size: 14px;
    line-height: 16px;
}

.p-modal-brand-list__name-kana {
    padding: 0 0 10px 35px;
    font-size: 11px;
    line-height: 13px;
    color: #777
}

.p-modal-brand-list__buttons {
    display: flex;
    padding: 10px;
    margin: 20px auto 0;
    width: 50%;
}

.p-modal-brand-list__btn-clear,
.p-modal-brand-list__btn-search {
    width: 200px;
    height: 50px;
    margin: 0 auto;
    font-size: 16px;
    border-radius: 5px;
}

.p-modal-brand-list__btn-clear {
    background-color: #FFF;
    color: #000;
    border: 1px solid #cdcdcd;
}

.p-modal-brand-list__btn-search {
    background-color: #525252;
    color: #FFF;
    border: none;
}

.p-modal-brand-list__sub_brand-all {
    height: 60px;
    padding: 6px 0;
}

.p-modal-brand-list__sub_brand {
    padding: 6px 0;
}

.p-modal-brand-list__brand-item {
    width: calc(20% - 20px);
    margin: 10px;
    height: 64px;
    position: relative;
    border-bottom: 1px solid #cdcdcd;
}

.p-modal-brand-list .js-sub-brand-parent {
    height: 100%;
    position: relative;
}

.p-modal-brand-list .js-sub-brand-parent::before,
.p-modal-brand-list .js-sub-brand-parent::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background-color: black;
    position: absolute;
    left:  3px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 1s;
    z-index: 1;
}

.p-modal-brand-list .js-sub-brand-parent::after {
    transform: translateY(-50%) rotate(90deg);
    transition: transform 1s;
}

.p-modal-brand-list .js-sub-brand-parent.open::before {
    opacity: 0;
}

.p-modal-brand-list .js-sub-brand-parent.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.p-modal-brand-list .js-sub-brand-parent li {
    border-bottom: none;
}

.p-modal-brand-list .js-sub-brand-content {
    position: absolute;
    width: 100%;
    background-color: #eee;
    z-index: 1000;
    overflow-y: scroll;
    max-height: 270px;
    opacity: 1;
}
