Magnetic properties of infinite-layer superconductor