It is preferable that heating means such as a heater is disposed at the stationary stage 61 and the movable stage 62 at the flattening processing section, and that the flat plate is heated and the insulating film 21 is heated through the wafer 20, while the insulating film 21 is pressed against the flat plate.