to keep something in mind and make a conscious effort to act accordingly; to endeavor or try to do.
毎日バランスの良い食事をするよう心がけている。
I make a point of eating a balanced diet every day.
職場では丁寧な言葉遣いを心がけてください。
Please try to use polite language in the workplace.
ミスを減らすために確認をすることを心がけている。
I make it a habit to double-check to reduce mistakes.
子育てでは子どもの話をよく聞くことを心がけるべきだ。
When raising children, you should try to listen to them carefully.