@charset "UTF-8";

/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/*===========
 販売実績一覧
============*/
#page_realestate section {
    margin: 100px 0;
}

.realestate_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
    margin: 1.5em auto;
    max-width: 1140px;
}

.realestate_title {
    display: grid;
    grid-template-columns: 72px auto;
    gap: 10px;
    margin: 1em 0;
    align-items: center;
}

.realestate_title .realestate_torihiki {
    width: 100%;
    background-color: #2e2928;
    border-radius: 50px;
    color: #fff;
    font-size: 0.8em;
    display: grid;
    place-items: center center;
    padding: 5px 0;
}

.realestate_list a {
    color: #2e2928;
}

.realestate_list .realestate_img {
    height: 280px;
    margin-bottom: 20px;
    background-color: #f4f4f4;
}

.realestate_list .realestate_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.realestate_list .infolist_row {
    display: grid;
    grid-template-columns: 115px auto;
    grid-column-gap: 10px;
    place-items: center start;
    background-color: #f9f9f9;
    border-bottom: 1px solid #D9D9D9;
}

.realestate_list .infolist_row:nth-of-type(even) {
    background-color: #EEEEEE;
}

.realestate_list .infolist_row .info_title,
.realestate_list .infolist_row .info_body,
.realestate_list .realestate_text {
    font-size: 0.9em;
}

.realestate_list .infolist_row .info_body,
.realestate_list .realestate_text {
    width: 100%;
    padding: 1em 10px;
    font-weight: 500;
}

.realestate_list .infolist_row .info_title {
    height: 100%;
    width: 100%;
    display: grid;
    place-items: center center;
    padding: 1em 10px;

}

.realestate_list .infolist_row .info_body {
    height: 100%;
    background-color: #fff;
}

.realestate_list .realestate_text {
    line-height: 1.5;
    height: 4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#page_realestate.realstate_single .page_body {
    padding: 30px 0;
}

#page_realestate.realstate_single .page_body .realestate_img {
    width: 400px;
    margin-inline: auto;
}

#page_realestate.realstate_single .page_body .realestate_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#page_realestate.realstate_single .realestate_list {
    display: block;
    margin: 1.5em 0;
}

#page_realestate.realstate_single .realstate_single {
    height: auto;
    overflow: inherit;
    text-overflow: inherit;
    display: inherit;
    padding: 0 2em;
    font-size: 1em;
}

#page_realestate.realstate_single .realestate_title {
    font-size: 1.5em;
    grid-template-columns: 144px auto;
    align-items: center;
}

#page_realestate.realstate_single .grid_title {
    font-size: 1.5em;
}

.common_more_btn {
    margin: 86px auto;
    text-align: center;
}

.page_body .common_more_btn {
    margin: 2em auto;
    position: relative;
}

.common_more_btn a {
    display: inline-block;
    width: 360px;
    padding: 1em;
    font-size: 22px;
    background-color: #2e2928;
    color: #fff;
    border-radius: 50px;
}

.page_body .common_more_btn a {
    font-size: 1.11em;
    width: fit-content;
    min-width: 15.5em;
}

@media (max-width: 750px) {

    /*===========
     販売実績一覧
    ============*/
    .realestate_list {
        grid-template-columns: repeat(1, 1fr);
        gap: 10vw 0;
    }

    .realestate_title {
        grid-template-columns: 30% auto;
        gap: 0 2.5vw;
        align-items: center;
    }

    .realestate_list .infolist_row {
        grid-template-columns: 30% auto;
        grid-column-gap: 2vw;
    }

    #page_realestate.realstate_single .realestate_list .realestate_item {
        margin-bottom: 4vw;
    }

    .realestate_list .infolist_row .info_title {
        height: 100%;
        width: 100%;
        display: grid;
        place-items: center center;
        padding: 1em 0.8em;
    }

    #page_realestate.realstate_single .page_body {
        padding: 0;
    }

    #page_realestate.realstate_single .page_body .realestate_img {
        width: 100%;
        height: 80vw;
    }

    #page_realestate.realstate_single .realestate_title {
        grid-template-columns: 30% auto;
        height: fit-content;
    }

    #page_realestate.realstate_single .realestate_title .realestate_torihiki {
        font-size: 3.6vw;
        width: 100%;
    }

    #page_realestate.realstate_single .realestate_title .realestate_name {
        font-size: 4.8vw;
    }

    #page_realestate.realstate_single .realstate_single {
        padding: 0;
    }

    .common_more_btn a {
        width: 61.54vw;
        padding: 1em;
        font-size: 1.53vw;
    }

    .page_body .common_more_btn a {
        min-width: 60vw;
        width: 100%;
    }

    .common_more_btn {
        margin: 6vw auto;
    }

    .page_body .common_more_btn {
        margin: 1em 0;
    }
}