In addition, it is determined that a total film thickness of layers consisting of Ni or an alloy including Ni in the third ferromagnetic layer 811 and the fourth ferromagnetic layer 812 is not less than 60% of a film thickness of the second free magnetic layer 817.