A compound represented by the formula wherein R 1c is C 1-6 alkyl-carbonyl optionally having 1 to 3 substituents selected from (i) hydroxy, (ii) C 1-6 alkyl-oxy, (iii) di-C 1-6 alkylamino, and (iv) 5- or 6-membered nonaromatic heterocyclic group optionally having 1 or 2 substituents selected from (a) hydroxy, (b) a halogen atom, (c) C 1-6 alkyl optionally substituted by hydroxy, and (d) C 3-8 cycloalkyl, and (v) a halogen atom, C 2-6 alkenyl-carbonyl having substituent(s) selected from (i) C 6-10 aryl optionally having 1 to 3 halogen atoms, and (ii) a 5- or 6-membered monocyclic aromatic heterocyclic group, C 3-8 cycloalkyl-carbonyl optionally having 1 to 3 C 1-6 alkyl, or 5- or 6-membered monocyclic aromatic heterocyclyl-carbonyl optionally having one C 1-6 alkyl; R 2c is C 6-10 aryl optionally having 1 or 2 substituents selected from a halogen atom, C 3-8 cycloalkyl optionally having cyano, C 1-6 alkyl-oxy optionally having 1 to 5 substituents selected from a halogen atom and cyano, and C 1-6 alkyl optionally having 1 to 3 substituents selected from a halogen atom, C 2-6 alkynyl and cyano; R 4c is a hydrogen atom; X c is -O-; Y c is -NHCO- or -CONH-; Z c is -S-; Q c is =CH- or =N-; and ring A c is a benzene ring optionally having 1 or 2 substituents selected from C 1-6 alkyl optionally having 1 to 3 halogen atoms, cyano, a halogen atom, and C 1-6 alkyl-oxy, or a salt thereof. C 1-6 alkyl-carbonyl optionally having 1 to 3 substituents selected from (i) hydroxy, (ii) C 1-6 alkyl-oxy, (iii) di-C 1-6 alkylamino, and (iv) 5- or 6-membered nonaromatic heterocyclic group optionally having 1 or 2 substituents selected from (a) hydroxy, (b) a halogen atom, (c) C 1-6 alkyl optionally substituted by hydroxy, and (d) C 3-8 cycloalkyl, and (v) a halogen atom, (i) hydroxy, (ii) C 1-6 alkyl-oxy, (iii) di-C 1-6 alkylamino, and (iv) 5- or 6-membered nonaromatic heterocyclic group optionally having 1 or 2 substituents selected from (a) hydroxy, (b) a halogen atom, (c) C 1-6 alkyl optionally substituted by hydroxy, and (d) C 3-8 cycloalkyl, and (a) hydroxy, (b) a halogen atom, (c) C 1-6 alkyl optionally substituted by hydroxy, and (d) C 3-8 cycloalkyl, and (v) a halogen atom, C 2-6 alkenyl-carbonyl having substituent(s) selected from (i) C 6-10 aryl optionally having 1 to 3 halogen atoms, and (ii) a 5- or 6-membered monocyclic aromatic heterocyclic group, (i) C 6-10 aryl optionally having 1 to 3 halogen atoms, and (ii) a 5- or 6-membered monocyclic aromatic heterocyclic group, C 3-8 cycloalkyl-carbonyl optionally having 1 to 3 C 1-6 alkyl, or 5- or 6-membered monocyclic aromatic heterocyclyl-carbonyl optionally having one C 1-6 alkyl; R 2c is C 6-10 aryl optionally having 1 or 2 substituents selected from a halogen atom, C 3-8 cycloalkyl optionally having cyano, C 1-6 alkyl-oxy optionally having 1 to 5 substituents selected from a halogen atom and cyano, and C 1-6 alkyl optionally having 1 to 3 substituents selected from a halogen atom, C 2-6 alkynyl and cyano; R 4c is a hydrogen atom; X c is -O-; Y c is -NHCO- or -CONH-; Z c is -S-; Q c is =CH- or =N-; and ring A c is a benzene ring optionally having 1 or 2 substituents selected from C 1-6 alkyl optionally having 1 to 3 halogen atoms, cyano, a halogen atom, and C 1-6 alkyl-oxy, or a salt thereof. a halogen atom, C 3-8 cycloalkyl optionally having cyano, C 1-6 alkyl-oxy optionally having 1 to 5 substituents selected from a halogen atom and cyano, and C 1-6 alkyl optionally having 1 to 3 substituents selected from a halogen atom, C 2-6 alkynyl and cyano; R 4c is a hydrogen atom; X c is -O-; Y c is -NHCO- or -CONH-; Z c is -S-; Q c is =CH- or =N-; and C 1-6 alkyl optionally having 1 to 3 halogen atoms, cyano, a halogen atom, and C 1-6 alkyl-oxy, or a salt thereof.