~ぶんには(~分には) => as long as ~ N1
とは[裏腹「うらはら」] => Contrary to A, opposite of A, ... N1
Contrast/Surprise
~はめになる(~羽目になる)     => to get stuck with (some job); to end up with (something unpleasant) N1