@charset "utf-8";

body {
    /*スマホで勝手に文字が大きくなる対策*/
    -webkit-text-size-adjust: 100%;
}

body.is-fixed {
    overflow: hidden;
}

#contents {
    width: 100%;
}

.l-contents {
    background-color: #FFFFFF;
}

.l-main {
    padding-block: 73px 0;
    position: relative;
}

.l-contents *,
.search__filter * {
    font-family: 'Noto Sans JP', sans-serif;
    color: #474747;
}

.page__inner {
    background: #fff;
}

/* ページタイトル */
.ttl__area {
    margin-bottom: 40px;
}

.search__ttl {
    font-size: 30px;
    color: var(--font-color-blue);
}

/* 検索リスト */
.search__content {
    padding: 0 0 120px;
}

.search__content--inner {
    margin: 0 0 60px;
}

.search__content--item {
    display: flex;
}

.area__toggle {
    display: flex;
    position: relative;
    background-color: #F3F3F3;
    width: 182px;
    padding: 23px 20px 0;
}

.search__content--item:has(.search__content--child.is-open) .area__toggle:after {
    transform: rotate(180deg);
}

.checkbox__wrapper {
    display: block;
}

.checkbox__wrapper input[type="checkbox"]:checked,
.checkbox__wrapper--detail input[type="checkbox"]:checked {
    background-image: unset;
}

.search__ward--name {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    gap: 3px;
}

.search__ward--cnt {
    display: flex;
    align-items: center;
    color: #ADADAD;
}

.search__content--list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.search__content--child-all {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.search__content--child-wrapper {
    padding: 23px 20px 27px;
    width: 958px;
}

.search__content--child {
    display: grid;
    grid-template-columns: 226px 226px 226px;
    height: auto;
    gap: 11px 80px;
}

.search__content--child.is-open {
    display: block;
}

.search__content--child-detail {
    width: 100%;
}

.search__content--child-inner {
    display: flex;
    gap: 13px;
}
.search__content--child-wrapper .ui-check-item {
    padding: 0;
    gap: 14px;
    cursor: pointer;
}

.search__detail--name {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 10px;
}

.search__detail--cnt {
    display: flex;
    align-items: center;
    color: #ADADAD;
}

.search__content .ward-checkbox,
.search__content .detail-checkbox {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 2px;
    border: 1px solid #DCDCDC;
    cursor: pointer;
    position: relative;
    margin: 0;
    width: 17px;
    height: 17px;
}

.ward-checkbox:checked,
.detail-checkbox:checked {
    background-color: var(--background-color-blue);
    border-color: var(--background-color-blue);
}

.ward-checkbox:checked:after,
.detail-checkbox:checked:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox__wrapper,
.checkbox__wrapper--detail {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox__wrapper .ui-check-item,
.checkbox__wrapper--detail .ui-check-item {
    padding: 0;
}

.ui-check-item input[type="checkbox"]:checked {
    background-image: unset;
}

/* 検索ボタン */
.district__button {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.district__button button {
    width: 355px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
}

.condition-filter {
    border: 1px solid var(--background-color-blue);
    color: var(--font-color-blue);
    background: #FFFFFF;
    transition: all .3s;
}
.condition-filter:hover {
    background-color: var(--background-color-blue);
    color: #FFFFFF;
    opacity: 1;
}

.condition-search {
    background-color: var(--background-color-blue);
    color: #FFFFFF;
    transition: all .3s;
    border: 1px solid var(--background-color-blue);
}
.condition-search:hover {
    background-color: #FFFFFF;
    color: var(--font-color-blue);
    opacity: 1;
}
.found_rooms_number {
    color: #FFFFFF;
    transition: all .3s;
}
.condition-search:hover .found_rooms_number {
    color: var(--font-color-blue);
}

/* フロート */
#sp-fixed-menu {
    display: none !important;
}

.filter__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color-blue);
    text-align: center;
    width: 355px;
    height: 70px;
    margin: 0 auto;
    border-radius: 4px;
    cursor: pointer;
}

