A compound represented by the formula (I), an optically active isomer thereof, or a pharmaceutical acceptable salt thereof:wherein R1 represents a C1-C12 alkyl; R2 represents a hydrogen atom or the like; R3 represents a halogen or the like; q represents an integer of 1 to 7; R4 represents a halogen or the like; p represents 0 or an integer of 1 to 5; R5 represents a C6-C10 aryl, a heterocycle or the like; and X represents oxygen, NH, or the like, which is used for preventive and/or therapeutic treatment of a disease caused by tau protein kinase 1 hyperactivity such as a neurodegenerative diseases (e.g. Alzheimer disease).