body {
    position: relative;
    background-color: #f6f5f0;
    height: 100%;
    min-height: 80vh;
}

a, a:hover {
    text-decoration: none;
    color: inherit;
}

* {
    letter-spacing: 0.9px;
}

input {
    padding: 5px !important;
    background-color: #fff !important;
}
.icon {
    width: 24px;
    height: 24px;
}

.d-none {
    display: none;
}

.header {
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
    z-index: 99992;
    background-color: #fff;
    box-shadow: 0px 4px 8px 0px #2b324b29;
}
.top-header {
    display: flex;
    width: 80%;
    margin: 0 auto;
    justify-content: space-between;
    max-height: 120px;
    overflow: hidden;
}

.header ul,
.header ul li {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-between;
}

.top-header .top-header-menu {
    flex: 1;
    margin-left: 10px;
    justify-content: space-between;
}

.top-header .top-header-menu > li:last-child {
    margin-left: 28px;
}

.top-header .top-header-menu > li:last-child ul {
    align-items: start;
    gap: 12px;
    font-size: 14px;
    height: 36px;
}

.top-header .top-header-menu > li:last-child ul li {
    line-height: 21px;
    gap: 3px;
}

.top-header .header-phone {
    color: #ec8071;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
}

.top-header .header-phone a {
    color: #ec8071;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
}

.top-header .icon.header-icon {
    width: 14px;
    height: 14px;
}

.top-header .header-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
}

.top-header .header-contact-item {
    letter-spacing: normal !important;
    width: max-content;
    height: 40px;
    border-radius: 6px;
    background-color: #b90d0d;
    color: #fff;
    padding: 8px 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
}

.top-header .header-contact-item.header-contact-item-landing {
    background-color: #6d96e7;
}

.top-header li:has(.header-mail) {
    margin-right: 8px;
    margin-left: 8px;
}

.top-header li:has(.header-line) {
    margin-right: 18px;
}

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

.top-header .header-line .icon.header-icon {
    width: 38px;
    height: 38px;
}

.top-header .search-text {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
}

.top-header .freeword-header-input {
    border: 1px solid #51606b;
    width: 175px;
    height: 36px;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
}

.top-header .header-form-button {
    border: 1px solid #726769;
    border-radius: 6px;
    width: 64px;
    height: 36px;
    background-color: #726769;
    line-height: 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.top-header #top-header-form ul {
    gap: 6px;
}

/* bottom header */
.bottom-header {
    width: 80%;
    margin: 8px auto 0;
}

.bottom-header .header-action-icon {
    width: 40px;
    height: 40px;
}

.bottom-header .list-screen-bukken {
    justify-content: start;
}

.bukken-link {
    position: absolute;
    width: 100%;
    height: 80%;
    top: 20%;
    left: 0;
}

.show-flex {
    display: flex;
}

/* .contact-checkbox {
    display: block !important;
} */

.miraie-theme-main .property-feture-box > div > div.tag-checkbox-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-to-screen:hover {
    text-decoration: underline;
}

.link-flex {
    display: flex;
    align-items: center;
    gap: 5px;
}

