To cross the line: to go beyond acceptable limits or boundaries (in behavior, speech, or action), often implying doing something inappropriate or excessive.
彼の発言はジョークの範囲を超え、一線を越えるものだった。
His remarks went beyond joking and crossed the line.
会社はコンプライアンスに反する行為は一線を越えるとして厳しく処分した。
The company treated acts violating compliance as crossing the line and punished them severely.
写真撮影の際はプライバシーを尊重し、一線を越えないよう注意してください。
When taking photos, respect privacy and be careful not to cross the line.