* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: system-ui, sans-serif; background:#000000; color:#f1f5f9; line-height:1.6; }

header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://www.04id.com/images/kl-roof-header.jpg') center/cover no-repeat;
    min-height: 380px;
    display: flex;
    align-items: center;
    position: relative;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; width: 100%; }

.logo { font-size: 32px; font-weight: 800; display: flex; align-items: center; gap: 12px; color: #fbbf24; }
.logo i { font-size: 38px; }

.tagline { font-size: 18px; color: #fcd34d; margin-top: 8px; font-weight: 500; }

.category-nav {
    background: #1e2937;
    padding: 12px 0;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #475569;
}

.cat-btn {
    padding: 10px 20px;
    margin: 0 5px;
    background: #334155;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.cat-btn.active { background: #f59e0b; color: #1e2937; }

.controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.btn { padding: 12px 20px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
.btn-primary { background: #60a5fa; color: #1e2937; }
.btn-secondary { background: #64748b; color: white; }

.search-box { flex: 1; min-width: 280px; position: relative; }
.search-box input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid #475569;
    border-radius: 8px;
    background: #1e2937;
    color: white;
    font-size: 16px;
}

.area-select {
    width: 100%;
    padding: 14px;
    border: 2px solid #475569;
    border-radius: 8px;
    background: #1e2937;
    color: white;
    font-size: 16px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 10px;
}

.card {
    background: #1e2937;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    border: 1px solid #475569;
}

.card h3 { padding: 16px 18px 8px; font-size: 19px; color: #fbbf24; }

.area {
    background: linear-gradient(90deg, #7c3aed, #c026d3);
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14.5px;
}

.info p {
    padding: 12px 18px;
    border-top: 1px solid #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* バッジのコントラスト改善 */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    margin: 3px 4px 3px 0;
}

.muslim { background:#10b981; color:white; }
.shisha { background:#c026d3; color:white; }

/* 価格帯など他のバッジ */
.badge[style*="f59e0b"] { background:#f59e0b !important; color:#1e2937 !important; }
.badge[style*="64748b"] { background:#64748b !important; color:white !important; }

/* お気に入り星の色改善 */
button[onclick*="toggleFavorite"] {
    color: #fbbf24;
    filter: drop-shadow(0 0 3px rgba(251,191,36,0.6));
}
/* Responsive */
@media (min-width: 768px) {
    .results-grid { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
}
/* Mobile Header Height */
@media (max-width: 768px) {
    header {
        min-height: 360px !important;
        background-position: center 40% !important;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .logo {
        font-size: 32px;
    }
    
    .tagline {
        font-size: 17px;
    }
}
/* Share Buttons - ボタン風デザイン */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.whatsapp { background: #25D366; }
.wechat   { background: #07C160; }
.copy     { background: #64748b; }

.share-btn i {
    font-size: 18px;
}