The present invention provides a compound represented by formula (I) or salt thereof (in the formula, A1 and A2 each independently represents a nitrogen atom or the like, B1, B2, B3 and B4 each independently represents a carbon atom or nitrogen atom, X1 represents an unsubstituted or substituted C1-6 alkyl group or the like, n represents a number of X1 and represents an integer of 0-4, R1 represents a halogeno group or the like, R2 represents an unsubstituted or substituted C1-6 alkyl group or the like, m represents a number of the oxide group bonding with the nitrogen atom which does not bond with R2 on the imidazole ring, and represents 0 or 1, R3 represents a hydrogen atom or the like, Ar represents an unsubstituted or substituted C6-10 aryl group.;