body {
    display: flex;
    flex-direction: column;
    justify-content: unset;
    height: 100vh;
}

.miraie-theme-main .result .result-top > div:first-child {
    margin-bottom: 2px;
}

.favorite-button {
    cursor: pointer;
}

#search-history .result-ttl {
    position: relative;
    padding: 60px 0px 40px;
    line-height: 45px;
    color: #000000;
    background: #fff;
    font-size: 30px;
    font-weight: 600;
}

#search-history .result-ttl h1 {
    color: #000000;
}

#search-history .result-ttl h1 {
    max-width: 1000px;
    margin: 0 auto;
}

#search-history .section-inner.screen-width-middle {
    margin-top: 40px;
}

#search-history .result-top label {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #000000;
    text-decoration: none;
}

#search-history .result-top input {
    width: 18px;
    height: 18px;
}

#search-history .result-top input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #51606b !important;
    background-color: #fff;
}

.miraie-theme-main .result .checkbox input:checked + label::after {
    border-bottom: 4px solid #51606b;
    border-right: 4px solid #51606b;
}

#search-history .result-num {
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    color: #000000;
    text-align: right;
    margin-bottom: 14px;
}

#search-history .property-column-area.only-pc {
    display: block !important;
}

#search-history .property-column-area .property-content {
    display: flex;
    align-items: unset;
    width: 100%;
    gap: 30px;
    margin-bottom: 0px !important;
}

#search-history .property-column-area .property-content .property-content-left {
    width: 45%;
}

#search-history
    .property-column-area
    .property-content
    .property-content-right {
    padding-right: 20px;
}

#search-history
    .property-column-area
    .property-content
    .property-content-left
    div,
#search-history
    .property-column-area
    .property-content
    .property-content-right
    div {
    margin-bottom: 10px;
}

#search-history
    .miraie-theme-main
    .property-box
    .property-img
    img.property-main-img {
    height: 148px;
    background: #fff;
}

.contact-favorite {
    width: 244px;
    vertical-align: top;
}

.miraie-theme-main .property-middle > div.property-feture-box {
    width: 750px;
    padding-left: 18px;
}

.miraie-theme-main .result label {
    padding: 0;
}

.float-contact-content {
    justify-content: center;
}

label::before,
label::after {
    display: none;
}

.miraie-theme-main .result input[type="checkbox"] {
    display: inline;
}

.checkbox {
    z-index: 1000;
}

.property-delete {
    z-index: 1000;
}

/* footer */
footer {
    margin-top: 11px;
    background-color: #fff;
}

footer .icon.footer-icon {
    width: 14px;
    height: 14px;
}

footer .footer-mail,
footer .footer-phone,
.list-option-mail li a {
    letter-spacing: normal !important;
    width: 136px;
    height: 40px;
    border-radius: 6px;
    background-color: #EA3224;
    color: #fff;
    padding: 8px 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
}

footer .footer-mail .icon.footer-icon {
    width: 24px;
    height: 24px;
}

footer .for-favorite {
    padding: 20px 20px;
    z-index: 1001;
}

footer .for-favorite .footer-mail,
footer .for-favorite .footer-phone,
.for-favorite .list-option-mail li a {
    letter-spacing: normal !important;
    width: 244px;
    height: 48px;
    border-radius: 6px;
    background-color: #bcc7d0;
    color: #fff;
    padding: 12px 38px;
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
}

.for-sp {
    display: none;
}

.for-favorite-footer {
    display: none !important;
}

/* .for-all {
    display: none !important;
} */

.for-favorite {
    display: flex !important;
}

.miraie-theme-main .property-box .property-feture-box .property-tag span {
    font-size: 10px;
    font-weight: 600;
    line-height: 10px;
    letter-spacing: 0em;
    color: #ffffff !important;
}

.miraie-theme-main .property-feture-box p.property-name {
    margin-top: 0px;
}

.miraie-theme-main .result .checkbox {
    margin-right: 0;
    display: flex;
    padding: 0;
    align-items: center;
    gap: 5px;
}

.miraie-theme-main
    .property-box
    .property-feture-box
    .property-column-area
    > div
    span:first-child:not(.bukken-price) {
    color: #51606b;
}

.miraie-theme-main .property-box .property-feture-box > div > div span {
    color: #000000;
}

.miraie-theme-main .property-box {
    margin-bottom: 14px;
    position: relative;
}

.miraie-theme-main .property-box .property-info .property-btn {
    right: 30px;
}

