Two nano-resonator modes are designed in a woodpile three-dimensional photonic crystal by the modulation of unit cell size along a low-loss optical waveguide. One is a dipole mode with 2.88 cubic half-wavelengths mode volume. The other is a quadrupole mode with 8.3 cubic half-wavelengths mode volume. Light is three-dimensionally confined by a complete photonic band gap so that, in the analyzed range, the quality factor exponentially increases as the increase in the number of unit cells used for confinement of light.