Environmental dependence of galactic properties traced by Ly$\alpha$ forest absorption (I): variation according to galaxy stellar mass and star-formation activity