PROBLEM TO BE SOLVED: To provide a novel compound containing a basic group, which is useful as a medicine, and to provide a use thereof.SOLUTION: The compound is represented by formula (I), (wherein J represents a crosslinked cyclic group which may be substituted by a basic group-containing group and further which may have a substituent, and other symbols are not described). This compound, a salt thereof, a solvent thereof or a prodrug thereof has an antagonistic activity against CXCR4 and is therefore useful as: a preventive and/or therapeutic agent for CXCR4-mediated diseases, for example, inflammatory and immune diseases (for example, rheumatoid arthritis, arthritis, retinopathy, pulmonary fibrosis, rejection of transplanted organ, etc.), allergic diseases, infections (for example, human immunodeficiency virus infection, acquired immunodeficiency syndrome, etc.), psychoneurotic diseases, cerebral diseases, cardiovascular disease, metabolic diseases, and cancerous diseases (for example, cancer, cancer metastasis, etc.); or an agent for regeneration therapy and the like.【課題】医薬として有用な塩基性基を含有する新規化合物およびその用途の提供。【解決手段】一般式(I)で示される化合物、その塩、もしくはその溶媒和物またはそれらのプロドラッグ(式中、Jは塩基性基を含有する基によって置換されていてもよく、さらに置換基を有していてもよい架橋した環状基を表わし、その他の記号は明細書中に記載の通り)は、CXCR4拮抗作用を有するので、CXCR4介在性疾患、例えば炎症・免疫性疾患(例えば関節リウマチ、関節炎、網膜症、肺線維症、移植臓器拒絶反応等)、アレルギー性疾患、感染症(例えばヒト免疫不全ウイルス感染、後天性免疫不全症候群等)、精神・神経性疾患、脳疾患、心・血管性疾患、代謝性疾患、癌疾患(例えば癌、癌転移等)等の予防および/または治療剤、または再生医療用剤等として有用である。【選択図】なし