The present invention provides a novel heterocyclic derivative or a pharmaceutically acceptable salt thereof. For example, the present invention provides a heterocyclic derivative of the general formula [1] or its tautomer, or a pharmaceutically acceptable salt thereof: wherein R 1 and R 2 are same or diferent aromatic ring, etc., and ring A is a heterocyclic ring. The compound of the invention or a pharmaceutically acceptable salt thereof has potent mPGES-1 inhibiting activity and is useful as an agent for the treatment or prevension of a disease, such as rheumatoid arthritis, osteoarthritis, temporomandibular joint disorders, low back pain, endometriosis, dysmenorrhea, overactive bladder, malignant tumors or neurodegenerative disease.