@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    line-height: 1.7;
    color: #2b2b2b;
    background: #fff;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
}

/* ===== Topbar ===== */
.rehp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 22px 24px;
}

.rehp-logo {
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #16324a;
    text-decoration: none;
}

.rehp-logo span {
    color: #b8873b;
}

.rehp-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.rehp-nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.rehp-nav-links a {
    font-size: 14px;
    text-decoration: none;
    color: #333;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.rehp-nav-links a:hover,
.rehp-nav-links a.is-current {
    border-color: #b8873b;
}

.rehp-cta-btn {
    display: inline-block;
    background: #b8873b;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 3px;
    transition: background 0.2s;
    white-space: nowrap;
}

.rehp-cta-btn:hover {
    background: #9c7130;
}

.rehp-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 200;
    position: relative;
}

.rehp-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #16324a;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.rehp-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.rehp-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.rehp-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.rehp-hero {
    position: relative;
    background: linear-gradient(rgba(15, 30, 46, 0.6), rgba(15, 30, 46, 0.72)),
                url('https://images.unsplash.com/photo-1678694160739-2f28b4e1648d?w=1400') center/cover no-repeat;
    color: #fff;
    padding: 110px 24px 130px;
    text-align: center;
}

.rehp-hero h1 {
    font-family: "Noto Serif JP", serif;
    font-size: 44px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.rehp-hero p {
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 40px;
    opacity: 0.92;
}

.rehp-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rehp-btn-primary {
    display: inline-block;
    background: #b8873b;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 3px;
}

.rehp-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.7);
}

/* ===== Stats ===== */
.rehp-stats {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 24px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.rehp-stat-num {
    font-family: "Noto Serif JP", serif;
    font-size: 40px;
    color: #16324a;
    font-weight: 700;
    line-height: 1.2;
}

.rehp-stat-num span {
    font-size: 20px;
    margin-left: 2px;
}

.rehp-stat-label {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

/* ===== Section shared ===== */
.rehp-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}

.rehp-section-title {
    font-family: "Noto Serif JP", serif;
    font-size: 26px;
    color: #16324a;
    text-align: center;
    margin-bottom: 48px;
}

.rehp-bg-tint {
    background: #f7f5f0;
}

/* ===== Concerns tags ===== */
.rehp-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rehp-tags li {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #444;
}

/* ===== Reasons (numbered list, not cards) ===== */
.rehp-reasons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rehp-reason {
    display: flex;
    gap: 28px;
    padding: 32px 0;
    border-top: 1px solid #e2ddd2;
}

.rehp-reason:last-child {
    border-bottom: 1px solid #e2ddd2;
}

.rehp-reason-num {
    font-family: "Noto Serif JP", serif;
    font-size: 32px;
    color: #b8873b;
    flex-shrink: 0;
    width: 60px;
}

.rehp-reason h3 {
    font-size: 18px;
    color: #16324a;
    margin-bottom: 8px;
}

.rehp-reason p {
    font-size: 14px;
    color: #555;
}

/* ===== Voice ===== */
.rehp-voice-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.rehp-voice-item {
    flex: 1;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e2ddd2;
    padding: 28px 24px;
    text-align: left;
}

.rehp-voice-item p {
    font-size: 14px;
    color: #444;
    margin-bottom: 14px;
    font-style: italic;
}

.rehp-voice-item span {
    font-size: 12px;
    color: #999;
}

/* ===== CTA banner ===== */
.rehp-cta-banner {
    background: #16324a;
    color: #fff;
    text-align: center;
    padding: 70px 24px;
}

.rehp-cta-banner h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 26px;
    margin-bottom: 16px;
}

.rehp-cta-banner p {
    opacity: 0.85;
    margin-bottom: 30px;
    font-size: 14px;
}

