In a state where an electric charge is held in a first charge holding unit, starting accumulation of an electric charge in a photoelectric conversion unit simultaneously in a plurality of pixel rows, and performing a first transfer operation for transferring an electric charge from the photoelectric conversion unit to the first charge holding unit simultaneously in the plurality of pixel rows.