A connector unit includes a connector cap and a camera-side cable connector. The connector cap includes a connection portion that movably connects the connector cap to the camera-side cable connector. The camera-side cable connector includes a first groove in which a protruding section of the connection portion is movably disposed.