カウンターカルチャー is a loanword for 'counterculture', often used for broader cultural movements, while 反主流 can be used more generally for any anti-mainstream stance.
anti-mainstream faction; fringe group; dissident group
Compound of 反 (anti-) and 主流 (mainstream).