A digital camera, comprising: an imaging/focus detection element adopting a rolling shutter system, in which a plurality of focus detection pixel rows (2a-f) each made up with a plurality of focus detection pixels (20A, 20B) are incorporated in a two-dimensional array of a plurality of imaging pixels, for receiving a light forming an image via a photographic optical system and outputting image signals and focus detection signals; a focus detection means for detecting a defocus quantity at the photographic optical system based upon the focus detection signals output from the focus detection pixel rows; an image blur detection means for detecting an image blur quantity indicating an extent of a blur on the image based upon a camera vibration quantity output from a camera vibration detecting means and the image signals output from the imaging/focus detection element; a first reliability judgment means for judging, based upon the image blur quantity, whether or not the defocus quantity detected by the focus detection means in correspondence to each of first focus detection pixel rows (2d, 2e, 2f) disposed along a direction different from a rolling shutter scanning line direction among the focus detection pixel rows is reliable; a second reliability judgment means for judging whether or not the defocus quantity detected by the focus detection means in correspondence to each of the plurality of focus detection pixel rows is reliable, when at least one of the first focus detection pixel rows among the focus detection pixel rows is judged to be reliable; and a focal adjustment means for executing focal adjustment for the photographic optical system based upon the defocus quantity judged to be reliable by the first reliability judgment means and the second reliability judgment means. an imaging/focus detection element adopting a rolling shutter system, in which a plurality of focus detection pixel rows (2a-f) each made up with a plurality of focus detection pixels (20A, 20B) are incorporated in a two-dimensional array of a plurality of imaging pixels, for receiving a light forming an image via a photographic optical system and outputting image signals and focus detection signals; a focus detection means for detecting a defocus quantity at the photographic optical system based upon the focus detection signals output from the focus detection pixel rows; an image blur detection means for detecting an image blur quantity indicating an extent of a blur on the image based upon a camera vibration quantity output from a camera vibration detecting means and the image signals output from the imaging/focus detection element; a first reliability judgment means for judging, based upon the image blur quantity, whether or not the defocus quantity detected by the focus detection means in correspondence to each of first focus detection pixel rows (2d, 2e, 2f) disposed along a direction different from a rolling shutter scanning line direction among the focus detection pixel rows is reliable; a second reliability judgment means for judging whether or not the defocus quantity detected by the focus detection means in correspondence to each of the plurality of focus detection pixel rows is reliable, when at least one of the first focus detection pixel rows among the focus detection pixel rows is judged to be reliable; and a focal adjustment means for executing focal adjustment for the photographic optical system based upon the defocus quantity judged to be reliable by the first reliability judgment means and the second reliability judgment means.