@charset "utf-8";
.building_list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 28px 2%;
}

.building_list li {
    position: relative;
    width: 23.5%;
    /*max-height: 450px;*/
    overflow: hidden;
}

.building_list li.wide {
    width: 49%;
}

.building_list li a {
    display: block;
    /*overflow: hidden;*/
}

.building_list li img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 350px;
    margin-bottom: 58px;
}

.building_inner{
    position: absolute;
    bottom: calc(-100% + 58px);
    width: 100%;
    height: 100%;
    padding: .5em;
    background-color: #FFD109;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    transition: .5s;
}

.building_img,
.building_inner,
.building_ttl{
    /*transition: all .5s ease;*/
}

.building_company{
    font-size: 14px;
    line-height: 1.4;
}

.building_name{
    font-size: 17px;
    line-height: 1.4;
}

.building_ttl{
    padding-bottom: .5em;
    transition: all 0.1s ease;
}

.tenant_ttl {
    line-height: 1.4;
    font-size: 15px;
}

.tenant_name {
    font-size: 15px;
    font-weight: normal;
}

.btn_building {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0 .5em;
    line-height: 3.5;
    background-color: #F97E00;
    text-align: center;
    color: white;
}

.building_list li a:hover .building_img{
    opacity: .3;
}

.building_list li a:hover .building_inner{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.building_list li a:hover .building_ttl{
}

.group .common_ttl {
    display: none;
}


@media screen and (max-width: 1050px) {
    .building_list {
    }

    .building_list li {
        width: 48%;
        min-height: auto;
    }

    .building_list li.wide {
        width: 100%;
    }


    .building_list li a:hover .building_img{
        opacity: 1;
    }

    .building_list li a:hover .building_inner{
        position: absolute;
        bottom: calc(-100% + 58px);
    }

    .tenant_ttl {
        font-size: 15px;
    }

    .tenant_name {
        font-size: 14px;
    }
}

@media screen and (max-width: 750px) {
    .building_list li img {
        height: 220px;
    }
}

@media screen and (max-width: 480px) {
    .building_name {
        font-size: 15px;
    }

    .building_company {
        font-size: 12px;
    }

    .building_list li img {
        margin-bottom: 54px;
    }

    .building_list li .building_inner{
        position: absolute;
        bottom: calc(-100% + 54px);
    }

}