: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;
}
.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;
}
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-size: 1.2em;
    font-family: '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-top: 0;
    margin-bottom: 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;
}
.box .property-detail-link {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 5px;
    box-sizing: border-box;
}
.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);
}
.main-property-image {
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    text-align: center;
}
a.anchor {
    display: block;
    padding-top: 50px;
    margin-top: -50px;
}
.section-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}
.section-title img {
    vertical-align: middle;
    margin: 0 10px;
}
.property-features {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 10px;
    font-size: 0.9em;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.property-features li {
    margin-top: 5px;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5em;
}
.property-features li img {
    display: none;
}
.property-features li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}
.image-overlay-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    display: block;
    text-align: center;
}
.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;
}
.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;
}
@media (max-width: 768px) {
    .site-wrapper {
        padding: 15px;
    }
    .main-nav li {
        margin: 0 10px;
    }
    .site-footer {
        padding: 20px 0;
    }
}
@media (min-width: 768px) {
    .property-section {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
        padding: 25px;
    }
   .box {
        order: 2;
        margin-left: 30px;
        flex-basis: 499px;
        flex-grow: 0;
        flex-shrink: 1;
        box-sizing: border-box;
        padding: 0;
    }
    .main-property-image,
    .image-overlay-container {
        order: 1;
        margin-right: 0;
        flex-basis: 300px;
        flex-grow: 0;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    .box .box-title {
        text-align: left;
        padding-left: 5px;
    }
    .property-features {
        text-align: left;
        margin-left: 0;
        max-width: none;
        padding-left: 5px;
    }
}
.return-link {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}
.return-link a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-background);
    text-decoration: none;
    border: none;
    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);
}