/* =========================================
   Area Page Styles
   ========================================= */

.page-header {
    height: auto;
    min-height: 250px;
    background: linear-gradient(rgba(11, 22, 42, 0.7), rgba(11, 22, 42, 0.7)), url('../img/top_mv.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-bottom: 40px;
}

.page-title-area {
    padding-top: 100px;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.page-title .sub {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--accent-gold);
    margin-left: 15px;
}

.area-page-main {
    padding: 80px 0 100px;
    background-color: #f9f9f9;
}

.area-intro-text {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-gray);
    line-height: 2;
    font-size: 1.05rem;
}

.area-section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #e1dbce;
    padding-bottom: 15px;
}

.area-section-title i {
    color: var(--accent-gold);
}

/* Map Section */
.area-map-section {
    margin-bottom: 60px;
    background: #fff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.area-map-section .area-section-title {
    border-bottom: none;
    padding-top: 40px;
    padding-bottom: 30px;
    margin-bottom: 0px;
    justify-content: center;
}

.large-map-container {
    width: 100%;
    height: 600px;
    /* Large map height */
    overflow: hidden;
}

/* Property List Section */
.area-list-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.property-table-wrap {
    overflow-x: auto;
    /* For scroll on mobile */
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e1dbce;
    border-radius: 8px;
}

.property-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.property-table th,
.property-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.property-table th {
    background-color: var(--primary-dark);
    color: #fff;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
}

.property-table tr:last-child td {
    border-bottom: none;
}

.property-table tr:hover td {
    background-color: #faf8f5;
}

/* Column Widths */
.col-prefecture {
    width: 120px;
}

.col-city {
    width: 150px;
    font-weight: bold;
}

.col-name {
    width: 30%;
}

.col-address {
    width: auto;
    color: #777;
    font-size: 0.95em;
}

/* Pref Badges */
.pref-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    color: #fff;
}

.pref-osaka {
    background-color: #3b5998;
}

.pref-hyogo {
    background-color: #0084b4;
}

.pref-kyoto {
    background-color: #55acee;
}

.pref-shiga {
    background-color: #55c425;
}

.prop-name {
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 1.05em;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .large-map-container {
        height: 350px;
    }

    .area-map-section,
    .area-list-section {
        padding: 20px 15px;
    }
}