https://kasumiblog.org/php-array-max-min/
【PHP】配列から最大・最小値を求める方法