.recommended-property {
    padding: 0 20px;
}

.recommended-property__category {
    width: 1295px;
    max-width: 100%;
    margin: 58px auto 0;
}

.recommended-property__midashi {
    font-size: .36rem;
    text-align: center;
    color: var(--color-main);
    margin-bottom: 65px;
    line-height: 1;
	font-weight: 600;
}

.recommended-property__category--container {
    display: flex;
    margin-bottom: 90px;
    flex-wrap: wrap;
	gap:12px;
}

.category-btn {
    margin-bottom: 0;
    font-size: .21rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    padding: 18px 0;
	flex: 0 0 calc((100% - 12px*3) / 4);
    border-radius: 12px;
    position: relative;
    color: #000;
    display: block;
    border: solid 1px var(--color-main);
    position: relative;
}

.recommended-property__category--container{
  display:flex;
  flex-wrap:wrap;
  gap:32px;
	justify-content: center;
}

.recommended-property__category--container.is-cols-4 .category-btn{
  flex: 0 0 calc((100% - 32px*3) / 4);
}

.recommended-property__category--container.is-cols-3 .category-btn{
  flex: 0 0 calc((100% - 32px*2) / 3);
}

.recommended-property__category--container.is-cols-5 .category-btn{
  flex: 0 0 calc((100% - 32px*4) / 5);
}

.news-main .category-btn{
    width: 18.1%;
}

.category-btn::before{
	content:"";
	position: absolute;
	left:5px;
	top:5px;
	width:100%;
	height:100%;
	background-color:#F2F2F2;
	z-index: -1;
	border-radius: 12px;
}

.category-btn:hover::before {
    transition: all .3s;
    background-color: #E1F5EC;
    opacity: 1;
}

.category-active.category-btn::before {
    background-color: #E1F5EC;
	opacity: 1;
}

.category-btn:hover{
	opacity: 1;
}

.recommended-property__text {
    font-size: .21rem;
    text-align: center;
    margin-bottom: 59px;
    letter-spacing: 0.06em;
	font-weight: 600;
}

.recommended-property__text span {
    color: var(--color-main);
}

.top-property__container::after{
	content:"";
	width: 30%;
	display: block;
}


@media screen and (max-width:800px) {
	.recommended-property__midashi {
		font-size: .24rem;
		margin-bottom: 23px;
		line-height: 1.8;
	}
	.recommended-property__category--container {
		gap: 4%;
		margin-bottom: 40px;
	}
	
	.news-main .category-btn,
    .category-btn {
        flex: 0 0 48%;
        font-size: .18rem;
        padding: 10px 0;
        margin-bottom: 14px;
    }
	
	.news__category--container.is-cols-3 .category-btn,
	.news__category--container.is-cols-4 .category-btn,
	.news__category--container.is-cols-5 .category-btn,
	.recommended-property__category--container.is-cols-3 .category-btn,
	.recommended-property__category--container.is-cols-4 .category-btn,
	.recommended-property__category--container.is-cols-5 .category-btn{
		flex: 0 0 48%;
	}
	
	.news__category--container.is-odd .category-all,
	.recommended-property__category--container.is-odd .category-all{
		flex: 0 0 100%;
	}
	/*
    .news-main .category-btn.category-all {
        width: 100%;
        order: 6;
    }
	*/
	.news-main .news__category--container {
        gap: 0;
        justify-content: space-between;
        margin-bottom: 40px;
    }

	.recommended-property__text {
		font-size: .18rem;
		margin-bottom: 23px;
	}
}