Reliability in the restriction of the movement of a container is improved. A content moving device 1 includes: a table portion 20 on which a container 50 is placed; and a restricting mechanism 30. A flange 55 of the container 50 is shaped to provide a recessed portion 56a. A restricting mechanism 30 includes: a collar portion 31; a first restricting portion 32 configured to be located in the recessed portion 56a; a second restricting portion 33a provided above the first restricting portion 32 and inward of the collar portion 31; and a second moving mechanism. The second moving mechanism is configured to move the second restricting portion 33a along an extending direction B between a first position, in which the second restricting portion 33a is opposed to the flange 55 of the container 50 in an up-down direction A, and a second position, in which the second restricting portion 33a is opposed to the recessed portion 56a in the up-down direction A without being opposed to the flange 55 in the up-down direction A.