To provide an excellent selective EP2 agonist in a safe manner. A compound represented by general formula (I): (wherein all symbols are as defined in the specification), a salt or N-oxide of the compound, or a solvate or prodrug of the compound or the salt or N-oxide has a selective EP2 agonist activity and is highly safe, and is therefore useful as a drug, especially as a therapeutic agent for EP2 receptor-related diseases including immune diseases, allergic diseases, neuronal death, dysmenorrhea, premature birth, miscarriage, baldness, ocular diseases, erectile dysfunction, arthritis, lung injury, pulmonary fibrosis, pulmonary emphysema, bronchitis, chronic obstructive pulmonary disease, bone diseases, cartilage injury and others.