りょうしき良識ryoushiki
1.

The ability to make sound judgments based on an understanding of situations and social norms, reflecting an informed perspective on right and wrong.

2.

A cultivated awareness that enables individuals to discern appropriate actions and reactions within a societal context, often referred to as common sense or practical wisdom.

Example:

彼は良識ある人です。