A novel low molecular weight compound which inhibits the production of inducible MMPs, particularly MMP-9, rather than the production of constitutive MMP-2 is provided, and furthermore, a preventive/therapeutic agent for an autoimmune disease or osteoarthritis is provided. An amide derivative represented by formula (I) (wherein the respective symbols are as defined in the description), a pharmacologically acceptable salt thereof, or a hydrate or solvate thereof.