 fixed magnetic layers is a laminate composed of at least 0M ferromagnetic layers with a nonmagnetic layer provided therebetween, the M being an integer of 0 or more, in which magnetization directions of the ferromagnetic layers adjacent to each other are antiparallel to each other so that the entire fixed magnetic layer is in a ferrimagnetic state, and a magnetization direction of the entire fixed magnetic layer is fixed in a direction crossing the magnetization direction of the entire free magnetic layer by an exchange coupling magnetic field formed by the fixed magnetic layer and one of the antiferromagnetic layer