A compound selected from the group consisting of a heterocyclic derivative represented by formula, and a pharmaceutically acceptable salt and a stereoisomer thereof: wherein X 1 is -C(-Rx)(-Rx")-, -C(-Rx')(-Rx")-, or -N(Rx)-; X 2 is -C(-Rx")(-Rx")-, -C(=O)-, -N(-Rx")-, or -O-; Rx is Xs is =O or =NH; Rx' is haloC 1-6 alkyl, cyano, nitro, amino, azido, or a 5- to 6-membered heterocyclyl containing 1 to 2 heteroatoms selected from N and O and unsubstituted or substituted with oxo; Rx" is hydrogen, halogen, C 1-6 alkyl, or C 1-4 alkoxycarbonyl; Y is -CH= and Z is -S-; Lx is a saturated C 1-3 hydrocarbon chain not containing or containing O in the chain, and unsubstituted or substituted with at least one substituent selected from the group consisting of halogen, C 1-6 alkyl and C 1-6 alkoxy; A is benzene or a 5- to 10-membered heteroaryl containing 1 to 3 nitrogen atoms; B is a monocyclic- or bicyclic-saturated or unsaturated C 6-10 carbocycle or 5- to 10-membered heterocycle; Rc is =O; R N is hydrogen; L B is -[C(-R L)(-R L')] m -, -O-, -NH- or -N(C 1-6 alkyl)-, wherein m is 0 or 1, R L and R L ' are each independently hydrogen, hydroxy, halogen or C 1-6 alkyl, or R L and R L ' are linked together to form C 2-5 alkylene; R A is halogen, C 1-6 alkoxycarbonylamino-C 1-6 alkoxy, aminoC 1-6 alkoxy, or 3- to 6-membered heterocyclyl; R B is halogen, C 1-6 alkyl, C 1-6 alkoxy, haloC 1-6 alkyloxy, C 2-6 alkenyloxy, C 3-10 carbocyclyl-oxy, 3- to 10-membered heterocyclyl-C 1-3 alkoxy, or a haloC 1-6 alkyl group; p is an integer of 0 to 4, and, when p is 2 or higher, R A moieties are the same as or different from each other; q is an integer of 0 to 4, and, when q is 2 or higher, R B moieties are the same as or different from each other; and each of said heteroaryl, heterocycle and heterocyclyl moieties independently contains 1 to 3 heteroatoms selected from the group consisting of O, N and S. X 1 is -C(-Rx)(-Rx")-, -C(-Rx')(-Rx")-, or -N(Rx)-; X 2 is -C(-Rx")(-Rx")-, -C(=O)-, -N(-Rx")-, or -O-; Rx is Xs is =O or =NH; Rx' is haloC 1-6 alkyl, cyano, nitro, amino, azido, or a 5- to 6-membered heterocyclyl containing 1 to 2 heteroatoms selected from N and O and unsubstituted or substituted with oxo; Rx" is hydrogen, halogen, C 1-6 alkyl, or C 1-4 alkoxycarbonyl; Y is -CH= and Z is -S-; Lx is a saturated C 1-3 hydrocarbon chain not containing or containing O in the chain, and unsubstituted or substituted with at least one substituent selected from the group consisting of halogen, C 1-6 alkyl and C 1-6 alkoxy; A is benzene or a 5- to 10-membered heteroaryl containing 1 to 3 nitrogen atoms; B is a monocyclic- or bicyclic-saturated or unsaturated C 6-10 carbocycle or 5- to 10-membered heterocycle; Rc is =O; R N is hydrogen; L B is -[C(-R L)(-R L')] m -, -O-, -NH- or -N(C 1-6 alkyl)-, wherein m is 0 or 1, R L and R L ' are each independently hydrogen, hydroxy, halogen or C 1-6 alkyl, or R L and R L ' are linked together to form C 2-5 alkylene; R A is halogen, C 1-6 alkoxycarbonylamino-C 1-6 alkoxy, aminoC 1-6 alkoxy, or 3- to 6-membered heterocyclyl; R B is halogen, C 1-6 alkyl, C 1-6 alkoxy, haloC 1-6 alkyloxy, C 2-6 alkenyloxy, C 3-10 carbocyclyl-oxy, 3- to 10-membered heterocyclyl-C 1-3 alkoxy, or a haloC 1-6 alkyl group; p is an integer of 0 to 4, and, when p is 2 or higher, R A moieties are the same as or different from each other; q is an integer of 0 to 4, and, when q is 2 or higher, R B moieties are the same as or different from each other; and each of said heteroaryl, heterocycle and heterocyclyl moieties independently contains 1 to 3 heteroatoms selected from the group consisting of O, N and S.