To provide a novel compound that inhibits at least one selected from the group consisting of TLR3, TLR7, and TLR9, and is excellent in preventive and therapeutic effects such as autoimmune diseases, inflammation, and allergies. The following general formula (1): [wherein W and Z represent a 5- to 7-membered saturated or partially unsaturated nitrogen-containing heterocyclic group, and T represents a C 1-6 alkyl which may be substituted with an oxo group. Ring Y represents a group represented by the formula (2), (3) or (4): X1, X2 and X3 represent C—R7 or a nitrogen atom, provided that X1 and X2 are At the same time, C—R 7 is not shown, R 7 represents a hydrogen atom, a halogen atom, a hydroxyl group, etc., S and U represent a single bond or N—R 8, and R 8 represents a hydrogen atom, a C 1-6 alkyl group. And V represents a hydrogen atom, a C1-6 alkyl group, a C6-10 aryl C1-3 alkyl group, a 3- to 7-membered saturated heterocyclic group, or the like], a salt thereof, or a solvate thereof object.TLR3、TLR7及びTLR9からなる群から選ばれる少なくとも1種を阻害し、自己免疫疾患、炎症、アレルギー等の予防および治療効果に優れた新規化合物を提供すること。次の一般式(1):[式中、環W及びZは、5乃至7員飽和又は部分不飽和含窒素複素環基を示し、Tは、オキソ基で置換されてもよいC1-6アルキル基を示し、環Yは、式(2)、(3)又は(4):で示される基を示し、X1、X2及びX3は、C-R7又は窒素原子を示し、但し、X1とX2が同時にC-R7を示すことはなく、R7は、水素原子、ハロゲン原子、水酸基等を示し、S及びUは、単結合又はN-R8を示し、R8は、水素原子、C1-6アルキル基を示し、Vは、水素原子、C1-6アルキル基、C6-10アリールC1-3アルキル基、3乃至7員飽和複素環基等を示す]で表される化合物若しくはその塩、又はそれらの溶媒和物。