The purpose of the present invention is to provide a compound having an excellent JAK1-inhibiting activity. The compound according to the present invention has a JAK1-inhibiting activity, and therefore has an immunesuppressing effect, an anti-inflammatory effect, a proliferation-inhibiting effect and the like, and is useful for the treatment of diseases such as rheumatoid arthritis, inflammatory bowel disease, psoriasis, angiitis, bronchial asthma, chronic obstructive pulmonary disease, eosinophilic sinusitis and rhinopolypus.