.miraie-theme-main .property-box .property-img .favorite-button span {
    color: #000000;
}

.miraie-theme-main .property-box .property-info .property-btn {
    z-index: unset;
}

@media print, screen and (max-width: 1200px) {
    .miraie-theme-main .result {
        max-width: 1000px;
        margin: 0 auto;
        padding-bottom: 88px;
    }

    #search-history .property-column-area .property-content {
        gap: 20px;
    }
}

@media print, screen and (min-width: 1201px) {
    .miraie-theme-main .result {
        flex: 1;
        margin: 0 auto;
    }
}
@media print, screen and (min-width: 1024px) {
    .miraie-theme-main .result {
        padding-bottom: 88px;
    }

    .miraie-theme-main .screen-width-middle {
        max-width: 1000px;
        margin: 0 auto;
    }

    .miraie-theme-main .property-box .property-img img.property-main-img {
        height: 148px;
        background: #fff;
        width: 198px;
    }

    .only-sp {
        display: none !important;
    }

    .only-pc {
        display: flex !important;
    }

    .miraie-theme-main .property-middle > div.property-img {
        width: auto;
        min-width: 110px;
        height: initial;
        vertical-align: top;
    }

    .miraie-theme-main .property-box .property-top {
        padding: 24px 30px 30px 24px;
    }

    .miraie-theme-main .property-box .property-tag span {
        margin-right: 4px;
    }

    .miraie-theme-main .property-feture-box p.property-name {
        line-height: 18.2px;
        margin-top: 10px;
        color: #000000;
    }

    .miraie-theme-main .property-box .property-img .favorite-button {
        margin-top: 16px !important;
    }

    .miraie-theme-main .property-middle > div.property-feture-box {
        padding-left: 18px !important;
    }

    .miraie-theme-main
        .property-box
        .property-feture-box
        .property-room-price
        span.bold.red {
        font-size: 18px;
        padding: 0;
    }

    .miraie-theme-main
        .property-box
        .property-feture-box
        .property-column-area
        > div
        span:first-child:not(.bukken-price) {
        font-size: 10px !important;
    }

    .miraie-theme-main .property-box .property-feture-box > div > div span {
        font-size: 12px;
    }

    .miraie-theme-main
        .property-box
        .property-feture-box
        > div
        > div
        .tatemono {
        width: calc(100% - 76px);
    }

    .miraie-theme-main .property-box .property-feture-box .property-room-price {
        margin-bottom: 10px !important;
    }
}

