Replace SC_Query with DB at class Model\Setting\Delivery.
Replace SC_Query with DB at class Model\Setting\Holiday.
Replace SC_Query with DB at class Model\Setting\Kiyaku.
Replace SC_Query with DB at class Model\Setting\Mailtemplate.