@charset "utf-8";
/* CSS Document */

/*メインビジュアル------------------------------------*/
.main_top {
    margin-top: 60px;
    text-align: center;
}

@media (min-width: 576px){
	.main_top {
		background: url("../images/main_top_2.png") repeat-x bottom 50px center / 60%, url("../images/main_top_3.png") no-repeat center / auto 100%;
	}
}

@media (min-width: 769px){
    .main_top {
        margin-top: 110px;
    }
}

.main_top img {
    width: 100%;
    max-width: 1200px;
}

.main_top .tab_img {
	display: none;
}

@media (min-width: 576px) {
	.main_top .tab_img {
		display: inline;
	}
	.main_top .sp_img {
		display: none;
	}
}

.catch h1,
.catch p{
    display: none;
}

article {
    padding: 50px 0;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/*お知らせ-----------------------------------*/
.news section {
    margin-bottom: 0;
}

.news dl{
    border-top: 1px solid #bbb;
}
.news dt {
    color: #4d4d4d;
	font-size: .9rem;
    padding: 5px 0;
}

.news dd {
    border-bottom: 1px solid #bbb;
    font-size: .9rem;
    margin-bottom: 0;
    padding: 0 0 10px;
}

.news a {
    color: #4d4d4d;
    font-weight: bold;
    transition: all .2s ease;
}

.news a:hover {
    color: #d85d24;
    text-decoration: underline;
}

@media (min-width: 768px){
    .news dt {
        clear: left;
        float: left;
        padding: 10px;
        width:20%;
    }
    
    .news dd {   
        padding: 10px 10px 10px 20%;
    }
}

@media (min-width: 992px){
    .news dl{
        margin: 0 auto;
        width: 70%;
    }
}

/*最新の空室情報-----------------------------------*/
.info a {
	background-color: #3DBF3F;
	border-radius: 5px;
	color: #FFF;
	display: block;
	font-size: .8rem;
	padding: 10px 15px;
	margin: 50px auto 0;
	text-align: center;
	text-decoration: none;
	width: 90%;
}

@media (min-width: 576px){
	.info a {
		margin: 20px auto;
		width: 300px;
	}
}

.info a:hover {
    background-color: orange;
    color: #fff;
	text-decoration: none;
}

.info span {
	font-size: 1.2rem;
}



/*物件情報--------------------------------------*/
.picup h2+p {
    text-align: center;
}


.topics {
    display:-webkit-box;
    display:-ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: start;
	align-content: flex-start;
}

.topic {
    background: #fff;
    margin-bottom: 20px;
    margin-left: 4%;
    position: relative;
    width: 48%;
}

@media (min-width: 768px){
    .topic {
        width: 32%;
    }
}

@media (min-width: 992px){
    .topic {
        width: 24%;
    }
}

.topic:nth-of-type(odd) {
    margin-left: 0;
}

@media (min-width: 768px){
    .topic {
        margin-left: 2%;
    }

    .topic:nth-of-type(odd) {
        margin-left: 2%;
    }

    .topic:first-child,
    .topic:nth-child(3n+1) {
        margin-left: 0;
    }
}

@media (min-width: 992px){
    .topic {
        margin-left: 1.3%;
    }

    .topic:nth-of-type(odd) {
        margin-left: 1.3%;
    }

    .topic:nth-child(3n+1) {
        margin-left: 1.3%;
    }

    .topic:first-child,
    .topic:nth-child(4n+1) {
        margin-left: 0;
    }
}


.topic a {
    transition: all .2s ease;
}

.topic a:hover {
    opacity: .8;
}

.topic img {
    height: 202.5px;
    width: 270px;
	object-fit: cover;
}

.topic_detail {
    color: #333;
    margin-bottom: 0;
    padding: 10px 5px;
    width: 100%;
}

.topic_detail p {
    color: #555;
    font-size: .9rem;
    line-height: 1.3;
    margin-bottom: 0;
    transition: all .2s ease;
}

.topic a {
	display: block;
	position: relative;
}

.topic span.full::after,
.topic span.vacant::after,
.topic span.wanted::after {
	color: #fff;
	display: block;
    font-size: .9rem;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 50px;
    position: absolute;
    top: 0;
    left: 0;
}

.topic span.full::after {
	background-color: navy;
	content: "満室"
}

.topic span.vacant::after {
	background-color: orangered;
	content: "募集中"
}

.topic span.wanted::after {
	background-color: orangered;
	content: "募集中"
}

.topic span.pet::after {
	background: url("../images/pet.png") no-repeat center / cover;
	content: "";
	display: block;
    height: 60px;
    width: 52px;
    position: absolute;
    top: 0;
    right: 0;
}

