Dynamics of deuterated p-nitroaniline (pNA-d) molecules in the micropores of AlPO4-5 has been investigated by means of solid-state NMR. The adsorbed amounts of pNA-d were 5.0 and 10.1 mass % of the total mass. We have measured 13C magic-angle-spinning (MAS) and 2H NMR spectra of the guest molecules and 31P and 27Al MAS NMR spectra of the host framework. The pNA-d molecules distribute rather inhomogeneously in the channel, and do not coordinate to Al strongly like H2O. The intermolecular hydrogen bonds are formed between a part of the guest molecules only when the loading level is high. The 2H NMR spectra are successfully analyzed, elucidating the orientation and the motion of the guest molecules. The molecular axis of pNA-d is inclined to the channel axis, and the molecular plane is perpendicular to the inner wall. The guest molecule jumps among 12 sites or 12 orientations. This motion is faster in the sample of 5.0 mass % than in the sample of 10.1 mass %, suggesting that the guest-guest interaction hinders the motion. The mean residence times of the molecules are estimated from the analysis of the 2H NMR spectra, which are affected by the size of the nanospace as well as the property of the adsorbed site.