Disclosed is a compound represented by the following formula (I): wherein Z1 represents an atomic group necessary to form a 5- or 6-membered nitrogen-containing heterocyclic ring; Z2 represents an atomic group necessary to form a 5- or 6-membered heterocyclic ring, Z2 may further be substituted, or may be condensed with a hetero ring of a benzene ring; R1 represents a hydrogen atom, a halogen atom, a mercapto group, an alkyl group, an alkenyl group, an aryl group, an alkylthio group, an alkenylthio group, or an arylthio group; L1 and L2 each represents a methine group; p1, represents 0 or 1; V1 represents a substituent; and n represents 0, 1 or 2, and when n represents 2, a plurality of V1 may be the same or different.