/* ==========================================================================
   LUXE GLOBAL REALTY — hp02 | Trust-Focused Redesign
   Ocean Navy × Warm Amber | Open, Trustworthy, Professional
========================================================================== */

:root {
    --navy:        #0c2233;
    --navy-mid:    #163347;
    --navy-light:  #1e4060;
    --slate:       #374151;
    --gold:        #b8922a;
    --gold-light:  #d4a843;
    --gold-dark:   #8f6e1a;
    --white:       #ffffff;
    --off-white:   #f7f4ef;
    --surface:     #edeae3;
    --text-main:   #1a2332;
    --text-muted:  #6b7280;
    --border-gold: rgba(184, 146, 42, 0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--white); color: #333;
    line-height: 2.1; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 120px 0; }
.text-center { text-align: center; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* PC/SP Display Controls */
@media (max-width: 768px) {
    .pc-only { display: none !important; }
}
@media (min-width: 769px) {
    .sp-only { display: none !important; }
}

/* ===== HEADER ===== */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 22px 0; transition: all 0.4s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px);
    padding: 14px 0; border-bottom: 1px solid #e8e4dc;
    box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}
.site-header.scrolled .logo-en { color: var(--navy); }
.site-header.scrolled .logo-ja { color: var(--gold-dark); }
.site-header.scrolled .header-nav a { color: var(--slate); }
.site-header.scrolled .header-nav a:hover { color: var(--gold); }
.site-header.scrolled .hamburger span { background: var(--navy); }
.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 4px; }
.logo-en { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); letter-spacing: 3px; line-height: 1; }
.logo-ja { font-size: 0.6rem; color: var(--gold); letter-spacing: 2px; }
.header-nav { display: none; align-items: center; gap: 28px; }
@media (min-width: 1100px) { .header-nav { display: flex; } }
.header-nav a { color: rgba(255,255,255,0.8); font-size: 0.82rem; letter-spacing: 1px; transition: color 0.3s; }
.header-nav a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 10px 22px; border-radius: 2px; font-weight: 700 !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: white; transition: all 0.3s; }
@media (min-width: 1100px) { .hamburger { display: none; } }

