PROBLEM TO BE SOLVED: To provide a therapeutic agent for diseases related to cholinergic of central nervous system (CNS) and/or peripheral nervous system (PNS), diseases related to smooth muscular contraction, endocrine diseases, diseases related to neurodegeneration and the like, having a strong regulation action of an α7 nicotinic acetylcholine receptor (α7 nAChR).SOLUTION: There is provided a compound of the formula (I) and a salt thereof. (I), where A represents CRor a nitrogen atom, X-Y-Z represents N-CO-NRRand the like, R, R, Rand Rare same or different and represent a hydrogen atom and the like, W represents CH or a nitrogen atom, Rrepresents a hydrogen atom and the like, R, R, Rand Rare same or different and represent a hydrogen atom and the like, R, R, Rand Rare same or different and represent Ccycloalkyl which may be substituted and the like, Ris same or different and represents a hydrogen atom and the like and n represents 1 or 2.【課題】強いα7ニコチン性アセチルコリン受容体(α7 nAChR)の調節作用を有し、中枢神経系(CNS)及び/又は末梢神経系(PNS)のコリン作動性に関する疾患、平滑筋収縮に関する疾患、内分泌疾患、神経変性に関する疾患等の治療薬の提供。【解決手段】式(I)の化合物又はその塩。[式中、Aは、CR1D又は窒素原子を表し、X-Y-Zは、N-CO-NR4AR4B等を表し、R1A、R1B、R1C及びR1Dは、同一又は異なって、水素原子等を表し、Wは、CH又は窒素原子を表し、R2は、水素原子等を表し、R3A、R3B、R3C及びR3Dは、同一又は異なって、水素原子等を表し、R4A、R4B、R5及びR7は、同一又は異なって、置換されていてもよいC3-10シクロアルキル等を表し、R6は、同一又は異なって、水素原子等を表し、nは、1又は2を表す]【選択図】なし