23, in an MRAM region and a logic circuit region, a MOS transistor is formed on the semiconductor substrate 11.
Interlayer insulating film 15A is formed on the semiconductor substrate 11 on which a MOSFET is formed.