.miraie-theme-main .checkbox-contact input:checked + label::after,
.check-all-contact-block input:checked + label::after {
    border-bottom: unset;
    border-right: unset;
    transform: rotate(0deg);
    background-color: #51606b;
    background-image: url(../icons/ic_checkbox.svg);
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0px;
    top: -2px;
    left: 0px;
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.check-all-contact-block input:checked + label::after {
    top: 2px;
    width: 18px;
    height: 18px;
}

.miraie-theme-main .result .checkbox-contact label::before,
.check-all-contact-block label::before {
    content: "";
    position: absolute;
    background: #fff;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 2px;
    border: solid 1px #7f909d;
}

.contact-button-block {
    width: 280px;
    height: 48px;
    padding: 12px 20px;
    border-radius: 6px;
    background: #b90d0d;
}

.contact-button-block a {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    color: white;
}

.check-all-contact-block label {
    margin-left: 20px;
}

.check-all-contact-block {
    position: relative;
}

.float-contact-container {
    display: none;
    position: fixed;
    width: 100vw;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    height: 88px;
    z-index: 99999;
    -webkit-transform: translate3d(0, 0, 0);
}

.float-contact-content {
    display: flex;
    max-width: 1080px;
    align-items: center;
    margin: auto;
    height: 100%;
    justify-content: space-between;
}

.float-contact-content label {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    text-decoration: none;
    margin-left: -20px;
}

.float-contact-content input {
    display: none;
}

.bottom-header .list-screen-bukken > li a {
    border-left: 1px solid #bbadaf;
    height: 36px;
    justify-content: center;
    gap: 3px;
    padding: 0 16px;
    font-size: 20px;
    line-height: 30px;
    display: flex;
    font-weight: 600;
}

.bottom-header .list-screen-bukken > li:last-child a {
    border-right: 1px solid #bbadaf;
}

.bottom-header .list-screen-bukken > li .sm-text {
    font-size: 16px;
    line-height: 24px;
}

.bottom-header .action-list {
    position: absolute;
    bottom: 10px;
    right: 10%;
    gap: 24px;
}

.bottom-header .action-list li > * {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-direction: column;
    font-size: 12px;
    line-height: 18px;
}

.bg-icon {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/new_ui/common/bg-rounded-gray.svg") center
        no-repeat;
}

/* menu sidebar */
.menu-sidebar {
    position: absolute;
    top: 123px;
    right: 10%;
    display: flex;
    justify-content: start;
    align-items: stretch;
    width: 763px;
    height: 312px;
    padding: 64px 0 80px 56px;
    background-color: #f6f5f0;
    z-index: 99999;
}

.menu-sidebar ul {
    border-left: #bbadaf 1px solid;
    align-self: stretch;
    padding: 0 30px;
}

.list-option-mail,
.list-option-sp {
    display: none;
}

.option-pc {
    display: block;
}

.menu-sidebar ul li {
    display: flex;
    justify-content: start;
    gap: 2px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
}

.menu-sidebar ul li .icon {
    width: 20px;
    height: 20px;
}

.bg-shadow {
    z-index: 9999;
    background-color: #00000080;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    /* height: 100vh; */
}

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

.sub-condition {
    font-size: 10px;
}

@media screen and (max-width: 1599px) {
    .top-header .header-phone {
        font-size: 15px;
    }
}

@media screen and (max-width: 1560px) {
    .top-header {
        width: 95%;
    }

    .bottom-header {
        width: 95%;
    }

    .bottom-header .action-list {
        right: 2.5%;
    }
}

@media screen and (max-width: 1460px) {
    .top-header {
        width: 95%;
    }

    .bottom-header {
        width: 95%;
    }

    .bottom-header .action-list {
        right: 2.5%;
    }
}

@media screen and (max-width: 1315px) {
    .top-header {
        width: 100%;
        padding: 0 10px;
    }

    .bottom-header {
        width: 100%;
        padding: 0 10px;
    }

    .bottom-header .action-list {
        right: 10px;
    }

    .top-header .search-text {
        font-size: 12px;
    }

    .top-header .top-header-menu > li:last-child ul {
        gap: 5px;
        font-size: 12px;
    }

    .top-header .freeword-header-input {
        width: 150px;
    }
}

@media screen and (max-width: 1185px) {
    .bottom-header .list-screen-bukken > li a {
        padding: 0 8px;
    }

    .bottom-header .action-list {
        gap: 10px;
    }

    .top-header .freeword-header-input {
        width: 120px;
    }

    .top-header .top-header-menu > li:last-child ul {
        gap: 5px;
        font-size: 10px;
    }

    .top-header .search-text {
        font-size: 10px;
    }

    /* .bottom-header .header-action-icon {
        width: 30px;
        height: 30px;
    } */

    .bottom-header .action-list li > * {
        font-size: 10px;
    }

    .bottom-header .list-screen-bukken > li a {
        font-size: 18px;
    }

    .top-header .header-form-button {
        width: 50px;
        font-size: 14px;
    }

    .top-header .header-phone {
        font-size: 12px;
    }
}

@media screen and (max-width: 1070px) {
    /* .bottom-header .header-action-icon {
        width: 25px;
        height: 25px;
    } */

    .top-header .header-mail {
        width: 110px;
        font-size: 10px;
    }

    .top-header .freeword-header-input {
        width: 110px;
    }

    .top-header .search-text {
        font-size: 10px;
    }
}

@media screen and (max-width: 1024px) {
    .bottom-header {
        display: none !important;
    }

    .top-header .top-header-menu {
        justify-content: start;
    }
    .top-header .top-header-menu > li:last-child {
        display: none;
    }

    .top-header .action-list.for-sp li > * {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2px;
        display: flex;
    }
    .top-header .action-list.for-sp {
        display: flex !important;
        font-size: 8px;
        line-height: 12px;
        gap: 10px;
    }

    .menu-sidebar {
        top: 79px;
        padding: 64px 0 80px 56px;
    }
}

@media screen and (max-width: 1024px) {
    .miraie-theme-main #rail-pc-form {
        display: block;
    }

    .miraie-theme-main .search #rail-pc-form .bukken-choice .checkbox {
        min-width: unset;
    }

    .header {
        z-index: 999992;
    }
}

