A compound represented by formula (1) or a pharmaceutically acceptable salt thereof, which has a PI3 kinase γ inhibitory effect and is useful as a prophylactic or therapeutic agent for articular rheumatism, Crohn's disease, irritable colitis, Sjoegren's syndrome, multiple sclerosis, systemic lupus erythematosus, asthma, atopic dermatitis, arteriosclerosis, organ transplant rejection, cancer, retinopathy, psoriasis, arthrosis deformans, age-related macular degeneration, type II diabetes, insulin resistance, obesity, non-alcoholic fatty liver disease (NAFLD), non-alcoholic steatohepatitis (NASH), hyperlipemia, etc.