The present invention pertains to a compound that has an excellent retinoic acid receptor-related orphan receptor [gamma] t inhibitory effect, or a pharmaceutically acceptable salt thereof. Provided is a compound represented by general formula (I), or a pharmaceutically acceptable salt thereof. (In the formula, R1 is a C1-C6 alkyl group, a C3-C6 cycloalkyl group, or a phenyl group. R2 is a hydrogen atom, a halogen atom, a C1-C6 alkyl group, or the like. R3 is a hydrogen atom, a C2-C7 carboxyalkyl group, or a hydroxyl group. R4 is a halogen atom or a C1-C6 alkyl group. R5 is a hydrogen atom or a C1-C6 alkyl group. R6 is a hydrogen atom, a halogen atom, or a C1-C6 alkyl group. R7 is a hydrogen atom, a halogen atom, or the like. R8 is a hydroxyl group, a C1-C6 alkoxy group, a mono-C1-C6 alkylamino group, or the like. L is a single bond, a methylene group, or an oxygen atom. E is a phenylene group optionally substituted independently with one or two groups selected from halogen atoms, C1-C6 alkyl groups, and C1-C6 alkylsulfonyl groups, or the like. Q1 is a nitrogen atom or a group represented by the formula =CH-. Q2 is a nitrogen atom or a group represented by the formula =CH-. The group represented by the formula -U-T- is a group represented by the formula -CH2-CH2- or the like. Y is a methylene group or an oxygen atom. V is a nitrogen atom or a group represented by the formula =C(R9)-. R9 is a hydrogen atom, a C1-C6 alkyl group, or the like.)本發明係關於具有優異的視網酸受體關連孤兒受體γt抑制作用的化合物或其藥學上可容許的鹽。其係通式(I)所表示的化合物或其藥學上可容許的鹽:[式中,R1為C1-C6烷基、C3-C6環烷基、苯基;R2為氫原子、鹵素原子、C1-C6烷基等;R3為氫原子、C2-C7羧烷基、羥基;R4為鹵素原子、C1-C6烷基;R5為氫原子、C1-C6烷基;R6為氫原子、鹵素原子、C1-C6烷基;R7為氫原子、鹵素原子等;R8為羥基、C1-C6烷氧基、單-C1-C6烷基胺基等;L為單鍵、亞甲基、氧原子;E為可獨立地經1或2個選自鹵素原子、C1-C6烷基及C1-C6烷基磺醯基的基取代的伸苯基等;Q1為氮原子、式=CH-所表示的基;Q2為氮原子、式=CH-所表示的基;式-U-T-所表示的基為式-CH2-CH2-所表示的基等;Y為亞甲基、氧原子;V為氮原子、式=C(R9)-所表示的基;R9為氫原子、C1-C6烷基等]。