@media screen and (max-width: 1024px) {
    .top-header .top-header-menu {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .top-header .freeword-header-input {
        font-size: 14px;
    }

    .option-currency-mobile {
        margin-bottom: 0 !important;
    }

    .bottom-header {
        display: none !important;
    }

    .for-sp {
        display: block !important;
    }

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

    .top-header {
        width: 90%;
    }

    .top-header .action-list.for-sp li > * {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2px;
        display: flex;
    }

    .top-header .action-list.for-sp {
        display: flex !important;
        font-size: 8px;
        line-height: 12px;
        gap: 10px;
    }

    .top-header .header-logo img {
        width: 79px;
        height: 38px;
    }

    .header {
        z-index: 999;
        box-shadow: none;
    }

    .menu-sidebar {
        top: 0;
        right: 0;
        flex-direction: column;
        width: 70.4%;
        height: 100%;
        /* height: 100vh; */
        padding: 0;
        padding-top: 45px;
        padding-left: 27px;
        padding-right: 30px;
        justify-content: start;
    }

    .menu-sidebar ul {
        border: none;
        padding: 30px 0;
    }

    .menu-sidebar ul:first-child {
        padding: 0px 0 30px;
    }

    .menu-sidebar ul:not(:last-child) {
        border-bottom: 1px solid #bbadaf;
    }

    .menu-sidebar ul.introduce {
        border-bottom: none;
    }

    .menu-sidebar .list-option li:last-child {
        margin-bottom: 0;
    }

    .menu-sidebar ul:last-child li {
        padding: 0 0 30px;
        margin-bottom: 0;
    }

    .menu-sidebar ul:last-child li:not(:last-child) {
        border: none;
        padding: 0 0 30px;
        border-bottom: 1px solid #bbadaf;
    }

    .button-close.for-sp {
        position: absolute;
        top: 10px;
        right: calc(70% + 13px);
        z-index: 100000;
    }

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

    .footer-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: fixed;
        background-color: #fff;
        bottom: 0;
        width: 100%;
        padding: 10px 20px;
        z-index: 99998;
    }

    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;
    }

    .list-option-mail li a button {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .list-option-mail li a {
        width: 162px;
        padding: 12px 18px;
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0em;
        text-align: center;
    }

    .list-option-mail li a .icon {
        width: 24px;
        height: 18px;
    }

    footer .footer-phone {
        background-color: #ea3224;
    }
    footer .footer-mail {
        background-color: #b90d0d;
    }

    /* footer li:has(.footer-mail) {
        margin-right: 8px;
        margin-left: 8px;
    } */

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

    footer .footer-phone .icon.footer-icon {
        width: 20px;
        height: 20px;
    }

    footer .footer-line .icon.footer-icon {
        width: 44px;
        height: 44px;
    }
    .list-option-sp {
        display: block;
        border-bottom: none !important;
    }

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

    .list-option-mail {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 0px !important;
    }

    .list-option-mail li {
        padding: 0px !important;
        padding-top: 66px !important;
    }

    .list-option.list-option-mail {
        width: 100%;
    }
}
.search-btn-section {
    display: flex;
    justify-content: center;
    gap: 11px;
    margin: 50px 0;
}

