The present invention relates to a novel amidopyridine derivative. More specifically, the present invention provides a medicinal agent which is useful as a prophylactic or therapeutic agent for diseases, which is based on the production of cytokines from T cells, and which has, as an active ingredient, the amidopyridine derivative or a pharmacologically acceptable salt thereof. Provided are the amidopyridine derivative represented by general formula (I), and a pharmacologically acceptable salt thereof (in general formula (I), each symbol is as defined in the description).