/* =============================================
   Pattern 24: Real Estate
   AXIS — 不動産 — 品質向上版
   ★ 独自構成: 統計ヒーロー, スペック物件カード, オーバーラップAbout
   ============================================= */

:root {
    --c-navy: #0F172A;
    --c-dark: #1E293B;
    --c-gold: #D4A853;
    --c-gold-light: #F5E6C8;
    --c-cream: #FAF8F5;
    --c-white: #ffffff;
    --c-text: #334155;
    --c-muted: #64748B;
    --f-display: "DM Sans", sans-serif;
    --f-body: "Noto Sans JP", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-text);
    background: var(--c-white);
    line-height: 1.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== ヘッダー（トップ固定 + スクロール変化） ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 40px;
    transition: all 0.4s;
    background: transparent;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--c-gold);
    display: block;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.logo-mark--sm {
    width: 24px;
    height: 24px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--f-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-white);
    letter-spacing: 0.15em;
}

.header.is-scrolled .logo-name {
    color: var(--c-navy);
}

.logo-sub {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
}

.header.is-scrolled .logo-sub {
    color: var(--c-muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
    font-weight: 500;
}

.header.is-scrolled .nav a {
    color: var(--c-text);
}

.nav a:hover {
    color: var(--c-gold);
}

.nav-cta {
    background: var(--c-gold);
    color: var(--c-white) !important;
    padding: 8px 22px;
    border-radius: 4px;
}

.nav-cta:hover {
    background: #c49843;
}

/* ===== ヒーロー ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 3.2rem;
    color: var(--c-white);
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 35px;
}

/* ヒーロー統計 */
.hero-stats {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    z-index: 2;
}

.hero-stat {
    padding: 35px 45px;
    background: rgba(15, 23, 42, 0.85);
    border-left: 1px solid rgba(212, 168, 83, 0.2);
    backdrop-filter: blur(10px);
}

.hero-stat-val {
    display: block;
    font-family: var(--f-display);
    font-size: 2rem;
    color: var(--c-gold);
    font-weight: 700;
}

.hero-stat-lbl {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

/* ===== ボタン ===== */
.btn-gold {
    display: inline-block;
    padding: 14px 35px;
    background: var(--c-gold);
    color: var(--c-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

.btn-gold:hover {
    background: #c49843;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.3);
}

.btn-gold--lg {
    padding: 18px 45px;
    font-size: 1rem;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--c-gold);
    color: var(--c-gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--c-gold);
    color: var(--c-white);
}

/* ===== タグ ===== */
.tag {
    display: inline-block;
    font-family: var(--f-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--c-gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.tag--light {
    color: var(--c-gold-light);
}

.section-head {
    margin-bottom: 50px;
}

.section-head h2 {
    font-size: 2rem;
    font-weight: 700;
}

.title-en {
    display: block;
    font-size: 1.1rem;
    color: var(--c-gold);
    letter-spacing: 0.15em;
    font-family: var(--f-display);
    margin-top: 5px;
}

/* ===== セクション ===== */
.section {
    padding: 100px 0;
}

.section--cream {
    background: var(--c-cream);
}

/* ===== 物件カード（スペック表付き） ===== */
.prop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.prop-card {
    background: var(--c-white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.prop-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.prop-card--featured {
    border-color: var(--c-gold);
}

.prop-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.prop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.prop-card:hover .prop-img img {
    transform: scale(1.05);
}

.prop-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #EF4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 3px;
    letter-spacing: 0.1em;
}

.prop-badge--gold {
    background: var(--c-gold);
}

.prop-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--c-navy);
    color: white;
    font-size: 0.6rem;
    padding: 4px 10px;
    border-radius: 3px;
}

.prop-body {
    padding: 20px;
}

.prop-body h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.prop-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 15px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 6px;
    font-size: 0.8rem;
}

.spec-label {
    color: var(--c-muted);
    margin-right: 8px;
}

.prop-price {
    font-family: var(--f-display);
    font-size: 1.5rem;
    color: var(--c-navy);
    font-weight: 700;
    margin-bottom: 12px;
}

.prop-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--c-muted);
}

/* ===== 写真帯 ===== */
.photo-band {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25);
}

.band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
}

.band-stats {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.band-stat {
    text-align: center;
}

.band-stat-val {
    display: block;
    font-family: var(--f-display);
    font-size: 2.5rem;
    color: var(--c-gold);
    font-weight: 700;
}

.band-stat-lbl {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.15em;
}

/* ===== About（オーバーラップ） ===== */
.about-overlap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    position: relative;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
}

.about-card {
    background: var(--c-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-left: -60px;
    position: relative;
    z-index: 2;
}

.about-card h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-card p {
    color: var(--c-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 2;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.feat-icon {
    width: 24px;
    height: 24px;
    background: rgba(212, 168, 83, 0.15);
    color: var(--c-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ===== サービス（横一列カード + 左ボーダー） ===== */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.svc-card {
    display: grid;
    grid-template-columns: 60px 1fr 200px;
    gap: 25px;
    align-items: center;
    padding: 30px;
    background: var(--c-white);
    border-left: 3px solid var(--c-gold);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.svc-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.svc-num {
    font-family: var(--f-display);
    font-size: 2rem;
    color: var(--c-gold);
    font-weight: 700;
}

.svc-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.svc-body p {
    font-size: 0.85rem;
    color: var(--c-muted);
}

.svc-photo {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--c-white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--c-gold);
}

.faq-q {
    font-family: var(--f-display);
    font-size: 1.1rem;
    color: var(--c-navy);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-q::before {
    content: 'Q.';
    color: var(--c-gold);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-a {
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-a::before {
    content: 'A.';
    color: var(--c-navy);
    font-family: var(--f-display);
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.8;
}

/* ===== CTA ===== */
.cta-section {
    background: var(--c-navy);
    color: var(--c-white);
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.cta-info {
    text-align: center;
}

.cta-hours {
    margin-top: 20px;
}

.cta-hours p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== フッター ===== */
.footer {
    padding: 40px 30px;
    border-top: 1px solid #E2E8F0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-name {
    font-family: var(--f-display);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--c-navy);
    font-weight: 700;
}

.footer p {
    font-size: 0.7rem;
    color: var(--c-muted);
}

/* ===== アニメーション ===== */
.anim {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim.anim-up {
    transform: translateY(40px);
}

.anim.anim-left {
    transform: translateX(-40px);
}

.anim.anim-right {
    transform: translateX(40px);
}

.anim.is-visible {
    opacity: 1;
    transform: translate(0);
}

.anim-d1 {
    transition-delay: 0.15s;
}

.anim-d2 {
    transition-delay: 0.3s;
}

.anim-d3 {
    transition-delay: 0.45s;
}

.anim-hero {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-hero.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 25px;
    }

    .hero-stats {
        position: relative;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        padding: 20px 25px;
    }

    .prop-grid {
        grid-template-columns: 1fr;
    }

    .about-overlap {
        grid-template-columns: 1fr;
    }

    .about-card {
        margin-left: 0;
        margin-top: -30px;
    }

    .about-img img {
        height: 280px;
    }

    .svc-card {
        grid-template-columns: 50px 1fr;
    }

    .svc-photo {
        display: none;
    }

    .cta-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .band-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}