相手 aite 次第 shidai
相手次第 Kanji
相手次第で我々の態度を決める。 We determine our attitude on the basis of the other party.