/* Mobile Menu */
.mobile-menu { position: fixed; inset: 0; background: var(--navy); z-index: 1001; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-close { position: absolute; top: 24px; right: 28px; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-link { color: rgba(255,255,255,0.85); font-family: 'Noto Serif JP', serif; font-size: 1.3rem; letter-spacing: 2px; transition: color 0.3s; }
.mobile-link:hover { color: var(--gold); }
.mobile-cta { background: var(--gold); color: var(--navy) !important; padding: 16px 40px; border-radius: 2px; font-weight: 700; font-size: 1rem !important; margin-top: 12px; }

/* ===== FLOATING CTA — hp02: removed for trust ===== */
.floating-cta { display: none; }

/* ===== HERO ===== */
.hero {
    position: relative; width: 100%; min-height: 100vh;
    display: flex; align-items: center; justify-content: flex-start; overflow: hidden;
    background-color: var(--navy);
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-grid { display: none; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(135deg, rgba(8,28,48,0.78) 0%, rgba(8,28,48,0.45) 55%, rgba(8,28,48,0.20) 100%);
}
.hero-content {
    position: relative; z-index: 3;
    text-align: left; padding: 0 24px; max-width: 860px;
    width: 100%; margin-left: 0;
}
@media (min-width: 1100px) {
    .hero-content { padding: 0 80px; }
}
/* タブレット〜中間幅: ヘッダー分のpadding-topを確保し、上詰め配置に変更 */
@media (max-width: 1099px) {
    .hero { align-items: flex-start; }
    .hero-content { padding: 100px 24px 100px; }
    .hero-lead { margin-bottom: 32px; }
}
.hero-eyebrow {
    font-size: 0.8rem; letter-spacing: 4px; color: var(--gold-light);
    margin-bottom: 20px; font-weight: 500;
    border-left: 3px solid var(--gold); padding-left: 14px;
    animation: heroFadeUp 0.8s ease 0.1s both;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-eyebrow.gold { color: #e8c96a; }
.hero-deco-line {
    width: 0; height: 1px; background: var(--gold);
    margin-bottom: 28px;
    animation: heroLineGrow 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}
@keyframes heroLineGrow {
    from { width: 0; opacity: 0; }
    to { width: 56px; opacity: 1; }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    font-weight: 600; color: white; line-height: 1.3; margin-bottom: 28px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.hero-lead {
    color: rgba(255,255,255,0.85);
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    line-height: 2.1; margin-bottom: 52px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    animation: heroFadeUp 0.8s ease 0.6s both;
}
.hero-actions {
    display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
    animation: heroFadeUp 0.8s ease 0.8s both;
}
@media (min-width: 600px) { .hero-actions { flex-direction: row; } }
.btn-primary { display: inline-block; background: var(--gold); color: var(--navy); padding: 18px 36px; font-size: 0.92rem; font-weight: 700; letter-spacing: 1px; border-radius: 2px; transition: all 0.3s; white-space: nowrap; max-width: 400px; width: 100%; text-align: center; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,168,76,0.4); }
.btn-outline-white { display: inline-block; border: 1px solid rgba(255,255,255,0.5); color: white; padding: 18px 36px; font-size: 0.92rem; letter-spacing: 1px; border-radius: 2px; transition: all 0.3s; white-space: nowrap; }
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.scroll-indicator { position: absolute; bottom: 80px; right: 48px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-indicator span { font-size: 0.62rem; letter-spacing: 4px; color: rgba(255,255,255,0.4); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ===== HERO SEARCH BAR ===== */
/* モバイルファースト: SPでは非表示 */
.hero-search { display: none; }
@media (min-width: 1100px) {
    .hero-search {
        display: block;
        margin-top: 36px;
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 4px;
        padding: 20px 24px;
        max-width: 700px;
    }
    .hero-search-inner { display: flex; flex-direction: row; align-items: flex-end; gap: 12px; }
    .hero-select-wrap { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
    .hero-select-wrap label { font-size: 0.65rem; letter-spacing: 2px; color: rgba(255,255,255,0.55); }
    .hero-select {
        background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
        color: white; padding: 11px 14px; border-radius: 2px;
        font-family: 'Noto Sans JP', sans-serif; font-size: 0.84rem;
        cursor: pointer; width: 100%; appearance: none;
    }
    .hero-select option { background: var(--navy); color: white; }
    .hero-search-btn {
        background: var(--gold); color: var(--navy); border: none;
        padding: 12px 20px; font-size: 0.88rem; font-weight: 700;
        letter-spacing: 1px; border-radius: 2px; cursor: pointer;
        transition: all 0.3s; white-space: nowrap; height: 44px; min-width: 120px;
    }
    .hero-search-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
}

/* News bar (JCME style) */
.hero-news-bar {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    background: rgba(10,15,30,0.85); backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-gold);
    display: flex; align-items: center; height: 48px; overflow: hidden;
}
.news-label {
    background: var(--gold); color: var(--navy);
    font-size: 0.65rem; font-weight: 700; letter-spacing: 3px;
    padding: 0 20px; height: 100%; display: flex; align-items: center;
    white-space: nowrap; flex-shrink: 0;
}
.news-ticker {
    flex: 1; overflow: hidden; padding: 0 20px;
}
.news-ticker span {
    display: inline-block;
    font-size: 0.78rem; color: rgba(255,255,255,0.75); letter-spacing: 1px;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}
@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== STATS ===== */
.stats-section { background: var(--navy); padding: 64px 24px; border-bottom: 3px solid var(--gold); }
.stats-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
@media (min-width: 768px) { .stats-inner { display: flex; align-items: center; justify-content: center; gap: 0; } }
.stat-item { text-align: center; flex: 1; }
.stat-number { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--gold-light); font-weight: 700; line-height: 1; }
.stat-unit { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 6px; letter-spacing: 1px; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 10px; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 60px; background: var(--border-gold); display: none; }
@media (min-width: 768px) { .stat-divider { display: block; } }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 80px; position: relative; z-index: 2; }

/* Background Typography Decoration */
.bg-typography {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(6rem, 15vw, 16rem);
    font-weight: 700;
    color: var(--navy);
    opacity: 0.02;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}
.bg-typography.white {
    color: white;
    opacity: 0.04;
}
/* Fix contact section z-index so CONSULT shows above overlay */
.contact-section .bg-typography { z-index: 2; }
.eyebrow { font-size: 0.68rem; letter-spacing: 5px; color: var(--gold); margin-bottom: 20px; display: block; }
.eyebrow.light { color: var(--gold-light); }
.section-title { font-family: 'Noto Serif JP', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 400; color: var(--navy); line-height: 1.4; margin-bottom: 24px; }
.section-title.white { color: white; }
.section-lead { font-size: 0.95rem; color: #666; line-height: 1.9; }
.section-lead.light { color: rgba(255,255,255,0.7); }

/* ===== SERVICES ===== */
.services-section { background: white; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; z-index: 2; }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { background: white; padding: 40px 32px; border: 1px solid #eee; border-top: 2px solid var(--gold-dark); border-radius: 2px; position: relative; overflow: hidden; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(10,15,30,0.08); border-top-color: var(--gold); }
.service-card-header { position: relative; margin-bottom: 28px; }
.service-icon { display: block; margin-bottom: 0; }
.service-num-watermark {
    position: absolute; top: -14px; right: -4px;
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem; color: var(--gold); opacity: 0.08;
    line-height: 1; font-style: italic;
    pointer-events: none; user-select: none;
}
.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; color: var(--gold); opacity: 0.5;
    line-height: 1; margin-bottom: 24px; font-style: italic;
}
.service-en { font-size: 0.65rem; letter-spacing: 4px; color: var(--gold); margin-bottom: 16px; display: block; }
.service-card h3 { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 16px; font-weight: 600; }
.service-card p { font-size: 0.88rem; color: #555; line-height: 1.9; }
.service-link { display: inline-block; margin-top: 20px; font-size: 0.8rem; color: var(--gold-dark); border-bottom: 1px solid var(--gold-dark); padding-bottom: 2px; transition: all 0.3s; }
.service-link:hover { color: var(--navy); border-color: var(--navy); }

/* ===== PROPERTIES (JCME overlay card style) ===== */
.properties-section { background: var(--off-white); }
.properties-grid { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; z-index: 2; }
@media (min-width: 768px) { .properties-grid { grid-template-columns: repeat(3, 1fr); } }
.no-results-msg {
    text-align: center;
    padding: 60px 24px;
    background: var(--off-white);
    border-radius: 4px;
    margin-top: 40px;
    border: 1px dashed #d1cbbd;
}
.no-results-msg p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
}
.no-results-sub {
    font-size: 0.9rem !important;
    color: var(--slate) !important;
    font-weight: 400 !important;
}
.no-results-sub a {
    color: var(--gold);
    text-decoration: underline;
}
.property-card { position: relative; height: 380px; border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease; }
.property-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(10,15,30,0.25); }
.property-card:hover .property-img { transform: scale(1.05); }
.property-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 0.6s ease;
}
/* Gradient overlay on image */
.property-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.4) 50%, rgba(10,15,30,0.1) 100%);
    pointer-events: none;
}
/* Hover Video */
.property-hover-video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.6s ease;
}
.property-card:hover .property-hover-video { opacity: 1; }
.prop-badge {
    position: absolute; top: 20px; left: 20px; z-index: 2;
    background: var(--gold); color: var(--navy);
    font-size: 0.65rem; font-weight: 700; padding: 5px 14px; letter-spacing: 2px; border-radius: 2px;
}
.property-body {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 28px 28px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.property-card:hover .property-body {
    transform: translateY(-4px);
}
.prop-area { font-size: 0.72rem; color: var(--gold-light); margin-bottom: 8px; letter-spacing: 1px; }
.property-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: white; margin-bottom: 8px; }
.prop-detail { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.prop-price { font-size: 0.82rem; color: rgba(255,255,255,0.8); }
.prop-price strong { font-size: 1.2rem; color: var(--gold); font-family: 'Playfair Display', serif; }
.btn-prop {
    display: inline-block; margin-top: 16px;
    border: 1px solid rgba(201,168,76,0.5); color: var(--gold-light);
    font-size: 0.78rem; letter-spacing: 1px; padding: 8px 20px;
    border-radius: 2px; transition: all 0.3s;
}
.btn-prop:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
/* Premium line-arrow button */
.btn-line-arrow {
    display: inline-flex; align-items: center; gap: 20px;
    color: var(--navy); font-size: 0.82rem; letter-spacing: 3px;
    padding: 0; background: none; border: none;
    font-family: 'Playfair Display', serif; font-style: italic;
    position: relative; cursor: pointer; text-decoration: none;
    transition: gap 0.4s ease;
}
.btn-line-arrow::before {
    content: '';
    width: 48px; height: 1px;
    background: var(--gold-dark);
    transition: width 0.4s ease;
}
.btn-line-arrow::after {
    content: '→';
    font-style: normal; font-size: 1rem;
    color: var(--gold-dark);
    transition: transform 0.4s ease;
}
.btn-line-arrow:hover { gap: 28px; }
.btn-line-arrow:hover::before { width: 64px; }
.btn-line-arrow:hover::after { transform: translateX(6px); }

/* ===== FEATURES — hp02: Light background, navy text ===== */
.features-section { background: var(--off-white); }
.features-section .section-title { color: var(--navy); }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
    background: white; border: 1px solid #e0dbd2;
    border-top: 2px solid var(--gold);
    padding: 48px 36px; text-align: left;
    transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(12,34,51,0.08); transform: translateY(-4px); }
