Multistep spin-crossover transitions induced by the interplay between short- and long-range interactions with frustration on a triangular lattice