@charset "utf-8";
/* CSS Document */
.lead {
    padding: 0;
    text-align: center;
}

.lead h2 {
    border-left: 10px solid #411f09;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding: 2px 10px;
    text-align: left;
}

.status {
    height: 50px;
    margin-bottom: 10px;
    position: relative;
}

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

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

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

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

.status span.pet::after {
	background: url("../images/pet.png") no-repeat center / cover;
	content: "";
	display: block;
    height: 50px;
    width: 42px;
    position: absolute;
    top: 0;
    left: 110px;
}

@media (min-width: 768px){
    .view figure .img{
        width: 360px;
        height: 360px;
        background: #FFF;
    }
    .view figure .img img {
	    display: block;
	    height: 360px;
	    width: 360px;
	    object-fit: contain;
	}
    .view figure .comment p {
	    margin: .5rem 0;
	    text-align: center;
	    font-weight: bold;
	}
}
.view figure img {
    width: 100%;
}

@media (min-width: 768px){
    .view {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

}

.comment {
    margin-bottom: 50px;
}

.link {
    text-align: center;
}

.link a {
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    margin-bottom: 20px;
    padding: 15px 20px;
    width: 85%;
    transition: all .2s ease;
}

@media (min-width: 768px){  
    .link a {
        width: 40%;
    }
}

@media (min-width: 992px){
    .link a {
        width: 30%;
    }
}

.link a:hover {
    background-color: orange;
}

.link .link_1 {
    background-color:brown;
}

.link .link_2 {
    background-color: royalblue;
}

@media (min-width: 768px){
    .link .link_1 {
        margin-right: 15px;
    }
}