/* ============================================
   Header Common Styles
   ============================================ */

/* Header */
header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: #ea580c;
    margin: 0;
}

/* Desktop Navigation */
#desktop-nav {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

#desktop-nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
}

#desktop-nav a:hover {
    color: #ea580c;
}

#desktop-nav a.active {
    color: #ea580c;
}

/* お見積もりボタン - 単色オレンジ、白文字 */
#desktop-nav a.btn-primary {
    background: #f97316 !important;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#desktop-nav a.btn-primary:hover {
    background: #ea580c !important;
    color: white !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #ea580c;
}

.mobile-nav a.active {
    color: #ea580c;
    font-weight: 700;
}

/* モバイルナビゲーションのボタン - 白文字確保 */
.mobile-nav a.btn-primary {
    background: #f97316 !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.mobile-nav a.btn-primary:hover {
    background: #ea580c !important;
    color: white !important;
}

/* Desktop表示時 */
@media (min-width: 1024px) {
    #desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-nav {
        display: none !important;
    }
}
