A motor (100) includes: a rotor (10) having permanent magnets (12) with N poles and S poles alternately arranged in the circumferential direction; seven stator magnetic pole groups, each having a plurality of stator magnetic poles (53, 54, 55, 56, 57, 58, 59) arranged in the circumferential direction in such a manner that the stator magnetic poles are shifted both in the circumferential directionand the axial direction; and a plurality of loop windings (41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52) formed in the circumferential direction while being arranged at the adjacent position to each of the stator magnetic pole groups along the axial direction.