.feature-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px;
    border-bottom: 1px solid #e8e4dc;
    padding-bottom: 24px;
}
.feature-icon { flex-shrink: 0; }
.feature-icon svg { stroke: var(--gold-dark); }
.feature-card-num { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--gold); opacity: 0.15; line-height: 1; font-style: italic; }
.feature-card h3 { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 20px; font-weight: 600; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 2; }

/* ===== FLOW ===== */
.flow-section { background: var(--off-white); }
.flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
}
@media (min-width: 768px) {
    .flow-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        align-items: start;
    }
    .flow-steps::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 12.5%;
        right: 12.5%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--gold), var(--gold), transparent);
        opacity: 0.5;
        z-index: 0;
    }
}
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) { .flow-step { padding: 0 12px; } }
.flow-step-marker {
    width: 40px; height: 40px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--off-white);
    position: relative; z-index: 1;
    margin-bottom: 28px; flex-shrink: 0;
    transition: background 0.4s, border-color 0.4s;
}
.flow-step:hover .flow-step-marker { background: var(--gold); }
.flow-step-num {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem; color: var(--gold); font-style: italic;
    transition: color 0.4s;
}
.flow-step:hover .flow-step-num { color: var(--navy); }
.flow-step-body {
    background: white; border: 1px solid #eee;
    border-top: 2px solid var(--gold-dark);
    padding: 28px 24px; width: 100%;
    transition: border-top-color 0.4s, box-shadow 0.4s;
}
.flow-step:hover .flow-step-body { border-top-color: var(--gold); box-shadow: 0 8px 24px rgba(10,15,30,0.06); }
.flow-step-label { font-size: 0.58rem; letter-spacing: 4px; color: var(--gold); display: block; margin-bottom: 14px; }
.flow-step h3 { font-family: 'Noto Serif JP', serif; font-size: 1rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.flow-step p { font-size: 0.84rem; color: #555; line-height: 2; }
.flow-arrow { display: none; }

/* ===== CONTACT ===== */
.contact-section { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; background-image: url('../img/contact_bg.webp'); background-size: cover; background-position: center; }
@media (hover: hover) and (pointer: fine) { .contact-bg { background-attachment: fixed; } }
.contact-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(10,15,30,0.88); }
.contact-inner { position: relative; z-index: 2; text-align: center; padding: 100px 24px; }
.contact-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: white; font-weight: 400;
    margin-bottom: 24px; margin-top: 16px;
    line-height: 1.5;
}
.contact-lead { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 2.2; margin-bottom: 48px; }

