This invention provides compounds which are represented by a general formula [I]
[in which X stands for hydrogen or halogen; B stands for halogen, cyano or optionally fluorine-substituted lower alkyl; D stands for a 3–10 membered aliphatic nitrogen-containing heterocyclic group; R3, R4 and R5 may be same or different, and each stands for hydrogen, lower alkyl optionally having substituent group(s) and the like; and a is 0 or 1]. These compounds exhibit high affinity to nociceptin receptors and whereby inhibit actions of nociceptin, and are useful as an analgesic, antiobestic, agent for ameliorating brain function, treating agents for Alzheimer's disease and dementia, and therapeutic agents for schizophrenia, neurodegenerative diseases, depression, diabetes insipidus, polyuria, hypotension and the like.