Abstract: A compressor includes a piston and a shoe, which contact and slide on one another. The piston includes a sliding surface, on which a solid lubricant film is formed. The shoe includes a sliding surface that slides on the first sliding surface. A soft film that mainly contains soft metal is formed on the second sliding surface. The solid lubricant that forms the solid lubricant film is a solid lubricant other than a soft metal.