To provide a therapeutic agent for diseases associated with Nav 1.7, specifically diseases such as neuropathic pain, nociceptive pain, inflammatory pain, small fiber neuropathy, erythromelalgia, paroxysmal extreme pain disorder, urination disorders and multiple sclerosis.Provided is a compound represented by formula (I) or a pharmaceutically acceptable salt thereof.(In the formula, each of R