The present invention relates to a compound of the formula [1′]wherein R2 is lower alkyl optionally substituted by hydroxy, amino and the like, ring B is phenyl, thienyl and the like, E is a single bond, —O—, —S— and the like, ring G is aryl, heterocyclic group and the like, R5 is halogen atom, hydroxy, lower alkyl optionally substituted by halogen atom etc., and the like, t is 0 or an integer of 1 to 5, when t is an integer of 2 to 5, each R5 may be the same or different, m is 0 or an integer of 1 to 8, and n is 0 or an integer of 1 to 4, and a nociceptin antagonist containing compound [1′] as an active ingredient. The compound [1′] shows, due to nociceptin antagonistic action, analgesic effect against sharp pain such as postoperative pain and the like. The present invention also relates to the use of certain amide derivative inclusive of compound [1′] as a nociceptin antagonist or analgesic.