@media print, screen and (max-width: 1023px) {
    #search-history .result-ttl {
        position: relative;
        line-height: 24px;
        color: #515151;
        background: #fff;
        font-size: 16px;
        font-weight: 600;
        padding-top: 19px;
        padding-bottom: 18px;
        padding-left: 20px;
    }

    #search-history .result-num {
        font-size: 14px;
        line-height: 14px;
        margin-bottom: 12px;
    }

    .miraie-theme-main .property-box .property-tag {
        margin-bottom: 0px;
    }

    #search-history .property-column-area.only-pc {
        display: none !important;
    }

    #search-history .section .section-inner {
        margin-top: 0px;
    }

    #search-history .section .result .result-top {
        padding: 23px 15px 0px 20px;
    }

    .miraie-theme-main .result .result-top > div:first-child,
    .miraie-theme-main .result .result-bottom > div:first-child {
        margin-bottom: 0px;
    }

    #search-history .result-top label {
        font-size: 12px;
        font-weight: 300;
        line-height: 18px;
        text-decoration: none;
    }

    #search-history .result-top input {
        width: 14px;
        height: 14px;
    }

    .miraie-theme-main .result label::before {
        content: "";
        position: absolute;
        background: #fff;
        left: 0;
        top: 50%;
        width: 14px;
        height: 14px;
        transform: translateY(-50%);
        border-radius: 2px;
        border: solid 1px rgb(48 48 48 / 37%);
    }

    .miraie-theme-main .result-properties {
        padding: 0 0px 16px;
    }

    .only-pc {
        display: none !important;
    }

    .property-info {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .miraie-theme-main .property-feture-box p.property-name a {
        color: #000000;
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
        line-height: 15.6px;
        padding-bottom: 4px;
    }

    .miraie-theme-main
        .property-box
        .property-feture-box
        > div
        > div
        span.bukken-price {
        color: #ec8071;
        font-size: 16px;
        font-weight: 600;
        line-height: 20.8px;
        letter-spacing: 0em;
        text-align: left;
    }

    .miraie-theme-main
        .property-box
        .property-feture-box
        .property-room-price
        span.bold.red {
        padding: 0;
    }

    .miraie-theme-main
        .property-box
        .property-feture-box
        .property-column-area
        > div
        span:first-child:not(.bukken-price) {
        color: #51606b;
        width: 50px !important;
        height: 100%;
        font-size: 10px;
        font-weight: 300;
        line-height: 9.1px;
        letter-spacing: 0em;
        display: inline-block;
        background: none;
    }

    .miraie-theme-main .property-box .property-top .property-middle {
        border-bottom: #d9d9d9 1px solid;
        padding-bottom: 4px;
    }

    .bukken-decription {
        font-size: 12px;
        margin-top: 8px;
        line-height: 18px;
        color: #333333;
        margin-bottom: 20px;
    }

    .miraie-theme-main .property-box .property-img img.property-main-img {
        height: 82px;
        border: 0px solid #e6e6e6;
        background: #fff;
        padding: 0px;
        width: 100%;
        /* object-fit: contain !important; */
    }

    .miraie-theme-main .property-middle > div.property-img .property-img-unit {
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        gap: 4px;
        justify-content: center;
        align-items: center;
    }

    .miraie-theme-main .property-box .property-img img {
        height: 25.35px;
        width: 100%;
        border: none;
    }

    footer .for-favorite {
        padding: 15px 20px;
    }

    .contact-favorite {
        width: 335px;
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 14px;
        font-weight: 600;
        line-height: 21px;
        letter-spacing: 0em;
        text-align: center;
        vertical-align: top;
    }

    footer .for-favorite .footer-mail,
    footer .for-favorite .footer-phone,
    .for-favorite .list-option-mail li a {
        letter-spacing: normal !important;
        width: 335px;
        height: 48px;
    }

    .property-delete {
        margin-bottom: 9px;
    }

    .property-delete img {
        width: 12px;
        height: 12px;
    }

    .miraie-theme-main .property-feture-box p.property-name {
        line-height: 15.6px;
    }

    .miraie-theme-main .property-btn {
        width: 16px;
        height: 16px;
        position: absolute;
        right: 16px;
        transform: translateY(-50%);
        z-index: unset;
        bottom: 8px;
    }

    .miraie-theme-main .property-btn img {
        width: 16px;
        height: 16px;
    }

    .miraie-theme-main .property-box {
        margin-bottom: 22px;
    }

    footer .for-favorite {
        padding: 15px 20px;
    }

    .miraie-theme-main .result {
        padding-bottom: 78px;
    }

    .property-middle .checkbox-contact {
        display: none;
    }

    .checkbox-contact-mobile {
        padding: 0;
        padding-right: 7px;
    }

    #search-history .result-top input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
}

/* modal */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999999;
}
/* Modal Content */
.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding-top: 55px;
    padding-bottom: 51px;
    border: 0px solid #888;
    width: 636px;
    border-radius: 16px;
    text-align: center;
}
.modal-content p {
    font-size: 14px;
    line-height: 14px;
    font-weight: 300;
    color: #333333;
}
.modal-content .modal-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    margin-top: 38px;
}
.modal-content .modal-btn-group .close-modal {
    width: 174px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 300;
    background-color: #f2f6f9;
    color: #333333;
    border-radius: 25px;
    height: 50px;
}
.modal-content .modal-btn-group .submit-modal {
    width: 174px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 300;
    background-color: #b90d0d;
    color: #ffffff;
    border-radius: 25px;
    height: 50px;
}
@media print, screen and (max-width: 1023px) {
    /* Modal Content */
    .modal-content {
        background-color: #ffffff;
        margin: auto;
        padding-top: 25px;
        padding-bottom: 0;
        border: 0px solid #888;
        width: 270px;
    }
    .modal-content .modal-btn-group {
        border-top: 1px solid #d9d9d9;
        gap: 0px;
        margin-top: 0px;
    }
    .modal-content p {
        padding-bottom: 25px;
    }
    .modal-content .modal-btn-group .close-modal {
        background-color: #ffffff;
        color: #333333;
        border-right: 1px solid #d9d9d9;
        border-top-right-radius: unset;
        border-bottom-right-radius: unset;
    }
    .modal-content .modal-btn-group .submit-modal {
        background-color: #ffffff;
        color: #ea3224;
    }
}
