1. A magnetic resonance imaging apparatus comprising: a collection unit configured to collect data of an imaging area over a plurality of time phases within a certain respiratory cycle after applying a labeling pulse to a labeling area in which cerebrospinal fluid flows under a task of respiration; and a generation unit configured to generate images of a plurality of time phases depicting the cerebrospinal fluid by using collected data.