PROBLEM TO BE SOLVED: To provide a novel medicine exhibiting OX receptor antagonism for treatment or prevention of diseases such as novel sleep disorder, depression, anxiety disorder, panic disorder, schizophrenia, drug dependence, Alzheimer disease, Parkinson disease, Huntington chorea, feeding disorder, headache, migraine, pain, gastrointestinal disease, epilepsy, inflammation, immune-related disease, endocrine related disease and hypertension.SOLUTION: A treatment or prevention drug is characterized by containing a pyrazole derivative represented by the formula (IA) or a pharmaceutically acceptable salt thereof as an active ingredient. In the formula, X represents a nitrogen atom or the formula CH one of Y1 and Y2 represents a nitrogen atom and the other represents the formula CH R1 represents a hydrogen atom, a halogen atom, a C1-6 alkyl group or an alkoxy group R2 represents a hydrogen atom, a C1-6 alkyl group, a C3-6 cycloalkyl group or a 4 to 6-membered cyclic ether group R3 represents a triazolyl group, a pyridyl group or the like and R4 and R5, identically or differently, represent a hydrogen atom, a halogen atom or the like.COPYRIGHT: (C)2014,JPO&INPIT【課題】新規な睡眠障害、うつ病、不安障害、パニック障害、統合失調症、薬物依存症、アルツハイマー病、パーキンソン病、ハンチントン舞踏病、摂食障害、頭痛、片頭痛、疼痛、消化器疾患、てんかん、炎症、免疫関連疾患、内分泌関連疾患、高血圧等の疾患の治療又は予防のためのOX受容体拮抗作用を示す医薬の提供。【解決手段】式(IA)で表わされるピラゾール誘導体、又はその医薬上許容される塩を有効成分として含有することを特徴とする治療又は予防薬。(式中、Xは、窒素原子、又は式CH;Y1及びY2は、いずれか一方が窒素原子、他方が式CH;R1は、水素原子、ハロゲン原子、C1-6のアルキル基又はアルコキシ基;R2は、水素原子、C1-6アルキル基、C3-6シクロアルキル基、又は4~6員の環状エーテル基;R3は、トリアゾリル基、ピリジル基等;R4及びR5は、同一又は異なって、水素原子、ハロゲン原子等を示す)【選択図】なし