 a controller which performs, by using the image-pickup device, image-taking in a first mode and image-taking in a second mode in which image-taking is carried out with more pixels or at a lower frame rate than in the first mode. The controller determines whether a condition relating to image-taking matches a predetermined restriction condition, and performs a restriction operation which