CP violation of quarks in A4 modular invariance