A compound represented by formula (A) [wherein Q represents -CH- or a nitrogen atom; R1a and R1b independently represent a C1-6 alkyl group or the like; R1c represents a hydrogen atom or the like; R2a, R2b, R2c and R2d independently represent a hydrogen atom, a halogen atom or the like; R3a, R3b and R3c independently represent a hydrogen atom, a halogen atom or the like; and R3d represents a hydrogen atom or the like] or a pharmaceutically acceptable salt thereof, which has an antagonistic activity on an orexin receptor, and therefore can be used as a therapeutic agent for sleep disorders, such as insomnia, on which the antagonistic activity on an orexin receptor is effective.La présente invention concerne un composé représenté par la formule (A) [dans laquelle Q représente -CH- ou un atome d'azote ; R1a et R1b représentent indépendamment un groupe alkyle en C1 à C6 ou analogues ; R1c représente un atome d'hydrogène ou analogues ; R2a, R2b, R2c et R2d représentent indépendamment un atome d'hydrogène, un atome d'halogène ou analogues ; R3a, R3b et R3c représentent indépendamment un atome d'hydrogène, un atome d'halogène ou analogues ; et R3d représente un atome d'hydrogène ou analogues] ou l'un de ses sels pharmaceutiquement acceptables, possédant une activité antagoniste sur un récepteur de l'orexine et pouvant donc être utilisé en tant qu'agent thérapeutique pour des troubles du sommeil, tels que l'insomnie, sur lesquels l'activité antagoniste sur un récepteur de l'orexine est efficace.式(A):[式中、Qは-CH-又は窒素原子であり、R1a及びR1bは、それぞれ独立してC1-6アルキル基などであり、R1cは水素原子などであり、R2a、R2b、R2c及びR2dは、それぞれ独立して水素原子、ハロゲン原子などであり、R3a、R3b及びR3cは、それぞれ独立して水素原子、ハロゲン原子などであり、R3dは、水素原子などである。] で示される化合物又はその薬学的に許容される塩は、オレキシン受容体拮抗作用を有し、オレキシン受容体拮抗作用が有効な睡眠障害、例えば不眠症の治療剤として利用可能性を有している。