#school {
    background-color: #f6f5ef;
}

#map {
    height: 100vh;
    width: calc(100% - 300px);
}

.cities-wards {
    background-color: #fff;
    max-width: 108px;
}

.bukken-list-search {
    width: 300px;
    background: var(--rala_beige, #f6f5f0);
    box-shadow: 4px 0px 24px 0px rgba(0, 0, 0, 0.16);
}

.modal-search {
    width: 300px;
    position: absolute;
    right: 0;
    background: #fff;
    content: "";
}

.close-search-button {
    position: absolute;
    top: 0;
    width: 54px;
    height: 54px;
    left: -54px;
    display: flex;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-show-modal-search {
    position: absolute;
    top: 0;
    width: 160px;
    height: 54px;
    right: 0;
    display: none;
    background: #fff;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--rala_black, #333);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%; /* 24px */
}

.search-detail {
    height: 100%;
    overflow-y: scroll;
    padding-bottom: 100px;
}

.main-search {
    display: flex;
    position: relative;
}

.text-search {
    color: var(--rala_black, #333);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.search-property {
    justify-content: space-between;
    display: flex;
    margin: 12px 10px;
    align-items: center;
}

.marker-position {
    bottom: 0px;
    left: 70%;
    position: relative;
    font-weight: bold;
}

#bukken-info .slick-prev {
    left: 0px;
    text-align: center;
}

#bukken-info .slick-next {
    right: 0px;
    text-align: center;
}

#bukken-info .slick-prev:before,
#bukken-info .slick-next:before {
    font-family: "slick";
    font-size: 20px;
    line-height: 1;
    /* padding: 10px; */
    opacity: 0.75;
    color: rgb(87, 70, 70) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.search-button-group {
    display: none;
}

#bukken-info .slick-arrow {
    background-color: #dcecff;
}

#bukken-info .slick-arrow {
    background-color: #d3d3d3;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 40px;
    height: 50px;
    z-index: 1;
}

.slick-slide {
    width: 100%;
}

.slider-container-image {
    height: 150px;
    display: flex;
    overflow: hidden;
    justify-content: center;
}

#bukken-info a {
    margin-right: 20px;
    border: 2px solid #978c8e;
    border-radius: 5px;
}

.slider-price {
    color: var(--rala_black, #333);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
}

.list_link {
    font-size: 16px;
    display: flex;
    justify-content: end;
    margin: 20px 0 50px;
    padding: 12px 0px;
}

.slider-info-bukken {
    padding: 10px;
    height: 80px;
}

.slider-info-bukken i,
.go-to-list i {
    color: #978c8e;
}

.text-button-close {
    margin-top: 5px;
    display: block;
}

body {
    justify-content: start;
}

.slider-des {
    color: var(--rala_black, #333);
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.text-content-dropdown {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 12px */
}

.icon-to-detail {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
}

.slick-track {
    margin-left: 0px !important;
}

.slick-slide img {
    max-width: 100%;
}

.cities-wards {
    height: 34px;
}

.select-box .select {
    display: inline-block;
    border: solid 1px #d9d9d9;
    border-radius: 2px;
    position: relative;
}

.select-box .select select {
    padding: 0.2em 2.5em 0.2em 0.5em;
}

.select-box .select:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 40%;
    right: 0.5em;
    font-size: 16px;
    border-bottom: solid 2px #323232;
    border-left: solid 2px #323232;
    transform: rotate(-45deg) translateY(-50%);
}

.school-list-item {
    background-color: #fff;
    border: none;
    color: black;
    padding: 6px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0px 2px !important;
    cursor: pointer;
    border-radius: 16px;
    text-align: center;
    font-size: 10px;
    height: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.school-list-item.active {
    background-color: #527ff9;
    color: white;
}

.filter-info.close {
    display: none !important;
}

.close-btn {
    color: var(--rala_black, #333);
    font-family: "Hiragino Kaku Gothic ProN";
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%; /* 12px */
}

.filter {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin: 10px 15px;
}

#school-info {
    margin: 10px 0 10px 15px;
}

#school-info .slick-prev,
#school-info .slick-next {
    display: none !important;
}

.parent-choose {
    font-weight: bold;
    -webkit-font-smoothing: subpixel-antialiased;
}

.close-btn {
    display: none;
}

.modal {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50vh;
    background: #ffffff;
    z-index: 100;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease-out;
    transform: translateY(45px);
}

.modal-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.search-close {
    display: none;
}

.button-show-modal-search-close {
    display: flex;
}

.modal-active > div {
    width: 100%;
}

.mask-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000008c;
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    transition: 0.7s;
}

.modal-header {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e8e8e8;
    align-items: center;
    height: 51px;
    font-size: 15px;
    position: relative;
    font-weight: bold;
}

.modal-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;
    overflow-x: hidden;
}

