PROBLEM TO BE SOLVED: To provide a preventive agent or therapeutic agent which is a retinoid related orphan receptor γ (RORγ) antagonist and inhibits production of interleukin-17 (IL-17) for autoimmune diseases (rheumatoid arthritis, psoriasis, inflammatory bowel disease such as Crohn's disease and ulcerative colitis, multiple sclerosis, systemic lupus erythematosus, ankylosing spondylitis, uveitis, rheumatic multiple muscle pain and type I diabetes, allergic diseases such as asthma, dry eye, fibrosis such as pulmonary fibrosis and primary bile hepatic cirrhosis and metabolic diseases such as diabetes.SOLUTION: There is provided a compound represented by the formula [I-W] or a pharmaceutically acceptable salt thereof.SELECTED DRAWING: None【課題】レチノイド関連オーフィン受容体γ(RORγ)アンタゴニストであり、インターロイキン-17(IL-17)産生を抑制する、自己免疫疾患(関節リウマチ、乾癬、炎症性腸疾患(クローン病及び潰瘍性大腸炎等)、多発性硬化症、全身性エリテマトーデス、強直性脊椎炎、ぶどう膜炎、リウマチ性多発性筋痛症及びI型糖尿病、アレルギー性疾患(喘息等)、ドライアイ、線維症(肺線維症及び原発性胆汁性肝硬変など)及び代謝性疾患(糖尿病等)に対する予防剤又は治療剤の提供。【解決手段】式[I-W]で表される化合物又はその医薬上許容される塩。【選択図】なし