The present invention relates to pyrazole compounds represented by the formula (I):
wherein R
1
represents phenyl which may be substituted, R
2
represents H, halogen, alkyl, alkoxy, alkylthio, alkylsulfinyl, alkylsulfonyl or substituted amino, Q represents CH or N, R
3
represents H, alkyl or amino, R
4
represents the formula (II) to (V):
wherein R
7
represents H or alkyl, R
8
represents H, alkyl or substituted amino, R
9
represents H or alkyl, R
12
represents H, alkyl, halogeno alkyl or substituted amino,
or pharmaceutically acceptable salts thereof, and a medical composition containing the same as effective ingredient.