@charset "utf-8";

/*-------------------------------------------------------------------------
RESET
-------------------------------------------------------------------------*/

.select-fixed {
    border-bottom: 1px solid var(--border-color);
    margin: -1px 0 0;
}

/*-------------------------------------------------------------------------
#
-------------------------------------------------------------------------*/

.select-list:last-child {
    border-bottom: 1px solid var(--border-color);
}
.select-list__toggle.has-allcheckbox {
    padding: 12px 10px 11px;
}
    .select-list__toggle {
        background-color: var(--bg-light-gray);
        display        : flex;
        align-items    : center;
        justify-content: space-between;
        padding: 12px 20px 11px;
        margin: -1px 0 0;
    }
    .select-list:not([open]):not(:last-child) .select-list__toggle {
        border-bottom: 2px solid var(--border-color);
    }
        .select-list__toggle svg {
            width: 8px;
            height: 8px;
            fill: var(--light-text-color);
        }
        .select-list[open] .select-list__toggle svg {
            transform: rotate(180deg);
        }
    .select-list__list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-left: 1px dotted var(--border-color);
        border-right: 1px dotted var(--border-color);
    }
    .select-schoolList__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-left: 1px dotted var(--border-color);
        border-right: 1px dotted var(--border-color);
    }
    .select-list:last-child .select-list__list, .select-schoolList:last-child .select-schoolList__list {
        margin: 0 0 -1px;
    }
        .select-list__items:not(:nth-child(4n)), .select-schoolList__items:not(:nth-child(3n)){
            border-right: 1px dotted var(--border-color
                                       )
        }
        .select-list__items, .select-schoolList__items {
            border-bottom: 1px dotted var(--border-color);
        }
            .select-list__items a {
                display: block;
                padding: 12px 20px 11px;
            }
.select-list .allcheck {
    margin: 0 8px 0 1px;
}
/*-------------------------------------------------------------------------
下部固定
-------------------------------------------------------------------------*/

.select-fixed {
    min-width: 1140px;
    background-color: rgba(236, 239, 241, .5);
    padding: 8px 20px;
    display        : flex;
    gap            : 8px;
    align-items    : center;
    justify-content: center;
}
    .select-fixed__btn {
        width: 240px;
        height: 44px;
        gap        : 10px;
        font-weight: bold;
        line-height: 1;
    }
    #bkn_cnt_display {
        margin-top: 15px;
        margin-left: 30px;
        background: rgba(236, 239, 241, .5);
    }
    #bkn_cnt_display .number {
        font-size: 14px;
        font-weight: bold;
        color: var(--dark-color);
        line-height: 1;
    }
    /* ピル型件数表示（fixed-footer.phtml）。旧 #bkn_cnt_display 装飾より優先させる */
    #bkn_cnt_display.select-fixed__count-pill {
        margin: 0;
        background: transparent;
        padding: 0 10px;
        min-width: unset;
    }
    .select-fixed__count-pill {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-width: 174px;
        height: 45px;
        padding: 15px 24px;
        border-radius: 9999px;
    }
    .select-fixed__count-text {
        margin: 0;
        font-weight: 500;
        font-size: 14px;
        line-height: 1;
        color: var(--dark-color);
        font-family: var(--text-main-font);
    }
    .select-fixed__count-pill .number-color {
        font-size: 30px;
        font-weight: 500;
        color: var(--orange);
        font-family: "Lato";
    }
        .select-fixed__btn svg {
            width: 18px;
            height: 18px;
        }


/*-------------------------------------------------------------------------
学区検索
-------------------------------------------------------------------------*/

/*.school-list {
    display: grid;
    gap    : 16px;
}
    .school-list__link {
        height: 68px;
        padding: 0 10px 0 20px;
        display        : flex;
        align-items    : center;
        justify-content: space-between;
        font-weight: bold;
    }
        .school-list__link svg {
            width: 8px;
            height: 8px;
        }*/

/*-------------------------------------------------------------------------
#
-------------------------------------------------------------------------*/

/* 「条件をもっと見る」で折り畳む対象だけを絞る。対象は .js-more-btn を持つテンプレの
   ul（form/map/common/detailcondition.phtml 等）に付く condition-list--collapsible。
   ⚠️ 素の .condition-list に戻さない: 間取り（form/map/*.phtml の md-form__contents--md）や
   ボタンを持たない条件リストまで13件目以降が恒常非表示になり、開く手段が無くなる（213341）。 */
.condition-list--collapsible li:nth-child(n + 13){
    display: none;
}
.condition-list--collapsible.is-show li {
    display: block;
}

/*-------------------------------------------------------------------------
物件一覧 絞り込みダイアログ
-------------------------------------------------------------------------*/

.bkn-list-dialog .l-main {
    padding: 0 0 100%;
}
.select__header.dialog-header {
    margin-top: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
.mgc_close:before {
    color: #222222;
    font-size: 30px;
}
.ui-widget-content .select-fixed__btn--select {
    color: #fff;
}

#groupCodeHiddenInputs {
    display: none;
}
