Field magnets are attached to an inner periphery of a stator core, which defines a rotor through hole. The stator core has a plurality of recesses open to the rotor through hole. Each recess faces magnet end portions of the field magnets. The recess surface of the recess is away from the surface AC of the magnet end portion and set back toward an outer periphery of the stator core from a rear surface AD of the magnet end portion.