/* ===== FAQ (uses main.js generic accordion) ===== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #e2ddd2;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 22px 4px;
    font-size: 15px;
    font-family: inherit;
    color: #16324a;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 20px;
    color: #b8873b;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 4px 22px;
    color: #555;
    font-size: 14px;
}

/* ===== Sub-section intro ===== */
.rehp-subhead {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.rehp-subhead h3 {
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    color: #16324a;
    margin-bottom: 12px;
}

.rehp-subhead p {
    font-size: 14px;
    color: #555;
}

.rehp-inline-cta {
    text-align: center;
    margin-top: 36px;
}
.rehp-footer-note {
    background: #f7f5f0;
    text-align: center;
    padding: 20px 24px;
    font-size: 12px;
    color: #888;
}

/* ===== Property list ===== */
.rehp-filter-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.rehp-filter-tabs button {
    background: #fff;
    border: 1px solid #d8d0bf;
    color: #555;
    font-size: 13px;
    font-family: inherit;
    padding: 9px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.rehp-filter-tabs button:hover {
    border-color: #b8873b;
}

.rehp-filter-tabs button.is-active {
    background: #16324a;
    border-color: #16324a;
    color: #fff;
}

.rehp-property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rehp-property-card {
    background: #fff;
    border: 1px solid #e2ddd2;
}

.rehp-property-thumb {
    height: 160px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    position: relative;
}

.rehp-property-type {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.92);
    color: #16324a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}

.rehp-property-body {
    padding: 20px;
}

.rehp-property-body h3 {
    font-size: 15px;
    color: #16324a;
    margin-bottom: 10px;
}

.rehp-property-price {
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    color: #b8873b;
    font-weight: 700;
    margin-bottom: 10px;
}

.rehp-property-meta {
    font-size: 12px;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

@media (max-width: 760px) {
    .rehp-property-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) and (min-width: 761px) {
    .rehp-property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Contact form ===== */
.rehp-form {
    max-width: 640px;
    margin: 0 auto;
}

.rehp-form-row {
    margin-bottom: 22px;
}

.rehp-form-row label {
    display: block;
    font-size: 13px;
    color: #16324a;
    font-weight: 700;
    margin-bottom: 8px;
}

.rehp-form-row .rehp-required {
    color: #b8873b;
    font-weight: 700;
    margin-left: 6px;
    font-size: 11px;
}

.rehp-form-row input,
.rehp-form-row select,
.rehp-form-row textarea {
    width: 100%;
    border: 1px solid #d8d0bf;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: #2b2b2b;
    background: #fff;
}

.rehp-form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.rehp-form-cols {
    display: flex;
    gap: 20px;
}

.rehp-form-cols .rehp-form-row {
    flex: 1;
}

.rehp-form-submit {
    text-align: center;
    margin-top: 8px;
}

.rehp-form-note {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .rehp-form-cols {
        flex-direction: column;
        gap: 0;
    }
}

/* ===== Contact info block ===== */
.rehp-contact-info {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.rehp-contact-phone {
    flex: 1;
    min-width: 220px;
}

.rehp-contact-phone .rehp-tel {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
    color: #16324a;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin: 10px 0;
}

.rehp-hours-table {
    flex: 1;
    min-width: 220px;
    border-collapse: collapse;
    font-size: 13px;
}

.rehp-hours-table th,
.rehp-hours-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #e2ddd2;
    font-weight: 400;
    color: #444;
}

.rehp-hours-table th {
    color: #777;
    width: 90px;
}

/* ===== Map placeholder ===== */
.rehp-map-placeholder {
    max-width: 900px;
    margin: 0 auto;
    height: 280px;
    background: #eceae4;
    border: 1px dashed #c9c2b0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
    .rehp-nav-links {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        background: rgba(22, 50, 74, 0.97);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 150;
    }

    .rehp-nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .rehp-nav-links li {
        list-style: none;
    }

    .rehp-nav-links a {
        color: #fff;
        font-size: 20px;
    }

    .rehp-menu-toggle {
        display: flex;
    }

    .rehp-hero h1 {
        font-size: 30px;
    }

    .rehp-hero {
        padding: 70px 20px 90px;
    }

    .rehp-stats {
        gap: 36px;
    }

    .rehp-reason {
        flex-direction: column;
        gap: 8px;
    }

    .rehp-reason-num {
        width: auto;
    }

    .rehp-info-table th {
        width: 110px;
        font-size: 13px;
    }

    .rehp-info-table th,
    .rehp-info-table td {
        padding: 14px 12px;
    }
}

/* ===== Company info table ===== */
.rehp-info-table {
    width: 100%;
    border-collapse: collapse;
}

.rehp-info-table th,
.rehp-info-table td {
    text-align: left;
    padding: 18px 20px;
    border-top: 1px solid #e2ddd2;
    font-size: 14px;
    vertical-align: top;
}

.rehp-info-table tr:last-child th,
.rehp-info-table tr:last-child td {
    border-bottom: 1px solid #e2ddd2;
}

.rehp-info-table th {
    width: 160px;
    color: #777;
    font-weight: 500;
}

.rehp-info-table td {
    color: #2b2b2b;
}

/* ===== Greeting ===== */
.rehp-greeting {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.rehp-greeting-photo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.rehp-greeting-text h3 {
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    color: #16324a;
    margin-bottom: 14px;
}

.rehp-greeting-text p {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
}

.rehp-greeting-name {
    font-size: 13px;
    color: #777;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .rehp-greeting {
        flex-direction: column;
        align-items: center;
        text-align: start;
    }
}

/* ===== History timeline ===== */
.rehp-history {
    position: relative;
    padding-left: 100px;
}

.rehp-history::before {
    content: '';
    position: absolute;
    left: 81px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: #d8d0bf;
}

.rehp-history-item {
    position: relative;
    padding-bottom: 36px;
}

.rehp-history-item:last-child {
    padding-bottom: 0;
}

.rehp-history-year {
    position: absolute;
    left: -100px;
    top: 0;
    width: 70px;
    text-align: right;
    font-family: "Noto Serif JP", serif;
    color: #b8873b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.rehp-history-item::after {
    content: '';
    position: absolute;
    left: -23px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16324a;
}

.rehp-history-item p {
    font-size: 14px;
    color: #333;
}

@media (max-width: 600px) {
    .rehp-history {
        padding-left: 26px;
    }

    .rehp-history::before {
        left: 7px;
    }

    .rehp-history-year {
        position: static;
        display: block;
        text-align: left;
        margin-bottom: 4px;
    }

}