body {
    margin: 0;
}

/* ↓タイトルバー↓ */
.taitle_bar {
    position: relative;
}

.taitle_bar img {
    width: 100%;
}

/* PC用のスタイル */
@media screen and (min-width: 900px) {
    .title_img_PC {
        display: block; /* MV_text_areaを表示 */
    }

    .title_img_SP {
        display: none; /* mobile_text_areaを非表示 */
    }
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 899px) {
    .title_img_PC {
        display: none; /* MV_text_areaを非表示 */
    }

    .title_img_SP {
        display: block; /* mobile_text_areaを表示 */
    }
}

.title_bar_company {
    position: absolute;
    top: 65%; /* 垂直方向に中央揃え */
    left: 50%; /* 水平方向に中央揃え */
    transform: translate(-50%, -50%); /* 中央に位置調整 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title_en {
    margin-bottom: 5px; /* 適宜マージンを調整 */
    font-family: "Frank Ruhl Libre", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(12px, 0.7vw, 14px);
    letter-spacing: 7px;
    color: #fff;
}

.underline {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(28px, 1.6vw, 32px);
    letter-spacing: 3px;
    display: inline-block;
    position: relative;
    color: #fff;
}

.underline:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px; /* 下線の上下位置調整 */
    display: inline-block;
    width: 36px; /* 下線の幅 */
    height: 3px; /* 下線の太さ */
    transform: translateX(-50%); /* 位置調整 */
    background-color: #fff; /* 下線の色 */
}
/* ↑タイトルバー↑ */

.filter {
    margin: 5% 22% 2%;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
}

.filter-container {
    margin: 0% 22%;
    display: flex;
    flex-wrap: wrap;
}

.filter_group {
    display: flex;
    margin-right: 5%;
}

label {
    margin: 0 5px 0 0 !important;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    white-space: nowrap
}

select {
    margin-right: 5%;
}

.filter-container label {
    display: block;
    margin-top: 10px;
}

/* Property list styling */
.property-list {
    margin: 5% 20%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.property-item {
    margin: 0 10% 50%;
    border: none;
    background-color: #fff;
    text-decoration: none;
    color: inherit;
}

.property_tag {
    position: absolute;
    padding: 4px 8px;
    width: fit-content;
    color: #fff;
    background-color: #1e5e98;
    z-index: 30;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 13px;
    text-align: center;
}

.property-item img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10%;
}

.property-item table {
    width: 100%;
    border-collapse: collapse;
}

.property-item th {
    color: #1e5e98;
    vertical-align: text-top;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    text-align: left;
    white-space: nowrap
}

.property-item td {
    color: #1e1e1e;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

.property-item th, .property-item td {
    border-bottom: 1px dashed #1e5e98;
    padding: 8px;
}

.property-item th {
    background-color: #fff;
}

/* Media query for screen width 1200px and below */
@media (max-width: 1200px) {
    .property-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Media query for screen width 768px and below */
@media (max-width: 768px) {
    .filter {
        margin: 5%;
    }

    .filter_group {
    margin: 3% 0;
    }

    .property-list {
        grid-template-columns: 1fr;
        margin: 10% 0;
    }

    .filter-container {
        flex-direction: column;
        margin: 0% 5%;
    }

    .property-item {
        margin-bottom: 30%;
    }
}