A scan representation position table to which three points of focus
positions which become scan representation positions are recorded
respectively is stored in advance based on the lens position of the zoom
lens 2b and the type of priority focus.The current zoom lens 2b lens
position is acquired and determination processing for short-distance
priority focus or long-distance priority focus is performed when judged
that the shutter button has been fully depressed at once or when the
shutter button has been fully depressed before the passage of a
predetermined time duration after the shutter button was halfway
depressed. Then, the focus positions are acquired from the scan
representation position table based on the acquired lens position and the
judged priority focus, and the contrast AF processing is executed within
the range of the acquired three points of focus positions.