.search-more-option {
    display: none;
}

.miraie-theme-main .search .search-btn,
.miraie-theme-main .search .search-more-btn {
    padding: 12px 18px !important;
    text-align: center;
    display: flex;
    justify-content: start;
    align-items: center;
    width: 162px;
    text-align: center;
    height: 48px;
    border-radius: 6px;
}

.miraie-theme-main .search .search-btn span,
.miraie-theme-main .search .search-more-btn span {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    margin-left: auto;
}

.miraie-theme-main .search .search-btn span {
    margin-left: 20px;
}

.miraie-theme-main .search .search-more-btn img {
    width: 20px;
    height: 20px;
}

.miraie-theme-main .search .search-more-btn {
    color: #333;
    border: 1px solid #333;
}

.miraie-theme-main .search .search-btn {
    background: #726769 !important;
    color: #fff;
}
.miraie-theme-main .search .search-btn img {
    width: 24px;
    height: 24px;
}

/* Rail, area, map */

.title-search img {
    width: 32px;
    height: 32px;
}
.title-search {
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    margin-bottom: 13px;
}

.title-choice {
    background-color: #bbadaf;
    padding: 18px 0px 18px 24px;
    display: flex;
    justify-content: start;
    align-items: center;
}

@media screen and (max-width: 1023px) {
    .title-search span {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0em;
        text-align: left;
        margin-left: 2px;
    }
    .miraie-theme-main #rail-pc-form {
        display: none;
    }

    .miraie-theme-main #rail-sp-form > .only-sp {
        display: block;
    }

    .mail-sp,
    .mail-sp a,
    .mail-sp .header-mail {
        display: flex !important;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

    .mail-sp {
        margin: 0 auto;
        margin-top: 66px;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: normal !important;
        width: 162px;
        height: 48px;
        border-radius: 8px;
        background-color: #b90d0d;
        color: #fff;
        padding: 8px 11px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
    }

    .menu-sidebar .list-option:last-child {
        border-top: 1px solid #000;
        padding-top: 30px;
        background-color: red;
    }

    .title-search {
        gap: 2px;
        margin-bottom: 14px;
    }

    .title-search img {
        width: 16px;
        height: 16px;
    }

    .title-choice {
        background-color: #bbadaf;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 14px;
        font-weight: 600;
        line-height: 14px;
        letter-spacing: 0em;
        text-align: center;
        padding: 8px 0;
        margin-bottom: 20px;
    }

    .new-main-choice {
        background-color: #f6f5f0;
        padding: 19px 20px 0;
        margin-bottom: 8px;
        border-radius: 8px;
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 14px;
        font-weight: 300;
        line-height: 14px;
        letter-spacing: 0em;
        text-align: left;
    }

    .new-main-choice > .smaller-choice.child-closed {
        display: none;
    }

    .new-main-choice > .smaller-choice.child-opened {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid #d9d9d9;
        padding-top: 16px;
        padding-bottom: 18.5px;
        padding-right: 10px;
        gap: 14px 24px;
        max-height: 106px;
        min-height: 20px;
        overflow-y: scroll;
    }

    .big-choice {
        padding-bottom: 19px;
    }

    .new-checkbox {
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 14px 8px;
    }

    .bukken-choice {
        margin-top: 50px;
    }

    .bukken-choice .bukken-select-choice {
        display: flex;
        flex-wrap: wrap;
        gap: 30px 0;
        padding: 0 11px;
    }

    .bukken-choice .bukken-select-choice > div {
        width: 50%;
    }

    .miraie-theme-main .search .bukken-choice label {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 14px;
        font-weight: 300;
        line-height: 14px;
        letter-spacing: 0em;
        text-align: left;
    }

    .btn-toggle-child,
    .btn-toggle-child:hover {
        background: unset;
        border: none;
    }

    .btn-toggle-child img {
        transform: rotate(90deg);
    }

    .btn-toggle-child.btn-close-child img {
        transform: rotate(-90deg);
        width: 16px;
        height: 16px;
    }

    .new-station_box {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .bukken-choice .new-station_box {
        justify-content: start;
        align-items: start;
    }

    .new-option-filter table tbody > tr:not(:first-child) > td {
        padding: 0 11px;
    }

    .miraie-theme-main .search .step table th {
        border-radius: 4px;
    }
}

.bukken-link {
    z-index: 100;
}

.miraie-theme-main .property-box .property-img .favorite-button {
    position: relative;
    z-index: 999;
}

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

.favorite-num {
    position: relative;
}

.result-favorite-num {
    position: absolute;
    width: 23.33px;
    height: 23.33px;
    text-align: center;
    background-color: #ff5a5a;
    border-radius: 50%;
    right: 12px;
    top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-favorite-num span {
    font-size: 12px;
    line-height: 12px;
    color: #ffffff;
}

@media screen and (max-width: 1185px) {
    .result-favorite-num {
        right: 8px;
    }
}

@media screen and (max-width: 1024px) {
    .result-favorite-num {
        right: 9px;
        width: 14px;
        height: 14px;
        top: 9px;
    }

    .result-favorite-num span {
        font-size: 8px;
        line-height: 8px;
    }
    .miraie-theme-main .property-feture-box > div > div.tag-checkbox-container {
        display: none;
    }

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

    .miraie-theme-main .checkbox-contact-mobile input:checked + label::after,
    .check-all-contact-block input:checked + label::after {
        border-bottom: unset !important;
        border-right: unset !important;
        transform: rotate(0deg) !important;
        background-color: #51606b;
        background-image: url(../icons/ic_checkbox.svg);
        background-size: 12px 12px;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0px;
        top: -2px !important;
        left: 0px !important;
        width: 14px !important;
        height: 14px !important;
        border-radius: 2px !important;
    }

    .check-all-contact-block input:checked + label::after {
        background-size: 18px 24px;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0px;
        top: -4px !important;
        left: 0px !important;
        width: 24px !important;
        height: 24px !important;
        border-radius: 4px !important;
    }

    .check-all-contact-block input:checked + label::after {
        left: 1px;
        top: 2px;
    }

    .miraie-theme-main .result .checkbox-contact-mobile label::before,
    .check-all-contact-block label::before {
        content: "";
        position: absolute;
        background: #fff;
        left: 0;
        top: 50%;
        width: 14px;
        height: 14px;
        transform: translateY(-50%);
        border-radius: 2px;
        border: solid 1px #7f909d;
    }

    .check-all-contact-block label::before {
        width: 24px !important;
        height: 24px !important;
    }

    .miraie-theme-main .property-box .property-top > div.only-sp {
        display: flex !important;
    }

    .contact-button-block {
        width: 212px;
        height: 48px;
        padding: 12px 15px;
        border-radius: 6px;
        background: #b90d0d;
        margin-right: 20px;
    }

    .contact-button-block a {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 12px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0em;
        text-align: center;
    }

    .check-all-contact-block label {
        padding-left: 28px !important;
    }

    .check-all-contact-block {
        position: relative;
    }

    .float-contact-container {
        display: none;
        position: fixed;
        bottom: 0;
        width: 100vw;
        left: 0;
        background-color: #ffffff;
        height: 78px;
        z-index: 999999;
    }

    .float-contact-content {
        display: flex;
        max-width: 1000px;
        align-items: center;
        margin: auto;
        height: 100%;
        justify-content: space-between;
    }

    .float-contact-content label {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 12px;
        font-weight: 300;
        line-height: 18px;
        letter-spacing: 0em;
        text-align: left;
        margin-left: 20px;
    }
}
