Self-gravitational collapse of a magnetized cloud core: high resolution simulations with three-dimensional MHD nested grid