Japan plans its first aircraft carrier and big increases in defense spending and weapons capability in the coming years, according to new defense guidelines approved Tuesday that cite its need to counter potential threats from North Korea and China and other vulnerabilities.