You can fly from Casablanca (CMN) to Tangier (TNG) to shorten the journey to Chefchaouen. Then, you can take the bus from Tangier to Chefchaouen as it will take only two hours.