.filter__bottom .condition-search {
    font-size: 18px;
    font-weight: 600;
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.district__bottom {
    position: fixed;
    padding: 11px 0;
    background-color: rgba(255, 255, 255, .5);
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    opacity: 1;
    transform: translateY(0);
    transition: all .3s;
    gap: 10px;
}

.district__bottom button {
    width: 355px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
}

/* モーダル */
.filterOverlay {
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 5;
    display: none;
    background-color: rgba(0, 0, 0, .3);
}

.filterOverlay.is-open {
    display: block;
    z-index: 999;
}

.search__filter {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 1010px;
    height: 710px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    border-radius: 5px;
    overflow: hidden;
}

.search__filter.is-open {
    opacity: 1;
    visibility: visible;
}

.filter__inner {
    background-color: #fff;
    padding: 24px 0 40px;
}

.btn__close {
    position: absolute;
    right: 30px;
    top: 29px;
    box-sizing: border-box;
    width: 23px;
    height: 23px;
    cursor: pointer;
}

.btn__close svg {
    width: 100%;
    height: 100%;
}

.filter__top {
    padding-bottom: 23px;
    margin: 0 0 30px;
    border-bottom: 1px solid #D8D8D8;
}

.filter__top h2 {
    font-size: 22px;
    text-align: center;
    letter-spacing: 0.05em;
}

.filter__wrap {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 480px;
    width: 910px;
    margin: 0 auto 20px;
}
.simplebar-track.simplebar-vertical {
    right: 0;
    width: 6px;
    top: 0px;
    background: #D2D2D2;
    border-radius: 5px;
}
.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #8D8D8D;
    opacity: 1;
    border-radius: 5px;
    width: 6px;
}
.simplebar-track.simplebar-vertical .simplebar-scrollbar,
.simplebar-track.simplebar-vertical .simplebar-scrollbar::before {
    cursor: pointer;
    pointer-events: auto;
}
.filter__unit {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-block: 20px;
    width: 874px;
    border-bottom: 1px solid #D8D8D8;
}

.filter__unit:first-child {
    padding-top: 0;
}

.filter__unit h3 {
    font-size: 16px;
    font-weight: 400;
    width: 155px;
    padding-top: 9px;
}

.filter__unitArea {
    display: flex;
    align-items: center;
}

.c-selectbox {
    position: relative;
}

.c-selectbox:after {
    position: absolute;
    content: "";
    display: block;
    background: url(../../images/bknlist/icn_select-arrow.webp) no-repeat center / cover;
    width: 14px;
    height: 8px;
    right: 10px;
    top: 20px;
    pointer-events: none;
}

.c-selectbox select {
    appearance: none;
    -webkit-appearance: none;
    width: 210px;
    height: 45px;
    border-radius: 4px;
    border: 1px solid #D8D8D8;
    font-size: 16px;
    padding: 0 0 0 14px;
    cursor: pointer;
}

.filter__unitArea>span {
    padding: 0 9px;
}

.filter__unitDetail {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter__unitDetail.is-madori {
    width: 628px;
    border-top: 1px solid #D8D8D8;
    border-left: 1px solid #D8D8D8;
    border-radius: 4px;
    gap: 0;
}

.c-checkbox {
    border-right: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
    width: 209px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 0 0 13px;
    gap: 4px;
    cursor: pointer;
}

.c-checkbox input[type="checkbox"]:checked {
    background-image: unset;
}

.c-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 2px;
    border: 1px solid #DCDCDC;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.c-checkbox input:checked {
    background-color: var(--background-color-blue);
    border-color: var(--background-color-blue);
}

.c-checkbox input:checked:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.c-checkbox span {
    font-size: 16px;
}

.c-radio {
    border: 1px solid #D8D8D8;
    width: 210px;
    height: 45px;
    border: 1px solid #D8D8D8;
    padding: 0 0 0 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.c-radio__large {
    width: 260px;
    border-radius: 4px;
}

.c-radio input {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1px solid #DCDCDC;
    border-radius: 50%;
    position: relative;
}

.c-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1px solid #DCDCDC;
    border-radius: 50%;
    position: relative;
}

.c-radio input[type="radio"]:checked {
    appearance: none;
    background-image: url(/images/bknlist/icn_radio_on.webp);
}

.c-radio:not(:last-child) {
    border-right: none;
}

.c-radio span {
    font-size: 16px;
    line-height: 1.25;
}

/* 検索ボタン */
.district__bottom {
    display: none;
}

.district__bottom.is-show {
    display: flex;
}