.modal-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid #e8e8e8;
    align-items: start;
    height: 100px;
    padding-top: 10px;
    font-size: 15px;
    position: relative;
}

.modal-footer button {
    width: 76.8%;
    text-align: center;
    border-radius: 5px;
    background-color: #7f909d;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.mask-modal-active {
    visibility: visible;
    opacity: 1;
}

.custom-select {
    height: 100%;
    width: 80%;
    margin-top: 50px;
}

.custom-select > .custom-option {
    border-radius: 15px;
    color: #a9a9a9;
    padding: 10px;
}

.custom-select > .custom-option label {
    width: 100%;
    display: inline-block;
    height: 100%;
    text-decoration: none !important;
    text-align: center;
    font-size: 18px;
}

.custom-option:has(input[type="radio"]:checked) {
    color: #333333;
    background-color: #f2f6f9;
}
/* width */
.mask-modal::-webkit-scrollbar {
    display: none;
}

.custom-option input[type="radio"] {
    display: none;
}

#search-mobile {
    display: flex !important;
    justify-content: space-between;
    padding: 6px 16px;
    font-size: 14px;
    background: #988c8e;
    height: 40px;
}

.search-price-mobile .search-btn {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    padding: 12px 8px;
    background: #726769;
}

.count-mobile .count-span {
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}

.count-mobile .number-count {
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    padding: 0 2px;
}

.mobile-bukken {
    display: none;
}
@media print, screen and (max-width: 1200px) {
    .miraie-theme-main .sidebar {
        display: block;
    }
    #sidebar {
        padding: 13px 10px !important;
    }
}

@media screen and (max-width: 1024px) {
    .close-btn {
        display: inline-block;
        padding: 3px 2px;
        line-height: 22px;
    }

    .mobile-bukken {
        display: block;
    }

    .bukken-list-search {
        display: none;
    }

    .modal-search {
        display: none;
    }

    .list_link,
    .filter {
        margin: 0 10px 13px 20px;
        color: var(--rala_black, #333);
        font-family: "Hiragino Kaku Gothic ProN";
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 100%;
    }

    #school-info {
        margin: 0 0 0 15px;
    }

    #search-mobile {
        padding: 8px 20px;
    }

    .search-button-group {
        display: flex;
    }

    .search-button-mobile {
        color: var(--rala_black, #333);
        font-size: 10px;
        font-style: normal;
        font-weight: 300;
        line-height: 150%;
        background-color: #f6f5ef;
        border: none;
        padding: 7px 6px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        cursor: pointer;
        border-radius: 14px;
        margin-left: 6px;
        width: 78px;
        height: 28px;
    }

    .border-map-buttom {
        width: 100vw;
        position: absolute;
        height: 23px;
        border-radius: 12px 12px 0px 0px;
        background: var(--rala_beige, #f6f5f0);
        top: -20px;
    }

    .icon-search {
        width: 14.667px;
        height: 14.667px;
        flex-shrink: 0;
    }

    #bukken-info {
        background: var(--rala_beige, #f6f5f0);
        margin-top: 10px;
    }

    #bukken-info .slick-arrow {
        display: none !important;
    }

    .slider-container-image {
        height: 100px;
        display: flex;
        overflow: hidden;
        justify-content: center;
    }

    #bukken-info a {
        margin-right: 0px;
        border-radius: 2px;
        border: 1px solid var(--rala_black, #333);
        background: #fff;
        margin-left: 10px;
    }

    .slider-des {
        font-size: 12px;
        line-height: 1.3;
        color: #000;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    #map {
        height: 400px;
        width: 100%;
    }

    .search-price-mobile .search-btn {
        display: block;
    }
}
