/*──────────────────────────────
  Global & Base
──────────────────────────────*/
html, body {
    font-family: "小塚ゴシック Pr6N", sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f8f8f8;
}
* {
    box-sizing: border-box;
}

/*──────────────────────────────
  Header
──────────────────────────────*/
header {
    background-color: #ffffff;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-top: solid 10px #c2d169;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-section {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.logo-section p {
    font-size: 14px;
    color: #65717c;
    margin-bottom: 5px;
}
.logo-section img {
    max-width: 250px;
}
.pc-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

/*──────────────────────────────
  Contact Buttons (共通)
──────────────────────────────*/
.call-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.consultation-text {
    font-size: 14px;
    color: #c2d169;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}
.detail-box .call-block {
    background-color: #c2d169;
    border-radius: 5px;
    padding: 10px 15px;
}
.detail-box .consultation-text {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 0;
} 
/* call-block と mail-btn の高さ・横幅を同一に */
.detail-box .call-block,
.detail-box .mail-btn {
    width: 280px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 5px;
}
.detail-box .phone-number {
    color: #ffffff;
    font-size: 20px;
} 
.detail-box .phone-icon {
    width: 18px;
} 
.phone-icon {
    width: 21px;
    height: auto;
}
.phone-number {
    text-decoration: none;
    font-weight: bold;
    font-size: 25px;
    color: #c2d169;
    line-height: 1.2;
}
.mail-btn {
    background-color: #ffa500;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}
.mail-btn img {
    width: 20px;
    height: auto;
}

/*──────────────────────────────
  Mobile Menu
──────────────────────────────*/
.menu-icon {
    font-size: 50px;
    color: #65717c;
    cursor: pointer;
    display: none;
}
nav {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    transition: right 0.3s ease;
    z-index: 2000;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}
nav.open {
    right: 0;
}
nav .menu-close {
    font-size: 30px;
    cursor: pointer;
    text-align: right;
    margin-bottom: 20px;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
nav li {
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .pc-nav {
        display: none;
    }
    .menu-icon {
        display: block;
    }
}

/*──────────────────────────────
  Headline & Main Visual
──────────────────────────────*/
.headline {
    margin-top: 116.56px;
    background: #c2d169;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    color: #333;
    text-align: center;
}
.headline h1 {
    color: #65717c;
    font-size: 23px;
    font-weight: 400;
}
.headline h1 br {
    display: none;
}
.main-visual {
    background: url("../img/asset-2.png") no-repeat center/cover;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}
.main-visual h2 {
    font-size: 28px;
    padding: 10px 50px;
    background: #65717c;
    border: 2px solid #c2d169;
    font-weight: 500;
}

/*──────────────────────────────
  Property List & Detail
──────────────────────────────*/
.property-list {
    padding: 50px 0;
    background-color: #f0f0f0;
}
.property {
    display: flex;
    align-items: center;
    background: white;
    margin: 15px auto 40px;
    padding: 15px;
    border: 1px solid #ddd;
    width: 750px;
    position: relative;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.property:last-child {
  margin-bottom: 0;
}

.property-info {
    text-align: left;
    width: 100%;
}
.property-detail {
    padding: 5px 15px;
    background-color: #fff;
    position: relative;
}

/* Detail Title */
.detail-title {
    margin-bottom: 20px;
    position: relative;
}
.detail-no {
    color: #c2d169;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 0;
}
.detail-heading {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    position: relative;
    padding-left: 35px;
}
/* 二重の四角（detail-heading左側） */
.detail-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #c2d169;
}
.detail-heading::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #65717c;
}
.detail-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffa500;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 0;
}
.sold .detail-tag {
    background-color: #ff0000;
}

/* Detail Map */
.detail-map {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}
.detail-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}
/* グレイカバーと中央テキスト */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 50px;
    background: #65717c;
    border: 2px solid #c2d169;
    font-weight: 500;
}

/* Detail Box & Specs */
.detail-box {
    padding: 15px 0;
}
.spec-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.spec-group dl {
    width: 48%;
    display: flex;
    justify-content: space-between;
    margin: 0;
    height: 30px;
    border-bottom: 2px solid #f1f1f1;
    margin-bottom: 5px;
}
.spec-group dt {
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
    color: #666666;
}
.spec-group dd {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    text-align: right;
    color: #666666;
}
.spec-group dd span {
    color: #c2d169;
    font-size: 16px;
    font-weight: bold;
    margin-right: 4px;
}

/* Detail Contact */
.contact-title {
    text-align: center;
}
.contact-title h3 {
    position: relative;
    display: inline-block;
    z-index: 1;
    font-size: 20px;
    color: #65717c;
}
.contact-title h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 10px;
    background-color: #c1d268;
    z-index: -1;
}
.detail-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 20px;
    padding: 0 10px;
    justify-content: center;
}

/* Inquiry Button inside Detail */
.detail-inquiry {
    margin-top: 20px;
    text-align: center;
    padding: 0 10px;
}
.detail-inquiry .inquiry-btn {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.notification-box {
    padding: 10px;
    background: #ffccff;
    border: 2px solid #454545;
    max-width: 400px;
    margin: auto;
    text-align: center;
}

.notification-box p { 
    color: #ff0000;
    font-weight: 600;
}
/*──────────────────────────────
  Footer
──────────────────────────────*/
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-upper {
    background-color: #ffffff;
    border-top: solid 10px #c2d169;
    padding: 15px 20px;
}
.footer-upper .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-middle {
    background-color: #c2d169;
    color: #ffffff;
    text-align: left;
    padding: 20px;
}
.footer-middle .footer-container p {
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
}
.footer-lower {
    background-color: #65717c;
    color: #ffffff;
    text-align: center;
    padding: 5px 20px;
}
.footer-lower .footer-container p {
    margin: 0;
    font-size: 12px;
}

/*──────────────────────────────
  Responsive (Mobile)
──────────────────────────────*/
@media screen and (max-width: 768px) {
    .detail-title .detail-heading {
        font-size: 18px;
    }
    .detail-contact {
        gap: 10px;
    }
    .phone-number {
        font-size: 18px;
    }
    .mail-btn {
        font-size: 13px;
        padding: 6px 10px;
    }
    .headline h1 {
        font-size: 18px;
        font-weight: 600;
    }
    .headline h1 br {
        display: block;
    }
    .spec-group dl {
        width: 100%;
        margin-bottom: 8px;
    }
    .spec-group dt,
    .spec-group dd {
        font-size: 13px;
    }
    .detail-map iframe {
        height: 200px;
    }
    .detail-inquiry .inquiry-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
    .property {
        flex-direction: column;
        text-align: center;
        width: 95%;
    }
    .property-list {
        padding: 10px 0;
    }
    .property-detail {
        padding: 0;
    }
    .footer-container,
    .footer-lower {
        padding: 0;
    }
}
