closed #5 トリム実装完了