The purpose of the present invention is to provide a novel compound having antagonist activity against retinoid-related orphan receptor [gamma], and exhibiting a therapeutic effect or a preventive effect for an autoimmune disease such as multiple sclerosis or psoriasis, or an allergic disease such as contact dermatitis, atopic dermatitis, or other allergic dermatitis. The present invention provides a cyclic amine derivative represented by the formula, or a pharmacologically acceptable salt thereof.本發明係以提供一種新穎化合物為目的,該化合物具有類視色素相關孤兒受體γ拮抗劑活性,而發揮對多發性硬化症或乾癬等之自體免疫疾病或接觸性皮膚炎或異位性皮膚炎等之過敏性皮膚炎等之過敏性疾病的治療效果或預防效果。本發明係提供下式所代表的環狀胺衍生物或其藥理學上可容許的鹽。