.header {
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    gap: 40px;
}

.logo {
    font-family: "FredokaOne", sans-serif;
    font-size: 34px;
    font-weight: bold;
    color: #ff3333;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 25px; /* ← typo修正 */
    flex: 1;
    justify-content: center;
}

.header-nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.header-nav-item:hover {
    background: #f5f5f5;
}

.header-nav-item.active {
    background: #fff0f0;
    color: #ff3333;
}

.header-nav-item .nav-icon {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.header-nav-item img[src*="favorite"] {
    transform: translateY(1px);
}

.user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff3333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
