PROBLEM TO BE SOLVED: To provide an agent for treating a disease associated with Nav1.7, specifically, diseases such as neuropathic pain, nociceptive pain, inflammatory pain, small fiber neuropathy, erythromelalgia, paroxysmal extreme pain disorder, dysuria or multiple sclerosis.SOLUTION: The present invention provides a compound represented by formula (I) or a pharmaceutically acceptable salt thereof [X-Z, U1 and U2 independently represent C, N or the like W1-W4 independently represent substituted C or N, where W1-W4 is at least one CR1 R1 is H, halogen, alkyl or the like R2 and R3 independently represent H, C1-6 alkyl, C3-10 cycloalkyl or the like m is an integer of 1-3 L is CR5R6 R5 and R6 independently represent a hydroxy group, alkyl, alkoxy or the like].SELECTED DRAWING: NoneCOPYRIGHT: (C)2019,JPO&INPIT【課題】Nav1.7が関与する疾患、具体的には神経障害性疼痛、侵害受容性疼痛、炎症性疼痛、小径線維ニューロパチー、肢端紅痛症、発作性激痛症、排尿障害または多発性硬化症等の疾患に対する治療薬の提供。【解決手段】式(I)で表される化合物又はその薬学的に許容される塩。[X~Z、U1及びU2は各々独立にC、N等;W1~W4は各々独立に置換されたC又はN、但しW1~W4は一つ以上のCR1;R1はH、ハロゲン、アルキル等;R2及びR3は各々独立にH、C1-6アルキル、C3-10シクロアルキル等;mは1~3の整数;LはCR5R6;R5及びR6は各々独立に、水酸基、アルキル、アルコキシ等]【選択図】なし