In step S311, the system controller 50 shifts and displays the AF frame based on the shift vector of the touch position calculated in step S310. In FIG. 5A, when the shift amount of the touch position is denoted by (xA, yA), an AF frame 502 is displayed in a position shifted from the AF frame 501 by (xa, ya) corresponding to (xA, yA) in the in-finder display unit 76. Here, (xa, ya) is obtained in accordance with (xA, yA) based on a rate of a size of the touch panel 70a to a size of the in-finder display unit 76. In a case where the touch panel 70a is twice as large as the in-finder display unit 76, the AF frame is shifted in the in-finder display unit 76 by a half of a distance of the shift of the touch position on the touch panel 70a. In a case where it is determined that Touch-Up is not performed in step S307 and the touch position is shifted in step S309, that is, the touch position is shifted while the touch is continued, the relative coordinate setting is entered and the AF frame is displayed in a position shifted in accordance with a shift direction and a shift distance of the touch position.