Provided are a novel low-molecular-weight compound that suppresses production of induction type MMPs, particularly MMP-9, rather than production of hemostatic type MMP-2, as well as a prophylactic/therapeutic drug for autoimmune diseases or osteoarthritis. An amide derivative represented by the following formula (I) wherein each symbol is as defined in the specification, or a pharmacologically acceptable salt thereof.