A lens system is configured to form an image of an object on an imaging surface of an image sensor. A branching optical system is configured such that an image-forming light flux in the lens system is split and propagated into a plurality of optical paths having different optical path lengths and such that the principal rays of a plurality of image-forming light fluxes obtained after the splitting are incident on a predetermined region of the image sensor.