Japan's declining overseas demand took a heavy toll on key industries such as auto and semiconductor equipment. Japan's factory output shrank at the fastest pace in eight months last month.