Three-dimensional dust geometry of the LMC H i ridge region as revealed by the IRSF/SIRIUS survey