An amide compound having the formula represented by 1 below, wherein Cy1, Cy2, n1, n2, R1a, R1b, R2, R3, R4, R5, and R6 are as described herein Disclose. The compounds can be prepared as pharmaceutical compositions and include various conditions in mammals, including humans, including but not limited to inflammatory conditions, autoimmune disorders, cancer, and graft-versus-host disease ) Can be used for prevention and treatment. The present invention is a method of preventing, treating or ameliorating a disease or condition in mammals that is associated with RORγ or RORγt activity in vivo.以下の1(式中、Cy1、Cy2、n1、n2、R1a、R1b、R2、R3、R4、R5、およびR6は本明細書中に記載のとおりである)によって示される式を有するアミド化合物を開示する。化合物を薬学的組成物として調製することができ、哺乳動物(ヒトが含まれる)における種々の状態(非限定的な例として炎症状態、自己免疫障害、癌、および移植片対宿主病が含まれる)の予防および処置のために使用することができる。本発明は、in vivoでRORγまたはRORγt活性が原因として関連している疾患または状態を哺乳動物において予防、処置、または改善する方法である。