模様次第
もようしだい
according to circumstances/dependent on the state of things