A compound of general formula (I): ** Formula ** in which, A1 and A2 each independently signify a nitrogen atom, or mean a methine group optionally substituted with a halogen atom, a hydroxyl group, a cyano group , a C1-C6 alkyl group, a C1-C6 alkoxy group or a hydroxy-C1-C6 alkyl group; Ring B is a condensed ring with a ring of formula (a): ** Formula ** selected from a group consisting of a formula (b-1): ** Formula ** a group consisting of a formula (b -2): ** Formula ** or a group consisting of a formula (b-3): ** Formula ** in which one or two or more methylene groups constituting said Ring B may be independently substituted with an atom of oxygen, a sulfur atom, a sulfinyl group, a sulfonyl group, a carbonyl group or a group of -N (R1a) -, and one or two or more methylene groups constituting said Ring B may be independently substituted with an atom of halogen, a hydroxyl group, a C1-C6 alkyl group, a hydroxy-C1-C6 alkyl group or a group of -Q1a-N (R1b) R1c, Cy means an aryl or heterocyclic group optionally substituted with a halogen atom or a C1-C6 alkyl group; Q1a, Q1b, Q1d and Q1e each independently means a single bond or a C1-C6 alkylene group, in which one or two or more methylene groups constituting the C1-C6 alkylene group may be independently substituted with a sulfinyl group, a sulfonyl group or a carbonyl group; R1 means a hydrogen atom or means a C1-C6 alkyl group optionally having a substituent selected from a group consisting of a halogen atom, a hydroxyl group, a cyano group, a C1-C6 alkoxy group, a C3 cycloalkyl group -C6, a C2-C7 alkanoyl group and a C1-C6 alkylsulfonyl group, or means an aryl, aralkyl or heteroaryl group optionally having a substituent selected from a group consisting of a halogen atom, a hydroxyl group, a cyano group , an amino group, a C1-C6 alkyl group, a C1-C6 alkoxy group, a halo-C1-C6 alkyl group and a hydroxy-C1-C6 alkyl group; R2 means an aryl, aralkyl or heteroaryl group optionally having a substituent selected from a