The Canary Islands sit in the Atlantic Ocean, ~100 km west of Morocco—geographically African, politically Spanish.
Spain's mainland is northeast of the Canaries. "Southwest of Spain" would place you in the Atlantic off Portugal. The Canaries are southwest of mainland Spain only if you ignore Africa entirely.
Historically a stopover for Columbus and transatlantic trade; today a tourism powerhouse and EU outpost off Africa.