A compound represented by formula (I) or a pharmacologically acceptable salt thereof, which can inhibit a fibroblast growth factor receptor (FGFR) family kinase in cancer tissues. (In the formula, A represents a 5- to 10-membered heteroaryl group, or a C