Japan's trade surplus falls for a third consecutive month in May because of high oil prices and lower US demand.