/* ボタン群：主従構造 */
.contact-actions {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    width: 100%; max-width: 440px; margin: 0 auto;
}
/* 主CTA：ゴールド・フル幅 */
.btn-contact-gold {
    display: block; width: 100%; text-align: center;
    background: var(--gold); color: var(--navy);
    padding: 20px 32px; font-size: 0.92rem; font-weight: 700; letter-spacing: 1.5px;
    border-radius: 2px; transition: all 0.3s;
}
.btn-contact-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(184,146,42,0.35); }
/* 従CTA：横並び */
.contact-sub-btns {
    display: flex; gap: 10px; width: 100%;
}
.btn-contact-white {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 14px 12px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85);
    border-radius: 2px; transition: all 0.3s; text-align: center;
}
.btn-contact-white:hover { border-color: var(--gold); color: var(--gold); }
.btn-contact-line {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
    background: rgba(6,199,85,0.9); color: white;
    border-radius: 2px; transition: all 0.3s; text-align: center;
}
.btn-contact-line:hover { background: #06C755; transform: translateY(-1px); }

/* Contact ornament */
.contact-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.contact-ornament span { display: block; width: 48px; height: 1px; background: var(--gold); opacity: 0.5; }

@media (max-width: 899px) {
    .contact-sub-btns { flex-direction: column; }
    .contact-inner { padding: 80px 20px; }
    .btn-contact-white,
    .btn-contact-line { width: 100%; padding: 13px 12px; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed; bottom: 32px; right: 32px; z-index: 901;
    width: 44px; height: 44px;
    border: 1px solid var(--gold); background: var(--navy);
    color: var(--gold); font-size: 1rem;
    cursor: pointer; transition: all 0.4s ease;
    opacity: 0; pointer-events: none; transform: translateY(12px);
    border-radius: 2px; font-family: inherit;
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy); }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); padding: 80px 0 0; border-top: 1px solid var(--border-gold); }
.footer-top { display: flex; flex-direction: column; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--border-gold); }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: white; letter-spacing: 3px; margin-bottom: 10px; }
.footer-tagline { font-size: 0.68rem; color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }
.footer-address { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.9; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 0.68rem; letter-spacing: 3px; color: var(--gold); margin-bottom: 8px; }
.footer-col a { font-size: 0.82rem; color: rgba(255,255,255,0.62); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { padding: 28px 0; text-align: center; }
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.45); letter-spacing: 1px; }

