A city in western Japan turns to technology to keep schools open and learning fun as student numbers fall in tandem with the nation's shrinking population.