An in-plane magnetized film for use as a hard bias layer of a magnetoresistive effect element, the in-plane magnetized film comprising metal Co, metal Pt, and an oxide, wherein
- the in-plane magnetized film has a thickness of 20 nm or more and 80 nm or less,
- the in-plane magnetized film contains the metal Co in an amount of 45 at% or more and 80 at% or less and the metal Pt in an amount of 20 at% or more and 55 at% or less relative to a total of metal components of the in-plane magnetized film,
- the in-plane magnetized film contains the oxide in an amount of 3 vol% or more and 25 vol% or less relative to a whole amount of the in-plane magnetized film, and
- an in-plane direction average grain diameter of magnetic crystal grains of the in-plane magnetized film is 15 nm or more and 30 nm or less.