The Nakajima G5N Shinzan originated due to the Imperial Japanese Navy's interest in developing a long-range attack bomber capable of carrying heavy loads of bombs or torpedoes a minimum distance of 3000 nautical miles .