It is an object of the present invention to provide a novel low molecular weight compound exhibiting orexin agonist activity expected to be useful as a therapeutic or preventive agent for excellent narcolepsy. The present invention relates to a compound represented by the general formula (I) [wherein each symbol is as defined in the description], having excellent orexin-activating activity, and a pharmaceutically acceptable acid addition salt thereof, Provides an orexine-working drug containing an acceptable acid addition salt.본 발명은 우수한 기면증의 치료 또는 예방제로서 유용하다고 기대되는 오렉신 작동약 활성을 나타내는 신규 저분자화합물을 제공하는 것을 목적으로 한다. 본 발명은 우수한 오렉신 작동 활성을 갖는 일반식 (I)[식 중의 각 기호는 명세서에 기재한 바와 같다.]로 표시되는 화합물 및 그의 약학적으로 허용되는 산부가염, 그리고 당해 화합물 또는 그의 약학적으로 허용되는 산부가염을 함유하는 오렉신 작동약을 제공한다.