An object of the present invention is to provide a novel compound which has retinoid-related orphan receptor ³ antagonist activity and shows a therapeutic effect or a preventive effect on autoimmune diseases such as multiple sclerosis or psoriasis or allergic diseases, including allergic dermatitis or the like, such as contact dermatitis or atopic dermatitis. The present invention provides a cyclic amine derivative represented by the following formula or a pharmacologically acceptable salt thereof.