A compound represented by Formula (I), or a salt thereof: wherein, R1 represents an unsubstituted or substituted C1-6 alkylthio group, or the like; A1 represents a nitrogen atom or CH; A2 represents a nitrogen atom or CR2; R2 and R3 each independently represent a hydrogen atom, an unsubstituted or substituted C6-10 aryl group, an unsubstituted or substituted 3- to 6-membered heterocyclyl group, or the like; B1 and B2 each independently represent a nitrogen atom or CR5, with the proviso that B1 and B2 do not represent CR5 at the same time, wherein R5 represents a hydrogen atom, an unsubstituted or substituted C1-6 alkyl group, or the like; R4 represents an unsubstituted or substituted C1-6 alkyl group, or the like, and R4 binds to any one of nitrogen atoms forming an imidazole ring or a triazole ring; and Ar represents an unsubstituted or substituted C6-10 aryl group or the like.一種式(I)所表示之化合物或其鹽。式(I)中,R1表示未經取代或者具有取代基之C1~6烷硫基等。A1表示氮原子或CH。A2表示氮原子或CR2。R2及R3分別獨立地表示氫原子、未經取代或者具有取代基之C6~10芳基、或未經取代或者具有取代基之3~6員雜環基等。B1及B2分別獨立地表示氮原子或CR5。其中,B1與B2不會同時為CR5。此處,R5表示氫原子、未經取代或者具有取代基之C1~6烷基等。R4表示未經取代或者具有取代基之C1~6烷基等。R4與構成咪唑環或者三唑環之氮原子中之任一個氮原子鍵結。Ar表示未經取代或者具有取代基之C6~10芳基等。