@media (max-width: 767px) {
    .section-pad { padding: 80px 0; }
    .floating-cta { display: none; }
}

/* hero-search CSS は line 171-202 に統合済み */

/* ===== DEVELOPER LOGOS STRIP ===== */
.developers-strip {
    background: var(--off-white); border-bottom: 1px solid #e0dbd2;
    padding: 24px 0; overflow: hidden;
}
.dev-strip-label {
    text-align: center; font-size: 0.65rem; letter-spacing: 3px;
    color: var(--text-muted); margin-bottom: 18px; text-transform: uppercase;
}
.dev-strip-label strong { color: var(--gold-dark); }
.dev-logos-track { overflow: hidden; }
.dev-logos-inner {
    display: flex; gap: 52px; width: max-content;
    animation: devScroll 28s linear infinite;
}
.dev-logos-inner span {
    font-family: 'Playfair Display', serif; font-size: 0.88rem;
    letter-spacing: 3px; color: var(--slate); opacity: 0.4;
    white-space: nowrap; font-style: italic; text-transform: uppercase;
    transition: opacity 0.3s;
}
.dev-logos-inner span:hover { opacity: 0.85; color: var(--navy); }
@keyframes devScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== AREA GUIDE ===== */
.area-section { background: white; }
.area-grid {
    display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 600px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-card {
    border: 1px solid #e8e4dc; border-radius: 4px; overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.area-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(12,34,51,0.09); }
.area-img {
    height: 190px; background-size: cover; background-position: center;
    transition: transform 0.5s ease;
    overflow: hidden;
}
.area-card:hover .area-img { transform: scale(1.04); }
.area-body { padding: 22px 18px; }
.area-name { font-family: 'Noto Serif JP', serif; font-size: 1rem; color: var(--navy); margin-bottom: 10px; font-weight: 600; }
.area-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 16px; }
.area-link { font-size: 0.78rem; color: var(--gold-dark); border-bottom: 1px solid var(--gold-dark); padding-bottom: 2px; transition: all 0.3s; }
.area-link:hover { color: var(--navy); border-color: var(--navy); }

/* ===== VIDEO SECTION ===== */
.video-section { background: var(--off-white); }
.video-grid {
    display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-thumb-link { display: block; margin-bottom: 14px; border-radius: 4px; overflow: hidden; }
.video-thumb {
    position: relative; height: 200px; overflow: hidden; border-radius: 4px;
    transition: transform 0.3s;
}
.video-thumb:hover { transform: scale(1.02); }
.video-thumb-bg { position: absolute; inset: 0; }
.video-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.18); border: 2px solid rgba(255,255,255,0.45);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}
.video-thumb:hover .video-play-btn { background: var(--gold); border-color: var(--gold); }
.video-thumb-label {
    position: absolute; top: 14px; left: 14px;
    font-size: 0.6rem; letter-spacing: 2px; color: white;
    background: rgba(0,0,0,0.35); padding: 4px 10px; border-radius: 2px;
}
.video-title { font-family: 'Noto Serif JP', serif; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; line-height: 1.7; font-weight: 600; }
.video-meta { font-size: 0.76rem; color: var(--text-muted); }

