In Embodiment 1, however, it is desirable to perform theprocessing at steps 7 and 8 in order to support both cases where the subject is a moving body and is stationary.On the other hand, when it is determined that the subject is a moving body at step 6, the defocus amount Df is calculated in the phase difference detection method (S11), the lens is driven in accordance with the calculation result (