/*
** アーカイブページ
*/
/* 物件情報一覧 */
.propertyTypeNav__heading {
    display: none;
}

.propertyTypeNav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 48px;
}

.propertyTypeNav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 12px 10px;
    border: 1px solid #4f9f9c;
    border-radius: 999px;
    background: #fff;
    color: #418d8a;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}
.propertyTypeNav__link:hover,
.propertyTypeNav__link.is-active {
    background: #4f9f9c !important;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .propertyArchiveLayout .propertyTypeNav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 32px;
    }
    .propertyTypeNav__link:first-child {
        grid-column: 1 / -1;
    }
    .propertyArchiveLayout .propertyTypeNav__link {
        min-height: 48px;
        padding: 9px 8px;
        font-size: .9em;
    }
}

@media (min-width: 960px) {
    .propertyArchiveLayout {
        display: grid;
        grid-template-columns: clamp(190px, 16vw, 250px) minmax(0, 1fr);
        gap: clamp(38px, 5vw, 80px);
        align-items: start;
    }

    .propertyArchiveLayout__sidebar {
        position: sticky;
        top: 132px;
        z-index: 2;
        padding: 26px 22px 24px;
        border: 1px solid rgba(65, 141, 138, .16);
        border-radius: 20px;
        background: rgba(255, 255, 255, .56);
        box-shadow: 0 14px 36px rgba(47, 98, 94, .08);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .propertyArchiveLayout__main {
        min-width: 0;
    }

    .propertyArchiveLayout .propertyTypeNav__heading {
        display: block;
        margin: 0 0 18px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(65, 141, 138, .28);
        color: #367f7c;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: .08em;
    }

    .propertyArchiveLayout .propertyTypeNav {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
    }

    .propertyArchiveLayout .propertyTypeNav__link {
        justify-content: space-between;
        min-height: 50px;
        padding: 11px 15px;
        border-color: transparent;
        border-radius: 10px;
        background: rgba(255, 255, 255, .72);
        text-align: left;
    }

    .propertyArchiveLayout .propertyTypeNav__link::after {
        content: "→";
        margin-left: 12px;
        font-size: 16px;
        font-weight: 400;
        transition: transform .25s ease;
    }

    .propertyArchiveLayout .propertyTypeNav__link:hover,
    .propertyArchiveLayout .propertyTypeNav__link.is-active {
        transform: none;
    }

    .propertyArchiveLayout .propertyTypeNav__link:hover::after {
        transform: translateX(3px);
    }
}

.section.realestates .vacant-property table th,
.section.realestates .vacant-property table td,
.post-type-archive-vacant-property .vacant-property table th,
.post-type-archive-vacant-property .vacant-property table td {
    padding: .5em .25em;
    border: none;
    background-color: transparent;
    font-weight: normal;
    font-size: 1em;
}
.section.realestates .vacant-property table th,
.post-type-archive-vacant-property .vacant-property table th {
    min-width: 60px;
    font-size: .75em;
}
.section.realestates .vacant-property table td,
.post-type-archive-vacant-property .vacant-property table td {
    font-weight: bold;
}
.section.realestates .vacant-property .realestate-types,
.post-type-archive-vacant-property .vacant-property .realestate-types {
    position: absolute;
    top: 5%;
    left: 0;
    z-index: 1;
    padding: 2px 5px 3px;
    padding-right: 5%;
    padding-left: 5%;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 80%;
}
.section.realestates .vacant-property .status,
.post-type-archive-vacant-property .vacant-property .status {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 41.7%;
    padding-bottom: 41.7%;
    background-image: url("https://kurasu-naraha.jp/wordpress/wp-content/uploads/2024/06/1719285050-8d405bb9db4fe6406cd11e8445d62586.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.section.realestates .vacant-house-list .is-style-more_btn,
.section.realestates .vacant-lot-list .is-style-more_btn,
.post-type-archive-vacant-property .vacant-house-list .is-style-more_btn,
.post-type-archive-vacant-property .vacant-lot-list .is-style-more_btn {
    margin-top: 1em !important;
}

@media (min-width: 960px) {
    .section.realestates .vacant-property .realestate-types,
    .post-type-archive-vacant-property .vacant-property .realestate-types {
        top: calc(5% + 5px);
    }
    .section.realestates .vacant-house-list .is-style-more_btn,
    .section.realestates .vacant-lot-list .is-style-more_btn,
    .post-type-archive-vacant-property .vacant-house-list .is-style-more_btn,
    .post-type-archive-vacant-property .vacant-lot-list .is-style-more_btn {
        margin-top: 0 !important;
    }
}
@media (min-width: 1020px) {
    .section.realestates .block-rounded,
    .post-type-archive-vacant-property .block-rounded {
        margin-bottom: 1.5em !important;
    }
}
