In this step, a portion to be formed as the first bubble-generating chamber and the flow passage is light-blocked and an area other than the portion is irradiated with light to cure the negative photosensitive resin material in the light-irradiation area, thus forming a cured resin material layer.