PROBLEM TO BE SOLVED: To provide a pharmaceutical composition containing a pyrazole derivative having a TRPM8 inhibitory action or a pharmacologically acceptable salt thereof.SOLUTION: A pharmaceutical composition contains a pyrazole derivative represented by formula (I), or a pharmacologically acceptable salt thereof (ring A is aryl or the like; X is CRor N; Rand Rindependently represent H, halogen, alkyl or the like; Ris H, halogen and the like, Ris H, alkyl and the like, ring B is aryl or a heterocycle; Ris H, alkyl or the like; Ris H, C(=O) Ror the like; Ris H or alkyl; Ris H, F, hydroxy or the like; Ris H, F or alkyl; Ris H, halogen or the like; Ris hydroxy, alkyl or the like; and n is an integer of 0-2).SELECTED DRAWING: None【課題】TRPM8阻害作用を有するピラゾール誘導体又はその薬理学的に許容される塩を含有する医薬組成物の提供。【解決手段】式(I)で表されるピラゾール誘導体、又はその薬理学的に許容される塩を含有する医薬組成物。(環Aはアリール等;XはCR4a又はN;R1及びR2は夫々独立にH、ハロゲン、アルキル等;R3はH、ハロゲン等、R4はH、アルキル等、環Bはアリール又はヘテロ環;R5はH、アルキル等;R6aはH、C(=O)R9等;R6bはH又はアルキル;R7aはH、F、ヒドロキシ等;R7bはH、F又はアルキル;R8はH、ハロゲン等;R9はヒドロキシ、アルキル等;nは0~2の整数)【選択図】なし