/*------------------------------------
 物件情報
-------------------------------------*/
.real-estate {
    font-family: sans-serif;
    margin: 0;
    margin-bottom: 50px;
    padding: 20px;
}

.real-estate h2 {
    text-align: center;
    margin-bottom: 20px;
}
    @media screen and (max-width: 414px) {
        .real-estate h2 {
            text-align: left;
        }
    }

.property-list-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.property-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* overflow: hidden; */
    flex: 1 1 300px; /* デスクトップで300px以上を維持しつつ均等に配置 */
    max-width: 380px;
    padding: 20px;
}

.property-card h2 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.property-image {
    width: 100%;
    height: auto;
    margin: 10px 0;
}

.property-details {
    text-align: left;
}

.property-details p {
    margin: 5px 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.property-details p:nth-child(1) {
    font-size: 1.5rem;
    color: #555;
    font-weight: 500;
}


.property-details p:nth-child(2) {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e53935; /* 赤色 */
    margin: 15px 0;
}

.property-details p:nth-child(3) {
    font-size: 1.15rem;
}

.property-details .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    /* margin: 15px 0; */
}

.details-button {
    display: inline-block;
    background-color: #4CAF50; /* 緑色 */
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    width: 80%;
}

/* ボタンのホバー効果 */
.details-button:hover {
    background-color: #3C8D40;
    opacity: 1 !important;
}

/* 注記 */
.note {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.5;
}
    @media screen and (max-width: 414px) {
        .note {
            text-align: left;
        }
    }


/* レスポンシブデザイン - スマートフォン表示 */
@media screen and (max-width: 768px) {
    .property-list-container {
        flex-direction: column; /* 縦に積み重ねる */
        align-items: center; /* 中央寄せ */
        gap: 30px;
    }

    .property-card {
        width: 90%;
        max-width: none;
    }
}


/*---------------------------
 アジャスト
---------------------------*/
.mt20 {
    margin-top: 20px !important;
}