A camera is provided with a face detecting section, a focusing section, an
area specifying section, and a controlling section. The face detecting
section detects a face area within a shooting image plane. The focusing
section has plural optional areas within the shooting image plane.
Further, the focusing section obtains an image phase difference amount of
a pair of images based on luminous flux having passed through a shooting
lens in each of the optional areas. The area specifying section specifies
a focusing area from among the optional areas corresponding to the face
area. Further, the area specifying section changes a method of specifying
the focusing area in accordance with the size of the face area. The
controlling section performs a focusing operation of the shooting lens on
the basis of the image phase difference amount in the focusing area.