A container including a container main body and a lid corresponding to the container main body, the container comprising: a content-amount determination device that determines the amount of an object contained in the container main body; an information storage that stores information on the determined amount of the object; and a lid detection device that detects whether or not the container main b