The government plans to extend the retirement age for civil servants due to declining birth rates and the transition to an ageing society.