別の if-else の then 分岐内にある if-else ステートメントを 1 つにマージします。