The present invention provides a 1-heterodiene derivative represented byformula (2) or salt thereof: (in formula (2), W represents hydrogen atom orthe like, Arepresents oxygen atom or the like, R1 represents an optionally substituted C1-6 alkylgroup or the like, m represents an integer of 0 to 10, n represents an integerof 1 to 4, X1represents oxygen atom or the like, p represents an integer of 0 to 5, R3represents anoptionally substituted C1-6 alkyl group or the like, r presents an integer of0 to 5, the1-heterodiene derivative exists in E-form, Z-form or a mixture thereofaccording to thecarbon-carbon undefined double stereo bond in formula (2)).(see formula 2)