The present invention has its object to study synthesis of novel cyclic compounds having a pyrimidinylalkylthio group and to find pharmacological actions of the compounds. According to the present invention, a compound represented by the formula (1) or a salt thereof is provided.