A pyrimidone derivative having tau protein kinase 1 inhibitory activity which is represented by formula (1) or a salt thereof, or a solvate thereof or a hydrate thereof:
wherein Q represents CH or nitrogen atom; R represents a C1-C12 alkyl group; the ring of:
represents piperazine ring or piperidine ring.