:root {
    --primary: #e67e22;
    --secondary: #3498db;
    --accent: #2ecc71;
    --bg: #f8f9fa;
    --text: #2c3e50;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

.topbar {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ロゴエリア全体：要素を潰さずに横並びにする */
.brand {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* 1行に強制 */
}

/* アイコン：文字に押し潰されないよう固定幅を確保 */
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-right: 10px;
    flex-shrink: 0; /* ← これにより、文字が長くても絶対にアイコンが潰れなくなります */
}

/* SVG画像を使う場合のサイズ固定（念のためのガード） */
.brand-mark svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* テキストコンテナ：タイトルとサブを自然に横並びにする */
.brand-text {
    display: flex;
    align-items: baseline; /* 文字の底辺（ベースライン）を綺麗に揃える */
    flex-wrap: nowrap;
}

/* メインタイトル */
.brand-title {
    font-size: 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

/* サブタイトル：メインの横に程よい隙間を開けて配置 */
.brand-sub {
    font-size: 0.85rem;
    margin-left: 10px;
    opacity: 0.85;
    font-weight: normal;
    white-space: nowrap;
}
.hero {
    /* 背景画像を暗めのグラデーションで覆い、文字の視認性を確保 */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/klcondo.jpg') center 50% / cover no-repeat;
    color: white;
    text-align: center;
    
    /* 上下の余白（padding）を増大させ、表示高さを従来の約2倍に拡張 */
    padding: 75px 20px; 
    min-height: 200px; /* 縦幅の最低ラインを2倍に引き上げ */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* ヘッダー内のタイトル */
.hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

/* ヘッダー内のサブタイトル */
.hero p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    max-width: 550px;
}.filters {
    padding: 15px 20px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-btn.active {
    background: var(--secondary);
    color: white;
}

.condo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.condo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.condo-card:hover {
    transform: translateY(-6px);
}

.condo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 16px;
}

.distance {
    background: #27

/* ==================== Share Bar Styles ==================== */
.share-bar {
    margin: 20px auto;
    padding: 10px 0;
    max-width: 600px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: white !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0.9;
}

/* 各ブランドカラー */
.share-btn.whatsapp {
    background-color: #25D366;
}

.share-btn.wechat {
    background-color: #07C160;
}

.share-btn.line {
    background-color: #06C755;
}

.share-btn.copy-link {
    background-color: #7f8c8d;
}