/* ===== MOBILE ADJUSTMENTS FOR NEW SECTIONS ===== */
@media (max-width: 767px) {
    .hero-search { margin-top: 36px; }
    .area-img { height: 160px; }
    .video-thumb { height: 180px; }
    .dev-logos-inner { animation-duration: 18s; }
}

/* ===== DEVELOPERS SECTION (upgraded from strip) ===== */
.developers-section { background: var(--off-white); }
.dev-logos-showcase { margin-top: 48px; overflow: hidden; border: 1px solid #e0dbd2; border-radius: 4px; padding: 32px 0; background: white; }

/* ===== RESULT SECTION (= Stats, repositioned) ===== */
.result-section {
    background: var(--navy); padding: 100px 24px;
    border-top: 3px solid var(--gold);
}
.result-section .stats-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
@media (min-width: 768px) { .result-section .stats-inner { display: flex; align-items: center; justify-content: center; gap: 0; } }

/* ===== BLOG SECTION ===== */
.blog-section { background: white; }
.blog-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
    border: 1px solid #e8e4dc; border-radius: 4px; overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(12,34,51,0.08); }
.blog-img {
    height: 200px; background-size: cover; background-position: center;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-img { transform: scale(1.03); }
.blog-body { padding: 24px 20px; }
.blog-tag {
    display: inline-block; font-size: 0.62rem; letter-spacing: 2px;
    color: var(--gold-dark); border: 1px solid var(--gold-dark);
    padding: 3px 10px; border-radius: 2px; margin-bottom: 10px;
}
.blog-date { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 10px; letter-spacing: 1px; }
.blog-title { font-family: 'Noto Serif JP', serif; font-size: 0.92rem; color: var(--navy); line-height: 1.7; margin-bottom: 16px; font-weight: 600; }
.blog-link { font-size: 0.78rem; color: var(--gold-dark); border-bottom: 1px solid var(--gold-dark); padding-bottom: 2px; transition: all 0.3s; }
.blog-link:hover { color: var(--navy); border-color: var(--navy); }

/* ===== FEATURES SECTION — Bold Dark Style ===== */
/* Override light bg for features to create visual rhythm */
.features-section {
    background: var(--navy-mid) !important;
    position: relative;
}
.features-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('../img/area_downtown.png');
    background-size: cover; background-position: center;
    opacity: 0.06;
}
.features-section .section-title { color: white !important; }
.features-section .eyebrow { color: var(--gold-light) !important; }
.feature-card {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-top: 2px solid var(--gold) !important;
}
.feature-card:hover { background: rgba(255,255,255,0.1) !important; transform: translateY(-4px); }
.feature-card h3 { color: white !important; }
.feature-card p { color: rgba(255,255,255,0.65) !important; }
.feature-card-header { border-bottom-color: rgba(255,255,255,0.1) !important; }
.feature-card-num { color: var(--gold) !important; opacity: 0.25 !important; }

/* ===== FOOTER MAP ===== */
.footer-map { width: 100%; overflow: hidden; }
.footer-map iframe { display: block; width: 100%; }

/* ===== FOOTER BADGES ===== */
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-badge {
    display: inline-block; font-size: 0.65rem; letter-spacing: 1px;
    color: var(--gold-light); border: 1px solid rgba(201,168,76,0.3);
    padding: 4px 12px; border-radius: 2px;
}

/* ===== TEAM SECTION ===== */
.team-section { background: var(--off-white); }
.team-grid {
    display: grid; grid-template-columns: 1fr; gap: 28px;
    margin-top: 56px;
}
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
    background: white; border: 1px solid #e8e4dc; border-radius: 4px;
    overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(12,34,51,0.09); }
