ANSWER
According to the Japanese Standards for Use, according to Use Categories, Citric Acid and Anthocyanin are allowed to be used in cookies but there are no specific regulations that stipulate their maximum limitations in cookies.
According to the List of Existing Food Additives, Pectin is permitted for usage in Japan.
References
Ministry of Health, Labour and Welfare Japan. (2014). List of Existing Food Additives.
Ministry of Health, Labour and Welfare Japan. (2018). Standards for Use, according to Use Categories.