:root {
    --primary-color: #4682B4;
    --accent-color: #f1c40f;
    --text-color-dark: #333333;
    --text-color-light: #335359;
    --light-background: #f8f8f8;
    --white-background: #ffffff;
    --shadow: rgba(0,0,0,0.1);
}

body {
    font-family: "Noto Sans JP", sans-serif, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: var(--text-color-dark);
    background-color: var(--light-background);
    line-height: 1.6;
}
.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--white-background);
    box-shadow: 0 0 20px var(--shadow);
    border-radius: 8px;
}
@media (max-width: 768px) { .site-wrapper { padding: 15px; } }

.site-header {
    background-color: var(--primary-color);
    padding: 20px 0;
    margin-bottom: 40px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 10px var(--shadow);
}
.main-nav ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; justify-content: center;
}
.main-nav li { margin: 0 25px; }
@media (max-width: 768px) { .main-nav li { margin: 0 10px; } }

a { color: var(--text-color-light); text-decoration: none; }
a:hover, a:active { color: var(--primary-color); }

.main-nav a {
    color: var(--accent-color);
    padding: 8px 15px;
    transition: all 0.3s ease;
    position: relative;
    font: 1.2em 'Yu Gothic UI Semibold','Yu Gothic UI','メイリオ', Meiryo, sans-serif;
    letter-spacing: 0.1em;
    display: block;
}
.main-nav a:hover { color: #fff; }
.main-nav a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%;
    transform: translateX(-50%); background-color: var(--accent-color); transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

.info-section p {
    padding-left: 1em; margin: 0 0 5px; line-height: 1.2; font-size: 12pt; color: var(--text-color-light);
    font-family: "Yu Gothic Medium", "BIZ UDゴシック Regular", "Hiragino Kaku Gothic ProN";
}
.img { width: calc(33.33% - 7px); height: auto; max-width: 155px; box-shadow: 0 2px 5px var(--shadow); border-radius: 4px; }
.img2 { width: 100%; height: auto; max-width: 300px; margin: 10px auto; display: block; box-shadow: 0 4px 8px var(--shadow); border-radius: 6px; }

.section-title {
    font-size: 1.5em; font-weight: bold; margin: 40px 0 30px; text-align: center; color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
}
.section-title::before, .section-title::after {
    content: ""; flex-grow: 1; max-width: 50px; height: 2px; background-color: var(--primary-color); margin: 0 15px;
}

/* 物件セクション */
.property-section {
    display: flex; flex-direction: column; align-items: center; margin-bottom: 25px;
    box-sizing: border-box; box-shadow: 0 5px 15px var(--shadow); border-radius: 8px; background-color: var(--white-background);
}
.box { width: 100%; }
.box .box-title { font-size: 1.3em; font-weight: bold; font-family: 'Yu Gothic UI Semibold',sans-serif; padding: 10px 0; text-align: center; margin-bottom: 10px; color: var(--primary-color); }
.box .property-detail-link { display: flex; justify-content: center; gap: 10px; margin-top: 15px; padding: 5px; box-sizing: border-box; }
.main-property-image, .image-overlay-container { width: 100%; max-width: 300px; margin: 10px 0; text-align: center; }
a.anchor { display: block; padding-top: 50px; margin-top: -50px; }

/* 物件の特徴 */
.property-features { list-style: none; padding-left: 0; margin: 20px auto 10px; font-size: 0.9em; text-align: left; max-width: 480px; }
.property-features li { margin-top: 5px; line-height: 1.4; position: relative; padding-left: 1.5em; }
.property-features li::before { content: '•'; color: var(--primary-color); font-size: 1.2em; position: absolute; left: 0; top: 0; }

@media (min-width: 768px) {
    .property-section { flex-direction: row; justify-content: center; align-items: flex-start; flex-wrap: wrap; max-width: 850px; margin: 0 auto; padding: 25px; }
    .box { order: 2; margin-left: 30px; flex: 0 1 499px; box-sizing: border-box; }
    .main-property-image, .image-overlay-container { order: 1; flex: 0 0 300px; box-sizing: border-box; }
    .box .box-title, .property-features { text-align: left; padding-left: 5px; margin-left: 0; max-width: none; }
}

/* 成約済み設定 */
.image-overlay-container { position: relative; display: block; }
.rentout-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;
    background-color: rgba(255, 255, 255, 0.7); border-radius: 6px; z-index: 5; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.property-section.is-rented .rentout-overlay { opacity: 1; pointer-events: auto; }
.property-section.is-rented a:not(.anchor) { pointer-events: none; cursor: default; opacity: 0.7; }

.site-footer { background-color: var(--primary-color); padding: 30px 0; margin-top: 50px; border-radius: 0 0 8px 8px; }
@media (max-width: 768px) { .site-footer { padding: 20px 0; } }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; }
.footer-nav li { margin: 0 15px 10px; }
.footer-nav a { color: #fff; }
.footer-nav a:hover { color: var(--accent-color); }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.return-link { text-align: center; margin: 50px 0 40px; }
.return-link a {
    display: inline-block; padding: 10px 20px; background-color: var(--primary-color); color: var(--white-background);
    border-radius: 5px; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease;
}
.return-link a:hover { background-color: #2F6699; transform: translateY(-2px); }
