The present invention relates to a compound represented by the general formula (I) (wherein the definition of each group is the same as that described in the specification). The compound is useful as a prophylactic and / or therapeutic agent for KCNQ 2-5 channel-related diseases.본 발명은, 일반식 (I)(식에서, 각 기의 정의는 명세서에서의 기재와 같다.)으로 표시되는 화합물에 관한 것이다. 상기 화합물은 KCNQ2~5 채널 관련 질환의 예방 및/또는 치료제로서 유용하다.