A nitrogen-containing heterocyclic compound is represented by Formula (I): wherein R
1
represents a hydrogen atom, a substituted or unsubstituted alkyl group having 1 to 20 carbon atoms, or a substituted or unsubstituted alkoxy group having 1 to 20 carbon atoms; A represents a heterocyclic residue that contains at least one nitrogen atom and forms a six-membered aromatic heterocyclic ring; and n represents an integer of from 1 to 3.