A hermetically sealed container comprises sealing mechanisms (17, 17a) wherein upper sealing surfaces (11, 11a) and lower sealing surfaces (12, 12a) are provided in inward peripheral wall surfaces (9, 9a) and outward peripheral wall surfaces (10, 10a), respectively, of annular sealing grooves integrally formed with a container body (3) misaligned from each other in the height direction of the container body, and upper sealing parts (15, 15a) and lower sealing parts (16, 16a) are provided respectively in upper parts (13, 13a) and lower parts (14, 14a) of annular sealing protrusions formed integrally with a lid body (6), and the upper parts of the annular sealing protrusions are formed to be of high rigidity to make the upper sealing parts frictionally contact the upper sealing surfaces, and the lower parts of the annular sealing protrusions are formed to be flexibly deformable and of low rigidity to make the lower sealing parts be resiliently pressed against the lower sealing surfaces.