Disclosed are a compound represented by general formula (A-1) or a salt thereof and a compound represented by general formula (1) or a salt thereof. The compound represented by general formula (A-1) or the salt thereof and the compound represented by general formula (1) or the salt thereof have an agonistic activity on a β3 adrenergic receptor, and are therefore useful as therapeutic and prophylactic agents for diabetes, obesity, hyperlipemia, depression, gallstone, diseases associated with increased movement of the biliary tract, diseases associated with hyperfunction of the digestive tract, interstitial cystitis, overactive bladder or urinary incontinence or therapeutic and prophylactic agents for diseases associated with decreased tears.