It is determined that a total film thickness of layers consisting of Ni or an alloy including Ni in the first ferromagnetic layer 806 and the second ferromagnetic layer 807 is not less than 60% of a film thickness of the first free magnetic layer 816.