Azole compounds of formula (I) wherein R<1> is lower alkyl substituted with carboxy, etc., R<2> is hydrogen or lower alkyl, R<3> is aryl, etc., R<4> is aryl, etc., Q is formula (a), etc., and X is O, NH or S, and its salts, which are useful as medicament.