Further, if at least one layer in the first main ferromagnetic layer is formed of Ni or an alloy including Ni and a total film thickness of layers formed of Ni or an alloy including Ni in the first main ferromagnetic layer is not less than 60% of a film thickness of the first ferromagnetic layer, the first main ferromagnetic layer may have a structure constituted by three or more magnetic layers.