.team-photo {
    height: 260px; background-size: cover; background-position: center top;
    background-color: #d4cfc7;
}
.team-photo-placeholder {
    background: linear-gradient(135deg, #c8c3bb, #e0dbd2);
    display: flex; align-items: center; justify-content: center;
}
.team-photo-placeholder::after {
    content: 'COMING SOON'; font-size: 0.6rem; letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
}
.team-body { padding: 24px 22px; }
.team-role { font-size: 0.68rem; letter-spacing: 2px; color: var(--gold-dark); margin-bottom: 8px; text-transform: uppercase; }
.team-name { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.team-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 16px; }
.team-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.team-langs span {
    font-size: 0.62rem; letter-spacing: 1px; color: var(--slate);
    background: var(--off-white); border: 1px solid #ddd;
    padding: 3px 8px; border-radius: 2px;
}
.team-cta {
    margin-top: 56px; text-align: center;
    padding: 40px; background: white; border: 1px solid #e8e4dc; border-radius: 4px;
    border-left: 4px solid var(--gold);
}
.team-cta-text { font-family: 'Noto Serif JP', serif; font-size: 1rem; color: var(--navy); margin-bottom: 20px; }

/* ===== SERVICES EDITORIAL LAYOUT ===== */
.services-section { padding-bottom: 0 !important; }
.services-editorial { margin-top: 56px; }
.service-editorial-item {
    display: grid; grid-template-columns: 1fr;
    overflow: hidden;
}
@media (min-width: 900px) {
    .service-editorial-item { grid-template-columns: 1fr 1fr; min-height: 440px; }
    .sei-reverse .sei-img { order: 2; }
    .sei-reverse .sei-body { order: 1; }
}
.sei-img {
    height: 280px; background-size: cover; background-position: center;
    transition: transform 0.6s ease; overflow: hidden;
}
@media (min-width: 900px) { .sei-img { height: auto; min-height: 440px; } }
.service-editorial-item:hover .sei-img { transform: scale(1.04); }
.sei-body {
    padding: 48px 44px; display: flex; flex-direction: column;
    justify-content: center; background: white;
    border-bottom: 1px solid #ede9e0;
}
.service-editorial-item:nth-child(even) .sei-body { background: var(--off-white); }
.sei-num {
    font-family: 'Playfair Display', serif; font-size: 4rem;
    color: var(--gold); opacity: 0.15; line-height: 1; display: block; margin-bottom: 0;
}
.sei-en { font-size: 0.6rem; letter-spacing: 3px; color: var(--gold-dark); display: block; margin-bottom: 14px; }
.sei-body h3 { font-family: 'Noto Serif JP', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 16px; font-weight: 600; line-height: 1.5; }
.sei-body > p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.sei-points { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.sei-points li { font-size: 0.83rem; color: var(--slate); padding-left: 20px; position: relative; line-height: 1.65; }
.sei-points li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 0.75rem; top: 1px; }
@media (max-width: 899px) { .sei-body { padding: 36px 24px; } }

/* ===== DEVELOPER LOGO CARD GRID ===== */
.dev-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
    margin-bottom: 32px;
}
@media (min-width: 600px) { .dev-logo-grid { grid-template-columns: repeat(4, 1fr); } }
.dev-logo-card {
    background: white;
    border: 1px solid #e8e4dc;
    border-top: 3px solid transparent;
    border-radius: 4px;
    padding: 28px 16px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    transition: all 0.35s ease;
    cursor: default;
}
.dev-logo-card:hover {
    border-top-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(12,34,51,0.08);
}
.dlc-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}
.dlc-cat {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
}
.dev-more-label {
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
}
