Nippon Flour Mills has bought Californian pasta maker Costa Macaroni Mfg Co for $3.1m, or about 330 million yen, according to the Nihon Keizai Shimbun newspaper.